Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 493298 - dev-python/pyzmq-14.0.1 test failure (CURVE encryption)
Summary: dev-python/pyzmq-14.0.1 test failure (CURVE encryption)
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-04 10:32 UTC by tka
Modified: 2015-06-19 07:51 UTC (History)
0 users

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


Attachments
build.log (build.log,76.14 KB, text/plain)
2013-12-04 10:35 UTC, tka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tka 2013-12-04 10:32:53 UTC
The test suite of dev-python/pyzmq-14.0.1 fails:

test CURVE encryption ... FAIL
Exception in thread Thread-101:
Traceback (most recent call last):
  File "/usr/lib64/python2.7/threading.py", line 810, in __bootstrap_inner
    self.run()
  File "/usr/lib64/python2.7/threading.py", line 763, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/var/tmp/portage/dev-python/pyzmq-14.0.1/work/pyzmq-14.0.1-python2_7/lib/zmq/tests/test_security.py", line 41, in zap_handler
    msg = self.recv_multipart(socket)
  File "/var/tmp/portage/dev-python/pyzmq-14.0.1/work/pyzmq-14.0.1-python2_7/lib/zmq/tests/__init__.py", line 174, in recv_multipart
    return self._select_recv(True, socket, **kwargs)
  File "/var/tmp/portage/dev-python/pyzmq-14.0.1/work/pyzmq-14.0.1-python2_7/lib/zmq/tests/__init__.py", line 162, in _select_recv
    assert len(r) > 0, "Should have received a message"
AssertionError: Should have received a message

ERROR

...

======================================================================
ERROR: test CURVE encryption
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-python/pyzmq-14.0.1/work/pyzmq-14.0.1-python2_7/lib/zmq/tests/__init__.py", line 108, in tearDown
    raise RuntimeError("context could not terminate, open sockets likely remain in test")
RuntimeError: context could not terminate, open sockets likely remain in test

======================================================================
FAIL: test CURVE encryption
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-python/pyzmq-14.0.1/work/pyzmq-14.0.1-python2_7/lib/zmq/tests/test_security.py", line 206, in test_curve
    self.bounce(server, client)
  File "/var/tmp/portage/dev-python/pyzmq-14.0.1/work/pyzmq-14.0.1-python2_7/lib/zmq/tests/test_security.py", line 82, in bounce
    recvd = self.recv_multipart(server)
  File "/var/tmp/portage/dev-python/pyzmq-14.0.1/work/pyzmq-14.0.1-python2_7/lib/zmq/tests/__init__.py", line 174, in recv_multipart
    return self._select_recv(True, socket, **kwargs)
  File "/var/tmp/portage/dev-python/pyzmq-14.0.1/work/pyzmq-14.0.1-python2_7/lib/zmq/tests/__init__.py", line 162, in _select_recv
    assert len(r) > 0, "Should have received a message"
AssertionError: Should have received a message

----------------------------------------------------------------------
Ran 192 tests in 129.899s

FAILED (SKIP=19, errors=1, failures=1)
<built-in method close of Socket object at 0x7f1c32aa28d8>
<built-in method close of Socket object at 0x7f1c32a52ef0>
 * ERROR: dev-python/pyzmq-14.0.1::gentoo failed (test phase):
 *   Tests fail with python2.7
 * 
 * Call stack:
 *     ebuild.sh, line   93:  Called src_test
 *   environment, line 3757:  Called distutils-r1_src_test
 *   environment, line 1200:  Called _distutils-r1_run_foreach_impl 'python_test'
 *   environment, line  262:  Called python_parallel_foreach_impl 'distutils-r1_run_phase' 'python_test'
 *   environment, line 3597:  Called multibuild_parallel_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test'
 *   environment, line 2812:  Called multibuild_foreach_variant '_multibuild_parallel' '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test'
 *   environment, line 2760:  Called _multibuild_run '_multibuild_parallel' '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test'
 *   environment, line 2758:  Called _multibuild_parallel '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test'
 *   environment, line 2803:  Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test'
 *   environment, line  679:  Called distutils-r1_run_phase 'python_test'
 *   environment, line 1136:  Called python_test
 *   environment, line 3643:  Called die
 * The specific snippet of code:
 *           nosetests -svw "${BUILD_DIR}/lib/" || die "Tests fail with ${EPYTHON}";
 * 
 * If you need support, post the output of `emerge --info '=dev-python/pyzmq-14.0.1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-python/pyzmq-14.0.1::gentoo'`.
