Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 131947 - app-portage/layman-0.9.1 fails test
Summary: app-portage/layman-0.9.1 fails test
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gunnar Wrobel (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-01 12:07 UTC by Tobias Scherbaum (RETIRED)
Modified: 2006-05-01 13:07 UTC (History)
0 users

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 Tobias Scherbaum (RETIRED) gentoo-dev 2006-05-01 12:07:10 UTC
Probably endianess?

======================================================================
FAIL: Doctest: layman.overlays.tar.TarOverlay
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.4/doctest.py", line 2152, in runTest
    raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for layman.overlays.tar.TarOverlay
  File "/var/tmp/portage/layman-0.9.1/work/layman-0.9.1/layman/overlays/tar.py", line 38, in TarOverlay

----------------------------------------------------------------------
File "/var/tmp/portage/layman-0.9.1/work/layman-0.9.1/layman/overlays/tar.py", line 55, in layman.overlays.tar.TarOverlay
Failed example:
    a.add(testdir) #doctest: +ELLIPSIS
Expected:
    * Running command "tar -x -j -f...
Got:
    * Running command "tar -v -x -j -f /tmp/filefWA2wW/dummy.tar.bz2 -C /tmp/filefWA2wW/tmp"...
    0
----------------------------------------------------------------------
File "/var/tmp/portage/layman-0.9.1/work/layman-0.9.1/layman/overlays/tar.py", line 57, in layman.overlays.tar.TarOverlay
Failed example:
    os.listdir(testdir + '/dummy')
Expected:
    ['app-admin', 'app-portage']
Got:
    ['app-portage', 'app-admin']


----------------------------------------------------------------------
Ran 13 tests in 13.598s

FAILED (failures=1)
 * DocTests failed - please submit a bug report

Portage 2.1_pre10 (default-linux/ppc/ppc32/2006.0/G4, gcc-3.4.5, glibc-2.3.5-r3, 2.6.17-rc3 ppc)
=================================================================
System uname: 2.6.17-rc3 ppc 7447A, altivec supported
Gentoo Base System version 1.6.14
distcc 2.18.3 powerpc-unknown-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [disabled]
dev-lang/python:     2.3.5-r2, 2.4.2
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r4
ACCEPT_KEYWORDS="ppc"
AUTOCLEAN="yes"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-Os -mcpu=7450 -maltivec -mabi=altivec -mpowerpc-gfxopt -pipe"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-Os -mcpu=7450 -maltivec -mabi=altivec -mpowerpc-gfxopt -pipe"
DISTDIR="/srv/distfiles"
FEATURES="autoconfig collision-protect cvs distlocks metadata-transfer noinfo sandbox sfperms strict test"
GENTOO_MIRRORS="http://distfiles http://ftp.belnet.be/pub/mirrors/rsync.gentoo.org/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror"
LANG="de_DE"
LC_ALL="de_DE"
LINGUAS="de"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/home/tobias/cvs/gentoo-x86"
PORTDIR_OVERLAY="/home/tobias/overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="ppc X alsa altivec bash-completion berkdb crypt curses dbus fortran gnome gtk hal ipv6 kdeenablefinal nls pam perl png python readline samba sasl ssl tiff unicode xml elibc_glibc kernel_linux linguas_de userland_GNU"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, MAKEOPTS
Comment 1 Gunnar Wrobel (RETIRED) gentoo-dev 2006-05-01 12:11:12 UTC
Hm, unsorted test result again. Always forget about these. And the tar thing looks like I did not run the tests for the last release. Lazy me :)

Thanks for the report!
Comment 2 Gunnar Wrobel (RETIRED) gentoo-dev 2006-05-01 13:07:56 UTC
Fixed in cvs.