Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 366251 - dev-python/twisted-11.0.0 fails tests
Summary: dev-python/twisted-11.0.0 fails tests
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: Normal normal
Assignee: Python Gentoo Team
URL: https://sourceforge.net/tracker/?func...
Whiteboard:
Keywords: TESTFAILURE
: 366565 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-05-06 17:38 UTC by Myckel Habets
Modified: 2011-12-27 07:46 UTC (History)
2 users (show)

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


Attachments
build log (twisted_build.log,532.25 KB, text/plain)
2011-05-06 17:38 UTC, Myckel Habets
Details
build log for 10.2.0 (build-10.2.0.log,509.01 KB, text/x-log)
2011-05-30 11:33 UTC, Ian Delaney (RETIRED)
Details
build log for 11.0.0 (build-11.0.log,516.87 KB, text/x-log)
2011-05-30 11:34 UTC, Ian Delaney (RETIRED)
Details
revised ebuild patch (xpyb.patch,1.05 KB, patch)
2011-11-20 22:18 UTC, Ian Delaney (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Myckel Habets 2011-05-06 17:38:00 UTC
Doing bug 366131 I found that twisted-11.0.0 fails some of its tests.

Reproducible: Always

Steps to Reproduce:
1. Emerge dev-python/twisted-11.0.0 on stable x86 system.

Actual Results:  
Fails tests, see attachment.

Expected Results:  
Builds successful.

emerge --info
Portage 2.1.9.42 (default/linux/x86/10.0, gcc-4.4.5, libc-0-r0, 2.6.38 i686)
=================================================================
System uname: Linux-2.6.38-i686-Mobile_AMD_Sempron-tm-_Processor_2800+-with-gentoo-1.12.14
Timestamp of tree: Tue, 03 May 2011 16:30:01 +0000
distcc 3.1 i686-pc-linux-gnu [enabled]
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.6.6-r2, 2.7.1-r1, 3.1.3-r1
dev-util/cmake:      2.8.4
sys-apps/baselayout: 1.12.14-r1
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.5
sys-devel/gcc-config: 1.4.1-r1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
sys-kernel/linux-headers: 2.6.36.1
sys-libs/glibc:      2.11.3
virtual/os-headers:  0
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -pipe -ggdb"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/spool/torque"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5.2/ext-active/ /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.2/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.2/ext-active/ /etc/php/cli-php5.3/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"
CXXFLAGS="-march=athlon-xp -O2 -pipe -ggdb"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs collision-protect distcc distlocks fixlafiles fixpackages news nostrip parallel-fetch protect-owned sandbox sfperms strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="nl_NL.utf8"
LDFLAGS="-Wl,-O1,--as-needed"
LINGUAS="nl en uk"
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="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="7zip X acl acpi alisp alsa autoipd avahi bash-completion berkdb bzip2 cairo cg cli cracklib crypt cups cxx dbus device-mapper devil dri encode fam fancy ffmpeg flac fontconfig fortran fts3 gdbm gdu gif gles gmp gnutls gpm gtk iconv icu imap ipv6 ithreads jadetex java5 jpeg libnotify mikmod mmx modules mono mp3 mudflap ncurses networking nls nptl nptlonly ogg ogre openexr opengl openmp openssl pam pcre perl pic player png policykit pppd python qt3support qt4 rdesktop readline sdl session smime sockets spell sqlite sqlite3 sse sse2 ssl startup-notification svg sysfs tcpd theora threads thunar timidity tinyxml tordns truetype udev unicode vnc vorbis x86 xcb xcomposite xft xorg 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" 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="nl en uk" PHP_TARGETS="php5-3" RUBY_TARGETS="jruby ruby18 ree18" USERLAND="GNU" VIDEO_CARDS="fglrx radeon nouveau" 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, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Myckel Habets 2011-05-06 17:38:35 UTC
Created attachment 272307 [details]
build log
Comment 2 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2011-05-06 18:22:20 UTC
Does this problem occur in dev-python/twisted-10.2.0?
Comment 3 Ian Delaney (RETIRED) gentoo-dev 2011-05-09 08:57:29 UTC
yes same for amd64

gentoo64 / # emerge --info
Portage 2.1.9.42 (default/linux/amd64/10.0/desktop, gcc-4.4.5, libc-0-r0, 2.6.37-gentoo-amd64 x86_64)
=================================================================
System uname: Linux-2.6.37-gentoo-amd64-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E6550_@_2.33GHz-with-gentoo-1.12.14
Timestamp of tree: Thu, 05 May 2011 15:15:01 +0000
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.7.1-r1, 3.1.3-r1
dev-util/cmake:      2.8.4-r1
sys-apps/baselayout: 1.12.14-r1
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.5
sys-devel/gcc-config: 1.4.1-r1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
sys-kernel/linux-headers: 2.6.36.1
sys-libs/glibc:      2.11.3
virtual/os-headers:  0
ACCEPT_KEYWORDS="amd64"

ACCEPT_LICENSE="* -@EULA AdobeFlash-10.1 dlj-1.1 PUEL"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -pipe -O2"
CHOST="x86_64-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/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS=""
DISTDIR="/mnt/gentoo/distfiles"
EMERGE_DEFAULT_OPTS="--jobs=4 --load-average=3.4 --keep-going"
FEATURES="assume-digests binpkg-logs collision-protect distlocks fixlafiles fixpackages multilib-strict news parallel-fetch protect-owned sandbox sfperms split-log strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv"
FFLAGS=""
GENTOO_MIRRORS="ftp://ftp.swin.edu.au/gentoo/ ftp://mirror.pacific.net.au/linux/Gentoo ftp://mirror.isp.net.au/pub/gentoo/ http://mirror.isp.net.au/pub/gentoo/ http://mirror.averse.net/pub/gentoo/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
LINGUAS="en"
MAKEOPTS="-j4"
PKGDIR="/mnt/gentoo/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/portage"
PORTDIR="/mnt/gen2/old-portage"

SYNC="rsync://rsync.au.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gdu gif gpm gtk iconv ipv6 jpeg lcms ldap libnotify mad mmx mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl nptlonly ogg opengl openmp pam pango pcre pdf perl png policykit ppds pppd private-headers python qt3support qt4 readline sdl session spell sse sse2 ssl startup-notification svg sysfs tcpd tiff truetype udev unicode usb vorbis x264 xcb xml xorg xulrunner xv xvid zlib" ALSA_CARDS="snd_hda_intel" 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" 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="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="vesa nouveau" 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, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 4 Markos Chandras (RETIRED) gentoo-dev 2011-05-09 13:11:01 UTC
*** Bug 366565 has been marked as a duplicate of this bug. ***
Comment 5 Myckel Habets 2011-05-09 18:52:57 UTC
(In reply to comment #2)
> Does this problem occur in dev-python/twisted-10.2.0?

Nope, builds fine. This is a regression over current stable.

And why was the block for bug 366131 removed?
Comment 6 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2011-05-09 19:10:34 UTC
There were no changes in code in twisted/scripts/tap2rpm.py and twisted/scripts/test/test_tap2rpm.py between 10.2.0 and 11.0.0.

Anyway please report this bug to upstream.
Comment 7 Myckel Habets 2011-05-29 19:05:45 UTC
Seems the issue is somehow resolved on x86 (bug doesn't get triggered any more). Ian, can you confirm the same for amd64?
Comment 8 Ian Delaney (RETIRED) gentoo-dev 2011-05-30 11:29:27 UTC
amd64:

re-emerged twisted 11.0.0 with test set and it again failed.

Ran 3657 tests in 764.981s

FAILED (skips=526, expectedFailures=5, errors=32, successes=3102)
 * ERROR: dev-python/twisted-11.0.0 failed (test phase):
 *   Testing failed with CPython 2.7 in testing() function

Does this problem occur in dev-python/twisted-10.2.0?

Unmerged twisted 11.0.0  emerge ==dev-python/twisted-10.2.0; test set.

FAILED (skips=507, expectedFailures=5, errors=32, successes=3030)
 * ERROR: dev-python/twisted-10.2.0 failed (test phase):
 *   Testing failed with CPython 2.7 in testing() function

Afraid can only confirm that it still fails in both versions.
Comment 9 Ian Delaney (RETIRED) gentoo-dev 2011-05-30 11:33:37 UTC
Created attachment 275175 [details]
build log for 10.2.0
Comment 10 Ian Delaney (RETIRED) gentoo-dev 2011-05-30 11:34:08 UTC
Created attachment 275177 [details]
build log for 11.0.0
Comment 11 Ian Delaney (RETIRED) gentoo-dev 2011-06-02 20:40:07 UTC
amd64:

change of heart
archtester testuser # grep test /etc/make.conf
FEATURES="userpriv test sandbox 

>>> Emerging (1 of 1) dev-python/twisted-11.0.0
>>> Installing (1 of 1) dev-python/twisted-11.0.0

I have a suspicion it is related to 

archtester testuser # eselect python list
Available Python interpreters:
  [1]   python2.7 *
  [2]   python3.1
Comment 12 Ian Delaney (RETIRED) gentoo-dev 2011-11-18 10:43:46 UTC
Sent upstream;  See $URL
Comment 13 Arfrever Frehtes Taifersar Arahesis 2011-11-18 23:13:35 UTC
(In reply to comment #12)
> Sent upstream;  See $URL

You have reported a bug in bug tracker of PyPI, not Twisted.
Twisted bugs should be reported in http://twistedmatrix.com/trac.
Comment 14 Arfrever Frehtes Taifersar Arahesis 2011-11-20 02:07:02 UTC
Firstly please test if you can reproduce test failures with dev-python/twisted-11.1.0 from Progress Overlay.
Comment 15 Ian Delaney (RETIRED) gentoo-dev 2011-11-20 22:18:37 UTC
Created attachment 293233 [details, diff]
revised ebuild patch

repoman informed to update to eclass xorg-2.
python_mod_optimize required, however for the second time,

 python_mod_optimize(): Missing files or directories

 * Removing unnecessary /usr/lib64/python2.7/site-packages/xcb/xcb.a
 * Removing unnecessary /usr/lib64/python2.7/site-packages/xcb/xcb.a
 * Removing unnecessary /usr/lib64/python2.7/site-packages/xcb/xcb.la (forced)
I've left the python_mod_optimize && python_mod_cleanup
commented out for when the above confusion over python_mod_optimize is sotred
Comment 16 Ian Delaney (RETIRED) gentoo-dev 2011-11-20 22:22:50 UTC
not again; cancel that, wrong bug again
Comment 17 Patrick Lauer gentoo-dev 2011-12-27 07:46:25 UTC
11.1 fixes these issues