Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 802876 - [TEST] app-emulation/libvirt-7.5.0 - 9/140 commandtest FAIL 0.39s exit status 1
Summary: [TEST] app-emulation/libvirt-7.5.0 - 9/140 commandtest FAIL 0.39s exit status 1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Matthias Maier
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks: 817929
  Show dependency tree
 
Reported: 2021-07-19 08:53 UTC by Toralf Förster
Modified: 2021-10-15 23:49 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.77 KB, text/plain)
2021-07-19 08:53 UTC, Toralf Förster
Details
app-emulation:libvirt-7.5.0:20210718-234355.log.bz2 (app-emulation:libvirt-7.5.0:20210718-234355.log.bz2,44.67 KB, application/x-bzip)
2021-07-19 08:53 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,167.28 KB, text/plain)
2021-07-19 08:54 UTC, Toralf Förster
Details
environment (environment,133.16 KB, text/plain)
2021-07-19 08:54 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,24.53 KB, application/x-bzip)
2021-07-19 08:54 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,333.51 KB, application/x-bzip)
2021-07-19 08:54 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,78.63 KB, application/x-bzip)
2021-07-19 08:54 UTC, Toralf Förster
Details
testlog.txt.bz2 (testlog.txt.bz2,88.42 KB, application/x-bzip2)
2021-10-15 23:23 UTC, Sam James
Details
build.log.bz2 (build.log.bz2,44.54 KB, application/x-bzip2)
2021-10-15 23:23 UTC, Sam James
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2021-07-19 08:53:55 UTC
  7/140 check-drivername                         OK              0.06s0s
  8/140 check-driverimpls                        OK              0.37s0s
  9/140 commandtest                              FAIL            0.39s   exit status 1
>>> VIR_TEST_EXPENSIVE=1 abs_builddir=/var/tmp/portage/app-emulation/libvirt-7.5.0/work/libvirt-7.5.0-build/tests abs_top_srcdir=/var/tmp/portage/app-emulation/libvirt-7.5.0/work/libvirt-7.5.0 abs_srcdir=/var/tmp/portage/app-emulation/libvirt-7.5.0/work/libvirt-7.5.0/tests MALLOC_PERTURB_=147 G_DEBUG=fatal-warnings LIBVIRT_AUTOSTART=0 abs_top_builddir=/var/tmp/portage/app-emulation/libvirt-7.5.0/work/libvirt-7.5.0-build LC_ALL=C /var/tmp/portage/app-emulation/libvirt-7.5.0/work/libvirt-7.5.0-build/tests/commandtest

 10/140 check-aclrules                           OK              0.43s0s
 11/140 domainconftest                           OK              0.01s0s

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma_systemd-j3_test-20210715-115044

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.1.0 *
clang version 12.0.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/12/bin
/usr/lib/llvm/12
12.0.1
Python 3.9.6
Available Rust versions:
  [1]   rust-bin-1.53.0 *
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.292_p10 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4
  HEAD of ::gentoo
commit 7826c929fcb6c82b1b1842664a916a8c87fb767f
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Jul 18 22:51:58 2021 +0000

    2021-07-18 22:51:56 UTC

emerge -qpvO app-emulation/libvirt
[ebuild  N    ] app-emulation/libvirt-7.5.0  USE="caps libvirtd nls (policykit) qemu udev virt-network -apparmor -audit -bash-completion -dtrace -firewalld -fuse -glusterfs -iscsi -iscsi-direct -libssh -lvm -lxc -nfs -numa (-openvz) -parted -pcap -rbd -sasl (-selinux) -verify-sig -virtualbox -wireshark-plugins -xen -zfs"
Comment 1 Toralf Förster gentoo-dev 2021-07-19 08:53:57 UTC
Created attachment 725038 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-07-19 08:53:58 UTC
Created attachment 725041 [details]
app-emulation:libvirt-7.5.0:20210718-234355.log.bz2
Comment 3 Toralf Förster gentoo-dev 2021-07-19 08:54:00 UTC
Created attachment 725044 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-07-19 08:54:02 UTC
Created attachment 725047 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-07-19 08:54:03 UTC
Created attachment 725050 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-07-19 08:54:05 UTC
Created attachment 725053 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2021-07-19 08:54:06 UTC
Created attachment 725056 [details]
temp.tar.bz2
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-10-15 23:23:01 UTC
Created attachment 745065 [details]
testlog.txt.bz2

Fails here too on arm64 in 7.7.0.

----
# emerge --info
Portage 3.0.20 (python 3.9.7-final-0, default/linux/arm64/17.0/desktop, gcc-10.3.0, glibc-2.33-r7, 5.10.69-gentoo-dist aarch64)
=================================================================
System uname: Linux-5.10.69-gentoo-dist-aarch64-with-glibc2.33
KiB Mem:   131631608 total,  40645868 free
KiB Swap:   16777212 total,  16777212 free
Timestamp of repository gentoo: Fri, 15 Oct 2021 22:36:38 +0000
sh bash 5.1_p8
ld GNU ld (Gentoo 2.37_p1 p0) 2.37
app-shells/bash:          5.1_p8::gentoo
dev-java/java-config:     2.3.1::gentoo
dev-lang/perl:            5.34.0-r2::gentoo
dev-lang/python:          3.7.12_p1::gentoo, 3.8.12_p1::gentoo, 3.9.7_p1::gentoo
dev-lang/rust-bin:        1.53.0::gentoo
dev-util/cmake:           3.20.5::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/openrc:          0.43.5::gentoo
sys-apps/sandbox:         2.24::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo, 2.71-r1::gentoo
sys-devel/automake:       1.16.4::gentoo
sys-devel/binutils:       2.37_p1::gentoo
sys-devel/gcc:            10.3.0-r2::gentoo, 11.2.0::gentoo
sys-devel/gcc-config:     2.4::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.10::gentoo (virtual/os-headers)
sys-libs/glibc:           2.33-r7::gentoo
Repositories:

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

