Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 497566 - =dev-libs/elfutils-0.158 - fails tests run-backtrace-native-{biarch,core,core-biarch}.sh
Summary: =dev-libs/elfutils-0.158 - fails tests run-backtrace-native-{biarch,core,core...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL: https://lists.fedorahosted.org/piperm...
Whiteboard:
Keywords: TESTFAILURE
: 613748 632070 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-01-08 19:17 UTC by eroen
Modified: 2023-11-13 23:25 UTC (History)
7 users (show)

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


Attachments
build.log.xz (build.log.xz,22.23 KB, application/x-xz)
2014-01-08 19:19 UTC, eroen
Details
elfutils-0.158-x86/tests/test-suite.log (test-suite.log,1.96 KB, text/plain)
2014-01-08 19:20 UTC, eroen
Details
test-suite.log after patch (file_497566.txt,1.91 KB, text/plain)
2014-02-25 12:48 UTC, eroen
Details
build.log for 0.176 on sparc (dev-libs_elfutils-0.176_use_qgyCP,920.66 KB, text/plain)
2019-04-05 23:33 UTC, Rolf Eike Beer
Details
Top of build log (build1.log,993.38 KB, text/plain)
2023-11-13 22:50 UTC, bschnzl
Details
emerge --info ... (e-info,7.16 KB, text/plain)
2023-11-13 22:53 UTC, bschnzl
Details

Note You need to log in before you can comment on or make changes to this bug.
Description eroen 2014-01-08 19:17:40 UTC
...
PASS: run-backtrace-dwarf.sh
FAIL: run-backtrace-native-biarch.sh
FAIL: run-backtrace-native-core.sh
FAIL: run-backtrace-native-core-biarch.sh
PASS: run-backtrace-core-x86_64.sh
...
============================================================================
Testsuite summary for elfutils 0.158
============================================================================
# TOTAL: 113
# PASS:  109
# SKIP:  1
# XFAIL: 0
# FAIL:  3
# XPASS: 0
# ERROR: 0
============================================================================
See tests/test-suite.log
Please report to https://bugzilla.redhat.com/
============================================================================
Makefile:1624: recipe for target 'test-suite.log' failed
make[3]: *** [test-suite.log] Error 1
make[3]: Leaving directory '/var/tmp/portage/dev-libs/elfutils-0.158/work/elfutils-0.158-x86/tests'
Makefile:1730: recipe for target 'check-TESTS' failed
make[2]: *** [check-TESTS] Error 2
make[2]: Leaving directory '/var/tmp/portage/dev-libs/elfutils-0.158/work/elfutils-0.158-x86/tests'
Makefile:2601: recipe for target 'check-am' failed
make[1]: *** [check-am] Error 2
make[1]: Leaving directory '/var/tmp/portage/dev-libs/elfutils-0.158/work/elfutils-0.158-x86/tests'
Makefile:464: recipe for target 'check-recursive' failed
make: *** [check-recursive] Error 1
 * ERROR: dev-libs/elfutils-0.158::gentoo failed (test phase):
 *   emake failed


eroen@falcon ~ $ emerge --info '=dev-libs/elfutils-0.158::gentoo'
Portage 2.2.8 (default/linux/amd64/13.0, gcc-4.8.2, glibc-2.17, 3.12.5e0-falcon0+ x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.12.5e0-falcon0+-x86_64-Intel-R-_Core-TM-2_Quad_CPU_@_2.40GHz-with-gentoo-2.2
KiB Mem:     4037884 total,   1395172 free
KiB Swap:    8388604 total,   6554008 free
Timestamp of tree: Wed, 08 Jan 2014 15:45:01 +0000
ld GNU ld (GNU Binutils) 2.24
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 3.1.9 [disabled]
app-shells/bash:          4.2_p45-r1
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.6, 3.2.5-r3, 3.3.3
dev-util/ccache:          3.1.9-r3
dev-util/cmake:           2.8.12.1-r2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.11.6, 1.12.6, 1.13.4, 1.14.1
sys-devel/binutils:       2.24-r1
sys-devel/gcc:            4.5.4, 4.6.4, 4.7.3-r1, 4.8.2
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.12 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo gamerlay eroen
ACCEPT_KEYWORDS="amd64 ~amd64 ~x86"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0"
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=core2 -O2 -pipe"
DISTDIR="/var/distfiles"
EMERGE_DEFAULT_OPTS="--jobs 3 --nospinner --quiet-build --verbose-conflicts --with-bdeps=y --binpkg-respect-use y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="/var/temdist/ /var/distfiles-occam/ http://mirrors.eu.kernel.org/gentoo/ http://mirrors.kernel.org/gentoo/ http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
PKGDIR="/var/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"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/gamerlay /var/lib/layman/eroen"
SYNC="rsync://mirrors.eu.kernel.org/gentoo-portage/"
USE="X a52 aac aacs accessibility acl adns alsa amd64 ao berkdb bluray bs2b bzip2 cairo calendar canberra caps cdda cdio cdparanoia cdr cli corefonts cracklib crypt css cue cups curl cxx dbus dia dirac djvu dmapi dri dts dvd dvdnav dvi ebook eigen exif faac fam fbcondecor ffmpeg fftw fits flac fontconfig fortran fuse g3dvl gcrypt gd gdbm gif gimp git gmp gnutls gold gstreamer hdri highlight iconv icu id3tag idn imagemagick inotify iptc ipv6 jpeg jpeg2k kde kvm lcms lensfun libnotify loop-aes lqr lzma lzo mad man matroska midi mikmod mkv mms mmx mmxext mng mod modplug modules mp3 mp4 mpeg mpeg2 mpeg4 mpeg4pt2 mplayer mtp mudflap multilib musepack ncurses netlink nfs nls nouveau nptl ocr offensive ogg openal opencl openexr opengl opengtl openmp openvg optimization osmesa pam pango pcre pdf png pnm portaudio postscript pulseaudio qalculate qemu qt3support qt4 rar raw rdesktop readline real rtmp samba scanner schroedinger security session smp sndfile socks5 speex spice sse sse2 sse3 ssl ssse3 strong-optimization svg tbb tcpd theora threads tiff timidity tls truetype udev uml unicode usb usbredir v4l v4l2 vdpau virtualbox vnc vorbis wacom wavpack webp wmf x264 xattr xcb xcomposite xetex xfs xft xine xinerama xorg xps xrandr xv xvid xvmc zlib" ABI_X86="32 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" CURL_SSL="openssl" DRACUT_MODULES="biosdevname caps crypt crypt-gpg dash dmraid lvm mdraid syslog" 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="efi-64 pc qemu" INPUT_DEVICES="evdev keyboard mouse synaptics wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="nlpsolver presenter-console presenter-minimizer" LINGUAS="en en_US en_GB nb no nb_NO" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2 python3_3" RUBY_TARGETS="ruby20" SANE_BACKENDS="net plustek pnm" USERLAND="GNU" VIDEO_CARDS="nouveau nvidia vesa" XFCE_PLUGINS="menu" 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"
USE_PYTHON="2.7 3.2 3.3"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

dev-libs/elfutils-0.158 was built with the following:
USE="bzip2 lzma (multilib) nls static-libs utils zlib -test -threads" ABI_X86="32 64 -x32"

eroen@falcon ~ $ emerge -pqv '=dev-libs/elfutils-0.158::gentoo'
[ebuild   R   ] dev-libs/elfutils-0.158  USE="bzip2 lzma nls static-libs utils zlib {-test} -threads" ABI_X86="32 (64) (-x32)"
Comment 1 eroen 2014-01-08 19:19:47 UTC
Created attachment 367436 [details]
build.log.xz
Comment 2 eroen 2014-01-08 19:20:43 UTC
Created attachment 367438 [details]
elfutils-0.158-x86/tests/test-suite.log

FAIL: run-backtrace-native-biarch.sh
====================================

0x7f5d57009000  0x7f5d5720d000  /lib64/libdl-2.17.so
0x7f5d5720d000  0x7f5d575b4000  /lib64/libc-2.17.so
0x7f5d575b8000  0x7f5d577d1000  /lib64/libpthread-2.17.so
0x7f5d577d5000  0x7f5d579e7000  /usr/lib64/libsandbox.so
0x7f5d579ed000  0x7f5d57c10000  /lib64/ld-2.17.so
0x7f5d57c11000  0x7f5d57e14000  /var/tmp/portage/dev-libs/elfutils-0.158/work/elfutils-0.158-x86/tests/backtrace-child-biarch
0x7fff6f18c000  0x7fff6f18d000  [vdso: 216474]
TID 216474:
TID 216475:
/var/tmp/portage/dev-libs/elfutils-0.158/work/elfutils-0.158-x86/tests/backtrace: dwfl_thread_getframes: no error
backtrace: /var/tmp/portage/dev-libs/elfutils-0.158/work/elfutils-0.158/libdwfl/linux-pid-attach.c:242: pid_set_initial_registers: Assertion `pid_arg->tid_attached == 0' failed.
/var/tmp/portage/dev-libs/elfutils-0.158/work/elfutils-0.158/tests/test-subr.sh: line 84: 216473 Aborted                 LD_LIBRARY_PATH="${built_library_path}${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH" $VALGRIND_CMD "$@"
backtrace-child-biarch: no main

FAIL: run-backtrace-native-core.sh
==================================

backtrace: cannot open 'core.216490': No such file or directory
backtrace-child-core.216490: no main
rmdir: failed to remove 'test-216486': Directory not empty

FAIL: run-backtrace-native-core-biarch.sh
=========================================

backtrace: cannot open 'core.216508': No such file or directory
backtrace-child-biarch-core.216508: no main
rmdir: failed to remove 'test-216504': Directory not empty
Comment 3 SpanKY gentoo-dev 2014-02-03 12:32:55 UTC
should be all set now in the tree; thanks for the report!

Commit message: Fix from upstream for backtrace tests
http://sources.gentoo.org/dev-libs/elfutils/elfutils-0.158.ebuild?r1=1.2&r2=1.3
http://sources.gentoo.org/dev-libs/elfutils/files/elfutils-0.158-tests-backtrace-native-core.patch?rev=1.1
Comment 4 eroen 2014-02-25 12:47:22 UTC
I can't help but notice that the same tests still fail in the same way, even with this patch. :-(
Comment 5 eroen 2014-02-25 12:48:08 UTC
Created attachment 371214 [details]
test-suite.log after patch
Comment 6 Achim Derigs 2015-06-13 08:55:10 UTC
Fails also in dev-libs/elfutils-0.162:

# cat /var/tmp/portage/dev-libs/elfutils-0.162/temp/build.log | grep ^FAIL
FAIL: run-native-test.sh
FAIL: run-backtrace-native.sh
FAIL: run-backtrace-dwarf.sh
FAIL: run-backtrace-data.sh
FAIL: run-backtrace-native-biarch.sh
FAIL: run-deleted.sh
Comment 7 gentoo_usr 2016-06-19 18:49:25 UTC
Also fails in dev-libs/elfutils-0.166:

# cat /var/tmp/portage/dev-libs/elfutils-0.166/temp/build.log | grep ^FAIL
FAIL: run-native-test.sh
FAIL: run-backtrace-native.sh
FAIL: run-backtrace-data.sh
FAIL: run-backtrace-dwarf.sh
FAIL: run-backtrace-native-biarch.sh
FAIL: run-deleted.sh
Comment 8 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-04-08 06:49:25 UTC
*** Bug 613748 has been marked as a duplicate of this bug. ***
Comment 9 Sergei Trofimovich (RETIRED) gentoo-dev 2019-02-05 21:48:07 UTC
Reported biarch failure as https://sourceware.org/PR24158 and disable test in gentoo as:
    https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b8e22f6afc9bdb16bc13ed3997f0c1281a0792e
Comment 10 Sergei Trofimovich (RETIRED) gentoo-dev 2019-02-05 21:48:45 UTC
*** Bug 632070 has been marked as a duplicate of this bug. ***
Comment 11 Rolf Eike Beer archtester 2019-04-05 23:33:35 UTC
Created attachment 572006 [details]
build.log for 0.176 on sparc

FAIL: run-backtrace-dwarf.sh
FAIL: run-backtrace-native-core.sh
FAIL: run-backtrace-native.sh
FAIL: run-deleted.sh
FAIL: run-elflint-self.sh
FAIL: run-strip-strmerge.sh
Comment 12 bschnzl 2023-11-13 22:50:52 UTC
Created attachment 874714 [details]
Top of build log

Part 1
Comment 13 bschnzl 2023-11-13 22:53:27 UTC
Created attachment 874715 [details]
emerge --info ...

dev-libs/elfutils-0.189-r4::gentoo was built with the following:
USE="bzip2 lzma nls utils zstd -debuginfod -static-libs -test -verify-sig" ABI_X86="(64) -32 (-x32)"
FEATURES="ebuild-locks sandbox merge-sync binpkg-logs assume-digests binpkg-docompress userpriv usersync binpkg-dostrip strict buildpkg-live distlocks qa-unresolved-soname-deps unmerge-orphans usersandbox unmerge-logs binpkg-multi-instance news sfperms userfetch fixlafiles preserve-libs config-protect-if-modified ipc-sandbox pid-sandbox network-sandbox unknown-features-warn parallel-fetch xattr multilib-strict protect-owned"
Comment 14 bschnzl 2023-11-13 22:54:21 UTC
FAIL: run-backtrace-native.sh
PASS: run-backtrace-data.sh
PASS: run-backtrace-dwarf.sh
PASS: run-addr2line-i-test.sh
SKIP: run-backtrace-native-core.sh
FAIL: run-backtrace-native-biarch.sh
SKIP: run-backtrace-native-core-biarch.sh

FAIL: run-backtrace-native-biarch.sh
====================================

case 0: expected symname 'raise' got '(null)'
/var/tmp/portage/dev-libs/elfutils-0.189-r4/work/elfutils-0.189/tests/test-subr.sh: line 84:  4182 Aborted                 LD_LIBRARY_PATH="${built_library_path}${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH" $VALGRIND_CMD "$@"
backtrace-child-biarch: no main
FAIL run-backtrace-native-biarch.sh (exit status: 1)

FAIL: run-backtrace-native.sh
=============================

case 0: expected symname 'raise' got '(null)'
/var/tmp/portage/dev-libs/elfutils-0.189-r4/work/elfutils-0.189/tests/test-subr.sh: line 84:  4086 Aborted                 LD_LIBRARY_PATH="$
{built_library_path}${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH" $VALGRIND_CMD "$@"
backtrace-child: no main
FAIL run-backtrace-native.sh (exit status: 1)

https://bugzilla.redhat.com/show_bug.cgi?id=2249559