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
test suite gets really slow in pypy3.9-v7.3.15 on ubuntu 22.04.3 #1738
Comments
Examples of slow test suite execution under coverage for pypy3.9-v7.3.15 https://github.com/urllib3/urllib3/actions/runs/7603721375/job/20705793502?pr=3296 they all stop at the 30 minutes mark (the CI jobs get cancelled after 30 minutes) but they show that it's not stuck in any particular test case , all of them progress to a different number of test cases. I haven't been able to reproduce it in macOS , I'll later try on Ubuntu 22.04 (outside of CI) and post the findings here. |
I performed a test with pypy3.9-7.3.15 and without coverage and it still takes more that 30 minutes (although it progresses faster that with coverage), so I guess this is probably an issue with pypy3.9-7.3.15 and not really related to coverage. |
Thanks, we have our own issue with 7.3.15: #1737 . I assume it's the same root cause, whatever it is. For us, it's only on Windows. |
This is the likely cause of our test suite hanging in CI. Possibly related issues: - nedbat/coveragepy#1737 - nedbat/coveragepy#1738
This is the likely cause of our test suite hanging in CI. Possibly related issues: - nedbat/coveragepy#1737 - nedbat/coveragepy#1738
Describe the bug
In urllib3, we just downgraded to pypy3.9-v7.3.13 (urllib3/urllib3#3308) because the test suite takes more that 30 minutes when run on pypy3.9-v7.3.15 (we don't know how long exactly because the CI jobs is cancelled at the 30 minutes mark) and less than 10 minutes when run on pypy3.9-v7.3.15.
To Reproduce
How can we reproduce the problem? Please be specific. Don't link to a failing CI job. Answer the questions below:
pyp3.9-v7.3.15 on Ubuntu 22.04.3 LTS
coverage debug sys
is helpful.7.4.0
pip freeze
is helpful.The workaround if was to use pypy3.9-v7.3.13 (urllib3/urllib3@f14b508)
The version of the urllib3 that still shows the problem in CI is urllib3/urllib3@6b2b377
git clone
,pip install
, and so on. Explain like we're five!I'll expand later because I can't reproduce this myself on my laptop (macOS Sonoma pypy3.9-v7.3.15) so I think it maybe only reproducible on Ubuntu 22.04.3 LTS
Expected behavior
I expected it to complete the test suite (with coverage) in under 10 minutes while using pypy3.9-v7.3.15 as it does when using pypy3.9-v7.3.13
Additional context
The text was updated successfully, but these errors were encountered: