Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 295057 - dev-python/bsddb3-4.8.1 fails tests
Summary: dev-python/bsddb3-4.8.1 fails tests
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard: [IR]
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-29 17:05 UTC by Patrick Lauer
Modified: 2011-10-04 23:11 UTC (History)
0 users

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 Patrick Lauer gentoo-dev 2009-11-29 17:05:32 UTC
>>> Source compiled.
 * Testing of dev-python/bsddb3-4.8.1 with Python 2.6...
Running tests from /var/tmp/portage/dev-python/bsddb3-4.8.1/work/bsddb3-4.8.1/build-2.6

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Berkeley DB 4.8.24: (2009-09-20)
bsddb.db.version():   (4, 8, 24)
bsddb.db.__version__: 4.8.1
bsddb.db.cvsid:       $Id: _bsddb.c 732 2009-11-05 19:39:04Z jcea $
py module:            /var/tmp/portage/dev-python/bsddb3-4.8.1/work/bsddb3-4.8.1/build-2.6/lib.linux-x86_64-2.6/bsddb3/__init__.py
extension module:     /var/tmp/portage/dev-python/bsddb3-4.8.1/work/bsddb3-4.8.1/build-2.6/lib.linux-x86_64-2.6/bsddb3/_pybsddb.so
python version:       2.6.4 (r264:75706, Nov  7 2009, 23:25:56)
[GCC 4.4.2]
My pid:               11986
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
----------------------------------------------------------------------
Ran 423 tests in 99.278s

OK
 * Testing of dev-python/bsddb3-4.8.1 with Python 3.1...
Running tests from /var/tmp/portage/dev-python/bsddb3-4.8.1/work/bsddb3-4.8.1/build-3.1
Work to do!

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Berkeley DB 4.8.24: (2009-09-20)
bsddb.db.version():   (4, 8, 24)
bsddb.db.__version__: 4.8.1
bsddb.db.cvsid:       $Id: _bsddb.c 732 2009-11-05 19:39:04Z jcea $
py module:            /var/tmp/portage/dev-python/bsddb3-4.8.1/work/bsddb3-4.8.1/build-3.1/lib.linux-x86_64-3.1/bsddb3/__init__.py
extension module:     /var/tmp/portage/dev-python/bsddb3-4.8.1/work/bsddb3-4.8.1/build-3.1/lib.linux-x86_64-3.1/bsddb3/_pybsddb.so
python version:       3.1.1 (r311:74480, Sep 27 2009, 23:59:32)
[GCC 4.4.1]
My pid:               12131
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Failure in test test01_basic_replication (bsddb3.tests.test_replication.DBReplicationManager)
Traceback (most recent call last):
  File "/usr/lib64/python3.1/unittest.py", line 480, in run
    testMethod()
  File "/var/tmp/portage/dev-python/bsddb3-4.8.1/work/bsddb3-4.8.1/build-3.1/lib.linux-x86_64-3.1/bsddb3/tests/test_replication.py", line 122, in test01_basic_replication
    self.assertTrue(time.time()<timeout)
  File "/usr/lib64/python3.1/unittest.py", line 552, in assertTrue
    raise self.failureException(msg)
AssertionError: False is not True


