Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 575938 - dev-lang/python-exec-2.4.2 fails tests
Summary: dev-lang/python-exec-2.4.2 fails tests
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-28 19:39 UTC by Patrick Lauer
Modified: 2016-03-07 19:02 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,9.63 KB, text/plain)
2016-03-03 08:14 UTC, tka
Details
test-suite.log (test-suite.log,34.01 KB, text/plain)
2016-03-03 08:16 UTC, tka
Details
python-exec-9999 build.log (build.log,21.91 KB, text/plain)
2016-03-07 14:09 UTC, tka
Details
python-exec-9999 test-suite.log (test-suite.log,109.12 KB, text/plain)
2016-03-07 14:11 UTC, tka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Lauer gentoo-dev 2016-02-28 19:39:49 UTC
make[2]: Entering directory '/var/tmp/portage/dev-lang/python-exec-2.4.2/work/python-exec-2.4.2'
PASS: tests/epython-test
PASS: tests/eselect-test
PASS: tests/order-test
PASS: tests/pythonwrap-test
SKIP: tests/long-path-test
PASS: tests/c-symlink-test
PASS: tests/pythonwrap-argv0-test
PASS: tests/pythonwrap-__file__-test
PASS: tests/c-symlink-path-test
XFAIL: tests/disable-test
PASS: tests/epython-disable-test
PASS: tests/order-disable-test
PASS: tests/wrapper-copy-test
ERROR: tests/python-argv0-test
FAIL: tests/pythonwrap-copy-test
PASS: tests/config-script-override-test
PASS: tests/symlink-test
PASS: tests/abs-symlink-test
PASS: tests/deep-symlink-test
PASS: tests/pythonwrap-symlink-test
PASS: tests/pythonwrap-abs-symlink-test
SKIP: tests/long-symlink-test
PASS: tests/pythonwrap-deep-symlink-test
SKIP: tests/deep-long-symlink-test
============================================================================
Testsuite summary for python-exec 2.4.2
============================================================================
# TOTAL: 24
# PASS:  18
# SKIP:  3
# XFAIL: 1
# FAIL:  1
# XPASS: 0
# ERROR: 1
============================================================================
See ./test-suite.log
============================================================================
Makefile:842: recipe for target 'test-suite.log' failed
make[2]: *** [test-suite.log] Error 1
make[2]: Leaving directory '/var/tmp/portage/dev-lang/python-exec-2.4.2/work/python-exec-2.4.2'
Makefile:948: recipe for target 'check-TESTS' failed
make[1]: *** [check-TESTS] Error 2
make[1]: Leaving directory '/var/tmp/portage/dev-lang/python-exec-2.4.2/work/python-exec-2.4.2'
Makefile:1314: recipe for target 'check-am' failed
make: *** [check-am] Error 2
 * ERROR: dev-lang/python-exec-2.4.2::gentoo failed (test phase):
 *   Make check failed. See above for details.

ERROR: tests/python-argv0-test
==============================

python-argv0-test -- regression test for argv[0] -> sys.executable setting
./tests/python-argv0-test: line 14: jython2.7: command not found
./tests/python-argv0-test: line 14: pypy: command not found
./tests/python-argv0-test: line 14: pypy3: command not found
Python 2.7.11
Python used: python2.7
ERROR tests/python-argv0-test (exit status: 99)

FAIL: tests/pythonwrap-copy-test
================================

pythonwrap-copy-test -- test whether Python wrapper works when copied (instead of symlinked)
Test command: jython2.7 tests/pythonwrap-copy-test.tmp
./tests/runner.sh: line 45: jython2.7: command not found
Test result: 127
FAIL tests/pythonwrap-copy-test (exit status: 127)
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2016-02-29 19:50:09 UTC
Please include the build log and 'emerge --info'.
Comment 2 tka 2016-03-03 08:14:29 UTC
Created attachment 427276 [details]
build.log

