Author vstinner
Recipients vstinner
Date 2019-06-12.11:45:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1560339911.07.0.931464630019.issue37244@roundup.psfhosted.org>
In-reply-to
Content
x86 Gentoo Refleaks 3.8:
https://buildbot.python.org/all/#/builders/223/builds/9

3:22:46 load avg: 5.83 [423/423/2] test_multiprocessing_forkserver failed (5 min 10 sec)
beginning 6 repetitions
123456
./buildbot/buildarea/cpython/3.8.ware-gentoo-x86.refleak/build/Lib/test/_test_multiprocessing.py:5002: ResourceWarning: unclosed file <_io.BufferedReader name=10>
  p = subprocess.Popen([sys.executable,
ResourceWarning: Enable tracemalloc to get the object allocation traceback
test test_multiprocessing_forkserver failed -- Traceback (most recent call last):
  File "/buildbot/buildarea/cpython/3.8.ware-gentoo-x86.refleak/build/Lib/test/_test_multiprocessing.py", line 5015, in test_resource_tracker
    _resource_unlink(name2, rtype)
AssertionError: OSError not raised

/buildbot/buildarea/cpython/3.8.ware-gentoo-x86.refleak/build/Lib/multiprocessing/resource_tracker.py:203: UserWarning: resource_tracker: There appear to be 1 leaked shared_memory objects to clean up at shutdown
  warnings.warn('resource_tracker: There appear to be %d '
/buildbot/buildarea/cpython/3.8.ware-gentoo-x86.refleak/build/Lib/multiprocessing/resource_tracker.py:216: UserWarning: resource_tracker: '//psm_dfd85228': [Errno 2] No such file or directory: '//psm_dfd85228'
  warnings.warn('resource_tracker: %r: %s' % (name, e))

---

Test added by:

commit f22cc69b012f52882d434a5c44a004bc3aa5c33c
Author: Pierre Glaser <pierreglaser@msn.com>
Date:   Fri May 10 22:59:08 2019 +0200

    bpo-36867: Make semaphore_tracker track other system resources (GH-13222)
    
    The multiprocessing.resource_tracker replaces the multiprocessing.semaphore_tracker module. Other than semaphores, resource_tracker also tracks shared_memory segment
s. Patch by Pierre Glaser.
History
Date User Action Args
2019-06-12 11:45:11vstinnersetrecipients: + vstinner
2019-06-12 11:45:11vstinnersetmessageid: <1560339911.07.0.931464630019.issue37244@roundup.psfhosted.org>
2019-06-12 11:45:11vstinnerlinkissue37244 messages
2019-06-12 11:45:10vstinnercreate