kubernetes: [Flaking] [kind-e2e-parallel] [sig-apps] ReplicaSet should surface a failure condition on a common issue like exceeded quota

Which jobs are flaking?

https://prow.k8s.io/view/gs/kubernetes-jenkins/logs/ci-kubernetes-kind-e2e-parallel/1764798590191931392

Which tests are flaking?

Kubernetes e2e suite.[It] [sig-apps] ReplicaSet should surface a failure condition on a common issue like exceeded quota

Since when has it been flaking?

https://storage.googleapis.com/k8s-triage/index.html?test=should%20surface%20a%20failure[…]ition%20on%20a%20common%20issue%20like%20exceeded%20quota shows it flakes several times. The flake rate is not high though

Testgrid link

https://testgrid.k8s.io/sig-release-master-blocking#kind-master-parallel

Reason for failure (if possible)

   I0305 00:05:23.622506 67387 replica_set.go:286] Unexpected error: 
      <*errors.errorString | 0xc000bc93c0>: 
      rs controller never added the failure condition for replica set "condition-test": []v1.ReplicaSetCondition(nil)
      {
          s: "rs controller never added the failure condition for replica set \"condition-test\": []v1.ReplicaSetCondition(nil)",
      } 

Anything else we need to know?

No response

Relevant SIG(s)

/sig apps

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 16 (16 by maintainers)

Commits related to this issue

Most upvoted comments

FTR - I have continued to work on this issue this week, but the only progress I made was to build and compare a timeline of kube-apiserver audit logs between a failed test cluster and a success one. Unfortunately I didn’t find anything relevant there. I have asked for help from one of my colleagues and we’ll look at this together next week 🤞🏼

I started looking into this today, here’s a short update of the little progress I made thus far:

  • spent some time understanding the test which is the source of the failure: https://github.com/openshift/kubernetes/blob/master/test/e2e/apps/replica_set.go?plain=1#L284
  • built and run the tests locally (here I struggled a little with ginkgo, but I think I got it now)
  • trying (and failing) to reproduce the failure by running the test repeatedly in isolation using GINKGO_UNTIL_IT_FAILS=true (left it running for over an hour without any luck)
  • changed approach to run everything under test/e2e/apps in parallel instead, still using GINKGO_UNTIL_IT_FAILS=true The flake is probably caused by a race condition, but more investigation is required.

I’ll keep at it.

Hi folks, I’m interested in working on this. Can anyone assign me? Thanks.