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

tests/int: fix flaky "runc run with tmpfs perm" #4095

Merged
merged 1 commit into from
Nov 7, 2023

Conversation

kolyshkin
Copy link
Contributor

Apparently, sometimes a short-lived "runc run" produces result with \r and sometimes without. As a result, we have an occasional failure of "runc run with tmpfs perms" test.

The solution (to the flaky test) is to use the first line of the output (like many other tests do).

Fixes: #4029

Apparently, sometimes a short-lived "runc run" produces result with \r
and sometimes without. As a result, we have an occasional failure of
"runc run with tmpfs perms" test.

The solution (to the flaky test) is to use the first line of the output
(like many other tests do).

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
@kolyshkin
Copy link
Contributor Author

Can't say it for sure if the issue with the flaky test is fixed but it should be.

@kolyshkin kolyshkin marked this pull request as ready for review October 26, 2023 18:50
@kolyshkin kolyshkin added area/ci backport/1.1-todo A PR in main branch which needs to be backported to release-1.1 labels Oct 27, 2023
@kolyshkin
Copy link
Contributor Author

We may need to backport it to release-1.1 branch to avoid flakes in there (no rush though).

@kolyshkin
Copy link
Contributor Author

@thaJeztah PTAL (kinda easy-to-review)

@AkihiroSuda
Copy link
Member

a short-lived "runc run" produces result with \r and sometimes without

Do we have an issue ticket to track this?

@kolyshkin
Copy link
Contributor Author

Do we have an issue ticket to track this?

Please see my comments in #4029 (we have a few bugs, the oldest one is #2425). I will open a new one because the bugs that we have all talk about specific test cases.

@kolyshkin
Copy link
Contributor Author

I have fixed it a couple of years ago in #2723 but then we had to revert the fix in #2749 because of a regression (#2747). To my shame, I did not follow through. Maybe someone else can take a fresh look.

@kolyshkin kolyshkin merged commit 2705c9c into opencontainers:main Nov 7, 2023
45 checks passed
@kolyshkin
Copy link
Contributor Author

1.1 backport: #4241

@kolyshkin kolyshkin added backport/1.1-done A PR in main branch which has been backported to release-1.1 and removed backport/1.1-todo A PR in main branch which needs to be backported to release-1.1 labels Apr 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ci backport/1.1-done A PR in main branch which has been backported to release-1.1 easy-to-review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[CI] not ok 135 runc run with tmpfs perms
3 participants