# emerge --info '=dev-lang/python-exec-2.4.2::gentoo'
Portage 2.2.27 (python 3.4.3-final-0, hardened/linux/amd64/no-multilib, gcc-5.3.0, glibc-2.22-r2, 4.4.3 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.4.3-x86_64-Intel-R-_Core-TM-_i7-3720QM_CPU_@_2.60GHz-with-gentoo-2.2
KiB Mem:    16399584 total,  11582028 free
KiB Swap:   17825788 total,  17825788 free
Timestamp of repository gentoo: Thu, 03 Mar 2016 08:00:01 +0000
sh bash 4.3_p42-r2
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p42-r2::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.22.1::gentoo
dev-lang/python:          2.7.11-r2::gentoo, 3.4.3-r7::gentoo
dev-util/cmake:           3.4.3::gentoo
dev-util/pkgconfig:       0.29::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.20.5::gentoo
sys-apps/sandbox:         2.10-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r1::gentoo
sys-devel/automake:       1.14.1-r1::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.7.4::gentoo, 4.9.3::gentoo, 5.3.0::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r2::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.22-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

local
    location: /var/lib/portage-local/local
    masters: gentoo
    priority: 0

testing
    location: /var/lib/portage-local/testing
    masters: gentoo
    priority: 1

science
    location: /var/lib/layman/science
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -mtune=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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=native -mtune=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs cgroup collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync network-sandbox news parallel-fetch preserve-libs protect-owned sandbox sfperms strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
MAKEOPTS="-j8"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 acl acpi alsa amd64 avx berkdb bzip2 cairo caps cdda cddb cdparanoia cli cracklib crypt cups cxx dbus dri dts dvd fam ffmpeg fftw flac fontconfig foomaticdb gdbm gif gimp gmp gnutls gtk hardened iconv icu idn ipv6 jpeg justify lame lcms libnotify lzma mad matroska mmap mmx mmxext modules mp3 mpeg ncurses networkmanager nptl ogg opengl openmp pam pcre pie png policykit ppds readline sasl sdl seccomp session sse sse2 sse3 sse4 sse4_1 sse4_2 ssl ssp ssse3 startup-notification svg tcpd theora threads tiff truetype udev udisks unicode upower vaapi vorbis wayland x264 xattr xcb xml xtpax xv xvid zlib" ABI_X86="64" 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" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" 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 ublox ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="i965 intel nouveau" XFCE_PLUGINS="power" 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:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON


 # emerge -pqv '=dev-lang/python-exec-2.4.2::gentoo' '=app-eselect/eselect-python-20160222::gentoo'
[ebuild     U ] dev-lang/python-exec-2.4.2 [2.1] PYTHON_TARGETS="(jython2_7) (pypy) (pypy3) (python2_7) (python3_3) (python3_4) (python3_5)" 
[ebuild     U ] app-eselect/eselect-python-20160222 [20151117-r2]
[blocks b     ] <app-eselect/eselect-python-20160206 ("<app-eselect/eselect-python-20160206" is blocking dev-lang/python-exec-2.4.2)
Comment 3 tka 2016-03-03 08:16:58 UTC
Created attachment 427278 [details]
test-suite.log
Comment 4 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2016-03-03 10:08:41 UTC
I've fixed pythonwrap-copy-test in git. I can't reproduce the other error, so this will take a while more and/or need help.
Comment 5 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2016-03-05 22:25:44 UTC
Could either of you re-run the tests on python-exec-9999, please? I've added 'set -x', so that would help me figure out what is failing there.
Comment 6 tka 2016-03-07 14:09:39 UTC
Created attachment 427678 [details]
python-exec-9999 build.log

make[2]: Entering directory '/var/tmp/portage/dev-lang/python-exec-9999/work/python-exec-9999'
PASS: tests/epython-test
PASS: tests/eselect-test
PASS: tests/order-test
PASS: tests/pythonwrap-test
PASS: tests/pythonwrap-__file__-test
PASS: tests/pythonwrap-argv0-test
SKIP: tests/long-path-test
PASS: tests/c-symlink-test
PASS: tests/c-symlink-path-test
XFAIL: tests/disable-test
PASS: tests/epython-disable-test
PASS: tests/order-disable-test
ERROR: tests/python-argv0-test
PASS: tests/wrapper-copy-test
PASS: tests/pythonwrap-copy-test
PASS: tests/config-script-override-test
PASS: tests/symlink-test
PASS: tests/abs-symlink-test
PASS: tests/deep-symlink-test
PASS: tests/pythonwrap-symlink-test
PASS: tests/pythonwrap-abs-symlink-test
PASS: tests/pythonwrap-deep-symlink-test
SKIP: tests/long-symlink-test
SKIP: tests/deep-long-symlink-test
============================================================================
Testsuite summary for python-exec 2.4.2
============================================================================
# TOTAL: 24
# PASS:  19
# SKIP:  3
# XFAIL: 1
# FAIL:  0
# XPASS: 0
# ERROR: 1
============================================================================
See ./test-suite.log
============================================================================
Comment 7 tka 2016-03-07 14:11:05 UTC
Created attachment 427680 [details]
python-exec-9999 test-suite.log
Comment 8 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2016-03-07 19:02:19 UTC
Thanks a lot for your help. I was able to determine that the test was broken after all, and failed if python2.7 happened to be used both for disable tests and python-argv0-test. I've just committed 2.4.3 with fixes for both problems, and tests should pass correctly now.