• Kubernetes Submit Queue's avatar
    Merge pull request #64098 from jacobwgillespie/fix-e2e-complete-pods-in-kube-system-ns-failure · 9c2e51f3
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue (batch tested with PRs 63283, 64032, 64159, 64126, 64098). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.
    
    Fix running e2e tests with completed kube-system pods
    
    As per @timothysc's suggestion, this PR is the same as PR #53222, but with the CLA signed and with a comment explaining why completed pods are skipped.  Credit for finding this fix goes to @dlosev.
    
    From the original PR:
    
    > Currently e2e runner fails during BeforeSuite execution if there are pods in kube-system namespace in 'Completed' state.
    >
    > Exactly this issue was fixed previously in #37325 by adding new option "skipSucceeded" to ignore 'Completed' pods. Then, in 2e3cd93f#diff-eb7b79470992813ea1905e96c298b47bL557 that option was removed and code was adjusted to ignore 'Completed' pods all the time. But in 0bf96a3c that code was accidentally removed as redundant.
    >
    > This fix restores removed code.
    
    ```release-note
    NONE
    ```
    9c2e51f3
Name
Last commit
Last update
..
apimachinery Loading commit data...
apps Loading commit data...
auth Loading commit data...
autoscaling Loading commit data...
chaosmonkey Loading commit data...
common Loading commit data...
framework Loading commit data...
generated Loading commit data...
instrumentation Loading commit data...
kubectl Loading commit data...
lifecycle Loading commit data...
manifest Loading commit data...
network Loading commit data...
node Loading commit data...
perftype Loading commit data...
scalability Loading commit data...
scheduling Loading commit data...
servicecatalog Loading commit data...
storage Loading commit data...
testing-manifests Loading commit data...
ui Loading commit data...
upgrades Loading commit data...
BUILD Loading commit data...
README.md Loading commit data...
e2e-example-config.json Loading commit data...
e2e.go Loading commit data...
e2e_test.go Loading commit data...
examples.go Loading commit data...
gke_local_ssd.go Loading commit data...
gke_node_pools.go Loading commit data...