Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 302680 - Stabilize dev-python/bsddb3-4.8.3
Summary: Stabilize dev-python/bsddb3-4.8.3
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords: STABLEREQ
Depends on:
Blocks:
 
Reported: 2010-01-28 18:49 UTC by Arfrever Frehtes Taifersar Arahesis (RETIRED)
Modified: 2010-05-14 16:16 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-01-28 18:49:45 UTC
Stabilize dev-python/bsddb3-4.8.2.
Comment 1 Christian Faulhammer (RETIRED) gentoo-dev 2010-02-09 12:07:12 UTC
The test suite does not die, but there are lots of failures like this:

OSError: [Errno 13] Permission denied: '/tmp/z-Berkeley_DB/database_22608_314
Comment 2 Thomas Kahle (RETIRED) gentoo-dev 2010-02-13 16:52:26 UTC
Tested on x86: All good.
Comment 3 Christian Faulhammer (RETIRED) gentoo-dev 2010-02-16 22:26:57 UTC
(In reply to comment #2)
> Tested on x86: All good.

 You did not see the test errors without merge abort?
Comment 4 Thomas Kahle (RETIRED) gentoo-dev 2010-02-16 22:36:23 UTC
No, looks like this here:
-----------

Running tests from /var/tmp/portage/dev-python/bsddb3-4.8.2/work/bsddb3-4.8.2/build-2.6                           

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Berkeley DB 4.7.25: (2009-10-25)                                            
bsddb.db.version():   (4, 7, 25)                                            
bsddb.db.__version__: 4.8.2                                                 
bsddb.db.cvsid:       $Id: _bsddb.c,v d347c240ef45 2009/11/30 18:41:28 jcea $
py module:            /var/tmp/portage/dev-python/bsddb3-4.8.2/work/bsddb3-4.8.2/build-2.6/lib.linux-i686-2.6/bsddb3/__init__.py                                                                                                    
extension module:     /var/tmp/portage/dev-python/bsddb3-4.8.2/work/bsddb3-4.8.2/build-2.6/lib.linux-i686-2.6/bsddb3/_pybsddb.so                                                                                                    
python version:       2.6.4 (r264:75706, Jan 18 2010, 11:27:27)                                                   
[GCC 4.3.4]                                                                                                       
My pid:               5059                                                                                        
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=                                      
----------------------------------------------------------------------                                            
Ran 451 tests in 27.698s                                                                                          

OK

>>> Install bsddb3-4.8.2 into /var/tmp/portage/dev-python/bsddb3-4.8.2/image/ category dev-python
 * Installation of dev-python/bsddb3-4.8.2 with CPython 2.6... 
Comment 5 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-02-20 20:51:13 UTC
(In reply to comment #1)

Could you test with modified permissions on /tmp?
Comment 6 Christian Faulhammer (RETIRED) gentoo-dev 2010-02-23 10:09:13 UTC
(In reply to comment #5)
> (In reply to comment #1)
> 
> Could you test with modified permissions on /tmp?

 In what way?  It is already with 777.

drwxrwxrwt 201 root root 256K 23. Feb 11:08 tmp
Comment 7 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-03-01 21:25:24 UTC
(In reply to comment #1)

Does this problem occur also with dev-python/bsddb3-4.8.3?
Comment 8 Christian Faulhammer (RETIRED) gentoo-dev 2010-03-02 08:30:34 UTC
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Berkeley DB 4.7.25: (2009-12-17)
bsddb.db.version():   (4, 7, 25)
bsddb.db.__version__: 4.8.3
bsddb.db.cvsid:       $Id: _bsddb.c,v 4d4e0e3df61c 2010/02/17 19:49:29 jcea $
py module:            /var/tmp/portage/dev-python/bsddb3-4.8.3/work/bsddb3-4.8.3/build-2.6/lib.linux-i686-2.6/bsddb3/__init__.py
extension module:     /var/tmp/portage/dev-python/bsddb3-4.8.3/work/bsddb3-4.8.3/build-2.6/lib.linux-i686-2.6/bsddb3/__init__.py
python version:       2.6.4 (r264:75706, Feb 26 2010, 11:37:30)
[GCC 4.3.4]
My pid:               16732
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Failure in test test01_basic_replication (bsddb3.tests.test_replication.DBReplicationManager)
Traceback (most recent call last):
  File "/usr/lib/python2.6/unittest.py", line 279, in run
    testMethod()
  File "/var/tmp/portage/dev-python/bsddb3-4.8.3/work/bsddb3-4.8.3/build-2.6/lib.linux-i686-2.6/bsddb3/tests/test_replication.py", line 122, in test01_basic_replication
    self.assertTrue(time.time()<timeout)
  File "/usr/lib/python2.6/unittest.py", line 325, in failUnless  
    if not expr: raise self.failureException, msg
AssertionError

Succeeds outside my chroot, inside only one failure left:

======================================================================
FAIL: test01_basic_replication (bsddb3.tests.test_replication.DBReplicationManager)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.6/unittest.py", line 279, in run
    testMethod()
  File "/var/tmp/portage/dev-python/bsddb3-4.8.3/work/bsddb3-4.8.3/build-2.6/lib.linux-i686-2.6/bsddb3/tests/test_replication.py", line 122, in test01_basic_replication
    self.assertTrue(time.time()<timeout)
  File "/usr/lib/python2.6/unittest.py", line 325, in failUnless  
    if not expr: raise self.failureException, msg
AssertionError

----------------------------------------------------------------------
Ran 471 tests in 267.136s

FAILED (failures=1)
Comment 9 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-03-02 14:57:05 UTC
(In reply to comment #8)
> Succeeds outside my chroot, inside only one failure left

IMHO problems occuring only in chroot can be safely ignored.
Comment 10 Christian Faulhammer (RETIRED) gentoo-dev 2010-03-02 15:26:51 UTC
(In reply to comment #9)
> (In reply to comment #8)
> > Succeeds outside my chroot, inside only one failure left
> 
> IMHO problems occuring only in chroot can be safely ignored.

 And what about that specific failure?
Comment 11 Christian Faulhammer (RETIRED) gentoo-dev 2010-03-03 12:19:15 UTC
(In reply to comment #9)
> (In reply to comment #8)
> > Succeeds outside my chroot, inside only one failure left
> 
> IMHO problems occuring only in chroot can be safely ignored.

 I won't because it can be a weird dependency thing where a package in my chroot I don't have in my normal system causes the failure.
Comment 12 Samuli Suominen (RETIRED) gentoo-dev 2010-03-07 12:57:11 UTC
This is on amd64 chroot, pretty slim one I might add

>>> Source compiled.
 * Testing of dev-python/bsddb3-4.8.3 with CPython 2.6...
Running tests from /var/tmp/portage/dev-python/bsddb3-4.8.3/work/bsddb3-4.8.3/build-2.6

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Berkeley DB 4.7.25: (2010-01-10)
bsddb.db.version():   (4, 7, 25)
bsddb.db.__version__: 4.8.3
bsddb.db.cvsid:       $Id: _bsddb.c,v 4d4e0e3df61c 2010/02/17 19:49:29 jcea $
py module:            /var/tmp/portage/dev-python/bsddb3-4.8.3/work/bsddb3-4.8.3/build-2.6/lib.linux-x86_64-2.6/bsddb3/__init__.py
extension module:     /var/tmp/portage/dev-python/bsddb3-4.8.3/work/bsddb3-4.8.3/build-2.6/lib.linux-x86_64-2.6/bsddb3/__init__.py
python version:       2.6.4 (r264:75706, Mar  7 2010, 14:23:34) 
[GCC 4.3.4]
My pid:               1130
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
----------------------------------------------------------------------
Ran 470 tests in 74.163s

OK

So, amd64 stable
Comment 13 Christian Faulhammer (RETIRED) gentoo-dev 2010-03-25 11:11:19 UTC
For 4.8.4 the failure changes:

 * Testing of dev-python/bsddb3-4.8.4 with CPython 2.6...
BSDDB_TEST_PATH=/var/tmp/portage/dev-python/bsddb3-4.8.4/temp/tests-2.6 python2.6 test.py
Running tests from /var/tmp/portage/dev-python/bsddb3-4.8.4/work/bsddb3-4.8.4/build-2.6

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Berkeley DB 4.7.25: (2009-12-17)
bsddb.db.version():   (4, 7, 25)
bsddb.db.__version__: 4.8.4
bsddb.db.cvsid:       $Id: _bsddb.c,v 46bb11575dd7 2010/03/18 22:24:49 jcea $
py module:            /var/tmp/portage/dev-python/bsddb3-4.8.4/work/bsddb3-4.8.4/build-2.6/lib.linux-i686-2.6/bsddb3/__init__.py
extension module:     /var/tmp/portage/dev-python/bsddb3-4.8.4/work/bsddb3-4.8.4/build-2.6/lib.linux-i686-2.6/bsddb3/__init__.py
python version:       2.6.4 (r264:75706, Feb 26 2010, 11:37:30)
[GCC 4.3.4]
My pid:               18775
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Exception in thread reader 3:
Traceback (most recent call last):
  File "/usr/lib/python2.6/threading.py", line 525, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.6/threading.py", line 477, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/var/tmp/portage/dev-python/bsddb3-4.8.4/work/bsddb3-4.8.4/build-2.6/lib.linux-i686-2.6/bsddb3/tests/test_thread.py", line 296, in readerThread
    rec = dbutils.DeadlockWrap(c.next, max_retries=10)
  File "/var/tmp/portage/dev-python/bsddb3-4.8.4/work/bsddb3-4.8.4/build-2.6/lib.linux-i686-2.6/bsddb3/dbutils.py", line 68, in DeadlockWrap
    return function(*_args, **_kwargs)
DBLockDeadlockError: (-30994, 'DB_LOCK_DEADLOCK: Locker killed to resolve a deadlock')

----------------------------------------------------------------------
Ran 482 tests in 171.539s

OK
Comment 14 nixnut (RETIRED) gentoo-dev 2010-04-11 12:45:33 UTC
ppc stable
Comment 15 Christian Faulhammer (RETIRED) gentoo-dev 2010-04-26 11:12:00 UTC
bsddb3 5.0.0 has all tests ok for me...maybe we can target that?
Comment 16 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-05-14 16:16:32 UTC
dev-python/bsddb3-5.0.0 will be stabilized in bug #319731.