Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 676220 - =sys-devel/autogen-5.18.16 fails getopt.test and library.test if /var/tmp/portage is on tmpfs
Summary: =sys-devel/autogen-5.18.16 fails getopt.test and library.test if /var/tmp/por...
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:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2019-01-25 12:45 UTC by Paolo Pedroni
Modified: 2019-09-18 22:46 UTC (History)
1 user (show)

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


Attachments
autogen-5.18.16:20190125-105209.log.gz (autogen-5.18.16:20190125-105209.log.gz,15.19 KB, application/gzip)
2019-01-25 12:45 UTC, Paolo Pedroni
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Paolo Pedroni 2019-01-25 12:45:14 UTC
Created attachment 562778 [details]
autogen-5.18.16:20190125-105209.log.gz

On my systems I have /var/tmp/portage on tmpfs to speed up builds a little.

Newest stable sys-devel/autogen fails the above tests on these systems. If I run the emerge on "real" filesystems tests succeed.

>>> Test phase: sys-devel/autogen-5.18.16
make -j12 -l4   check
Making check in compat
make[1]: Entering directory '/var/tmp/portage/sys-devel/autogen-5.18.16/work/autogen-5.18.16/compat'
make[1]: Nothing to be done for 'check'.
make[1]: Leaving directory '/var/tmp/portage/sys-devel/autogen-5.18.16/work/autogen-5.18.16/compat'
Making check in snprintfv
make[1]: Entering directory '/var/tmp/portage/sys-devel/autogen-5.18.16/work/autogen-5.18.16/snprintfv'
make[1]: Nothing to be done for 'check'.
make[1]: Leaving directory '/var/tmp/portage/sys-devel/autogen-5.18.16/work/autogen-5.18.16/snprintfv'
Making check in autoopts
make[1]: Entering directory '/var/tmp/portage/sys-devel/autogen-5.18.16/work/autogen-5.18.16/autoopts'
make  check-recursive
make[2]: Entering directory '/var/tmp/portage/sys-devel/autogen-5.18.16/work/autogen-5.18.16/autoopts'
Making check in test
make[3]: Entering directory '/var/tmp/portage/sys-devel/autogen-5.18.16/work/autogen-5.18.16/autoopts/test'
make  check-TESTS
make[4]: Entering directory '/var/tmp/portage/sys-devel/autogen-5.18.16/work/autogen-5.18.16/autoopts/test'
make[5]: Entering directory '/var/tmp/portage/sys-devel/autogen-5.18.16/work/autogen-5.18.16/autoopts/test'
cd .. ; echo make libopts-42.1.17.tar.gz ; make libopts-42.1.17.tar.gz >/dev/null 2>&1
make libopts-42.1.17.tar.gz
PASS: config.test
PASS: immediate.test
PASS: handler.test
PASS: alias.test
PASS: nls.test
PASS: doc.test
PASS: cfg-edit.test
PASS: main.test
PASS: enums.test
PASS: equiv.test
PASS: errors.test
PASS: stdopts.test
PASS: time.test
PASS: cond.test
PASS: shell.test
PASS: vendor.test
PASS: keyword.test
PASS: vers.test
PASS: nested.test
PASS: rc.test
PASS: argument.test
PASS: usage.test
../../config/test-driver: line 107: 20929 Killed                  "$@" > $log_file 2>&1
FAIL: library.test
../../config/test-driver: line 107: 24719 Killed                  "$@" > $log_file 2>&1
FAIL: getopt.test
============================================================================
Testsuite summary for GNU AutoGen 5.18.16
============================================================================
# TOTAL: 24
# PASS:  22
# SKIP:  0
# XFAIL: 0
# FAIL:  2
# XPASS: 0
# ERROR: 0
============================================================================
See autoopts/test/test-suite.log
Please report to autogen-users@lists.sourceforge.net
============================================================================
make[5]: *** [Makefile:584: test-suite.log] Error 1
make[5]: Leaving directory '/var/tmp/portage/sys-devel/autogen-5.18.16/work/autogen-5.18.16/autoopts/test'
make[4]: *** [Makefile:692: check-TESTS] Error 2
make[4]: Leaving directory '/var/tmp/portage/sys-devel/autogen-5.18.16/work/autogen-5.18.16/autoopts/test'
make[3]: *** [Makefile:758: check-am] Error 2
make[3]: Leaving directory '/var/tmp/portage/sys-devel/autogen-5.18.16/work/autogen-5.18.16/autoopts/test'
make[2]: *** [Makefile:945: check-recursive] Error 1
make[2]: Leaving directory '/var/tmp/portage/sys-devel/autogen-5.18.16/work/autogen-5.18.16/autoopts'
make[1]: *** [Makefile:1097: check] Error 2
make[1]: Leaving directory '/var/tmp/portage/sys-devel/autogen-5.18.16/work/autogen-5.18.16/autoopts'
make: *** [Makefile:547: check-recursive] Error 1
 * ERROR: sys-devel/autogen-5.18.16::gentoo failed (test phase):
 *   Make check failed. See above for details.

