FS#78033 - [flatpak] FTBFS

Attached to Project: Arch Linux
Opened by avimitin (avimitin) - Wednesday, 29 March 2023, 07:24 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:18 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan Alexander Steffens (heftig)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No



This tests will fail when running check():

Summary of Failures:

15/50 test-run@user,nodeltas.wrap ERROR 1.12s exit status 1
16/50 test-update-portal@system.wrap ERROR 1.07s exit status 1
17/50 test-run@system-norevokefs,nodeltas.wrap ERROR 1.24s exit status 1
23/50 test-oci-registry@user.wrap ERROR 1.86s exit status 1
24/50 test-oci-registry@system.wrap ERROR 1.89s exit status 1
25/50 test-repo@user,oldsummary.wrap ERROR 2.07s exit status 1
26/50 test-repo@user.wrap ERROR 2.11s exit status 1
28/50 test-repo@system-norevokefs.wrap ERROR 2.21s exit status 1
29/50 test-run@user,deltas.wrap ERROR 2.37s exit status 1
31/50 test-run@system-norevokefs,deltas.wrap ERROR 2.50s exit status 1
32/50 test-sideload@user.wrap ERROR 3.17s exit status 1
34/50 test-bundle@system.wrap ERROR 4.47s exit status 1
35/50 test-bundle@user.wrap ERROR 4.71s exit status 1
36/50 test-bundle@system-norevokefs.wrap ERROR 4.76s exit status 1
39/50 test-update-portal@user.wrap TIMEOUT 90.03s killed by signal 15 SIGTERM
33/50 testlibrary TIMEOUT 150.09s (exit status 134 or signal 6 SIGABRT)
46/50 test-override.sh ERROR 0.75s exit status 1
48/50 test-seccomp.sh ERROR 1.54s exit status 1
49/50 test-extensions.sh ERROR 2.01s exit status 1

Ok: 21
Expected Fail: 0
Fail: 17
Unexpected Pass: 0
Skipped: 10
Timeout: 2

Most of the tests fails because the bwrap fail to run: `bwrap: Can't mount proc on /newroot/proc: Operation not permitted`.

Steps to reproduce:

extra-x86_64-build -- -d "$(mktemp -d):/var/cache/pacman/pkg"
This task depends upon

Closed by  Buggy McBugFace (bugbot)
Saturday, 25 November 2023, 20:18 GMT
Reason for closing:  Moved
Additional comments about closing:  https://gitlab.archlinux.org/archlinux/p ackaging/packages/flatpak/issues/2
Comment by Jan Alexander Steffens (heftig) - Wednesday, 29 March 2023, 12:51 GMT
Seems to work with bubblewrap-suid. When and how did the userns version break?
Comment by avimitin (avimitin) - Friday, 07 April 2023, 04:41 GMT
I don't know when it fail exactly. Besides, when I try to chroot into build directory and rerun the test, I found bwrap report another error: bwrap: open /proc/34246/ns/ns failed: No such file or directory.
Comment by avimitin (avimitin) - Friday, 07 April 2023, 05:23 GMT
I replace the dependency bubblewrap with bubblewrap-suid, this tests are just skipped. And I found that bwrap is also not able to run: bwrap: capset failed: Operation not permitted. This error can be found at /build/flatpak/src/build/meson-logs/testlog.txt.