Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 922821 - sys-fs/bcachefs-tools-1.4.1 fails tests: AssertionError: assert 1 == 0
Summary: sys-fs/bcachefs-tools-1.4.1 fails tests: AssertionError: assert 1 == 0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Matt Jolly
URL:
Whiteboard:
Keywords: PullRequest, TESTFAILURE
Depends on:
Blocks:
 
Reported: 2024-01-24 15:10 UTC by Agostino Sarubbo
Modified: 2024-01-28 23:18 UTC (History)
4 users (show)

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


Attachments
build.log (build.log,320.24 KB, text/plain)
2024-01-24 15:10 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2024-01-24 15:10:23 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sys-fs/bcachefs-tools-1.4.1 fails tests.
Discovered on: amd64 (internal ref: ci)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0015
Comment 1 Agostino Sarubbo gentoo-dev 2024-01-24 15:10:25 UTC
CC'ing also the author of the commit (2f1d8601108aca38dab9bd33edd1695cfa0441a6)
Comment 2 Agostino Sarubbo gentoo-dev 2024-01-24 15:10:26 UTC
Created attachment 883033 [details]
build.log

build log and emerge --info
Comment 3 Agostino Sarubbo gentoo-dev 2024-01-24 15:10:27 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


E       AssertionError: assert 1 == 0
E               subprocess.CalledProcessError: Command '['/var/tmp/portage/sys-fs/bcachefs-tools-1.4.1/work/bcachefs-tools-1.4.1/bcachefs', 'format', PosixPath('/var/tmp/portage/sys-fs/bcachefs-tools-1.4.1/temp/pytest-of-portage/pytest-0/popen-gw2/test_fsck0/dev-1g')]' returned non-zero exit status 1.
E               subprocess.CalledProcessError: Command '['/var/tmp/portage/sys-fs/bcachefs-tools-1.4.1/work/bcachefs-tools-1.4.1/bcachefs', 'format', PosixPath('/var/tmp/portage/sys-fs/bcachefs-tools-1.4.1/temp/pytest-of-portage/pytest-0/popen-gw3/test_list0/dev-1g')]' returned non-zero exit status 1.
FAILED tests/test_basic.py::test_format - AssertionError: assert 1 == 0
FAILED tests/test_basic.py::test_fsck - subprocess.CalledProcessError: Command '['/var/tmp/portage/sys-fs/bcachefs-...
FAILED tests/test_basic.py::test_list - subprocess.CalledProcessError: Command '['/var/tmp/portage/sys-fs/bcachefs-...
Comment 4 Christopher Fore 2024-01-24 20:22:57 UTC
Ack, I can't seem to reproduce this but I'll make a fresh chroot to see if I'm able to.
Comment 5 immolo 2024-01-24 21:18:02 UTC
Confirmed I hit the same issue:

Portage 3.0.61 (python 3.11.7-final-0, default/linux/amd64/23.0/desktop, gcc-14, glibc-9999, 6.1.11-gentoo-dist x86_64)
=================================================================
System uname: Linux-6.1.11-gentoo-dist-x86_64-AMD_Ryzen_9_5950X_16-Core_Processor-with-glibc2.38.9000
KiB Mem:    65768708 total,   8842300 free
KiB Swap:    8392700 total,   6815712 free
Timestamp of repository gentoo: Wed, 24 Jan 2024 21:00:01 +0000
Head commit of repository gentoo: f94444dc34604c7f11590ef8888b1d6e6b55fdd4
Head commit of repository frno7: 57198b57bee2118191924c610faebf1bbc0d3704

Timestamp of repository guru: Wed, 24 Jan 2024 14:48:06 +0000
Head commit of repository guru: 9894b8a0eb61ebda31a357d1d25619a6b3fd1976

Timestamp of repository menelkir: Wed, 24 Jan 2024 11:48:07 +0000
Head commit of repository menelkir: 2a4fcf25e43d1acb13e3ceb1220920c276adb1b0

Timestamp of repository raiagent: Wed, 24 Jan 2024 05:03:35 +0000
Head commit of repository raiagent: 24c43ba84277b8f515f3577a0d1b3e8a1e924c89

Timestamp of repository ruixi-overlay: Sat, 13 Jan 2024 20:35:24 +0000
Head commit of repository ruixi-overlay: cd3659bd7b9aa935d78c2c0ebc97c98f187e46dc

Timestamp of repository steam-overlay: Wed, 17 Jan 2024 23:18:13 +0000
Head commit of repository steam-overlay: 1b2ecf815a1503215214a4a8fd21c09610c46991

