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

chore: split kuttl test steps #749

Closed
wants to merge 1 commit into from

Conversation

realshuting
Copy link
Member

This PR attempts to fix the flaky kuttl test refresh-volumes-in-pods, ref kyverno/kyverno#8334.

I'm able to consistently reproduce the issue by removing the sleep 5 command, the tests ran in Kyverno CIs could take longer than 5s. I'm splitting the check step into 2 and adding more delay to see if it helps.

        ]
    logger.go:42: 16:43:29 | refresh-volumes-in-pods/4-check | running command: [sh -c val=$(kubectl exec pod01 -n refresh-vols-ns -- cat /mnt/foo/foo)
        if [ "$val" = "bar" ]; then exit 0; else exit 1; fi
        ]
    logger.go:42: 16:43:29 | refresh-volumes-in-pods/4-check | command failure, skipping 3 additional commands
    case.go:367: failed in step 4-check
    case.go:369: exit status 1

Signed-off-by: ShutingZhao <shuting@nirmata.com>
auto-merge was automatically disabled September 13, 2023 09:29

Pull request was closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant