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

Flaky Tests #918

Open
fitzthum opened this issue Feb 20, 2025 · 9 comments
Open

Flaky Tests #918

fitzthum opened this issue Feb 20, 2025 · 9 comments

Comments

@fitzthum
Copy link
Member

Anyone who has submitted a PR recently has probably noticed that the image-rs tests take a few tries. I think this is just because we aren't always able to pull the image. This seems to happen most frequently on s390x but maybe it is elsewhere too. It's not a huge inconvenience but maybe there is a way we can fix this?

cc @BbolroC

@fitzthum
Copy link
Member Author

@BbolroC
Copy link
Member

BbolroC commented Feb 21, 2025

Thanks for the notice. I will figure it out soon.

@BbolroC
Copy link
Member

BbolroC commented Feb 21, 2025

@fitzthum @Xynnn007 The test failure doesn’t seem flaky—it’s been failing consistently since #902 was merged. Interestingly, that PR didn’t trigger the CI job we’re looking at.

@mythi
Copy link
Contributor

mythi commented Feb 21, 2025

Interestingly, that PR didn’t trigger the CI job we’re looking at.

CDH workflow triggers were not updated when the pull functionality got moved there: changes to image-rs/* do not trigger CDH tests even if CDH now has a dependency to image-rs.

@Xynnn007
Copy link
Member

CDH workflow triggers were not updated when the pull functionality got moved there: changes to image-rs/* do not trigger CDH tests even if CDH now has a dependency to image-rs.

That is the case.

@BbolroC
Copy link
Member

BbolroC commented Feb 21, 2025

Interestingly, that PR didn’t trigger the CI job we’re looking at.

CDH workflow triggers were not updated when the pull functionality got moved there: changes to image-rs/* do not trigger CDH tests even if CDH now has a dependency to image-rs.

Then, I think it would be great time to extend our dependency graph. 😉

@BbolroC
Copy link
Member

BbolroC commented Feb 21, 2025

Update:

The tests are passing after cleaning up /run/image-rs/ before running the test. Shout-out to @Xynnn007

https://github.com/confidential-containers/guest-components/actions/runs/13429528372?pr=916

@fitzthum
Copy link
Member Author

Ok, we fixed the tests that were failing every time, but there are also some flaky jobs.

For example, https://github.com/confidential-containers/guest-components/actions/runs/13515374662/job/37762988211#step:20:474

We're pulling a container from the aliyun container service here. I wonder if we want to copy these containers to another registry? We could also keep that registry but skip that test on bare metal runners that might have more trouble connecting to it.

@fitzthum fitzthum reopened this Feb 25, 2025
@mythi
Copy link
Contributor

mythi commented Feb 26, 2025

I wonder if we want to copy these containers to another registry?

+1

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

No branches or pull requests

4 participants