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

Running multiple cases through xdist gets stuck around 95% of the time #1005

Open
gova-i267 opened this issue Jan 16, 2024 · 4 comments
Open

Comments

@gova-i267
Copy link

Hi, Ask for help~

2024-01-16 17:58:26.653 [gw6] [ 85%] FAILED test/xxxxxx/case
2024-01-16 17:58:27.014 test/xxxxxx/case
2024-01-16 17:59:35.797 [gw5] [ 86%] PASSED test/xxxxxx/case
2024-01-16 17:59:36.126 test/xxxxxx/case
2024-01-16 18:00:28.257 [gw0] [ 88%] FAILED test/xxxxxx/case
2024-01-16 18:00:28.268 test/xxxxxx/case
2024-01-16 18:02:36.356 [gw1] [ 90%] FAILED test/xxxxxx/case
2024-01-16 18:02:45.082 [gw6] [ 91%] FAILED test/xxxxxx/case
2024-01-16 18:04:27.782 [gw0] [ 93%] PASSED test/xxxxxx/case
2024-01-16 18:04:27.795 test/xxxxxx/case
2024-01-16 18:08:26.971 [gw0] [ 95%] PASSED test/xxxxxx/case
2024-01-16 18:08:26.987 test/xxxxxx/case
2024-01-16 18:08:26.989 [gw0] [ 96%] SKIPPED test/xxxxxx/case
2024-01-16 18:08:26.991 test/xxxxxx/case

What information do I need to provide?

pytest-xdist==3.5.0

@gova-i267
Copy link
Author

execnet==1.7.1

@james-certn
Copy link

james-certn commented Jan 25, 2024

What do you mean, 'gets stuck'? the pytest process/commandline just hangs, and never completes? What if you downgrade to 3.4.0 of pytest-xdist?

@gova-i267
Copy link
Author

What do you mean, 'gets stuck'? the pytest process/commandline just hangs, and never completes? What if you downgrade to 3.4.0 of pytest-xdist?

Yes, it hangs, and never completes. The probability of this problem is very high.

@james-certn
Copy link

james-certn commented Jan 30, 2024

Again: What if you downgrade to 3.4.0 of pytest-xdist? With what ptest-xdist version does the problem not surface/manifest? Keep dropping the version until the problem doesn't happen. If it happens on any version, it's unlikely to be specific to pytest-xdist.

You could also try changing the distribution method using --dist to see if there is any difference.

pypingou pushed a commit to Pagure/pagure that referenced this issue Apr 19, 2024
F39 pip isn't affected, but on rpm the tests stuck
till the OOM Killer triggers. There are multiple
similar reports upstream but no fix. To unblock
the unit tests, F39 RPM will be skipped for now.
F39 pip covers py39, py310, py311 and py312.

CI jobs that run into the issue:
https://jenkins-pagure.apps.ocp.cloud.ci.centos.org/job/pull-requests/276/
https://jenkins-pagure.apps.ocp.cloud.ci.centos.org/job/pull-requests/277/

GitHub issues that report similar issues:
pytest-dev/pytest-xdist#110
pytest-dev/pytest-xdist#661
pytest-dev/pytest-xdist#872
pytest-dev/pytest-xdist#1005
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants