-
Notifications
You must be signed in to change notification settings - Fork 38.9k
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
[Failing Test] periodic-kubernetes-unit-test-ppc64le, k8s.io/kubernetes/test/e2e/framework/internal/unittests/cleanup #112412
Comments
@Rajalakshmi-Girish: This issue is currently awaiting triage. If a SIG or subproject determines this is a relevant issue, they will accept it by applying the The Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@pohly This test has been constantly failing in our environment and not just flaking. |
cc @pohly |
This is a data race in the control plane setup. cc @aojea |
So yes, this is different from the failure that I ran into. It's still a flake (races don''t always go wrong), but apparently the conditions in your jobs are so that it always triggers. |
I'll take care of this |
At first glance it looks like access to |
in some executions it seems that it just timeouts, no races
I think that the problem is that this environment is under resourced and this test is not able to boot the apsierver , that may explain the race and why Stop is racing with Start |
Should we perhaps make this unit test run only on amd64 architectures, with the rationale a) that it isn't architecture-dependent and thus testing it in one unit test job is sufficient and b) that it is an expensive test that stresses slower architectures too much? |
the apiserver times out starting up, I think we can make it lighter with diff --git a/test/utils/apiserver/testapiserver.go b/test/utils/apiserver/testapiserver.go
index a40baf7bd7e..fdb6e751a63 100644
--- a/test/utils/apiserver/testapiserver.go
+++ b/test/utils/apiserver/testapiserver.go
@@ -51,7 +51,10 @@ func StartAPITestServer(t *testing.T) TestAPIServer {
storageConfig := storagebackend.NewDefaultConfig(path.Join(uuid.New().String(), "registry"), nil)
storageConfig.Transport.ServerList = etcdClient.Endpoints()
- server := kubeapiservertesting.StartTestServerOrDie(t, nil, []string{}, storageConfig)
+ options := kubeapiservertesting.TestServerInstanceOptions{
+ EnableCertAuth: false,
+ }
+ server := kubeapiservertesting.StartTestServerOrDie(t, &options, []string{}, storageConfig)
t.Cleanup(server.TearDownFn)
clientSet := clientset.NewForConfigOrDie(server.ClientConfig)
it sound fair to me, since we use etcd and it is only guaranteed to build https://etcd.io/docs/v3.5/op-guide/supported-platform/#support-tiers @pohly do you want to make the honors? or should I? |
Can you do it because we probably want both and you know best how to explain the patch above in the commit message? |
I thought about this twice, and I don't think we should tune the tests for running on constrained environments, this is a slippery slope, this environment is clearly constrained , there are also other issues reporting timeouts in this environment ... The skip based on etcd not supported may be reasonable though |
Met this again when running |
this is for the ppc64le specific problem, we should open a new one for this test https://storage.googleapis.com/k8s-triage/index.html?ci=0&pr=1&test=TestCleanup it seems there were 2 occurrences more |
For tracking, opened a new issue here #112569. |
Which jobs are failing?
periodic-kubernetes-unit-test-ppc64le
Which tests are failing?
k8s.io/kubernetes/test/e2e/framework/internal/unittests/cleanup: TestCleanup
Since when has it been failing?
Probably since it was merged in #111998
Testgrid link
https://k8s-testgrid.appspot.com/ibm-unit-tests-ppc64le#Periodic%20unit%20test%20suite%20on%20ppc64le
Reason for failure (if possible)
No response
Anything else we need to know?
The error from build log trace is:
Please go through the above job for complete build log.
Relevant SIG(s)
/sig testing
The text was updated successfully, but these errors were encountered: