Skip to content

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
@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