Skip to content
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

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

Open
ABNER-1 opened this issue Apr 19, 2024 · 1 comment
Assignees
Labels
kind/bug Something isn't working

Comments

@ABNER-1
Copy link
Contributor

ABNER-1 commented Apr 19, 2024

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 ABNER-1 added the kind/bug Something isn't working label Apr 19, 2024
@zmberg
Copy link
Member

zmberg commented Apr 22, 2024

/assgin @ABNER-1

@zmberg zmberg assigned ABNER-1 and unassigned FillZpp Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants