[Python-Dev] latest bsddb3 test problems

Jeremy Hylton jeremy at alum.mit.edu
Sun Sep 21 22:45:20 EDT 2003


With current cvs on the release23-maint branch, I get a bunch of
tracebacks printed to the console without having the test fail.
I haven't looked at the test at all, so I don't know what any of these
messages mean.  It seems, though, that the test should fail if a thread
fails with an exception.

Jeremy

test_bsddb3
Exception in thread reader 4:
Traceback (most recent call last):
  File "/home/jeremy/src/python23/Lib/threading.py", line 436, in
__bootstrap
    self.run()
  File "/home/jeremy/src/python23/Lib/threading.py", line 416, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/home/jeremy/src/python23/Lib/bsddb/test/test_thread.py", line
275, in readerThread
    rec = dbutils.DeadlockWrap(c.next, max_retries=10)
  File "/home/jeremy/src/python23/Lib/bsddb/dbutils.py", line 67, in
DeadlockWrap
    return function(*_args, **_kwargs)
DBLockDeadlockError: (-30996, 'DB_LOCK_DEADLOCK: Locker killed to
resolve a deadlock')
 
Exception in thread reader 3:
Traceback (most recent call last):
  File "/home/jeremy/src/python23/Lib/threading.py", line 436, in
__bootstrap
    self.run()
  File "/home/jeremy/src/python23/Lib/threading.py", line 416, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/home/jeremy/src/python23/Lib/bsddb/test/test_thread.py", line
275, in readerThread
    rec = dbutils.DeadlockWrap(c.next, max_retries=10)
  File "/home/jeremy/src/python23/Lib/bsddb/dbutils.py", line 67, in
DeadlockWrap
    return function(*_args, **_kwargs)
DBLockDeadlockError: (-30996, 'DB_LOCK_DEADLOCK: Locker killed to
resolve a deadlock')
 
Exception in thread reader 1:
Traceback (most recent call last):
  File "/home/jeremy/src/python23/Lib/threading.py", line 436, in
__bootstrap
    self.run()
  File "/home/jeremy/src/python23/Lib/threading.py", line 416, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/home/jeremy/src/python23/Lib/bsddb/test/test_thread.py", line
275, in readerThread
    rec = dbutils.DeadlockWrap(c.next, max_retries=10)
  File "/home/jeremy/src/python23/Lib/bsddb/dbutils.py", line 67, in
DeadlockWrap
    return function(*_args, **_kwargs)
DBLockDeadlockError: (-30996, 'DB_LOCK_DEADLOCK: Locker killed to
resolve a deadlock')
 
Exception in thread writer 1:
Traceback (most recent call last):
  File "/home/jeremy/src/python23/Lib/threading.py", line 436, in
__bootstrap
    self.run()
  File "/home/jeremy/src/python23/Lib/threading.py", line 416, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/home/jeremy/src/python23/Lib/bsddb/test/test_thread.py", line
239, in writerThread
    self.assertEqual(data, self.makeData(key))
  File "/home/jeremy/src/python23/Lib/unittest.py", line 302, in
failUnlessEqual    raise self.failureException, \
AssertionError: None != '1063-1063-1063-1063-1063'
 
Exception in thread writer 2:
Traceback (most recent call last):
  File "/home/jeremy/src/python23/Lib/threading.py", line 436, in
__bootstrap
    self.run()
  File "/home/jeremy/src/python23/Lib/threading.py", line 416, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/home/jeremy/src/python23/Lib/bsddb/test/test_thread.py", line
254, in writerThread
    self.assertEqual(data, self.makeData(key))
  File "/home/jeremy/src/python23/Lib/unittest.py", line 302, in
failUnlessEqual    raise self.failureException, \
AssertionError: None != '2000-2000-2000-2000-2000'
 
Exception in thread writer 0:
Traceback (most recent call last):
  File "/home/jeremy/src/python23/Lib/threading.py", line 436, in
__bootstrap
    self.run()
  File "/home/jeremy/src/python23/Lib/threading.py", line 416, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/home/jeremy/src/python23/Lib/bsddb/test/test_thread.py", line
254, in writerThread
    self.assertEqual(data, self.makeData(key))
  File "/home/jeremy/src/python23/Lib/unittest.py", line 302, in
failUnlessEqual    raise self.failureException, \
AssertionError: None != '0002-0002-0002-0002-0002'





More information about the Python-Dev mailing list