pytest-dev / pytest-dev/pytest-xdist
Resource Warnings when running test suite
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 1.9k
- Forks
- 287
- Avg merge
- 9h 30m
- Merged PRs (30d)
- 2
Description
A bunch of Resource Warnings are issues when running pytest-xdist's test suite:
================= 148 passed, 4 skipped, 10 xfailed in 47.03s ==================
/usr/lib64/python3.9/subprocess.py:1048: ResourceWarning: subprocess 1025 is still running
/usr/lib64/python3.9/subprocess.py:1048: ResourceWarning: subprocess 1028 is still running
/usr/lib64/python3.9/subprocess.py:1048: ResourceWarning: subprocess 1031 is still running
/usr/lib64/python3.9/subprocess.py:1048: ResourceWarning: subprocess 1034 is still running
/usr/lib64/python3.9/subprocess.py:1048: ResourceWarning: subprocess 1037 is still running
/usr/lib64/python3.9/subprocess.py:1048: ResourceWarning: subprocess 1040 is still running
/usr/lib64/python3.9/subprocess.py:1048: ResourceWarning: subprocess 1043 is still running
/usr/lib64/python3.9/subprocess.py:1048: ResourceWarning: subprocess 1046 is still running
/usr/lib64/python3.9/subprocess.py:1048: ResourceWarning: subprocess 1049 is still running
/usr/lib64/python3.9/subprocess.py:1048: ResourceWarning: subprocess 1052 is still running
/usr/lib64/python3.9/subprocess.py:1048: ResourceWarning: subprocess 1058 is still running
/usr/lib64/python3.9/subprocess.py:1048: ResourceWarning: subprocess 1061 is still running
/usr/lib64/python3.9/subprocess.py:1048: ResourceWarning: subprocess 1055 is still running
/usr/lib64/python3.9/subprocess.py:1048: ResourceWarning: subprocess 1064 is still running
/usr/lib64/python3.9/subprocess.py:1048: ResourceWarning: subprocess 1067 is still running
/usr/lib64/python3.9/subprocess.py:1048: ResourceWarning: subprocess 1070 is still running
/usr/lib64/python3.9/subprocess.py:1048: ResourceWarning: subprocess 1091 is still running
sys:1: ResourceWarning: unclosed file <_io.TextIOWrapper name='/dev/null' mode='r' encoding='UTF-8'>
sys:1: ResourceWarning: unclosed file <_io.TextIOWrapper name="<_io.FileIO name=20 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'>
sys:1: ResourceWarning: unclosed file <_io.TextIOWrapper name="<_io.FileIO name=22 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'>
/usr/lib64/python3.9/subprocess.py:1048: ResourceWarning: subprocess 1095 is still running
/usr/lib64/python3.9/subprocess.py:1048: ResourceWarning: subprocess 1099 is still running
/usr/lib64/python3.9/subprocess.py:1048: ResourceWarning: subprocess 1103 is still running
/usr/lib64/python3.9/subprocess.py:1048: ResourceWarning: subprocess 1107 is still running
/usr/lib64/python3.9/subprocess.py:1048: ResourceWarning: subprocess 1177 is still running
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the pytest-xdist test suite under Python 3.9 with resource warnings enabled, then trace the reported subprocess and file lifetimes. Done means the suite completes without ResourceWarning messages for still-running subprocesses or unclosed files.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- distributed-systems, testing-qa
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100