Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 405559 - dev-python/twisted-11.1.0 fails tests
Summary: dev-python/twisted-11.1.0 fails tests
Status: RESOLVED TEST-REQUEST
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: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2012-02-24 11:26 UTC by Mikle Kolyada (RETIRED)
Modified: 2012-04-17 10:19 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,575.15 KB, text/plain)
2012-02-24 11:27 UTC, Mikle Kolyada (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2012-02-24 11:26:03 UTC
$subject 

Reproducible: Always




Portage 2.1.10.44 (default/linux/x86/10.0, gcc-4.5.3, glibc-2.13-r4,
3.1.10-gentoo-r1 i686)
=================================================================
System uname:
Linux-3.2.1-gentoo-r2-i686-Intel-R-_Core-TM-2_Duo_CPU_E6750_@_2.66GHz-with-gentoo-2.0.3
Timestamp of tree: Tue, 23 Feb 2012 16:40:01 +0000
app-shells/bash:          4.1_p9
dev-lang/python:          2.7.2-r3, 3.1.4-r3
dev-util/cmake:           2.8.6-r4
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r1
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /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"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs collision-protect distlocks ebuild-locks
fixlafiles news parallel-fetch protect-owned sandbox sfperms strict test
unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://mirror.yandex.ru/gentoo-distfiles/
ftp://mirror.yandex.ru/gentoo-distfiles/"
LANG="ru_RU.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="ru"
MAKEOPTS="-j3"
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"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.ru.gentoo.org/gentoo-portage"
USE="X acl alsa apache2 apng berkdb bzip2 cdr cli consolekit cracklib crypt
cups cxx dbus debug declarative dri dvd extras firebird fortran gdbm gpm gudev
iconv icu ipv6 kde libkms modules mudflap mysql ncurses nls nptl nptlonly ogg
opengl openmp oracle pam pcre png policykit postgres pppd python qt3support qt4
readline semantic-desktop session sql sqlite sqlite3 ssl static-libs svg
symlink sysfs tcpd unicode vorbis webkit x86 xorg xvfb zlib"
ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1
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" CALLIGRA_FEATURES="kexi words flow plan stage tables
krita karbon braindump" 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 ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses
text" LINGUAS="ru" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU"
VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nouveau nv r128 radeon
savage sis tdfx trident vesa via vmware dummy v4l" 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, INSTALL_MASK,
PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS,
PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2012-02-24 11:27:07 UTC
Created attachment 303049 [details]
build.log
Comment 2 Ian Delaney (RETIRED) gentoo-dev 2012-02-24 15:05:11 UTC
localhost dev-python # FEATURES=test emerge twisted

 * IMPORTANT: 1 news items need reading for repository 'progress'.
 * IMPORTANT: 9 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.

Calculating dependencies | * Digest verification failed:
 * /mnt/gen2/old-portage/dev-python/shiboken/shiboken-1.1.0.ebuild
 * Reason: Filesize does not match recorded size
 * Got: 1901
 * Expected: 2224
... done!
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) dev-python/twisted-11.1.0 from progress
>>> Jobs: 0 of 1 complete, 1 running                Load avg: 0.09, 0.06, 0.09openpty failed: 'out of pty devices'
>>> Installing (1 of 1) dev-python/twisted-11.1.0

could not replicate
Comment 3 Ian Delaney (RETIRED) gentoo-dev 2012-02-26 11:40:10 UTC
correction.  I didn't notice that is the progress version of twisted.  The gx86 indeed fails in the style of that build log.
Comment 4 Ian Delaney (RETIRED) gentoo-dev 2012-02-26 15:49:09 UTC
localhost idella # time FEATURES=test emerge =dev-python/twisted-11.1.0::gentoo

>>> Emerging (4 of 4) dev-python/twisted-11.1.0
>>> Installing (4 of 4) dev-python/twisted-11.1.0

real	7m11.899s
user	2m59.968s
sys	0m26.234s

Note the time.  For a while I was getting persistent failures in both gx86 and progress, with a longer list than in the provided build log. However the time it took was 21 minutes.  They were constantly timing out on a number of tests, 2 minutes per timeout. Those were done in a chroot environment.

This host is a stable gentoo.  The other 2 are testing, but both accessed via chroot.  Some python packages don't deal well in a chroot, you need be in a host. I finally keyworded twisted to take this version and it passed.

