pypa / pypa/setuptools

PyPy3 tests hanging intermittently.

Open
#1,202 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug help wanted Needs Investigation Needs Repro
Dominant language
Python
Stars
2.9k
Forks
1.4k
Avg merge
1d 1h
Merged PRs (30d)
1

Description

Recently, I've observed the test suite hanging in Travis on test_develop.py on test 6. Travis ends up killing the process after 10 minutes.

Here's one example.

The first incident can be found in this build, which reports pypy 5.8.0-beta0. But going back through the dozens of prior builds that succeeded, there was no change in pypy.

That failing test is already skipped in AppVeyor as reported in #851. And that test makes two calls to subprocess.check_call which may be unreliable on PyPy3 as well.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with setuptools/tests/test_develop.py at the failing test around line 158, then compare the Travis examples and the AppVeyor skip noted in #851. Investigate the two subprocess.check_call calls under PyPy3; done means the test suite no longer hangs there and the relevant tests complete successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system, testing-qa
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.