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

Revert "bashCompletion: speed-up test execution by using xdist" #92915

Merged
merged 1 commit into from
Jul 11, 2020

Conversation

Patagonicus
Copy link
Contributor

This reverts commit a85b07c as
executing the tests in parallel makes them flaky. This can be seen very
easily on armv7l machines (and probably other machines that are slower
than common x86_64 machines as well), but is also reproducible on
x86_64.

This fixes #91706.

Motivation for this change

These tests break very easily on armv7l and sometimes break on x86_64 as well if ran in parallel. I've not managed to get a single run to fail where the tests were executed serially.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.

Sorry, something went wrong.

Verified

This commit was signed with the committer’s verified signature.
siriobalmelli Sirio Balmelli
This reverts commit a85b07c as
executing the tests in parallel makes them flaky. This can be seen very
easily on armv7l machines (and probably other machines that are slower
than common x86_64 machines as well), but is also reproducible on
x86_64.

This fixes NixOS#91706.
@flokli flokli merged commit 98b2a62 into NixOS:master Jul 11, 2020
@flokli
Copy link
Contributor

flokli commented Jul 11, 2020

@Patagonicus can you drop upstream a note?

@Patagonicus
Copy link
Contributor Author

Done: scop/bash-completion#430

@Patagonicus Patagonicus deleted the issue-91706 branch July 11, 2020 11:43
@flokli
Copy link
Contributor

flokli commented Jul 11, 2020

Thanks!

@Janik-Haag Janik-Haag added the 12. first-time contribution This PR is the author's first one; please be gentle! label Jun 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
12. first-time contribution This PR is the author's first one; please be gentle!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

pytest_xdist breaks tests for bash-completion on armv7l
4 participants