[Zope-tests] FAIL (failures:1 errors:2) -- Z2 Tests/Linux -- HEAD/Py232

zope-tests at plope.com zope-tests at plope.com
Sun Dec 28 06:02:30 EST 2003


======================================================================
Python Version:2.3.2 (#1, Nov  2 2003, 08:53:03) 
[GCC 3.2 20020903 (Red Hat Linux 8.0 3.2-7)]

Modules included:
Zope (HEAD)

Running unit tests from /home/chrism/opt/tests/sandbox/Zope
 OOBTree (0x4216aa04) with 50 children
    key 0: 60
    key 1: 120
    key 2: 180
    key 3: 240
    key 4: 300
    key 5: 360
    key 6: 420
    key 7: 480
    key 8: 540
    key 9: 600
    key 10: 660
    key 11: 720
    key 12: 780
    key 13: 840
    key 14: 900
    key 15: 960
    key 16: 1020
    key 17: 1080
    key 18: 1140
    key 19: 1200
    key 20: 1260
    key 21: 1320
    key 22: 1380
    key 23: 1440
    key 24: 1500
    key 25: 1560
    key 26: 1620
    key 27: 1680
    key 28: 1740
    key 29: 1800
    key 30: 1860
    key 31: 1920
    key 32: 1980
    key 33: 2040
    key 34: 2100
    key 35: 2160
    key 36: 2220
    key 37: 2280
    key 38: 2340
    key 39: 2400
    key 40: 2460
    key 41: 2520
    key 42: 2580
    key 43: 2640
    key 44: 2700
    key 45: 2760
    key 46: 2820
    key 47: 2880
    key 48: 2940
    0 OOBucket (0x4216aa4c) with 1 keys
        key 0: 1 value 1
    1 OOBucket (0x4216aadc) with 1 keys
        key 0: 61 value 1
    2 OOBucket (0x4216ab6c) with 1 keys
        key 0: 121 value 1
    3 OOBucket (0x4216abfc) with 1 keys
        key 0: 181 value 1
    4 OOBucket (0x4216ac8c) with 1 keys
        key 0: 241 value 1
    5 OOBucket (0x4216ad1c) with 1 keys
        key 0: 301 value 1
    6 OOBucket (0x4216adac) with 1 keys
        key 0: 361 value 1
    7 OOBucket (0x4216ae3c) with 1 keys
        key 0: 421 value 1
    8 OOBucket (0x4216aecc) with 1 keys
        key 0: 481 value 1
    9 OOBucket (0x4216af5c) with 1 keys
        key 0: 541 value 1
    10 OOBucket (0x423b302c) with 1 keys
        key 0: 601 value 1
    11 OOBucket (0x423b30bc) with 1 keys
        key 0: 661 value 1
    12 OOBucket (0x423b314c) with 1 keys
        key 0: 721 value 1
    13 OOBucket (0x423b31dc) with 1 keys
        key 0: 781 value 1
    14 OOBucket (0x423b326c) with 1 keys
        key 0: 841 value 1
    15 OOBucket (0x423b32fc) with 1 keys
        key 0: 901 value 1
    16 OOBucket (0x423b338c) with 1 keys
        key 0: 961 value 1
    17 OOBucket (0x423b341c) with 1 keys
        key 0: 1021 value 1
    18 OOBucket (0x423b34ac) with 1 keys
        key 0: 1081 value 1
    19 OOBucket (0x423b353c) with 1 keys
        key 0: 1141 value 1
    20 OOBucket (0x423b35cc) with 1 keys
        key 0: 1201 value 1
    21 OOBucket (0x423b365c) with 1 keys
        key 0: 1261 value 1
    22 OOBucket (0x423b36ec) with 1 keys
        key 0: 1321 value 1
    23 OOBucket (0x423b377c) with 1 keys
        key 0: 1381 value 1
    24 OOBucket (0x423b380c) with 1 keys
        key 0: 1441 value 1
    25 OOBucket (0x423b389c) with 1 keys
        key 0: 1501 value 1
    26 OOBucket (0x423b392c) with 1 keys
        key 0: 1561 value 1
    27 OOBucket (0x423b39bc) with 1 keys
        key 0: 1621 value 1
    28 OOBucket (0x423b3a4c) with 1 keys
        key 0: 1681 value 1
    29 OOBucket (0x423b3adc) with 1 keys
        key 0: 1741 value 1
    30 OOBucket (0x423b3b6c) with 1 keys
        key 0: 1801 value 1
    31 OOBucket (0x423b3bfc) with 1 keys
        key 0: 1861 value 1
    32 OOBucket (0x423b3c8c) with 1 keys
        key 0: 1921 value 1
    33 OOBucket (0x423b3d1c) with 1 keys
        key 0: 1981 value 1
    34 OOBucket (0x423b3dac) with 1 keys
        key 0: 2041 value 1
    35 OOBucket (0x423b3e3c) with 1 keys
        key 0: 2101 value 1
    36 OOBucket (0x423b3ecc) with 1 keys
        key 0: 2161 value 1
    37 OOBucket (0x423b3f5c) with 1 keys
        key 0: 2221 value 1
    38 OOBucket (0x423b402c) with 1 keys
        key 0: 2281 value 1
    39 OOBucket (0x423b40bc) with 1 keys
        key 0: 2341 value 1
    40 OOBucket (0x423b414c) with 1 keys
        key 0: 2401 value 1
    41 OOBucket (0x423b41dc) with 1 keys
        key 0: 2461 value 1
    42 OOBucket (0x423b426c) with 1 keys
        key 0: 2521 value 1
    43 OOBucket (0x423b42fc) with 1 keys
        key 0: 2581 value 1
    44 OOBucket (0x423b438c) with 1 keys
        key 0: 2641 value 1
    45 OOBucket (0x423b441c) with 1 keys
        key 0: 2701 value 1
    46 OOBucket (0x423b44ac) with 1 keys
        key 0: 2761 value 1
    47 OOBucket (0x423b453c) with 1 keys
        key 0: 2821 value 1
    48 OOBucket (0x423b45cc) with 1 keys
        key 0: 2881 value 1
    49 OOBucket (0x423b465c) with 1 keys
        key 0: 2941 value 1
Exception in thread Thread-92:
Traceback (most recent call last):
  File "/home/chrism/opt/Python-2.3.2/lib/python2.3/threading.py", line 436, in __bootstrap
    self.run()
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/ZEO/tests/TestThread.py", line 36, in run
    self._testcase.fail("Exception in thread %s:\n%s\n" %
  File "/home/chrism/opt/Python-2.3.2/lib/python2.3/unittest.py", line 270, in fail
    raise self.failureException, msg
AssertionError: Exception in thread <LargeUpdatesThread(Thread-92, started daemon)>:
Traceback (most recent call last):
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/ZEO/tests/TestThread.py", line 32, in run
    self.testrun()
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/ZEO/tests/InvalidationTests.py", line 126, in testrun
    self._testrun()
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/ZEO/tests/InvalidationTests.py", line 137, in _testrun
    tree = cn.root()["tree"]
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/ZODB/Connection.py", line 433, in root
    return self[z64]
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/ZODB/Connection.py", line 159, in __getitem__
    p, serial = self._storage.load(oid, self._version)
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/ZEO/ClientStorage.py", line 737, in load
    return self.loadEx(oid, version)[:2]
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/ZEO/ClientStorage.py", line 742, in loadEx
    t = self._cache.load(oid, version)
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/ZEO/cache.py", line 176, in load
    o = self.fc.access((oid, tid))
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/ZEO/cache.py", line 831, in access
    return Object.fromFile(self.f, key)
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/ZEO/cache.py", line 490, in fromFile
    raise ValueError("corrupted record, oid")
ValueError: corrupted record, oid



Failure in test checkConcurrentLargeUpdates (ZEO.tests.testConnection.BDBConnectionTests)
Traceback (most recent call last):
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/ZEO/tests/InvalidationTests.py", line 490, in checkConcurrentLargeUpdates
    self._check_threads(tree, t1, t2, t3)
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/ZEO/tests/InvalidationTests.py", line 330, in _check_threads
    self.fail('\n'.join(errormsgs))
  File "/home/chrism/opt/Python-2.3.2/lib/python2.3/unittest.py", line 270, in fail
    raise self.failureException, msg
AssertionError: thread 2 didn't add any keys
thread 3 didn't add any keys

Error in test check7ZODBThreads (ZODB.tests.testFileStorage.FileStorageTests)
Traceback (most recent call last):
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/ZODB/tests/MTStorage.py", line 220, in check7ZODBThreads
    self._checkNThreads(7, ZODBClientThread, db, self)
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/ZODB/tests/MTStorage.py", line 209, in _checkNThreads
    t.join(60)
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/ZODB/tests/MTStorage.py", line 41, in run
    self.runtest()
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/ZODB/tests/MTStorage.py", line 68, in runtest
    d = self.get_thread_dict(root)
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/ZODB/tests/MTStorage.py", line 88, in get_thread_dict
    root[name] = m
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/persistent/mapping.py", line 52, in __setitem__
    self.__super_setitem(key, v)
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/ZODB/Connection.py", line 445, in setstate
    self._setstate(obj)
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/ZODB/Connection.py", line 477, in _setstate
    if not (self._mvcc and self._setstate_noncurrent(obj)):
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/ZODB/Connection.py", line 523, in _setstate_noncurrent
    assert start < self._txn_time <= end, \
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/ZODB/utils.py", line 36, in u64
    return unpack(">Q", v)[0]
TypeError: unpack() argument 2 must be string or read-only buffer, not None

Exception in thread Thread-319:
Traceback (most recent call last):
  File "/home/chrism/opt/Python-2.3.2/lib/python2.3/threading.py", line 436, in __bootstrap
    self.run()
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/ZODB/tests/PackableStorage.py", line 520, in run
    self.root[choice(self.choices)].value = MinPO(j)
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/ZODB/Connection.py", line 445, in setstate
    self._setstate(obj)
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/ZODB/Connection.py", line 496, in _setstate
    elif not (self._mvcc and self._setstate_noncurrent(obj)):
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/ZODB/Connection.py", line 523, in _setstate_noncurrent
    assert start < self._txn_time <= end, \
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/ZODB/utils.py", line 36, in u64
    return unpack(">Q", v)[0]
TypeError: unpack() argument 2 must be string or read-only buffer, not None

Exception in thread Thread-321:
Traceback (most recent call last):
  File "/home/chrism/opt/Python-2.3.2/lib/python2.3/threading.py", line 436, in __bootstrap
    self.run()
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/ZODB/tests/PackableStorage.py", line 520, in run
    self.root[choice(self.choices)].value = MinPO(j)
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/ZODB/Connection.py", line 445, in setstate
    self._setstate(obj)
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/ZODB/Connection.py", line 496, in _setstate
    elif not (self._mvcc and self._setstate_noncurrent(obj)):
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/ZODB/Connection.py", line 523, in _setstate_noncurrent
    assert start < self._txn_time <= end, \
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/ZODB/utils.py", line 36, in u64
    return unpack(">Q", v)[0]
TypeError: unpack() argument 2 must be string or read-only buffer, not None

Error in test testSetupServers (Zope.Startup.tests.testStarter.ZopeStarterTestCase)
Traceback (most recent call last):
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/Zope/Startup/tests/testStarter.py", line 172, in testSetupServers
    starter.setupServers()
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/Zope/Startup/__init__.py", line 186, in setupServers
    raise ZConfig.ConfigurationError(socket_err
ConfigurationError: There was a problem starting a server of type "HTTPServer". This may mean that your user does not have permission to bind to the port which the server is trying to use or the port may already be in use by another application. (Address already in use)

======================================================================
ERROR: check7ZODBThreads (ZODB.tests.testFileStorage.FileStorageTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/ZODB/tests/MTStorage.py", line 220, in check7ZODBThreads
    self._checkNThreads(7, ZODBClientThread, db, self)
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/ZODB/tests/MTStorage.py", line 209, in _checkNThreads
    t.join(60)
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/ZODB/tests/MTStorage.py", line 41, in run
    self.runtest()
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/ZODB/tests/MTStorage.py", line 68, in runtest
    d = self.get_thread_dict(root)
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/ZODB/tests/MTStorage.py", line 88, in get_thread_dict
    root[name] = m
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/persistent/mapping.py", line 52, in __setitem__
    self.__super_setitem(key, v)
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/ZODB/Connection.py", line 445, in setstate
    self._setstate(obj)
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/ZODB/Connection.py", line 477, in _setstate
    if not (self._mvcc and self._setstate_noncurrent(obj)):
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/ZODB/Connection.py", line 523, in _setstate_noncurrent
    assert start < self._txn_time <= end, \
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/ZODB/utils.py", line 36, in u64
    return unpack(">Q", v)[0]
TypeError: unpack() argument 2 must be string or read-only buffer, not None

======================================================================
ERROR: testSetupServers (Zope.Startup.tests.testStarter.ZopeStarterTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/Zope/Startup/tests/testStarter.py", line 172, in testSetupServers
    starter.setupServers()
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/Zope/Startup/__init__.py", line 186, in setupServers
    raise ZConfig.ConfigurationError(socket_err
ConfigurationError: There was a problem starting a server of type "HTTPServer". This may mean that your user does not have permission to bind to the port which the server is trying to use or the port may already be in use by another application. (Address already in use)

======================================================================
FAIL: checkConcurrentLargeUpdates (ZEO.tests.testConnection.BDBConnectionTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/ZEO/tests/InvalidationTests.py", line 490, in checkConcurrentLargeUpdates
    self._check_threads(tree, t1, t2, t3)
  File "/home/chrism/opt/tests/sandbox/Zope/lib/python/ZEO/tests/InvalidationTests.py", line 330, in _check_threads
    self.fail('\n'.join(errormsgs))
  File "/home/chrism/opt/Python-2.3.2/lib/python2.3/unittest.py", line 270, in fail
    raise self.failureException, msg
AssertionError: thread 2 didn't add any keys
thread 3 didn't add any keys

----------------------------------------------------------------------
Ran 2757 tests in 868.009s

FAILED (failures=1, errors=2)




More information about the Zope-tests mailing list