kruise icon indicating copy to clipboard operation
kruise copied to clipboard

[BUG] The e2e test (pullimages containerrecreate) is unstable, frequently failing in "recreates containers with postStartHook"

Open ABNER-1 opened this issue 10 months ago • 3 comments

What happened:

The e2e test failed with error:

• Failure [27.109 seconds]
[apps] ContainerRecreateRequest
/home/runner/work/kruise/kruise/test/e2e/apps/framework.go:24
  [kruise.io] ContainerRecreateRequest
  /home/runner/work/kruise/kruise/test/e2e/framework/framework.go:314
    recreates containers with postStartHook [Conformance] [It]
    /home/runner/work/kruise/kruise/test/e2e/framework/framework.go:319

    Expected
        <[]v1alpha1.ContainerRecreateRequestContainerRecreateState | len:2, cap:4>: [
            {Name: "app", Phase: "Succeeded", Message: "", IsKilled: true},
            {Name: "sidecar", Phase: "Succeeded", Message: "", IsKilled: false},
        ]
    to equal
        <[]v1alpha1.ContainerRecreateRequestContainerRecreateState | len:2, cap:2>: [
            {Name: "app", Phase: "Succeeded", Message: "", IsKilled: true},
            {Name: "sidecar", Phase: "Succeeded", Message: "", IsKilled: true},
        ]

What you expected to happen: This case always passes so that we can find more valuable infos in CI check.

How to reproduce it (as minimally and precisely as possible): In CI test, you can always find this error.

Anything else we need to know?:

Environment:

  • Kruise version:
  • Kubernetes version (use kubectl version):
  • Install details (e.g. helm install args):
  • Others:

ABNER-1 avatar Apr 19 '24 10:04 ABNER-1

/assgin @ABNER-1

zmberg avatar Apr 22 '24 02:04 zmberg

/assign @BH4AWS

ABNER-1 avatar Jun 03 '24 06:06 ABNER-1

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Sep 03 '24 03:09 stale[bot]