Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

--wait=true exits prematurely, breaks conformance test script #7288

Closed
tstromberg opened this issue Mar 27, 2020 · 1 comment
Closed

--wait=true exits prematurely, breaks conformance test script #7288

tstromberg opened this issue Mar 27, 2020 · 1 comment
Labels
kind/bug Categorizes issue or PR as related to a bug. priority/important-longterm Important over the long term, but may not be staffed and/or may need multiple releases to complete.
Milestone

Comments

@tstromberg
Copy link
Contributor

NOTE: This is not a discussion about defaults, this is about the behavior when explicitly setting --wait=true.

The ./hack/conformance_tests.sh script is broken because Kubernetes is not actually up yet:

+ kubectl --context k8sconformance get pods --all-namespaces
NAMESPACE     NAME                                     READY   STATUS    RESTARTS   AGE
kube-system   etcd-k8sconformance                      0/1     Pending   0          7s
kube-system   kube-apiserver-k8sconformance            0/1     Pending   0          7s
kube-system   kube-controller-manager-k8sconformance   1/1     Running   0          7s
kube-system   kube-scheduler-k8sconformance            1/1     Running   0          7s
kube-system   storage-provisioner                      0/1     Pending   0          2s
...
+ sonobuoy run --wait
WARN[0000] The maximum supported Kubernetes version is 1.17.99, but the server version is v1.18.0. Sonobuoy will continue but unexpected results may occur. 
ERRO[0000] Preflight checks failed                      
ERRO[0000] no dns pods found with the labels [k8s-app=kube-dns, k8s-app=coredns] in namespace kube-system
@tstromberg tstromberg added the kind/bug Categorizes issue or PR as related to a bug. label Mar 27, 2020
@tstromberg
Copy link
Contributor Author

Related to #7209

@tstromberg tstromberg added this to the v1.10.0 milestone Mar 27, 2020
@tstromberg tstromberg added the priority/important-longterm Important over the long term, but may not be staffed and/or may need multiple releases to complete. label Mar 27, 2020
@tstromberg tstromberg changed the title --wait=true exits prematurely, breaks conformance tests --wait=true exits prematurely, breaks conformance test script Mar 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug. priority/important-longterm Important over the long term, but may not be staffed and/or may need multiple releases to complete.
Projects
None yet
Development

No branches or pull requests

1 participant