/usr/lib64/portage/bin/isolated-functions.sh: line 188: wait: `Tests fail with python2.7': not a pid or valid job spec
 * The complete build log is located at '/var/tmp/portage/dev-python/pyzmq-14.0.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/pyzmq-14.0.1/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-python/pyzmq-14.0.1/work/pyzmq-14.0.1'
 * S: '/var/tmp/portage/dev-python/pyzmq-14.0.1/work/pyzmq-14.0.1'

>>> Failed to emerge dev-python/pyzmq-14.0.1, Log file:

>>>  '/var/tmp/portage/dev-python/pyzmq-14.0.1/temp/build.log'


 # emerge --info '=dev-python/pyzmq-14.0.1::gentoo'
Portage 2.2.7 (hardened/linux/amd64/no-multilib, gcc-4.8.2, glibc-2.17, 3.12.2 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.12.2-x86_64-Intel-R-_Core-TM-_i7-3720QM_CPU_@_2.60GHz-with-gentoo-2.2
KiB Mem:    16383380 total,  12893380 free
KiB Swap:   17825788 total,  17825788 free
Timestamp of tree: Wed, 04 Dec 2013 10:00:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.6, 3.3.3
dev-util/cmake:           2.8.12.1-r1
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6, 1.14
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.7.3-r1, 4.8.2
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           4.0
sys-kernel/linux-headers: 3.12 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: science preview gentoo flipsafe modelica teaching testing
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -mtune=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -mtune=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
MAKEOPTS="-j8"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/science /var/lib/portage-local/preview /usr/portage /var/lib/portage-local/flipsafe /var/lib/portage-local/modelica /var/lib/portage-local/teaching /var/lib/portage-local/testing"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 acl acpi alsa amd64 avx berkdb bzip2 cairo caps cdda cddb cdparanoia cli cracklib crypt cups cxx dbus dri dts dvd fam ffmpeg fftw flac fontconfig fortran gdbm gif gimp gmp gnutls gtk hardened iconv icu idn ipv6 jpeg justify lame lcms libnotify mad matroska mmap mmx mmxext modules mp3 mpeg mudflap ncurses networkmanager nptl ogg opengl openmp pam pax_kernel pcre png policykit ppds readline sasl sdl session sse sse2 sse3 sse4 sse4_1 ssl ssse3 startup-notification svg tcpd theora threads tiff truetype udev unicode vorbis x264 xattr xcb xinerama xml xv xvid zlib" ABI_X86="64" 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" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19" USERLAND="GNU" VIDEO_CARDS="i965 intel nouveau" XFCE_PLUGINS="brightness logout menu trash" 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"
USE_PYTHON="2.7 3.3"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

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

dev-python/pyzmq-14.0.1 was built with the following:
USE="-examples -green -test" PYTHON_TARGETS="python2_7 python3_3 -python2_6 -python3_2"


Reproducible: Always
Comment 1 tka 2013-12-04 10:35:13 UTC
Created attachment 364582 [details]
build.log
Comment 2 tka 2013-12-04 10:36:48 UTC
# emerge -pqv '=dev-python/pyzmq-14.0.1::gentoo'
[ebuild   R   ] dev-python/pyzmq-14.0.1  USE="{test*} -examples -green" PYTHON_TARGETS="python2_7 python3_3 -python2_6 -python3_2"
Comment 3 Ian Delaney (RETIRED) gentoo-dev 2014-04-02 08:05:38 UTC
~/cvsPortage/gentoo-x86/dev-python/pyzmq $ ebuild pyzmq-14.0.1.ebuild clean test

Ran 192 tests in 23.481s

OK (SKIP=19)

Ran 192 tests in 23.591s

OK (SKIP=21)

Could not replicate
Comment 4 Justin Lecher (RETIRED) gentoo-dev 2015-06-19 07:51:31 UTC
+*pyzmq-14.7.0 (19 Jun 2015)
+
+  19 Jun 2015; Justin Lecher <jlec@gentoo.org> +pyzmq-14.7.0.ebuild,
+  -pyzmq-14.4.0.ebuild, -pyzmq-14.5.0.ebuild, -pyzmq-2.2.0.1-r1.ebuild,
+  pyzmq-14.4.1.ebuild, pyzmq-14.6.0.ebuild:
+  Version Bump; drop old; fix versions in dependency, obsoletes bug #493298, bug
+  #531398
+