Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 262608 - dev-python/sphinx-0.5.1 fails testsuite
Summary: dev-python/sphinx-0.5.1 fails testsuite
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 261887
  Show dependency tree
 
Reported: 2009-03-15 22:24 UTC by Markus Meier
Modified: 2009-07-15 03:12 UTC (History)
1 user (show)

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 Markus Meier gentoo-dev 2009-03-15 22:24:50 UTC
dev-python/sphinx-0.5.1  USE="doc test"

>>> Source compiled.
Running Sphinx test suite...
........F........F.......
======================================================================
FAIL: test_build.test_html
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib64/python2.5/site-packages/nose/case.py", line 182, in runTest
    self.test(*self.arg)
  File "/var/tmp/portage/dev-python/sphinx-0.5.1/work/Sphinx-0.5.1/tests/util.py", line 157, in deco
    func(app, *args2, **kwargs2)
  File "/var/tmp/portage/dev-python/sphinx-0.5.1/work/Sphinx-0.5.1/tests/test_build.py", line 127, in test_html
    'path %s in %s' % (text, path, fname))
AssertionError: '[Ref1]' not found in any node matching path .//td[@class='label'] in contents.html

======================================================================
FAIL: test_env.test_second_update
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib64/python2.5/site-packages/nose/case.py", line 182, in runTest
    self.test(*self.arg)
  File "/var/tmp/portage/dev-python/sphinx-0.5.1/work/Sphinx-0.5.1/tests/test_env.py", line 79, in test_second_update
    assert '1 added, 1 changed, 1 removed' in msg
AssertionError

----------------------------------------------------------------------
Ran 25 tests in 10.711s

FAILED (failures=2)
 * 
 * ERROR: dev-python/sphinx-0.5.1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_test
 *             environment, line 2576:  Called die
 * The specific snippet of code:
 *       PYTHONPATH=. "${python}" tests/run.py || die "Tests failed"
 *  The die message:
 *   Tests failed

Portage 2.1.6.7 (default/linux/amd64/2008.0/desktop, gcc-4.1.2, glibc-2.8_p20080602-r1, 2.6.28.7 x86_64)
=================================================================
System uname: Linux-2.6.28.7-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T8300_@_2.40GHz-with-glibc2.2.5
Timestamp of tree: Sun, 15 Mar 2009 01:00: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-r8
dev-util/cmake:      2.4.8
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.6.3, 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="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/openfire/resources/security/ /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib64/fax /usr/share/config /var/bind /var/lib/hsqldb /var/spool/fax/etc /var/spool/torque"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /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/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="collision-protect distlocks fixpackages multilib-strict parallel-fetch protect-owned sandbox sfperms strict test unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
LINGUAS="en en_GB de"
MAKEOPTS="-j2"
PKGDIR="/mnt/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://rsync.gentoo.org/gentoo-portage"
USE="X acl acpi alsa amd64 apache2 arts avahi berkdb bluetooth branding bzip2 cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode esd evo examples fam firefox fortran gdbm gif gnome gpm gstreamer gtk hal iconv ipv6 isdnlog jpeg kde ldap libnotify mad midi mikmod mmx mp3 mpeg mudflap multilib ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3 qt3support qt4 quicktime readline reflection sdl session source spell spl sse sse2 ssl startup-notification svg sysfs tcpd test tiff truetype unicode usb vorbis xml xorg xulrunner xv 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" LINGUAS="en en_GB de" 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, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Sébastien Fabbro (RETIRED) gentoo-dev 2009-03-20 19:21:48 UTC
Thanks for reporting.
Seems to be fixed in upstream sphinx-0.5.2b1. Will wait for a stable release to bump.
Comment 2 Dirkjan Ochtman (RETIRED) gentoo-dev 2009-03-20 22:02:07 UTC
This was fixed in 0.5.2b1 because I contacted the author about this bug. It's supposedly a problem with the version of docutils that's currently stable (0.4).
Comment 3 Dirkjan Ochtman (RETIRED) gentoo-dev 2009-03-26 11:15:44 UTC
0.5.2 has been released, but it still has a test failure for me.
Comment 4 Sébastien Fabbro (RETIRED) gentoo-dev 2009-03-27 11:12:08 UTC
Bumped to 0.5.2. It did not fail tests on my ~amd64 box.
I will also bump to 0.6.1 soon after jinja2 is keyworded for ppc.
Dirkjan, which test failure do you see?
Comment 5 Dirkjan Ochtman (RETIRED) gentoo-dev 2009-03-27 12:05:51 UTC
This is the failure I get:

======================================================================
FAIL: test_build.test_html
----------------------------------------------------------------------
Traceback (most recent call last):
  File "//usr/lib64/python2.5/site-packages/nose/case.py", line 182, in runTest
    self.test(*self.arg)
  File "/home/djc/src/sphinx-05/tests/util.py", line 157, in deco
    func(app, *args2, **kwargs2)
  File "/home/djc/src/sphinx-05/tests/test_build.py", line 119, in test_html
    assert nodes != [], (path, text)
AssertionError: (".//pre/span[@class='s']", u'\xfc\xf6\xe4')

----------------------------------------------------------------------
Ran 25 tests in 8.662s
Comment 6 Sébastien Fabbro (RETIRED) gentoo-dev 2009-04-07 12:22:30 UTC
Still can't reproduce it. Bumped to 0.6.1 in the main tree now.
Comment 7 Jesus Rivero (RETIRED) gentoo-dev 2009-07-15 03:12:56 UTC
Hello, 

  Should be fixed in CVS with version 0.6.2. 

  Best regards,

  PS: Please re-open if needed