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

PoolTest:test_pool_worker_{exceptions,max_tasks,stop} are flaky and get the test suite stuck #97

Open
mweinelt opened this issue Jun 4, 2021 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@mweinelt
Copy link

mweinelt commented Jun 4, 2021

Description

We are running into a problem in NixOS that the test suite sometimes fails in these three tests, and that causes the whole test suite to hang indefinetely.

/nix/store/66fbv9mmx1j4hrn9y06kcp73c3yb196r-python3-3.8.9/lib/python3.8/multiprocessing/queues.py:110: Empty
=========================== short test summary info ============================
FAILED aiomultiprocess/tests/pool.py::PoolTest::test_pool_worker_exceptions
FAILED aiomultiprocess/tests/pool.py::PoolTest::test_pool_worker_max_tasks - ...
FAILED aiomultiprocess/tests/pool.py::PoolTest::test_pool_worker_stop - _queu...
=================== 3 failed, 28 passed, 2 skipped in 16.45s ===================
building of '/nix/store/lhmnh05x7gs28s4skngm9rfn0q3flic3-python3.8-aiomultiprocess-0.9.0' timed out after 7200 seconds of silence

If I disable these tests using pytest -k the tests complete just fine.

Details

  • OS: NixOS (Linux 5.10.40)
  • Python version: 3.8.9
  • aiomultiprocess version: 0.9.0
  • Can you repro on master? Yes, tested on 235321f
  • Can you repro in a clean virtualenv? We build in a sandbox, they're always clean
@amyreese amyreese self-assigned this Jun 4, 2021
@amyreese amyreese added the bug Something isn't working label Jun 4, 2021
mweinelt added a commit to mweinelt/nixpkgs that referenced this issue Jun 5, 2021
These tests fail from time to time and bring the whole test suite to a
timeout.

omnilib/aiomultiprocess#97
github-actions bot pushed a commit to NixOS/nixpkgs that referenced this issue Jun 5, 2021
These tests fail from time to time and bring the whole test suite to a
timeout.

omnilib/aiomultiprocess#97
(cherry picked from commit c8261a3)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants