:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Setup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: libsemanage-3.8-0.rc3.1.el10.x86_64 :: [ 13:41:12 ] :: [ PASS ] :: Checking for the presence of libsemanage rpm :: [ 13:41:12 ] :: [ LOG ] :: Package versions: :: [ 13:41:12 ] :: [ LOG ] :: libsemanage-3.8-0.rc3.1.el10.x86_64 podman-5.3.1-3.el10.x86_64 :: [ 13:41:12 ] :: [ PASS ] :: Checking for the presence of podman rpm :: [ 13:41:12 ] :: [ LOG ] :: Package versions: :: [ 13:41:12 ] :: [ LOG ] :: podman-5.3.1-3.el10.x86_64 :: [ 13:41:12 ] :: [ BEGIN ] :: Running 'semodule -lfull | grep -e container -e podman' 200 container pp :: [ 13:41:12 ] :: [ PASS ] :: Command 'semodule -lfull | grep -e container -e podman' (Expected 0, got 0) :: [ 13:41:12 ] :: [ BEGIN ] :: Running 'getsebool -a | grep -e container -e podman' container_connect_any --> off container_manage_cgroup --> off container_read_certs --> off container_use_cephfs --> off container_use_devices --> off container_use_dri_devices --> on container_use_ecryptfs --> off container_use_xserver_devices --> off container_user_exec_content --> on logrotate_read_inside_containers --> off sshd_launch_containers --> off :: [ 13:41:12 ] :: [ PASS ] :: Command 'getsebool -a | grep -e container -e podman' (Expected 0, got 0) :: [ 13:41:12 ] :: [ BEGIN ] :: Running 'mkdir selinux1 selinux2' :: [ 13:41:12 ] :: [ PASS ] :: Command 'mkdir selinux1 selinux2' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 0s :: Assertions: 5 good, 0 bad :: RESULT: PASS (Setup) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: bz#2068085 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 13:41:12 ] :: [ BEGIN ] :: Running 'pushd selinux1' ~/selinux/libsemanage/cross-device-link-in-containers/selinux1 ~/selinux/libsemanage/cross-device-link-in-containers :: [ 13:41:12 ] :: [ PASS ] :: Command 'pushd selinux1' (Expected 0, got 0) :: [ 13:41:12 ] :: [ BEGIN ] :: Running 'cat ./Dockerfile' FROM quay.io/centos/centos:stream10 RUN dnf install -y selinux-policy selinux-policy-targeted :: [ 13:41:12 ] :: [ PASS ] :: Command 'cat ./Dockerfile' (Expected 0, got 0) :: [ 13:41:12 ] :: [ BEGIN ] :: Running 'podman build -t localhost/selinux . --no-cache' STEP 1/2: FROM quay.io/centos/centos:stream10 Trying to pull quay.io/centos/centos:stream10... Getting image source signatures Copying blob sha256:efdebfb972958047448bf2fa77c9f9ece657219ea8f2204af0962b286b8cafa9 Copying config sha256:1ef274445e32bffa869b956867e2eaae0625ef909314c41b367b32e3f37c963d Writing manifest to image destination STEP 2/2: RUN dnf install -y selinux-policy selinux-policy-targeted CentOS Stream 10 - BaseOS 5.0 MB/s | 6.3 MB 00:01 CentOS Stream 10 - AppStream 4.9 MB/s | 2.5 MB 00:00 CentOS Stream 10 - Extras packages 9.7 kB/s | 3.5 kB 00:00 Dependencies resolved. ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: selinux-policy noarch 40.13.21-1.el10 baseos 46 k selinux-policy-targeted noarch 40.13.21-1.el10 baseos 6.9 M Installing dependencies: authselect x86_64 1.5.0-8.el10 baseos 144 k authselect-libs x86_64 1.5.0-8.el10 baseos 223 k gdbm x86_64 1:1.23-9.el10 baseos 151 k libselinux-utils x86_64 3.8-0.rc3.1.el10 baseos 109 k libutempter x86_64 1.2.1-15.el10 baseos 27 k pam x86_64 1.6.1-7.el10 baseos 585 k policycoreutils x86_64 3.8-0.rc3.1.el10 baseos 216 k rpm-plugin-selinux x86_64 4.19.1.1-9.el10 baseos 19 k util-linux x86_64 2.40.2-5.el10 baseos 1.3 M Transaction Summary ================================================================================ Install 11 Packages Total download size: 9.7 M Installed size: 26 M Downloading Packages: (1/11): authselect-1.5.0-8.el10.x86_64.rpm 1.4 MB/s | 144 kB 00:00 (2/11): gdbm-1.23-9.el10.x86_64.rpm 1.4 MB/s | 151 kB 00:00 (3/11): authselect-libs-1.5.0-8.el10.x86_64.rpm 1.9 MB/s | 223 kB 00:00 (4/11): libutempter-1.2.1-15.el10.x86_64.rpm 1.5 MB/s | 27 kB 00:00 (5/11): libselinux-utils-3.8-0.rc3.1.el10.x86_6 4.3 MB/s | 109 kB 00:00 (6/11): rpm-plugin-selinux-4.19.1.1-9.el10.x86_ 991 kB/s | 19 kB 00:00 (7/11): pam-1.6.1-7.el10.x86_64.rpm 13 MB/s | 585 kB 00:00 (8/11): policycoreutils-3.8-0.rc3.1.el10.x86_64 5.4 MB/s | 216 kB 00:00 (9/11): selinux-policy-40.13.21-1.el10.noarch.r 2.1 MB/s | 46 kB 00:00 (10/11): util-linux-2.40.2-5.el10.x86_64.rpm 22 MB/s | 1.3 MB 00:00 (11/11): selinux-policy-targeted-40.13.21-1.el1 83 MB/s | 6.9 MB 00:00 -------------------------------------------------------------------------------- Total 649 kB/s | 9.7 MB 00:15 CentOS Stream 10 - BaseOS 1.6 MB/s | 1.6 kB 00:00 Importing GPG key 0x8483C65D: Userid : "CentOS (CentOS Official Signing Key) " Fingerprint: 99DB 70FA E1D7 CE22 7FB6 4882 05B5 55B3 8483 C65D From : /etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial-SHA256 Key imported successfully Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Running scriptlet: selinux-policy-targeted-40.13.21-1.el10.noarch 1/1 Preparing : 1/1 Installing : authselect-libs-1.5.0-8.el10.x86_64 1/11 Running scriptlet: libutempter-1.2.1-15.el10.x86_64 2/11 Installing : libutempter-1.2.1-15.el10.x86_64 2/11 Installing : libselinux-utils-3.8-0.rc3.1.el10.x86_64 3/11 Installing : gdbm-1:1.23-9.el10.x86_64 4/11 Installing : pam-1.6.1-7.el10.x86_64 5/11 Installing : util-linux-2.40.2-5.el10.x86_64 6/11 warning: /etc/adjtime created as /etc/adjtime.rpmnew Running scriptlet: util-linux-2.40.2-5.el10.x86_64 6/11 Created symlink '/etc/systemd/system/timers.target.wants/fstrim.timer' → '/usr/lib/systemd/system/fstrim.timer'. Installing : policycoreutils-3.8-0.rc3.1.el10.x86_64 7/11 Running scriptlet: policycoreutils-3.8-0.rc3.1.el10.x86_64 7/11 Created symlink '/etc/systemd/system/sysinit.target.wants/selinux-autorelabel-mark.service' → '/usr/lib/systemd/system/selinux-autorelabel-mark.service'. Installing : selinux-policy-40.13.21-1.el10.noarch 8/11 Running scriptlet: selinux-policy-40.13.21-1.el10.noarch 8/11 Running scriptlet: selinux-policy-targeted-40.13.21-1.el10.noarch 9/11 Installing : selinux-policy-targeted-40.13.21-1.el10.noarch 9/11 Running scriptlet: selinux-policy-targeted-40.13.21-1.el10.noarch 9/11 Installing : authselect-1.5.0-8.el10.x86_64 10/11 Installing : rpm-plugin-selinux-4.19.1.1-9.el10.x86_64 11/11 Running scriptlet: authselect-libs-1.5.0-8.el10.x86_64 11/11 Running scriptlet: selinux-policy-targeted-40.13.21-1.el10.noarch 11/11 Running scriptlet: rpm-plugin-selinux-4.19.1.1-9.el10.x86_64 11/11 Installed: authselect-1.5.0-8.el10.x86_64 authselect-libs-1.5.0-8.el10.x86_64 gdbm-1:1.23-9.el10.x86_64 libselinux-utils-3.8-0.rc3.1.el10.x86_64 libutempter-1.2.1-15.el10.x86_64 pam-1.6.1-7.el10.x86_64 policycoreutils-3.8-0.rc3.1.el10.x86_64 rpm-plugin-selinux-4.19.1.1-9.el10.x86_64 selinux-policy-40.13.21-1.el10.noarch selinux-policy-targeted-40.13.21-1.el10.noarch util-linux-2.40.2-5.el10.x86_64 Complete! COMMIT localhost/selinux --> 42ac57095b3a Successfully tagged localhost/selinux:latest 42ac57095b3a5dc0bcf185ebafffb7fcb674550991244dc01785eb5f6e657d9d :: [ 13:41:53 ] :: [ PASS ] :: Command 'podman build -t localhost/selinux . --no-cache' (Expected 0, got 0) Complete! :: [ 13:41:53 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.6o4ZLvBR' should contain '^complete' COMMIT localhost/selinux :: [ 13:41:53 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.6o4ZLvBR' should contain '^commit' :: [ 13:41:53 ] :: [ BEGIN ] :: Running 'popd' ~/selinux/libsemanage/cross-device-link-in-containers :: [ 13:41:53 ] :: [ PASS ] :: Command 'popd' (Expected 0, got 0) :: [ 13:41:53 ] :: [ BEGIN ] :: Running 'pushd selinux2' ~/selinux/libsemanage/cross-device-link-in-containers/selinux2 ~/selinux/libsemanage/cross-device-link-in-containers :: [ 13:41:53 ] :: [ PASS ] :: Command 'pushd selinux2' (Expected 0, got 0) :: [ 13:41:53 ] :: [ BEGIN ] :: Running 'cat ./Dockerfile' FROM localhost/selinux RUN semodule -B :: [ 13:41:53 ] :: [ PASS ] :: Command 'cat ./Dockerfile' (Expected 0, got 0) :: [ 13:41:53 ] :: [ BEGIN ] :: Running 'podman build -t localhost/selinux2 . --no-cache' STEP 1/2: FROM localhost/selinux STEP 2/2: RUN semodule -B COMMIT localhost/selinux2 --> 73a73d667e5b Successfully tagged localhost/selinux2:latest 73a73d667e5b225d801caf52ff046327a0ae1b970790fcbf47998b34a11a8261 :: [ 13:42:01 ] :: [ PASS ] :: Command 'podman build -t localhost/selinux2 . --no-cache' (Expected 0, got 0) :: [ 13:42:01 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.df6vF0BI' should not contain 'error' :: [ 13:42:01 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.df6vF0BI' should not contain 'failed' :: [ 13:42:01 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.df6vF0BI' should not contain 'not supported' :: [ 13:42:01 ] :: [ BEGIN ] :: Running 'popd' ~/selinux/libsemanage/cross-device-link-in-containers :: [ 13:42:01 ] :: [ PASS ] :: Command 'popd' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 49s :: Assertions: 13 good, 0 bad :: RESULT: PASS (bz#2068085) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Cleanup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 13:42:01 ] :: [ BEGIN ] :: Running 'rm -rf selinux1 selinux2' :: [ 13:42:01 ] :: [ PASS ] :: Command 'rm -rf selinux1 selinux2' (Expected 0, got 0) :: [ 13:42:01 ] :: [ BEGIN ] :: Running 'podman images' REPOSITORY TAG IMAGE ID CREATED SIZE localhost/selinux2 latest 73a73d667e5b 1 second ago 394 MB localhost/selinux latest 42ac57095b3a 10 seconds ago 373 MB quay.io/centos/centos stream10 1ef274445e32 42 hours ago 311 MB :: [ 13:42:01 ] :: [ PASS ] :: Command 'podman images' (Expected 0, got 0) :: [ 13:42:01 ] :: [ BEGIN ] :: Running 'podman rmi 73a73d667e5b' Untagged: localhost/selinux2:latest Deleted: 73a73d667e5b225d801caf52ff046327a0ae1b970790fcbf47998b34a11a8261 :: [ 13:42:02 ] :: [ PASS ] :: Command 'podman rmi 73a73d667e5b' (Expected 0, got 0) :: [ 13:42:02 ] :: [ BEGIN ] :: Running 'podman rmi 42ac57095b3a' Untagged: localhost/selinux:latest Deleted: 42ac57095b3a5dc0bcf185ebafffb7fcb674550991244dc01785eb5f6e657d9d :: [ 13:42:02 ] :: [ PASS ] :: Command 'podman rmi 42ac57095b3a' (Expected 0, got 0) :: [ 13:42:02 ] :: [ BEGIN ] :: Running 'podman rmi 1ef274445e32' Untagged: quay.io/centos/centos:stream10 Deleted: 1ef274445e32bffa869b956867e2eaae0625ef909314c41b367b32e3f37c963d :: [ 13:42:02 ] :: [ PASS ] :: Command 'podman rmi 1ef274445e32' (Expected 0, got 0) :: [ 13:42:02 ] :: [ BEGIN ] :: Running 'podman images' REPOSITORY TAG IMAGE ID CREATED SIZE :: [ 13:42:02 ] :: [ PASS ] :: Command 'podman images' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 1s :: Assertions: 6 good, 0 bad :: RESULT: PASS (Cleanup)