solo-io / go-utils

golang utilities
Apache License 2.0
110 stars 18 forks source link

get cluster resources test flake #319

Open mitchdraft opened 4 years ago

mitchdraft commented 4 years ago

observed during v0.10.18 release https://console.cloud.google.com/cloud-build/builds/978a8851-c2f3-408c-a6fa-ce65fba5fa45?project=solo-public

[Fail] GetClusterResources [It] gets all resources in the cluster, period
/workspace/installutils/kuberesource/get_cluster_resources_test.go:43
mitchdraft commented 4 years ago

also review flakes in test_container_test kubeinstall as well

mitchdraft commented 4 years ago

removed a 5-day-old test ns, kicked, and ci passed (tbd if stale resource was causing the flake or if passing test was luck)

mitchdraft commented 4 years ago

demonstration of other flake https://console.cloud.google.com/cloud-build/builds/801ed4c2-a842-4b90-bfaa-bece7b70eb4b?project=solo-public&organizationId=325453704078

[Fail] KubeInstaller create manifest [It] creates resources from a helm chart
/workspace/installutils/kubeinstall/kube_installer_test.go:169

releasing this issue until further issues arise. If deleting old namespaces is the only requirement then we can add the "namespace deleter" cron to the cluster