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

Flaky test_popen_timeout #6747

Open
gjoseph92 opened this issue Jul 20, 2022 · 0 comments
Open

Flaky test_popen_timeout #6747

gjoseph92 opened this issue Jul 20, 2022 · 0 comments
Labels
flaky test Intermittent failures on CI.

Comments

@gjoseph92
Copy link
Collaborator

This is unexpected, I tried pretty hard to make sure this test wouldn't be flaky.

______________________________ test_popen_timeout ______________________________
capsys = <_pytest.capture.CaptureFixture object at 0x7fe03fd0bee0>
deftest_popen_timeout(capsys):
>       with pytest.raises(subprocess.TimeoutExpired):
E       Failed: DID NOT RAISE <class 'subprocess.TimeoutExpired'>
distributed/tests/test_utils_test.py:837: Failed
----------------------------- Captured stdout call -----------------------------
------ stdout: returncode -2, ['/usr/share/miniconda3/envs/dask-distributed/bin/python', '-c', '\nimport signal\nimport sys\nimport time\n\nif sys.platform == "win32":\n    signal.signal(signal.SIGBREAK, signal.default_int_handler)\n    # ^ Cause `CTRL_BREAK_EVENT` on Windows to raise `KeyboardInterrupt`\n\nprint(\'ready\', flush=True)\nwhile True:\n    try:\n        time.sleep(0.1)\n        print("slept", flush=True)\n    except KeyboardInterrupt:\n        print("interrupted", flush=True)\n'] ------
Traceback (most recent call last):
  File "<string>", line 10, in <module>
KeyboardInterrupt

https://github.com/dask/distributed/runs/7429218134?check_suite_focus=true#step:11:1850

@gjoseph92 gjoseph92 added the flaky test Intermittent failures on CI. label Jul 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flaky test Intermittent failures on CI.
Projects
None yet
Development

No branches or pull requests

1 participant