Portage 2.2_rc54 (default/linux/amd64/10.0/server, gcc-4.4.2, glibc-2.11-r0, 2.6.32-rc6-git6 x86_64)
=================================================================
System uname: Linux-2.6.32-rc6-git6-x86_64-AMD_Phenom-tm-_9950_Quad-Core_Processor-with-gentoo-2.0.1
Timestamp of tree: Unknown
app-shells/bash:     4.0_p35
dev-lang/python:     2.6.4, 3.1.1-r1
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.5.2-r2
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.64
sys-devel/automake:  1.10.2, 1.11
sys-devel/binutils:  2.20
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/live/env /usr/kde/live/share/config /usr/kde/live/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests buildpkg distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict test unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://localhost/gentoo-portage"
USE="X acl amd64 apache2 berkdb bzip2 cli cracklib crypt cups dri fortran gcj gdbm gpm iconv ipv6 ldap mmx modules mudflap multilib mysql ncurses nls nptl nptlonly objc openmp pam pcre perl pppd python readline reflection session snmp spl sse sse2 ssl sysfs tcpd truetype unicode xml xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="vga"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Patrick Lauer gentoo-dev 2009-11-29 17:06:22 UTC
forgot to say that it hangs there and doesn't do anything
Comment 2 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-12-06 23:33:38 UTC
It happens for you only with Python 3.1.
Anyway I can't reproduce this problem with Python 2.6, 2.7, 3.1 and 3.2.
Comment 3 Patrick Lauer gentoo-dev 2010-05-14 16:26:48 UTC
>>> Source compiled.
 * Testing of dev-python/bsddb3-5.0.0 with CPython 2.6...
TMPDIR=/var/tmp/portage/dev-python/bsddb3-5.0.0/temp/tests-2.6 python2.6 test.py
Running tests from /var/tmp/portage/dev-python/bsddb3-5.0.0/work/bsddb3-5.0.0/build-2.6

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Berkeley DB 4.8.30: (2010-05-11)
bsddb.db.version():   (4, 8, 30)
bsddb.db.__version__: 5.0.0
bsddb.db.cvsid:       $Id: _bsddb.c,v 2e952c222f16 2010/04/06 18:48:37 jcea $
py module:            /var/tmp/portage/dev-python/bsddb3-5.0.0/work/bsddb3-5.0.0/build-2.6/lib.linux-x86_64-2.6/bsddb3/__init__.py
extension module:     /var/tmp/portage/dev-python/bsddb3-5.0.0/work/bsddb3-5.0.0/build-2.6/lib.linux-x86_64-2.6/bsddb3/__init__.py
python version:       2.6.5 (release26-maint, May  3 2010, 08:15:28) 
[GCC 4.4.3]
My pid:               27097
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
----------------------------------------------------------------------
Ran 481 tests in 132.008s

OK
 * Testing of dev-python/bsddb3-5.0.0 with CPython 3.1...
TMPDIR=/var/tmp/portage/dev-python/bsddb3-5.0.0/temp/tests-3.1 python3.1 test.py
Running tests from /var/tmp/portage/dev-python/bsddb3-5.0.0/work/bsddb3-5.0.0/build-3.1
Work to do!

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Berkeley DB 4.8.30: (2010-05-11)
bsddb.db.version():   (4, 8, 30)
bsddb.db.__version__: 5.0.0
bsddb.db.cvsid:       $Id: _bsddb.c,v 2e952c222f16 2010/04/06 18:48:37 jcea $
py module:            /var/tmp/portage/dev-python/bsddb3-5.0.0/work/bsddb3-5.0.0/build-3.1/lib.linux-x86_64-3.1/bsddb3/__init__.py
extension module:     /var/tmp/portage/dev-python/bsddb3-5.0.0/work/bsddb3-5.0.0/build-3.1/lib.linux-x86_64-3.1/bsddb3/__init__.py
python version:       3.1.2 (release31-maint, May  3 2010, 08:31:48) 
[GCC 4.4.3]
My pid:               27251
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
----------------------------------------------------------------------
Ran 480 tests in 167.688s

OK

>>> Install bsddb3-5.0.0 into /var/tmp/portage/dev-python/bsddb3-5.0.0/image/ category dev-python


Works with version 5.0.0 :)
Comment 4 Nikoli 2010-08-29 04:17:06 UTC
Please reopen bug, not fixed for 5.0.0 and 4.8.3 with python 2.6.5:
>>> Source compiled.
 * Testing of dev-python/bsddb3-5.0.0 with CPython 2.6...
