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

Wrap test_linux_network_stacksmash_64 in a flaky rerunner (3 runs) #103

Merged
merged 3 commits into from
Sep 11, 2023

Conversation

mahaloz
Copy link
Member

@mahaloz mahaloz commented Sep 8, 2023

The test case test_linux_network_stacksmash_64 is constantly failing on runs inside the CI, whether people touch Rex-related components or not. Normally, I'd opt to remove this test altogether, but in lieu of that, I propose to rerun this single test multiple times.

@github-actions
Copy link

github-actions bot commented Sep 8, 2023

Test Results

21 tests   - 1   21 ✔️ ±0   9m 10s ⏱️ - 3m 10s
10 suites ±0     0 💤 ±0 
10 files   ±0     0  - 1 

Results for commit 176d9fe. ± Comparison against base commit e7248a2.

This pull request removes 1 test.
test_rex ‑ test_reconstraining

♻️ This comment has been updated with latest results.

@mahaloz
Copy link
Member Author

mahaloz commented Sep 8, 2023

@twizmwazin how do you feel about this temporary solution?

@twizmwazin
Copy link
Member

I don't really love it, but having the CI constantly fail is also bad. If this doesn't add a significant amount of time to a CI run its acceptable.

@mahaloz
Copy link
Member Author

mahaloz commented Sep 9, 2023 via email

@twizmwazin
Copy link
Member

I would just look at how long that particular test took to execute and determine if adding 2x that is going to be a big deal overall. If it's under a minute it's probably not the end of the world. The test is failing to import right now though.

@ltfish
Copy link
Member

ltfish commented Sep 10, 2023

Can we use https://github.com/box/flaky instead?

@mahaloz
Copy link
Member Author

mahaloz commented Sep 10, 2023

I’m ok with that @ltfish as long as @twizmwazin is ok with a new dependency on this project

@twizmwazin
Copy link
Member

Yes that's fine

setup.py Outdated Show resolved Hide resolved
@mahaloz mahaloz changed the title Add a wrapper for flakey tests to re-run Wrap test_linux_network_stacksmash_64 in a flaky rerunner (3 runs) Sep 11, 2023
@mahaloz mahaloz merged commit 3658278 into master Sep 11, 2023
27 checks passed
@Kyle-Kyle Kyle-Kyle deleted the fix/flakey_less_flakey branch February 1, 2024 00:22
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.

3 participants