Ticket #195 (closed defect: needinfo)
test_sandbox fails with IndexError on x86
| Reported by: | onox | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 0.4.7.3 |
| Component: | pkgcore | Version: | 0.4.7.2 |
| Keywords: | Cc: |
Description (last modified by ferringb) (diff)
The test fails on my x86 machine multiple times, on amd64 machine it succeeds.
test_invalid_restrictions (pkgcore.test.restrictions.test_boolean.OrRestrictionTest) ... ok
test_match (pkgcore.test.restrictions.test_boolean.OrRestrictionTest) ... ok
test_negate_match (pkgcore.test.restrictions.test_boolean.OrRestrictionTest) ... ok
test_true (pkgcore.test.restrictions.test_restriction.AlwaysBoolTest) ... ok
test_basic (pkgcore.test.restrictions.test_restriction.AnyMatchTest) ... ok
test_base (pkgcore.test.restrictions.test_restriction.BaseTest) ... ok
test_it (pkgcore.test.restrictions.test_restriction.BaseTest) ... ok
======================================================================
ERROR: test_sandbox (pkgcore.test.test_spawn.SpawnTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/snakeoil/test/__init__.py", line 171, in run
self.forced_extra_frame(testMethod)
File "/usr/lib/python2.4/site-packages/snakeoil/test/__init__.py", line 140, in forced_extra_frame
test()
File "/var/tmp/portage/sys-apps/pkgcore-0.4.7.2/work/pkgcore-0.4.7.2/pkgcore/test/test_spawn.py", line 74, in test_sandbox
self.assertIn("libsandbox.so", [os.path.basename(x.strip()) for x in
IndexError: list index out of range
----------------------------------------------------------------------
Ran 858 tests in 39.356s
FAILED (errors=1)
*
* ERROR: sys-apps/pkgcore-0.4.7.2 failed.
* Call stack:
* ebuild.sh, line 49: Called src_test
* environment, line 2317: Called die
* The specific snippet of code:
* "${python}" setup.py test || die "testing returned non zero"
* The die message:
* testing returned non zero
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/sys-apps/pkgcore-0.4.7.2/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-apps/pkgcore-0.4.7.2/temp/environment'.
*
Portage 2.1.4.4 (hardened/x86/2.6, gcc-3.4.6-hardenednossp, glibc-2.6.1-r0, 2.6.22-hardened-r6 i686)
=================================================================
System uname: 2.6.22-hardened-r6 i686 Intel(R) Pentium(R) M processor 1600MHz
Timestamp of tree: Sat, 24 May 2008 19:15:01 +0000
ccache version 2.4 [enabled]
app-shells/bash: 3.2_p17
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python: 2.4.4-r9
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache: 2.4-r7
sys-apps/baselayout: 2.0.0
sys-apps/openrc: 0.2.2
sys-apps/sandbox: 1.2.18.1-r2
sys-devel/autoconf: 2.13, 2.61-r1
sys-devel/automake: 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
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.22-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-mtune=i686 -O2 -pipe -fforce-addr -msse2"
CHOST="i686-pc-linux-gnu"
Change History
Note: See
TracTickets for help on using
tickets.
