==> Synchronizing chroot copy [/data/alhp-workspace/chroot/root] -> [build_9b36cc97-18ca-4902-8849-3cec07bc20a1]...done ==> Making package: bubblewrap 0.8.0-1.1 (Fri Mar 3 22:55:41 2023) ==> Retrieving sources... -> Cloning bubblewrap git repo... Cloning into bare repository '/data/alhp-workspace/build/x86-64-v2/bubblewrap-0.7.0-1.1/bubblewrap'... ==> Validating source files with sha256sums... bubblewrap ... Skipped ==> Making package: bubblewrap 0.8.0-1.1 (Fri Mar 3 22:56:01 2023) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (12) New Version Net Change extra/docbook-xml 4.5-9 1.96 MiB core/libnsl 2.0.0-2 0.07 MiB community/ninja 1.11.1-2 0.35 MiB extra/perl-error 0.17029-4 0.04 MiB extra/perl-mailtools 2.21-6 0.11 MiB extra/perl-timedate 2.33-4 0.08 MiB core/python 3.10.9-1 55.19 MiB extra/bash-completion 2.11-3 0.83 MiB extra/docbook-xsl 1.79.2-7 26.32 MiB extra/git 2.39.2-1 37.41 MiB extra/libxslt 1.1.37-2 0.74 MiB extra/meson 1.0.1-1 8.50 MiB Total Installed Size: 131.60 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing bash-completion... installing libxslt... Optional dependencies for libxslt python: Python bindings [pending] installing docbook-xml... installing docbook-xsl... installing perl-error... installing perl-timedate... installing perl-mailtools... installing git... Optional dependencies for git tk: gitk and git gui perl-libwww: git svn perl-term-readkey: git svn and interactive.singlekey setting perl-io-socket-ssl: git send-email TLS support perl-authen-sasl: git send-email TLS support perl-mediawiki-api: git mediawiki support perl-datetime-format-iso8601: git mediawiki support perl-lwp-protocol-https: git mediawiki https support perl-cgi: gitweb (web interface) support python: git svn & git p4 [pending] subversion: git svn org.freedesktop.secrets: keyring credential helper libsecret: libsecret credential helper [installed] installing ninja... installing libnsl... installing python... Optional dependencies for python python-setuptools python-pip sqlite [installed] mpdecimal: for decimal xz: for lzma [installed] tk: for tkinter installing meson... :: Running post-transaction hooks... (1/1) Warn about old perl modules [?25h==> Retrieving sources... ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources... -> Creating working copy of bubblewrap git repo... Cloning into 'bubblewrap'... done. Switched to a new branch 'makepkg' ==> Starting prepare()... ==> Starting pkgver()... ==> Starting build()... + exec meson setup --prefix /usr --libexecdir lib --sbindir bin --buildtype plain --auto-features enabled --wrap-mode nodownload -D b_lto=true -D b_pie=true bubblewrap build -D selinux=disabled The Meson build system Version: 1.0.1 Source dir: /startdir/src/bubblewrap Build dir: /startdir/src/build Build type: native build Project name: bubblewrap Project version: 0.8.0 C compiler for the host machine: cc (gcc 12.2.1 "cc (GCC) 12.2.1 20230201") C linker for the host machine: cc ld.bfd 2.40 Host machine cpu family: x86_64 Host machine cpu: x86_64 Compiler for C supports arguments -Werror=shadow: YES Compiler for C supports arguments -Werror=empty-body: YES Compiler for C supports arguments -Werror=strict-prototypes: YES Compiler for C supports arguments -Werror=missing-prototypes: YES Compiler for C supports arguments -Werror=implicit-function-declaration: YES Compiler for C supports arguments -Werror=pointer-arith: YES Compiler for C supports arguments -Werror=init-self: YES Compiler for C supports arguments -Werror=missing-declarations: YES Compiler for C supports arguments -Werror=return-type: YES Compiler for C supports arguments -Werror=overflow: YES Compiler for C supports arguments -Werror=int-conversion: YES Compiler for C supports arguments -Werror=parenthesis: NO Compiler for C supports arguments -Werror=incompatible-pointer-types: YES Compiler for C supports arguments -Werror=misleading-indentation: YES Compiler for C supports arguments -Werror=missing-include-dirs: YES Compiler for C supports arguments -Werror=aggregate-return: YES Compiler for C supports arguments -Werror=switch-default: YES Compiler for C supports arguments -Wswitch-enum: YES Compiler for C supports arguments -Wno-sign-compare: YES Compiler for C supports arguments -Wno-error=sign-compare: YES Compiler for C supports arguments -Wno-missing-field-initializers: YES Compiler for C supports arguments -Wno-error=missing-field-initializers: YES Compiler for C supports arguments -Werror=format=2: YES Compiler for C supports arguments -Werror=format-security: YES Compiler for C supports arguments -Werror=format-nonliteral: YES Program bash found: YES (/usr/bin/bash) Program python3 found: YES (/usr/bin/python3) Found pkg-config: /usr/bin/pkg-config (1.8.0) Run-time dependency libcap found: YES 2.67 Dependency libselinux skipped: feature selinux disabled Configuring config.h using configuration Program xsltproc found: YES (/usr/bin/xsltproc) Message: Docbook XSL found, man page enabled Run-time dependency bash-completion found: YES 2.11 Build targets in project: 4 bubblewrap 0.8.0 User defined options auto_features: enabled buildtype : plain libexecdir : lib prefix : /usr sbindir : bin wrap_mode : nodownload b_lto : true b_pie : true selinux : disabled Found ninja-1.11.1 at /usr/bin/ninja ninja: Entering directory `/startdir/src/build' [1/11] Compiling C object tests/test-utils.p/test-utils.c.o [2/11] Compiling C object bwrap.p/network.c.o [3/11] Compiling C object bwrap.p/bind-mount.c.o [4/11] Compiling C object bwrap.p/utils.c.o [5/11] Compiling C object tests/try-syscall.p/try-syscall.c.o [6/11] Compiling C object bwrap.p/bubblewrap.c.o [7/11] Generating bwrap.1 with a custom command [8/11] Linking target tests/try-syscall [9/11] Compiling C object tests/test-utils.p/.._utils.c.o [10/11] Linking target tests/test-utils [11/11] Linking target bwrap INFO: autodetecting backend as ninja INFO: calculating backend command to run: /usr/bin/ninja -C /startdir/src/build ==> Starting check()... ninja: no work to do. ninja: Entering directory `/startdir/src/build' ninja: no work to do. 1/5 test-utils OK 0.24s 19 subtests passed 2/5 test-seccomp.py SKIP 0.23s 3/5 test-run.sh ERROR 1.04s exit status 1 >>> G_TEST_SRCDIR=/startdir/src/bubblewrap/tests/.. BWRAP=/startdir/src/build/bwrap MALLOC_PERTURB_=226 G_TEST_BUILDDIR=/startdir/src/build/tests/.. /usr/bin/bash /startdir/src/build/../bubblewrap/tests/test-run.sh ――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― Listing only the last 100 lines from a long log. +++ grep user_id=959 +++ awk '{print $2}' +++ id -u ++ test 959 = 0 ++ is_uidzero=false ++ UNREADABLE=/root/.bashrc ++ false +++ dirname /root/.bashrc ++ test -x /root ++ '[' /lib -ef /usr/lib ']' ++ BWRAP_RO_HOST_ARGS='--ro-bind /usr /usr --ro-bind /etc /etc --dir /var/tmp --symlink usr/lib /lib --symlink usr/lib64 /lib64 --symlink usr/bin /bin --symlink usr/sbin /sbin --proc /proc --dev /dev' ++ RUN='/startdir/src/build/bwrap --bind / / --tmpfs /tmp' ++ '[' -z '' ']' ++ /startdir/src/build/bwrap --bind / / --tmpfs /tmp true ++ basename /startdir/src/build/../bubblewrap/tests/test-run.sh + bn=test-run.sh + echo 1..58 + /startdir/src/build/bwrap --help + assert_file_has_content help.txt 'usage: /startdir/src/build/bwrap' + fpath=help.txt + shift + for re in "$@" + grep -q -e 'usage: /startdir/src/build/bwrap' help.txt + echo 'ok - Help works' + for ALT in "" "--unshare-user-try" "--unshare-pid" "--unshare-user-try --unshare-pid" + '[' x '!=' x ']' + echo 'ok # SKIP no FUSE support' + /startdir/src/build/bwrap --bind / / --tmpfs /tmp --proc /proc true + echo 'ok - can mount /proc with ' + /startdir/src/build/bwrap --bind / / --tmpfs /tmp --unshare-net --proc /proc --dev /dev true + echo 'ok - can unshare network, create new /dev with ' + echo -n 'expect EPERM: ' expect EPERM: + test -n '' + CAP= + cat /etc/shadow cat: /etc/shadow: Permission denied + /startdir/src/build/bwrap --bind / / --tmpfs /tmp --unshare-net --proc /proc --bind /etc/shadow /tmp/foo cat /tmp/foo cat: /tmp/foo: Permission denied + cat /etc/shadow cat: /etc/shadow: Permission denied + /startdir/src/build/bwrap --bind / / --tmpfs /tmp --unshare-net --proc /proc --bind /etc/shadow /tmp/foo cat /etc/shadow cat: /etc/shadow: Permission denied + echo 'ok - cannot read /etc/shadow with ' + '[' x/root/.bashrc '!=' x ']' + echo -n 'expect EPERM: ' expect EPERM: + /startdir/src/build/bwrap --bind / / --tmpfs /tmp --unshare-net --proc /proc --dev /dev --bind /root/.bashrc /tmp/foo cat /tmp/foo bwrap: Can't find source path /root/.bashrc: Permission denied + echo 'ok - cannot read /root/.bashrc with ' + /startdir/src/build/bwrap --bind / / --tmpfs /tmp --dir /tmp/dir --symlink dir /tmp/link --bind /etc /tmp/link true + echo 'ok - can bind a destination over a symlink' + for ALT in "" "--unshare-user-try" "--unshare-pid" "--unshare-user-try --unshare-pid" + '[' x '!=' x ']' + echo 'ok # SKIP no FUSE support' + /startdir/src/build/bwrap --bind / / --tmpfs /tmp --unshare-user-try --proc /proc true + echo 'ok - can mount /proc with --unshare-user-try' + /startdir/src/build/bwrap --bind / / --tmpfs /tmp --unshare-user-try --unshare-net --proc /proc --dev /dev true + echo 'ok - can unshare network, create new /dev with --unshare-user-try' + echo -n 'expect EPERM: ' expect EPERM: + test -n '' + CAP= + cat /etc/shadow cat: /etc/shadow: Permission denied + /startdir/src/build/bwrap --bind / / --tmpfs /tmp --unshare-user-try --unshare-net --proc /proc --bind /etc/shadow /tmp/foo cat /tmp/foo cat: /tmp/foo: Permission denied + cat /etc/shadow cat: /etc/shadow: Permission denied + /startdir/src/build/bwrap --bind / / --tmpfs /tmp --unshare-user-try --unshare-net --proc /proc --bind /etc/shadow /tmp/foo cat /etc/shadow cat: /etc/shadow: Permission denied + echo 'ok - cannot read /etc/shadow with --unshare-user-try' + '[' x/root/.bashrc '!=' x ']' + echo -n 'expect EPERM: ' expect EPERM: + /startdir/src/build/bwrap --bind / / --tmpfs /tmp --unshare-user-try --unshare-net --proc /proc --dev /dev --bind /root/.bashrc /tmp/foo cat /tmp/foo bwrap: Can't find source path /root/.bashrc: Permission denied + echo 'ok - cannot read /root/.bashrc with --unshare-user-try' + /startdir/src/build/bwrap --bind / / --tmpfs /tmp --unshare-user-try --dir /tmp/dir --symlink dir /tmp/link --bind /etc /tmp/link true + echo 'ok - can bind a destination over a symlink' + for ALT in "" "--unshare-user-try" "--unshare-pid" "--unshare-user-try --unshare-pid" + '[' x '!=' x ']' + echo 'ok # SKIP no FUSE support' + /startdir/src/build/bwrap --bind / / --tmpfs /tmp --unshare-pid --proc /proc true bwrap: Can't mount proc on /newroot/proc: Operation not permitted ++ report_err ++ local exit_status=1 Unexpected nonzero exit status 1 while running: $RUN $ALT --proc /proc true + cleanup + test -n '' + test -f /var/tmp/tap-test.0GJfP3/.testtmp + rm -rf /var/tmp/tap-test.0GJfP3 (test program exited with status code 1) TAP parsing error: Too few tests run (expected 58, got 14) ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― 4/5 test-specifying-pidns.sh OK 1.45s 1 subtests passed 5/5 test-specifying-userns.sh OK 1.45s 1 subtests passed Summary of Failures: 3/5 test-run.sh ERROR 1.04s exit status 1 Ok: 3 Expected Fail: 0 Fail: 1 Unexpected Pass: 0 Skipped: 1 Timeout: 0 Full log written to /startdir/src/build/meson-logs/testlog.txt ==> ERROR: A failure occurred in check(). Aborting... ==> ERROR: Build failed, check /data/alhp-workspace/chroot/build_9b36cc97-18ca-4902-8849-3cec07bc20a1/build