dev-python/twisted-2.5.0 fails the following tests: twisted.test.test_udp.MulticastTestCase.test_loopback twisted.test.test_udp.MulticastTestCase.test_multiListen twisted.test.test_udp.MulticastTestCase.test_multicast I'll attach the build log.
Created attachment 129343 [details] build log
# emerge --info Portage 2.1.3.7 (default-linux/x86/2007.0/desktop, gcc-4.2.0, glibc-2.6-r0, 2.6.22-gentoo-r2 i686) ================================================================= System uname: 2.6.22-gentoo-r2 i686 AMD Athlon(tm) XP 2400+ Gentoo Base System release 1.12.10 Timestamp of tree: Mon, 27 Aug 2007 04:50:01 +0000 app-shells/bash: 3.2_p17-r1 dev-java/java-config: 1.3.7, 2.0.33-r1 dev-lang/python: 2.4.4-r5, 2.5.1-r2 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.10-r4 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.4.0-r1 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.22-r2 ACCEPT_KEYWORDS="x86 ~x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=athlon-xp -pipe -ggdb" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php4/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php4/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php4/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-O2 -march=athlon-xp -pipe -ggdb" DISTDIR="/usr/portage/distfiles" FEATURES="collision-protect distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms splitdebug strict test unmerge-orphans userfetch userpriv usersandbox" GENTOO_MIRRORS="http://gentoo.mirrors.pair.com/ http://gentoo.zie.pg.gda.pl http://gentoo.prz.rzeszow.pl http://gentoo.mirrors.pair.com/ http://gentoo.osuosl.org/ http://gentoo.mirrors.pair.com/ ftp://gentoo.mirrors.pair.com/" LANG="pl_PL.UTF-8" LC_ALL="pl_PL.UTF-8" LINGUAS="pl" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local/layman/sarven /usr/portage/local/overlay" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="3dnow X a52 aac acl acpi alsa amarok apache2 bash-completion berkdb bitmap-fonts bluetooth branding bzip2 cairo cdparanoia cdr cjk cli cracklib crypt cups dbus dlloader dri dv dvd dvdr dvdread emboss encode evo exif fam fbcon ffmpeg firefox flac foomaticdb fortran gdbm gif glitz gphoto2 gpm gstreamer hal iconv ieee1394 irmc isdnlog jabber java java5 javascript jpeg kde kdehiddenvisibility kerberos kipi libnotify mad matroska midi mikmod mime mmx mng mp3 mpeg mplayer mudflap musepack mysql ncurses nls nptl nptlonly nsplugin nvidia offensive ogg openal opengl openmp pam pcre pdf perl png ppds pppd python qt qt3 qt3support qt4 quicktime readline real realmedia reflection sdl session spell spl sse ssl subversion svg tcpd test theora threads tiff truetype truetype-fonts type1-fonts unicode usb vcd videos vorbis win32codecs x264 x86 xcomposite xine xml xorg xprint xscreensaver xv xvid zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl" USERLAND="GNU" VIDEO_CARDS="nvidia none" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
I can't reproduce the problem here. Which python version did you build twisted against? Do you get the same test errors with twisted-8.0.0?
I'm sorry, so much time has passed that I have no idea which Python version that was. I don't even have dev-python/twisted on my system anymore. However, I've tried to emerge it for a test. Results: both twisted-2.5.0 and twisted-8.0.1 still fail on those 3 tests. I'll attach build logs. My current emerge --info (Python 2.5.2-r2, as you can see): Portage 2.1.5_rc10 (default/linux/x86/2008.0/desktop, gcc-4.2.3, glibc-2.7-r2, 2.6.25-gentoo-r1 i686) ================================================================= System uname: 2.6.25-gentoo-r1 i686 AMD Athlon(tm) XP 2400+ Timestamp of tree: Wed, 14 May 2008 16:17:01 +0000 app-shells/bash: 3.2_p39 dev-java/java-config: 1.3.7, 2.1.6 dev-lang/python: 2.5.2-r2 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.2.4 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.62 sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.25-r2 ACCEPT_KEYWORDS="x86 ~x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=athlon-xp -pipe -ggdb" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /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/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O2 -march=athlon-xp -pipe -ggdb" DISTDIR="/usr/portage/distfiles" FEATURES="collision-protect distlocks fixpackages parallel-fetch sandbox sfperms splitdebug strict test unmerge-orphans userfetch userpriv usersandbox" GENTOO_MIRRORS="http://src.gentoo.pl/ http://gentoo.prz.rzeszow.pl/ http://gentoo.mirrors.pair.com/ http://gentoo.osuosl.org/" LANG="pl_PL.UTF-8" LC_ALL="pl_PL.UTF-8" LDFLAGS="" LINGUAS="pl" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" 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/portage/local/layman/mozilla /usr/portage/local/layman/kadu-stable /usr/portage/local/overlay" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="3dnow X a52 aac acl acpi alsa amarok apache2 bash-completion berkdb bluetooth branding bzip2 cairo cdparanoia cdr cjk cli cracklib crypt cups curl dbus dlloader dri dv dvd dvdr dvdread emboss encode evo exif fam fbcon ffmpeg firefox flac foomaticdb fortran gdbm gif glitz gphoto2 gpm gstreamer hal iconv ieee1394 irmc isdnlog jabber java java5 javascript jpeg kde kdehiddenvisibility kerberos kipi libnotify mad matroska midi mikmod mime mmx mng mp3 mpeg mplayer mudflap musepack mysql ncurses nls nptl nptlonly nsplugin nvidia offensive ogg openal opengl openmp pam pcre pdf perl png ppds pppd python qt qt3 qt3support qt4 quicktime rdesktop readline real realmedia reflection samba sdl session spell spl sse ssl startup-notification subversion svg tcpd theora threads tiff truetype unicode usb utempter vcd videos vnc vorbis win32codecs x264 x86 xattr xcomposite xine xml xorg xprint xscreensaver xulrunner xv xvid zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="worker" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl" USERLAND="GNU" VIDEO_CARDS="nvidia none" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 153151 [details] twisted-2.5.0 build log
Created attachment 153153 [details] twisted-8.0.1 build log
Is this still an issue with current versions?
I've tried to emerge -av1 twisted (8.2.0) and got this after a short while: >>> Jobs: 0 of 1 complete, 1 running Load avg: 0.97, 0.81, 0.82 Traceback (most recent call last): File "/usr/bin/emerge", line 40, in <module> retval = _emerge.emerge_main() File "//usr/lib/portage/pym/_emerge/__init__.py", line 15161, in emerge_main myopts, myaction, myfiles, spinner) File "//usr/lib/portage/pym/_emerge/__init__.py", line 14120, in action_build retval = mergetask.merge() File "//usr/lib/portage/pym/_emerge/__init__.py", line 10262, in merge rval = self._merge() File "//usr/lib/portage/pym/_emerge/__init__.py", line 10504, in _merge self._main_loop() File "//usr/lib/portage/pym/_emerge/__init__.py", line 10639, in _main_loop self._poll_loop() File "//usr/lib/portage/pym/_emerge/__init__.py", line 9193, in _poll_loop handler(f, event) File "//usr/lib/portage/pym/_emerge/__init__.py", line 2272, in _output_handler self._unregister_if_appropriate(event) File "//usr/lib/portage/pym/_emerge/__init__.py", line 1787, in _unregister_if_appropriate self.wait() File "//usr/lib/portage/pym/_emerge/__init__.py", line 1691, in wait self._wait() File "//usr/lib/portage/pym/_emerge/__init__.py", line 2096, in _wait self._set_returncode(wait_retval) File "//usr/lib/portage/pym/_emerge/__init__.py", line 2990, in _set_returncode portage._post_phase_userpriv_perms(self.settings) File "//usr/lib/portage/pym/portage/__init__.py", line 4554, in _post_phase_userpriv_perms filemode=060, filemask=0) File "//usr/lib/portage/pym/portage/util.py", line 786, in apply_recursive_permissions uid=uid, gid=gid, mode=filemode, mask=filemask) File "//usr/lib/portage/pym/portage/util.py", line 811, in apply_secpass_permissions stat_cached = os.stat(filename) OSError: [Errno 40] Too many levels of symbolic links: '/var/tmp/portage/dev-python/twisted-8.2.0/temp/tests/usr/lib/python2.5/site-packages/_trial_temp/twisted.test.test_paths/FilePathTestCase/test_realpathCyclicalSymlink/kXw9Lc/temp/link2'
Created attachment 179602 [details] twisted-8.2.0 build log
Not the same tests as far as I can see, but twisted-8.1.0 fails tests on a mostly-stable amd64 box after upgrading to python 2.5. emerge --info: Portage 2.1.6.7 (default/linux/amd64/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.27-gentoo-r7 x86_64) ================================================================= System uname: Linux-2.6.27-gentoo-r7-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_3800+-with-glibc2.2.5 Timestamp of tree: Wed, 11 Mar 2009 09:30:01 +0000 app-shells/bash: 3.2_p39 dev-java/java-config: 1.3.7-r1, 2.1.7 dev-lang/python: 2.4.4-r14, 2.5.2-r7 dev-python/pycrypto: 2.0.1-r6 dev-util/cmake: 2.4.6-r1 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.63 sys-devel/automake: 1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-mtune=athlon64 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-mtune=athlon64 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict test unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" LDFLAGS="-Wl,-O1" 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="3dnow 3dnowext X a52 aac acl aim alsa amd64 bash-completion berkdb blender-game bzip2 cdr chroot cli cracklib crypt css cups debugger dri dvd dvdr dvdread exif ffmpeg firefox fortran gif gpm gtk gtk2 iconv ipv6 isdnlog ithreads jpeg mad midi mjpeg mmx mmxext mp3 mpeg mudflap multilib ncurses nls no-htdocs nptl nptlonly nsplugin nvidia ogg openal opengl openmp pam pcre pdf perl png pppd python quicktime readline realmedia reflection sdl session smp spl sse sse2 ssl svg svnserve sysfs tcpd theora truetype unicode usb vorbis wma wmf xcomposite xinerama xorg xvid yahoo 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="fbdev glint i810 intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 184694 [details] amd64 8.1.0 build log Build log on a mostly-stable amd64 machine as part of running /usr/sbin/python-updater .
Created attachment 189908 [details] emerge log The same problem as original report.
*please* remove the "die statement" on line 112 (of 8.1.0) if it is a known issue! We have had failing tests in the stable tree for years all because of this die statement that "is not a regression, so mark it stable anyway"
Hello, Tests should be fixed in CVS (dev-python/twisted-8.2.0-r1). Some tests are aimed at testing features with non-root users so, they failed. Now everything should work OK. Please, reopen bug if this is still an issue. Best regards,
I'm sorry: >>> Emerging (1 of 1) dev-python/twisted-8.2.0-r1 >>> Jobs: 0 of 1 complete, 1 running Load avg: 1.68, 2.12, 2.65 Traceback (most recent call last): File "/usr/bin/emerge", line 40, in <module> retval = _emerge.emerge_main() File "/usr/lib/portage/pym/_emerge/__init__.py", line 16305, in emerge_main myopts, myaction, myfiles, spinner) File "/usr/lib/portage/pym/_emerge/__init__.py", line 15226, in action_build retval = mergetask.merge() File "/usr/lib/portage/pym/_emerge/__init__.py", line 10891, in merge rval = self._merge() File "/usr/lib/portage/pym/_emerge/__init__.py", line 11192, in _merge self._main_loop() File "/usr/lib/portage/pym/_emerge/__init__.py", line 11329, in _main_loop self._poll_loop() File "/usr/lib/portage/pym/_emerge/__init__.py", line 9683, in _poll_loop handler(f, event) File "/usr/lib/portage/pym/_emerge/__init__.py", line 2493, in _output_handler self._unregister_if_appropriate(event) File "/usr/lib/portage/pym/_emerge/__init__.py", line 1973, in _unregister_if_appropriate self.wait() File "/usr/lib/portage/pym/_emerge/__init__.py", line 1877, in wait self._wait() File "/usr/lib/portage/pym/_emerge/__init__.py", line 2284, in _wait self._set_returncode(wait_retval) File "/usr/lib/portage/pym/_emerge/__init__.py", line 3238, in _set_returncode portage._post_phase_userpriv_perms(self.settings) File "/usr/lib/portage/pym/portage/__init__.py", line 4955, in _post_phase_userpriv_perms filemode=060, filemask=0) File "/usr/lib/portage/pym/portage/util.py", line 854, in apply_recursive_permissions uid=uid, gid=gid, mode=filemode, mask=filemask) File "/usr/lib/portage/pym/portage/util.py", line 879, in apply_secpass_permissions stat_cached = os.stat(filename) OSError: [Errno 40] Too many levels of symbolic links: '/var/tmp/portage/dev-python/twisted-8.2.0-r1/temp/tests/usr/lib/python2.6/site-packages/_trial_temp/twisted.test.test_paths/FilePathTestCase/test_realpathCyclicalSymlink/HuxwI5/temp/link2'
Created attachment 198494 [details] dev-python/twisted-8.2.0-r1 build log
bug http://bugs.gentoo.org/show_bug.cgi?id=278046 seems to be a duplicate. I've the same errors with python 2.6
*** Bug 278046 has been marked as a duplicate of this bug. ***
Hello, Im not able to reproduce this whatsoever, nor with python-2.5* or python2.6*. All tests passes Ran 2534 tests in 41.615s ^[[32;1mPASSED^[[0m (skips=175, expectedFailures=5, successes=2354) Maybe is something amd64 specific, I cannot tell. Please, can you guys test this patchset: http://twistedmatrix.com/trac/changeset/27155?format=diff&new=27155 from twisted's bug http://twistedmatrix.com/trac/ticket/3911 and let me know if that works? Best regards,
I'm getting this with dev-python/twisted-8.2.0-r1: FAILED (skips=168, expectedFailures=5, errors=7, successes=2354)
*** Bug 280119 has been marked as a duplicate of this bug. ***
(In reply to comment #19) > Maybe is something amd64 specific, I cannot tell. > > Please, can you guys test this patchset: > http://twistedmatrix.com/trac/changeset/27155?format=diff&new=27155 > from twisted's bug http://twistedmatrix.com/trac/ticket/3911 and let me know if > that works? I don't think it's amd64 specific - I'm on x86. I will test the patchset when I have some free time and get back with the results.
same here on AMD64 w/ twisted-8.2.0-r1 and twisted-8.1.0
Created attachment 200843 [details] build log with mentioned patchset I've tested the mentioned patch set. but it didn't solve the problem
Created attachment 200865 [details] patched twisted-8.2.0-r1 build log (In reply to comment #19) I've tried it with that patch, but it still fails. Build log attached.
This bug should be fixed in dev-python/twisted-8.2.0-r2. If any tests still fail in dev-python/twisted-8.2.0-r2, then please file a new bug.
It is fixed, indeed. Thank you.
*** Bug 285362 has been marked as a duplicate of this bug. ***