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

Slow test cases on pypy3.9-7.3.15 on Ubuntu 22.04 #3323

Open
ecerulm opened this issue Jan 26, 2024 · 0 comments
Open

Slow test cases on pypy3.9-7.3.15 on Ubuntu 22.04 #3323

ecerulm opened this issue Jan 26, 2024 · 0 comments
Assignees

Comments

@ecerulm
Copy link
Contributor

ecerulm commented Jan 26, 2024

Subject

Currently the urllib3's test suite on pypy3.9-7.3.14 and pypy3.9-7.3.15 runs unbearably slow, takes more that 1h45m.

This is the reason why #3308 pypy3.9-7.3.13 is currently pinned in the GitHub Actions CI.

The issue has been reported upstream to pypy pypy/pypy#4877 and in coverage nedbat/coveragepy#1738. But after some investigatio it's clear the issue is at the pypy side since the running the test without coverage is still unbearably slow.

The purpose of this issue is to keep some tracking at the urllib3 level even when the solution (IMHO) should come from pypy.

Environment

Ubuntu 22.04 (on VirtualBox)
pypy3.9-7.3.14 (from pyenv)

Steps to Reproduce

#zsh
pyenv install pypy3.9-7.3.14
path=($(pyenv prefix pypy3.9-7.3.14)/bin $path)
nox -s test-pypy3.9 # takes hours

It willl take more that 1h45m to get to 80%, each test is slower that the previous one so it's possible that it will take several hours to complete.

Memory comsumption until 80% seems stable .

Expected Behavior

The test suite should run under 3 minutes like it does when pypy3.9-7.3.13 is used.

#zsh
pyenv install pypy3.9-7.3.13
path=($(pyenv prefix pypy3.9-7.3.13)/bin $path)
nox -s test-pypy3.9 # takes 3 in my environment

Actual Behavior

It takes 1h45m to get to 80% test completion

Each test takes longer that the previous. After 1h45m each test can take several minutes to complete.

If I run any of those tests that take several minutes to complete in isolation on the same environment it finishes instantaneously.

Related

#3309
#3308

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

1 participant