# cat /var/tmp/portage/sys-devel/autogen-5.18.16/work/autogen-5.18.16/autoopts/test/test-suite.log 
=======================================================
   GNU AutoGen 5.18.16: autoopts/test/test-suite.log
=======================================================

# TOTAL: 24
# PASS:  22
# SKIP:  0
# XFAIL: 0
# FAIL:  2
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

FAIL: getopt
============

creating getopt.def in /var/tmp/portage/sys-devel/autogen-5.18.16/work/autogen-5.18.16/autoopts/test/getopt-testd
creating getopt1-base.c
creating getopt2-base.c
FAIL getopt.test (exit status: 137)

FAIL: library
=============

run_ag ao library-lib.def
run_ag ao library-prog.def
FAIL library.test (exit status: 137)

# emerge --info =sys-devel/autogen-5.18.16
Portage 2.3.51 (python 3.6.5-final-0, default/linux/amd64/17.1/desktop, gcc-8.2.0, glibc-2.27-r6, 4.19.14-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.19.14-gentoo-x86_64-AMD_Phenom-tm-_II_X4_965_Processor-with-gentoo-2.6
KiB Mem:    12264784 total,   5113012 free
KiB Swap:    8351740 total,   8342184 free
Timestamp of repository gentoo: Fri, 25 Jan 2019 07:15:01 +0000
Head commit of repository gentoo: 9cc6c29be1d45345e3259e4c04f6673f0d4e711a
sh dash 0.5.9.1-r3
ld GNU gold (Gentoo 2.30 p5 2.30.0) 1.15
distcc 3.2rc1 x86_64-pc-linux-gnu [enabled]
ccache version 3.3.4 [disabled]
app-shells/bash:          4.4_p23-r1::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.26.2::gentoo
dev-lang/python:          2.7.15::gentoo, 3.6.5::gentoo
dev-util/ccache:          3.3.4-r1::gentoo
dev-util/cmake:           3.9.6::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.16.1-r1::gentoo
sys-devel/binutils:       2.30-r4::gentoo
sys-devel/gcc:            8.2.0-r6::gentoo
sys-devel/gcc-config:     2.0::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 4.17::gentoo (virtual/os-headers)
sys-libs/glibc:           2.27-r6::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.europe.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-jobs: 1
    sync-rsync-extra-opts: 
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-metamanifest: yes

x-portage
    location: /usr/local/portage
    masters: gentoo
    priority: 0

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=amdfam10 -msahf -mlzcnt -mpopcnt --param l1-cache-size=64 --param l1-cache-line-size=64 --param l2-cache-size=512 -flto=5"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /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"
CXXFLAGS="-O2 -pipe -march=amdfam10 -msahf -mlzcnt -mpopcnt --param l1-cache-size=64 --param l1-cache-line-size=64 --param l2-cache-size=512 -flto=5"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going y --with-bdeps y"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs cgroup compress-build-logs config-protect-if-modified distcc distlocks ebuild-locks ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch preserve-libs protect-owned sandbox sfperms split-elog split-log strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.modulix.net/gentoo/ http://mirror.netcologne.de/gentoo/ http://ftp.halifax.rwth-aachen.de/gentoo/ http://mirrors.evowise.com/gentoo/ http://gentoo.mirrors.ovh.net/gentoo-distfiles/"
LANG="it_IT.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -Wl,--sort-common -flto=5"
MAKEOPTS="-j12 -l4"
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="3dnow X a52 aac aalib acl acpi alsa amd64 ao audiofile bash-completion bluetooth branding bzip2 cairo caps cdda cddb cdparanoia cdr cli consolekit crypt css cups curl cxx dbus dga djvu dri dts dvd dvdr emboss encode exif expat fbcon ffmpeg fftw flac fontconfig fortran ftp gd gdbm gif glamor gmp gnutls gpm graphviz gtk iconv icu idn ieee1394 imagemagick imlib inotify introspection ipv6 java jbig jpeg jpeg2k kde lame lcms libass libcaca libnotify libsamplerate libtirpc lm_sensors lua lzma lzo mad mmap mng mp3 mp4 mpeg mplayer multilib musicbrainz ncurses nls nptl nsplugin offensive ogg openal opengl openmp pam pango pcre pdf png policykit postscript ppds pulseaudio qt5 rdesktop readline samba sctp sdl seccomp sndfile speex spell sqlite ssl startup-notification svg symlink syslog systemd taglib test theora threads tiff truetype udev udisks unicode upower usb vaapi vcd vdpau vim-syntax vorbis wavpack wayland win32codecs wmf wxwidgets x264 xattr xcb xcomposite xine xinerama xml xpm xscreensaver xv xvid zlib" ABI_X86="64" ALSA_CARDS="hda-intel virmidi" 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="karbon sheets words" CAMERAS="kodak ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="3dnow 3dnowext mmx mmxext popcnt sse sse2 sse3 sse4a" CURL_SSL="gnutls" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="libinput" KERNEL="linux" L10N="it en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-1" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6 pypy pypy3" RUBY_TARGETS="ruby23" USERLAND="GNU" VIDEO_CARDS="radeon r600" 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, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

# emerge -1pqv =sys-devel/autogen-5.18.16
[ebuild     U ] sys-devel/autogen-5.18.16 [5.18.4-r1] USE="-libopts -static-libs"
Comment 1 Sergei Trofimovich (RETIRED) gentoo-dev 2019-01-25 22:49:40 UTC
Does 'dmesg' report why those tests were killed? 137 exit code is a SIGKILL. I wonder if it's kernel killing tests or testsuite itself.

Tests pass for me in tmpfs.
Comment 2 Sergei Trofimovich (RETIRED) gentoo-dev 2019-02-05 23:34:30 UTC
Looks like autogen test harness does it explicitly.

I'll need a bit more debug info from test failure. If it's reliably reproducible for you can you run individual failing test with more debugging available?

For example for
    'FAIL: getopt.test'
you can go to
    $ cd '/var/tmp/portage/sys-devel/autogen-5.18.16/work/autogen-5.18.16'
and run it as
    $ autoopts/test
    $ bash -x ./getopt.test
Comment 3 Paolo Pedroni 2019-02-06 13:07:36 UTC
(In reply to Sergei Trofimovich from comment #2)
> Looks like autogen test harness does it explicitly.
> 
> I'll need a bit more debug info from test failure. If it's reliably
> reproducible for you can you run individual failing test with more debugging
> available?

It is reliably reproducible.

> 
> For example for
>     'FAIL: getopt.test'
> you can go to
>     $ cd '/var/tmp/portage/sys-devel/autogen-5.18.16/work/autogen-5.18.16'
> and run it as
>     $ autoopts/test
>     $ bash -x ./getopt.test

I will try. No sooner than friday, though, I'm busy with work ATM.