sh bash 5.2_p26
ld GNU ld (Gentoo 2.39 p5) 2.39.0
distcc 3.4 x86_64-pc-linux-gnu [disabled]
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p26::gentoo
dev-build/autoconf:        2.13-r8::gentoo, 2.71-r7::gentoo, 2.72-r1::gentoo
dev-build/automake:        1.16.5-r1::gentoo
dev-build/cmake:           3.28.1-r1::gentoo
dev-build/libtool:         2.4.7-r2::gentoo
dev-build/make:            4.4.1-r1::gentoo
dev-build/meson:           9999::gentoo
dev-java/java-config:      2.3.3-r1::gentoo
dev-lang/perl:             5.38.2-r1::gentoo
dev-lang/python:           3.10.12::gentoo, 3.11.7::gentoo, 3.12.1_p1::gentoo
dev-lang/rust:             1.74.1::gentoo
sys-apps/baselayout:       2.14-r1::gentoo
sys-apps/openrc:           0.53::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-devel/binutils:        2.39-r4::gentoo, 2.40-r6::gentoo, 2.41-r4::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           14.0.6-r4::gentoo, 15.0.7-r3::gentoo, 16.0.6::gentoo, 17.0.6::gentoo
sys-devel/gcc:             11.3.1_p20221209::gentoo, 12.2.1_p20230121-r1::gentoo, 13.2.1_p20230826::gentoo, 14.0.0_pre20231217::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/lld:             14.0.6-r1::gentoo, 15.0.7::gentoo, 16.0.6::gentoo, 17.0.6::gentoo
sys-devel/llvm:            14.0.6-r4::gentoo, 15.0.7-r3::gentoo, 16.0.6::gentoo, 17.0.6::gentoo
sys-kernel/linux-headers:  6.7::gentoo (virtual/os-headers)
sys-libs/glibc:            9999::gentoo
Repositories:

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

frno7
    location: /var/db/repos/frno7
    sync-type: git
    sync-uri: https://github.com/frno7/gentoo.overlay.git
    masters: gentoo
    volatile: False

guru
    location: /var/db/repos/guru
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/guru.git
    masters: gentoo
    volatile: False

local
    location: /var/db/repos/local
    masters: gentoo
    volatile: False

menelkir
    location: /var/db/repos/menelkir
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/menelkir.git
    masters: gentoo
    volatile: False

raiagent
    location: /var/db/repos/raiagent
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/raiagent.git
    masters: gentoo
    volatile: False

ruixi-overlay
    location: /var/db/repos/ruixi-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/ruixi-overlay.git
    masters: gentoo
    volatile: False

steam-overlay
    location: /var/db/repos/steam-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/steam-overlay.git
    masters: gentoo
    volatile: False

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=znver2 -flto -fgraphite-identity -floop-nest-optimize -ftree-loop-distribution -fdiagnostics-color=always"
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"
CXXFLAGS="-O2 -pipe -march=znver2 -flto -fgraphite-identity -floop-nest-optimize -ftree-loop-distribution -fdiagnostics-color=always"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--jobs 16 --load-average 32"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE 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 XDG_STATE_HOME"
FCFLAGS="-O2 -pipe -march=znver2 -flto -fgraphite-identity -floop-nest-optimize -ftree-loop-distribution -fdiagnostics-color=always"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted 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=znver2 -flto -fgraphite-identity -floop-nest-optimize -ftree-loop-distribution -fdiagnostics-color=always"
GENTOO_MIRRORS="https://mirrors.gethosted.online/gentoo/ https://www.mirrorservice.org/sites/distfiles.gentoo.org/ https://mirror.bytemark.co.uk/gentoo/ https://mirrors.soeasyto.com/distfiles.gentoo.org/"
LANG="C.UTF8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
LINGUAS="en en_GB"
MAKEOPTS="-j30"
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"
SHELL="/bin/bash"
USE="X a52 aac acl acpi alsa amd64 bluetooth branding bzip2 cairo cdda cdr crypt dbus dist-kernel dri dts dvd dvdr elogind encode exif flac gdbm gif gpm graphite gtk gui iconv icu ipv6 jpeg lcms libnotify libtirpc logrotate lto lzma mad mng mp3 mp4 mpeg multilib ncurses nls ogg opengl pam pango pcre pdf pgo png policykit ppds pulseaudio readline sdl seccomp sound spell ssl startup-notification svg test-rust tiff tkip truetype udev udisks unicode upower usb vorbis vulkan wxwidgets x264 xattr xcb xft xml xv xvid zlib zstd" ABI_X86="64" ADA_TARGET="gnat_2021" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio 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 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en en-GB" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" QEMU_SOFTMMU_TARGETS="x86_64 i386 sparc64 aarch64 ppc64 m68k ppc64le sh4" QEMU_USER_TARGETS="sparc64 aarch64 mips mips64 mipsel riscv64 m68k ppc ppc64le sh4 arm hppa" RUBY_TARGETS="ruby31" VIDEO_CARDS="nvidia intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto 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, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 6 Larry the Git Cow gentoo-dev 2024-01-28 23:18:13 UTC
The bug has been closed via the following commit(s):

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

commit ee9952afac0d62ea936e53c8f2ed79b922cb0333
Author:     Christopher Fore <csfore@posteo.net>
AuthorDate: 2024-01-25 16:58:02 +0000
Commit:     Yixun Lan <dlan@gentoo.org>
CommitDate: 2024-01-28 23:17:24 +0000

    sys-fs/bcachefs-tools: Re-ignore sandbox tests, add myself as maintainer
    
    I cannot seem to get these tests to fail for me but re-ignoring them is
    likely the best idea in the meantime.
    
    The current maintainer is also happy with me becoming a co-maintainer of
    this package.
    
    Closes: https://bugs.gentoo.org/922821
    Closes: https://github.com/gentoo/gentoo/pull/35011
    Signed-off-by: Christopher Fore <csfore@posteo.net>
    Signed-off-by: Yixun Lan <dlan@gentoo.org>

 sys-fs/bcachefs-tools/bcachefs-tools-1.4.1.ebuild | 3 +++
 sys-fs/bcachefs-tools/metadata.xml                | 4 ++++
 2 files changed, 7 insertions(+)