[issue5930] Transient error in multiprocessing (test_number_of_objects)

Florent Xicluna report at bugs.python.org
Sat Aug 14 17:11:00 CEST 2010


Florent Xicluna <florent.xicluna at gmail.com> added the comment:

It happens on some 3.1 buildbots:
 - x86 FreeBSD 7.2 3.1 r83984, r83968, ...
   http://www.python.org/dev/buildbot/all/builders/x86%20FreeBSD%207.2%203.1/builds/595
 - ARMv4 Debian 3.1 r83831, r83805, r83772, ...
   http://www.python.org/dev/buildbot/all/builders/ARMv4%20Debian%203.1/builds/257


(...)
test_number_of_objects (test.test_multiprocessing.WithManagerTestZZZNumberOfObjects) ...
  2c44bbe0:       refcount=1
    <_thread.lock object at 0x2c44bbe0>
  2c56030c:       refcount=2
    <multiprocessing.pool.Pool object at 0x2c56030c>
  2cf51a0c:       refcount=1
    <_RLock owner=None count=0>
  2e3b81b4:       refcount=1
    <generator object <genexpr> at 0x2e3b81b4>
  2e466e34:       refcount=1
    <multiprocessing.pool.ApplyResult object at 0x2e466e34>
  2e5a506c:       refcount=1
    <multiprocessing.pool.IMapIterator object at 0x2e5a506c>
  2c44bbe0:       refcount=1
    <_thread.lock object at 0x2c44bbe0>
  2c56030c:       refcount=2
    <multiprocessing.pool.Pool object at 0x2c56030c>
  2cf51a0c:       refcount=1
    <_RLock owner=None count=0>
  2e3b81b4:       refcount=1
    <generator object <genexpr> at 0x2e3b81b4>
  2e466e34:       refcount=1
    <multiprocessing.pool.ApplyResult object at 0x2e466e34>
  2e5a506c:       refcount=1
    <multiprocessing.pool.IMapIterator object at 0x2e5a506c>
FAIL

(...)
======================================================================
FAIL: test_number_of_objects (test.test_multiprocessing.WithManagerTestZZZNumberOfObjects)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/home/db3l/buildarea/3.1.bolen-freebsd7/build/Lib/test/test_multiprocessing.py", line 1085, in test_number_of_objects
    self.assertEqual(refs, EXPECTED_NUMBER)
AssertionError: 6 != 1

----------
versions:  -Python 3.2

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5930>
_______________________________________


More information about the Python-bugs-list mailing list