Skip to content

[CI]: fix internal command flaky test (window) #4114

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

Merged
merged 1 commit into from
Apr 18, 2025

Conversation

apostasie
Copy link
Contributor

On windows, commands that time-out occasionally have exit code set to 1 instead of (expected) -1.

It is not clear why - intuition is that golang command cancellation on context timeout might not be fully deterministic.

Also, it does not matter, as on timeout there is no reason to check error code, so, this PR just relaxes the test.

@apostasie apostasie marked this pull request as ready for review April 16, 2025 17:55
@apostasie
Copy link
Contributor Author

Kube failure is #4106 (working on it in another PR).

Copy link
Member

@AkihiroSuda AkihiroSuda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

Merging, but this seems to need further investigations

@AkihiroSuda AkihiroSuda merged commit 362252e into containerd:main Apr 18, 2025
35 of 36 checks passed
@AkihiroSuda AkihiroSuda added area/ci e.g., CI failure platform/Windows/Non-WSL2 Microsoft Windows (non-WSL2) labels Apr 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ci e.g., CI failure platform/Windows/Non-WSL2 Microsoft Windows (non-WSL2)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants