-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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 pulse deprecation tests #9837
Comments
@jakelishman |
Thanks for the quick response! Yeah, if you think it might take a little while to get to the bottom of (it appears to be Windows only, which is usually a recipe for an annoying debugging experience), I can revert it and you'll not need to rush. |
Thanks! |
So, the issue seems to be the caching of I guess different operating systems run the tests in different order, failing the test or passing it according to the number of caches between the different I will replace the PR shortly. |
(I don't know how the cache is handled across different threads, maybe some operating systems have both calls to |
In general the execution order of the tests is not fixed and it will change between runs and they also execute in parallel. We're probably seeing it on windows only primarily as a function of the number of vCPUs in the windows VM that ci jobs run in (which effects the split of tests), but that's not the only possible reason. When adding tests it's best to ensure there is no data dependency between tests to avoid issues like this. There are some tools builtin to stestr to try and work with and debug this such as:
you can pass any of these options to stestr via tox with something like: |
resolved by #9897 |
Environment
What is happening?
CI is failing frequently with the following error:
This appears to be related to #9735.
How can we reproduce the issue?
Flaky CI failures.
What should happen?
No flakiness.
Any suggestions?
@TsafrirA and @nkanazawa1989, please can you look at this urgently - it's effectively blocking all CI on Terra.
The text was updated successfully, but these errors were encountered: