test-infra: [SQ-blocking] DumpClusterLogs failing in federation presubmit
Failing due to the following reason:
I0808 15:18:39.593] Master not detected. Is the cluster up?
I0808 15:18:39.593] Dumping logs from nodes locally to '/workspace/_artifacts'
I0808 15:18:39.594] Detecting nodes in the cluster
W0808 15:18:40.350] ./cluster/log-dump/log-dump.sh: line 223: NODE_NAMES[@]: unbound variable
Seems like a bug which has gotten exposed by the recent change https://github.com/kubernetes/test-infra/pull/3974 which makes DumpClusterLogs happen only inside kubetest instead of also doing it in ginkgo.
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 24 (24 by maintainers)
So after I added extra logging it’s clear why it’s failing (ref: https://storage.googleapis.com/kubernetes-jenkins/logs/ci-kubernetes-e2e-gce-federation/5950/build-log.txt) -
It is picking up the wrong master name, which is calculated as ‘${INSTANCE_PREFIX}-master’ and INSTANCE_PREFIX=bootstrap-e2e. The the real master names seem to be ‘prow-us-central1-a-master’ and ‘prow-us-central1-f-master’.