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
pythonPackages.pytest-timeout: disable flaky test #80718
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think test_fix_setup_func_only
, test_fix_finalizer_func_only
, test_ini_timeout_func_only
and test_timeout_marker_inheritance
are also flaky (yes, that's a lot, but as I have said, "it's kinda the entire point of the module to make tests flaky").
However, I will admit that test_suppresses_timeout_when_pdb_is_entered
is most likely to cause issues as it's doing the most processing (which can cause the scheduler to schedule away), increasing the probability of flakiness being discovered. IMO all of those tests should be disabled, but disabling test_suppresses_timeout_when_pdb_is_entered
is a big improvement still.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please change the commit description to say pytest-timeout
, not pytes-timeout
.
@GrahamcOfBorg build python27Packages.pytest-timeout python37Packages.pytest-timeout python38Packages.pytest-timeout |
@GrahamcOfBorg build python27Packages.pytest-timeout python37Packages.pytest-timeout python38Packages.pytest-timeout |
I would say to try disabling this one first and see how hydra responds. |
Ouch: mass rebuild. |
Mass rebuild is fine, this is mostly Python code (so almost no compilation), so it should take an hour or so. |
Do you think it's ok to push to master directly? |
Yes. |
Backported in 142dd6c. Let's see. |
Motivation for this change
ZHF: #80379
I could finally reproduce the failure on hydra by running the test in a i686-linux VM with
stress -c 5
. Only this test seems to fail reliably, so let's disable it!Things done
nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)