Summary: | Stabilize dev-python/bsddb3-4.8.3 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Arfrever Frehtes Taifersar Arahesis (RETIRED) <arfrever> |
Component: | Current packages | Assignee: | Python Gentoo Team <python> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | sparc, tomka, x86 |
Priority: | High | Keywords: | STABLEREQ |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Arfrever Frehtes Taifersar Arahesis (RETIRED)
2010-01-28 18:49:45 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 Tested on x86: All good. (In reply to comment #2) > Tested on x86: All good. You did not see the test errors without merge abort? 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...
(In reply to comment #1) Could you test with modified permissions on /tmp? (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 (In reply to comment #1) Does this problem occur also with dev-python/bsddb3-4.8.3? -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 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) (In reply to comment #8) > Succeeds outside my chroot, inside only one failure left IMHO problems occuring only in chroot can be safely ignored. (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? (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. 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
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 ppc stable bsddb3 5.0.0 has all tests ok for me...maybe we can target that? dev-python/bsddb3-5.0.0 will be stabilized in bug #319731. |