TMPDIR=/var/tmp/portage/portage/dev-python/bsddb3-5.0.0/temp/tests-2.6 python2.6 test.py
Running tests from /var/tmp/portage/portage/dev-python/bsddb3-5.0.0/work/bsddb3-5.0.0/build-2.6

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Berkeley DB 4.8.30: (2010-08-27)
bsddb.db.version():   (4, 8, 30)
bsddb.db.__version__: 5.0.0
bsddb.db.cvsid:       $Id: _bsddb.c,v 2e952c222f16 2010/04/06 18:48:37 jcea $
py module:            /var/tmp/portage/portage/dev-python/bsddb3-5.0.0/work/bsddb3-5.0.0/build-2.6/lib.linux-x86_64-2.6/bsddb3/__init__.py
extension module:     /var/tmp/portage/portage/dev-python/bsddb3-5.0.0/work/bsddb3-5.0.0/build-2.6/lib.linux-x86_64-2.6/bsddb3/__init__.py
python version:       2.6.5 (release26-maint, Aug 27 2010, 05:40:19) 
[GCC 4.4.3]
My pid:               19318
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

...and nothing happens for hours.

Portage 2.1.8.3 (default/linux/amd64/10.0/desktop, gcc-4.4.3, glibc-2.11.2-r0, 2.6.33-gentoo-r2 x86_64)
=================================================================
                        System Settings
=================================================================
Timestamp of tree: Sat, 28 Aug 2010 09:15:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p37
dev-lang/python:     2.6.5-r3
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.2
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.65
sys-devel/automake:  1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=core2 -O2 -pipe"
FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict test unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
LANG="C"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="ru en"
MAKEOPTS="-j3"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/nikoli"
USE="7zip X a52 aac acl acpi akonadi alsa amd64 amr amrnb amrwb ares atm audiofile bash-completion bluetooth bzip2 cairo cdda cddb cdio cdparanoia cdr chroot cli consolekit cracklib crypt css cups cxx dbus divx djvu dri dts dv dvd dvdr dvdread emboss encode exif ffmpeg firefox flac fluidsynth fontconfig fortran gd geoip gif gimp glitz gmp gnutls gphoto2 gpm graphviz gsm gstreamer gtk hal handbook iconv id3tag idn ieee1394 imagemagick imap imlib ipv6 jbig jpeg jpeg2k kde kipi kontact ladspa lame laptop lcms libproxy libsamplerate libwww lm_sensors lzma lzo mad matroska md5sum mikmod mmx mmxext mng modplug modules mp3 mp4 mpeg mtp mudflap multilib musepack musicbrainz ncurses nls nptl nptlonly ntfs nvidia obex ogg openal opencore-amr openexr opengl openmp pam pango pcre pdf perl pg-intdatetime phonon plasma pm-utils png ppds pppd qt3support qt4 quicktime rar raw readline reflection reiserfs sasl scanner schroedinger semantic-desktop session smp sndfile socks5 speex spell spl sqlite sse sse2 sse3 ssl ssse3 startup-notification svg symlink sysfs taglib theora threads thumbnail tiff truetype tta udev unicode upnp usb userlocales v4l v4l2 vaapi vcd vdpau vorbis vpx wavpack webkit wifi wma wmf wps x264 xcb xcomposite xface xml xmp xorg xpm xscreensaver xulrunner xv xvid zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru en" NGINX_MODULES_HTTP="access auth_basic autoindex fastcgi gzip rewrite" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nouveau nv nvidia vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

dev-lang/python-2.6.5-r3 was built with the following:
USE="ipv6 (multilib) ncurses readline ssl threads (wide-unicode) xml -berkdb -build -doc -examples -gdbm -sqlite -tk -wininst" 
CFLAGS="-march=core2 -O2 -pipe -fwrapv"
CXXFLAGS="-march=core2 -O2 -pipe -fwrapv"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -L."


Comment 5 Nikoli 2011-10-04 23:11:26 UTC
bsddb3-5.1.2 with python-2.7.1-r1 now passes tests fine for me.