Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 834787 - media-libs/audiofile-0.3.6-r4 - FEATURES=test yields to OOM
Summary: media-libs/audiofile-0.3.6-r4 - FEATURES=test yields to OOM
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-08 14:21 UTC by Toralf Förster
Modified: 2022-04-23 14:42 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2022-03-08 14:21:32 UTC
At a tinderbox image 17.1_desktop_systemd-j4_test-20220307-094637 the oom killer was invoked at:

PASS: ALAC
/var/tmp/portage/media-libs/audiofile-0.3.6-r4/work/audiofile-0.3.6/test-driver: line 112:  3976 Killed                  "$@" >> "$log_file" 2>&1
FAIL: FLAC



with cgroup v1 settings of 40 GB RAM / 70 GB vRAM.
Comment 1 Toralf Förster gentoo-dev 2022-03-08 14:22:06 UTC
SO either a pre-check shall be made or a restrict ?

Mon Mar  7 07:31:36 PM UTC 2022

==> /var/log/messages <==
Mar  7 20:31:36 mr-fox kernel: anon 29766205440\x0afile 10185584640\x0akernel_stack 409600\x0apagetables 106156032\x0apercpu 0\x0asock 0\x0ashmem 10183544832\x0afile_mapped 274432\x0afile_dirty 0\x0afile_writeback 0\x0aswapcached 41880547328\x0aanon_thp 0\x0afile_thp 0\x0ashmem_thp 0\x0ainactive_anon 34687258624\x0aactive_anon 7314132992\x0ainactive_file 1966080\x0aactive_file 0\x0aunevictable 0\x0aslab_reclaimable 147017664\x0aslab_unreclaimable 1547816\x0aslab 148565480\x0aworkingset_refault_anon 1535853\x0aworkingset_refault_file 660782583\x0aworkingset_activate_anon 712125\x0aworkingset_activate_file 660222542\x0aworkingset_restore_anon 37\x0aworkingset_restore_file 659997854\x0aworkingset_nodereclaim 0\x0apgfault 3634752594\x0apgmajfault 1589149\x0apgrefill 704658014\x0apgscan 4125409276\x0apgsteal 672398616\x0apgactivate 52278004\x0apgdeactivate 701083164\x0apglazyfree 73093647\x0apglazyfreed 0\x0athp_fault_alloc 341\x0athp_collapse_alloc 0
Mar  7 20:31:36 mr-fox kernel: Tasks state (memory values in pages):
Mar  7 20:31:36 mr-fox kernel: [  pid  ]   uid  tgid total_vm      rss pgtables_bytes swapents oom_score_adj name
Mar  7 20:31:36 mr-fox kernel: [   5989]     0  5989     2437      910    61440       63             0 bwrap.sh
Mar  7 20:31:36 mr-fox kernel: [   6075]     0  6075      624      164    45056       27             0 bwrap
Mar  7 20:31:36 mr-fox kernel: [   6080]     0  6080      624        0    45056       39             0 bwrap
Mar  7 20:31:36 mr-fox kernel: [   6092]     0  6092     2387      231    61440      242             0 entrypoint
Mar  7 20:31:36 mr-fox kernel: [  21651]     0 21651     1475        0    53248       23             0 timeout
Mar  7 20:31:36 mr-fox kernel: [  21655]     0 21655     1931        0    53248       80             0 bash
Mar  7 20:31:36 mr-fox kernel: [  21665]     0 21665    77348       46   380928    36604             0 emerge
Mar  7 20:31:36 mr-fox kernel: [   7756]     0  7756     3779        1    73728     1211             0 python3.9
Mar  7 20:31:36 mr-fox kernel: [   7786]     0  7786     3765        2    65536     1214             0 python3.9
Mar  7 20:31:36 mr-fox kernel: [   7787]     0  7787     1931       19    57344       80             0 bash
Mar  7 20:31:36 mr-fox kernel: [   7820]     0  7820     1472        0    49152       53             0 ansifilter
Mar  7 20:31:36 mr-fox kernel: [   8153]   250  8153      653        1    45056       46             0 sandbox
Mar  7 20:31:36 mr-fox kernel: [   8166]   250  8166     2906       23    61440      953             0 ebuild.sh
Mar  7 20:31:36 mr-fox kernel: [   8371]   250  8371     2942        2    57344      987             0 ebuild.sh
Mar  7 20:31:36 mr-fox kernel: [   8507]   250  8507     1628        1    53248       87             0 tee
Mar  7 20:31:36 mr-fox kernel: [   8554]   250  8554     2250       20    45056      301             0 emake
Mar  7 20:31:36 mr-fox kernel: [   8571]   250  8571     1750       39    53248      173             0 make
Mar  7 20:31:36 mr-fox kernel: [   8579]   250  8579     2119       20    53248      171             0 sh
Mar  7 20:31:36 mr-fox kernel: [  23232]   250 23232     2119        0    49152      172             0 sh
Mar  7 20:31:36 mr-fox kernel: [  23234]   250 23234     1783       39    49152      211             0 make
Mar  7 20:31:36 mr-fox kernel: [  18178]   250 18178     1783       39    49152      222             0 make
Mar  7 20:31:36 mr-fox kernel: [  18247]   250 18247     2118       19    53248      169             0 sh
Mar  7 20:31:36 mr-fox kernel: [  18278]   250 18278     1843       39    57344      265             0 make
Mar  7 20:31:36 mr-fox kernel: [  20765]   250 20765     2119       19    53248      171             0 sh
Mar  7 20:31:36 mr-fox kernel: [  20802]   250 20802 13364102  7267186 104853504  5805689             0 FLAC
Mar  7 20:31:36 mr-fox kernel: oom-kill:constraint=CONSTRAINT_MEMCG,nodemask=(null),cpuset=/,mems_allowed=0,oom_memcg=/local/17.1_desktop_systemd-j4_test-20220307-094637,task_memcg=/local/17.1_desktop_systemd-j4_test-20220307-094637,task=FLAC,pid=20802,uid=250
Mar  7 20:31:36 mr-fox kernel: Memory cgroup out of memory: Killed process 20802 (FLAC) total-vm:53456408kB, anon-rss:29068480kB, file-rss:0kB, shmem-rss:264kB, UID:250 pgtables:102396kB oom_score_adj:0
Comment 2 Toralf Förster gentoo-dev 2022-03-08 14:28:12 UTC
17-1-desktop-systemd-j4-test-20220307-094637 /var/tmp/tb # emerge --info media-libs/audiofile --verbose=n
Portage 3.0.30 (python 3.9.10-final-0, default/linux/amd64/17.1/desktop/systemd, gcc-11.2.1, glibc-2.35, 5.16.12 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.16.12-x86_64-AMD_Ryzen_9_5950X_16-Core_Processor-with-glibc2.35
KiB Mem:   131900776 total,   3159464 free
KiB Swap:  268435448 total, 267127800 free
Timestamp of repository gentoo: Tue, 08 Mar 2022 13:52:02 +0000
Head commit of repository gentoo: ad9ab3d9ccfa01b82df2198a6e2c752f065d282d

sh bash 5.1_p16
ld GNU ld (Gentoo 2.37_p1 p2) 2.37
ccache version 4.5.1 [disabled]
app-misc/pax-utils:        1.3.3::gentoo
app-shells/bash:           5.1_p16::gentoo
dev-java/java-config:      2.3.1::gentoo
dev-lang/perl:             5.34.0-r8::gentoo
dev-lang/python:           3.9.10_p1::gentoo, 3.10.2_p1::gentoo
dev-lang/rust-bin:         1.59.0::gentoo
dev-util/ccache:           4.5.1::gentoo
dev-util/cmake:            3.22.3::gentoo
dev-util/meson:            0.61.1::gentoo
sys-apps/baselayout:       2.8::gentoo
sys-apps/sandbox:          2.29::gentoo
sys-apps/systemd:          250.3::gentoo
sys-devel/autoconf:        2.71-r1::gentoo
sys-devel/automake:        1.16.5::gentoo
sys-devel/binutils:        2.37_p1-r2::gentoo
sys-devel/binutils-config: 5.4.1::gentoo
sys-devel/gcc:             11.2.1_p20220115::gentoo
sys-devel/gcc-config:      2.5-r1::gentoo
sys-devel/libtool:         2.4.6-r6::gentoo
sys-devel/llvm:            13.0.1::gentoo
sys-devel/make:            4.3::gentoo
sys-kernel/linux-headers:  5.16::gentoo (virtual/os-headers)
sys-libs/glibc:            2.35::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo.git
    priority: -1000

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-pipe -march=native -fno-diagnostics-color -O2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /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.4/ext-active/ /etc/php/apache2-php8.0/ext-active/ /etc/php/cgi-php7.4/ext-active/ /etc/php/cgi-php8.0/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="-pipe -march=native -fno-diagnostics-color -O2"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--deep --verbose --deep --verbose-conflicts --nospinner --quiet-build --tree --color=n --ask=n"
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="-pipe -march=native -fno-diagnostics-color -O2"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live cgroup config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-pipe -march=native -fno-diagnostics-color -O2"
GENTOO_MIRRORS="https://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ https://ftp.fau.de/gentoo https://mirror.netcologne.de/gentoo/ http://ftp.halifax.rwth-aachen.de/gentoo/"
LANG="C.UTF8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0"
MAKEOPTS="-j4"
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"
RUSTFLAGS="-Ctarget-cpu=native -v"
SHELL="/bin/bash"
USE="X Xaw3d a52 aac acl acpi alsa amd64 bidi bluetooth branding bzip2 cairo cdr cli crypt cups dbus dri dts dvd dvdr encode exif flac fortran gdbm gif gpm gtk gui iconv icu ipv6 jpeg jumbo-build kerberos lcms libglvnd libnotify libtirpc mad mng mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds qt5 readline sdl seccomp semantic-desktop spell split-usr ssl startup-notification svg systemd test tiff truetype udev udisks unicode upower usb vorbis wxwidgets xattr xcb xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gnat_2020" 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_X86="mmx mmxext sse sse2 aes avx avx2 f16c fma3 pclmul popcnt rdrand sha sse3 sse4_1 sse4_2 sse4a ssse3" 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="af as fa fil ja zh-TW" 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-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby26 ruby27 ruby30" USERLAND="GNU" VIDEO_CARDS="fbdev dummy" 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:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LEX, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, SIZE, STRINGS, STRIP, YACC, YFLAGS

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

media-libs/audiofile-0.3.6-r4::gentoo was built with the following:
USE="flac" ABI_X86="(64) -32 (-x32)"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live cgroup config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict test test-fail-continue unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"