ACCEPT_KEYWORDS="arm64"
ACCEPT_LICENSE="*"
CBUILD="aarch64-unknown-linux-gnu"
CFLAGS="-O2 -pipe -march=native -frecord-gcc-switches"
CHOST="aarch64-unknown-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/php/apache2-php7.3/ext-active/ /etc/php/apache2-php7.4/ext-active/ /etc/php/apache2-php8.0/ext-active/ /etc/php/cgi-php7.3/ext-active/ /etc/php/cgi-php7.4/ext-active/ /etc/php/cgi-php8.0/ext-active/ /etc/php/cli-php7.3/ext-active/ /etc/php/cli-php7.4/ext-active/ /etc/php/cli-php8.0/ext-active/ /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="-O2 -pipe -march=native -frecord-gcc-switches"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going --complete-graph --usepkg=y --with-bdeps=y --deep --usepkg-exclude virtual/* --usepkg-exclude acct-*/*"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH 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 -march=native -frecord-gcc-switches"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg cgroup config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox mount-sandbox multilib-strict network-sandbox news parallel-fetch parallel-install pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe -march=native -frecord-gcc-switches"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="C.UTF8"
LDFLAGS="-O2 -pipe -march=native -frecord-gcc-switches -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0"
MAKEOPTS="-j2"
PKGDIR="/var/cache/binpkgs"
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 aac acl acpi alsa arm64 bluetooth branding bzip2 cairo cdda cdr cli crypt cups dbus dri dts dvdr elogind emboss encode exif flac fortran gdbm gif gpm gtk gui hardened iconv icu ipv6 jpeg lcms libglvnd libnotify libtirpc mad mng mp3 mp4 mpeg ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds qt5 readline sdl seccomp spell split-usr ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vorbis wxwidgets x264 xattr xcb xml xv xvid zlib" ADA_TARGET="gnat_2019" 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" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_ARM="edsp thumb thumb2 v4 v5 v6 v7 v8 vfp vfp-d32 vfpv3 vfpv4" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en en-US en-GB" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9 python3_8" RUBY_TARGETS="ruby26 ruby27" USERLAND="GNU" VIDEO_CARDS="fbdev dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto 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, RUSTFLAGS
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-10-15 23:23:19 UTC
Created attachment 745068 [details]
build.log.bz2
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-10-15 23:40:02 UTC
Heh, this is a longstanding failure: https://libvir-list.redhat.narkive.com/eb0tJ4gL/libvirt-commandtest-fails-when-executed-with-preloaded-libraries.

It's because of sandbox adding a bunch of environment variables. The test(s) within commandtest expect a pristine environment.
Comment 11 Larry the Git Cow gentoo-dev 2021-10-15 23:49:28 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb524ff7da61e6ca7c1a5c9d58a5c07964a16996

commit fb524ff7da61e6ca7c1a5c9d58a5c07964a16996
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-10-15 23:41:00 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-10-15 23:48:55 +0000

    app-emulation/libvirt: skip test 'commandtest' which expects pristine environment
    
    Fails because sandbox exports some variables and the test
    expects only those it sets to be present.
    
    Closes: https://bugs.gentoo.org/802876
    Signed-off-by: Sam James <sam@gentoo.org>

 app-emulation/libvirt/libvirt-7.7.0.ebuild | 5 +++++
 app-emulation/libvirt/libvirt-7.8.0.ebuild | 5 +++++
 app-emulation/libvirt/libvirt-9999.ebuild  | 5 +++++
 3 files changed, 15 insertions(+)

Additionally, it has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46551403d78089179da19f060682e9d7bffe07e7

commit 46551403d78089179da19f060682e9d7bffe07e7
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-10-15 23:43:57 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-10-15 23:48:57 +0000

    app-emulation/libvirt: increase test timeout for slower arches
    
    Bug: https://bugs.gentoo.org/802876
    Signed-off-by: Sam James <sam@gentoo.org>

 app-emulation/libvirt/libvirt-7.7.0.ebuild | 4 +++-
 app-emulation/libvirt/libvirt-7.8.0.ebuild | 4 +++-
 app-emulation/libvirt/libvirt-9999.ebuild  | 4 +++-
 3 files changed, 9 insertions(+), 3 deletions(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0c02ad9e6c25cc347c43e7f4fc2bb00ae283472

commit b0c02ad9e6c25cc347c43e7f4fc2bb00ae283472
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-10-15 23:42:44 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-10-15 23:48:56 +0000

    app-emulation/libvirt: skip syntax checks
    
    These aren't useful _downstream_ and also
    seem to be fragile.
    
    Bug: https://bugs.gentoo.org/802876
    Signed-off-by: Sam James <sam@gentoo.org>

 app-emulation/libvirt/libvirt-7.7.0.ebuild | 4 +++-
 app-emulation/libvirt/libvirt-7.8.0.ebuild | 4 +++-
 app-emulation/libvirt/libvirt-9999.ebuild  | 4 +++-
 3 files changed, 9 insertions(+), 3 deletions(-)