323/514 test-mountpoint-util FAIL 0.44 s (killed by signal 6 SIGABRT) --- command --- SYSTEMD_KBD_MODEL_MAP='/x/portage/sys-apps/systemd-240-r2/work/systemd-240/src/locale/kbd-model-map' SYSTEMD_LANGUAGE_FALLBACK_MAP='/x/portage/sys-apps/systemd-240-r2/work/systemd-240/src/locale/language-fallback-map' PATH='/x/portage/sys-apps/systemd-240-r2/work/systemd-240-abi_x86_64.amd64:/x/portage/sys-apps/systemd-240-r2/temp/python3.7/bin:/usr/lib/ccache/bin:/home/floppym/src/portage/bin/ebuild-helpers/xattr:/home/floppym/src/portage/bin/ebuild-helpers:/usr/lib/llvm/7/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin' /x/portage/sys-apps/systemd-240-r2/work/systemd-240-abi_x86_64.amd64/test-mountpoint-util --- stderr --- Found container virtualization none. /* test_mount_propagation_flags(shared) */ /* test_mount_propagation_flags(slave) */ /* test_mount_propagation_flags(private) */ /* test_mount_propagation_flags((null)) */ /* test_mount_propagation_flags() */ /* test_mount_propagation_flags(xxxx) */ /* test_mount_propagation_flags( ) */ /* test_mnt_id */ mountinfo: / → 464 mountinfo: /sys → 465 mountinfo: /sys/fs/cgroup → 466 mountinfo: /sys/fs/cgroup/unified → 467 mountinfo: /sys/fs/cgroup/systemd → 468 mountinfo: /sys/fs/cgroup/perf_event → 469 mountinfo: /sys/fs/cgroup/pids → 470 mountinfo: /sys/fs/cgroup/cpu,cpuacct → 471 mountinfo: /sys/fs/cgroup/net_cls,net_prio → 472 mountinfo: /sys/fs/cgroup/cpuset → 473 mountinfo: /sys/fs/cgroup/blkio → 474 mountinfo: /sys/fs/cgroup/memory → 475 mountinfo: /sys/fs/cgroup/devices → 476 mountinfo: /sys/fs/cgroup/freezer → 477 mountinfo: /sys/fs/cgroup/hugetlb → 478 mountinfo: /sys/fs/bpf → 479 mountinfo: /sys/kernel/debug → 480 mountinfo: /sys/fs/fuse/connections → 481 mountinfo: /dev → 482 mountinfo: /dev/shm → 483 mountinfo: /dev/pts → 484 mountinfo: /dev/mqueue → 485 mountinfo: /dev/hugepages → 486 mountinfo: /run → 487 mountinfo: /run/user/10000 → 488 mountinfo: /run/user/0 → 489 mountinfo: /proc → 490 mountinfo: /proc/sys/fs/binfmt_misc → 491 mountinfo: /proc/sys/fs/binfmt_misc → 492 mountinfo: /tmp → 493 mountinfo: /x → 494 mountinfo: /mnt/data1 → 495 mountinfo: /var/cache/distfiles → 496 mountinfo: /home → 497 mountinfo: /home/floppym/tmp → 498 mountinfo: /var/cache/packages → 499 mountinfo: /boot → 500 mountinfo: /proc → 503 mnt ids of /run are 487, 487 mnt ids of /var/cache/packages are 499, 499 mnt ids of /boot are 500, 500 mnt ids of /sys/fs/cgroup/cpuset are 473, 473 mnt ids of /dev/shm are 483, 483 mnt ids of /run/user/0 are 489, 489 mnt ids of /proc/sys/fs/binfmt_misc are 491, 503 the other path for mnt id 503 is /proc Assertion 'path_equal(p, t)' failed at ../systemd-240/src/test/test-mountpoint-util.c:86, function test_mnt_id(). Aborting. ------- 344/514 test-process-util FAIL 0.34 s (killed by signal 6 SIGABRT) --- command --- SYSTEMD_KBD_MODEL_MAP='/x/portage/sys-apps/systemd-240-r2/work/systemd-240/src/locale/kbd-model-map' SYSTEMD_LANGUAGE_FALLBACK_MAP='/x/portage/sys-apps/systemd-240-r2/work/systemd-240/src/locale/language-fallback-map' PATH='/x/portage/sys-apps/systemd-240-r2/work/systemd-240-abi_x86_64.amd64:/x/portage/sys-apps/systemd-240-r2/temp/python3.7/bin:/usr/lib/ccache/bin:/home/floppym/src/portage/bin/ebuild-helpers/xattr:/home/floppym/src/portage/bin/ebuild-helpers:/usr/lib/llvm/7/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin' /x/portage/sys-apps/systemd-240-r2/work/systemd-240-abi_x86_64.amd64/test-process-util --- stderr --- Found container virtualization none. PID1 comm: 'ebuild.sh' PID1 cmdline: '/bin/bash /home/floppym/src/portage/bin/ebuild.sh test' PID1 cmdline truncated to 8: '/bin...' PID1 cmdline truncated to 1: '' PID1 PPID: 0 PID1 exe: '/bin/bash' PID1 UID: 250 Assertion 'u == 0 || pid != 1' failed at ../systemd-240/src/test/test-process-util.c:73, function test_get_process_comm(). Aborting. -------
Can't say about the first one but the second one seems to be bug in systemd that presumes PID 1 will always be running as root.
(In reply to Michał Górny from comment #1) Thanks, I sent a patch for this upstream.
I reported the test-mountpoint-util failure upstream.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bbfc31dfa14baf5547ef2576193ae8c912b609b7 commit bbfc31dfa14baf5547ef2576193ae8c912b609b7 Author: Mike Gilbert <floppym@gentoo.org> AuthorDate: 2019-04-13 13:42:42 +0000 Commit: Mike Gilbert <floppym@gentoo.org> CommitDate: 2019-04-13 13:43:07 +0000 sys-apps/systemd: add warning about failing tests with pid-sandbox Bug: https://bugs.gentoo.org/674458 Package-Manager: Portage-2.3.62_p4, Repoman-2.3.12_p87 Signed-off-by: Mike Gilbert <floppym@gentoo.org> sys-apps/systemd/systemd-241-r1.ebuild | 5 +++++ sys-apps/systemd/systemd-242.ebuild | 5 +++++ sys-apps/systemd/systemd-9999.ebuild | 5 +++++ 3 files changed, 15 insertions(+)
Still true with systemd-244.3
*** Bug 825738 has been marked as a duplicate of this bug. ***
After commit 9ce3c8d9dc48ad9d386d0e540c56f5a28d11553b Author: Mike Gilbert <floppym@gentoo.org> Date: Tue Apr 16 17:32:08 2024 -0400 sys-apps/systemd: add some sandbox predicts for tests Signed-off-by: Mike Gilbert <floppym@gentoo.org> I now just get Summary of Failures: 804/1185 systemd:test / test-process-util FAIL 0.24s killed by signal 6 SIGABRT It'd be great if we could skip that one too as then automated AT would work.
(In reply to Sam James from comment #7) > It'd be great if we could skip that one too as then automated AT would work. Does meson offer some way to skip specific tests? I don't see anything obvious.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=867009193d04369c4ca3d9f0af26c72c8ca9b82f commit 867009193d04369c4ca3d9f0af26c72c8ca9b82f Author: Mike Gilbert <floppym@gentoo.org> AuthorDate: 2024-04-18 04:19:21 +0000 Commit: Mike Gilbert <floppym@gentoo.org> CommitDate: 2024-04-18 04:19:21 +0000 sys-apps/systemd: make test-process-util work with pid-sandbox Closes: https://bugs.gentoo.org/674458 Signed-off-by: Mike Gilbert <floppym@gentoo.org> .../systemd/files/systemd-test-process-util.patch | 30 ++++++++++++++++++++++ sys-apps/systemd/systemd-254.10.ebuild | 6 +---- sys-apps/systemd/systemd-255.4.ebuild | 8 ++---- sys-apps/systemd/systemd-9999.ebuild | 6 +---- 4 files changed, 34 insertions(+), 16 deletions(-)