Was this bug lodged from testing in a chroot?
Comment 5 Johan Bergström 2012-03-16 20:53:32 UTC
Here's some error I just encountered with a freshly installed box. Python 2.7.2 on an amd64, FEATURES=test emerge dev-python/twisted-11.0.0:

[ERROR]
Traceback (most recent call last):
  File "/var/tmp/portage/dev-python/twisted-11.0.0/temp/tests/usr/lib64/python2.7/site-packages/twisted/python/test/test_components.py", line 351, in test_duplicateAdapterForInterfaceAllowed
    return self._duplicateAdapterForClassOrInterfaceAllowed(TheOriginal)
  File "/var/tmp/portage/dev-python/twisted-11.0.0/temp/tests/usr/lib64/python2.7/site-packages/twisted/python/test/test_components.py", line 312, in _duplicateAdapterForClassOrInterfaceAllowed
    components.registerAdapter(firstAdapter, original, TheInterface)
  File "/var/tmp/portage/dev-python/twisted-11.0.0/temp/tests/usr/lib64/python2.7/site-packages/twisted/python/components.py", line 93, in registerAdapter
    raise ValueError("an adapter (%s) was already registered." % (factory, ))
exceptions.ValueError: an adapter (<function <lambda> at 0x27fd848>) was already registered.

twisted.python.test.test_components.RegistrationTestCase.test_duplicateAdapterForInterfaceAllowed
===============================================================================
[ERROR]
Traceback (most recent call last):
  File "/var/tmp/portage/dev-python/twisted-11.0.0/temp/tests/usr/lib64/python2.7/site-packages/twisted/python/test/test_components.py", line 268, in test_registerAdapterForInterface
    return self._registerAdapterForClassOrInterface(TheOriginal)
  File "/var/tmp/portage/dev-python/twisted-11.0.0/temp/tests/usr/lib64/python2.7/site-packages/twisted/python/test/test_components.py", line 245, in _registerAdapterForClassOrInterface
    components.registerAdapter(adapter, original, TheInterface)
  File "/var/tmp/portage/dev-python/twisted-11.0.0/temp/tests/usr/lib64/python2.7/site-packages/twisted/python/components.py", line 93, in registerAdapter
    raise ValueError("an adapter (%s) was already registered." % (factory, ))
exceptions.ValueError: an adapter (<function <lambda> at 0x27fd848>) was already registered.

twisted.python.test.test_components.RegistrationTestCase.test_registerAdapterForInterface
===============================================================================
[ERROR]
Traceback (most recent call last):
  File "/var/tmp/portage/dev-python/twisted-11.0.0/temp/tests/usr/lib64/python2.7/site-packages/twisted/python/test/test_components.py", line 423, in test_subclassAdapterRegistrationForInterface
    return self._subclassAdapterRegistrationForClassOrInterface(TheOriginal)
  File "/var/tmp/portage/dev-python/twisted-11.0.0/temp/tests/usr/lib64/python2.7/site-packages/twisted/python/test/test_components.py", line 396, in _subclassAdapterRegistrationForClassOrInterface
    components.registerAdapter(firstAdapter, original, TheInterface)
  File "/var/tmp/portage/dev-python/twisted-11.0.0/temp/tests/usr/lib64/python2.7/site-packages/twisted/python/components.py", line 93, in registerAdapter
    raise ValueError("an adapter (%s) was already registered." % (factory, ))
exceptions.ValueError: an adapter (<function <lambda> at 0x27fd848>) was already registered.

twisted.python.test.test_components.RegistrationTestCase.test_subclassAdapterRegistrationForInterface
Comment 6 Patrick Lauer gentoo-dev 2012-03-22 07:04:03 UTC
Please retry with 12.0.0
Comment 7 Chris Reffett (RETIRED) gentoo-dev Security 2012-04-16 22:12:24 UTC
(In reply to comment #6)
> Please retry with 12.0.0

12.0.0 finishes the tests successfully for me.
Comment 8 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2012-04-17 10:19:33 UTC
(In reply to comment #7)
> (In reply to comment #6)
> > Please retry with 12.0.0
> 
> 12.0.0 finishes the tests successfully for me.

12.0.0 fixed in tree some time ago.