:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Setup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 08:52:35 ] :: [ BEGIN ] :: Creating tmp directory :: actually running 'tmp=$(mktemp -d)' :: [ 08:52:35 ] :: [ PASS ] :: Creating tmp directory (Expected 0, got 0) :: [ 08:52:35 ] :: [ BEGIN ] :: Running 'pushd /tmp/tmp.FCagMHFWgr' /tmp/tmp.FCagMHFWgr /var/ARTIFACTS/work-advancedm608c7wg/plans/features/advanced/discover/default-0/tests/tests/run/permissions :: [ 08:52:35 ] :: [ PASS ] :: Command 'pushd /tmp/tmp.FCagMHFWgr' (Expected 0, got 0) :: [ 08:52:35 ] :: [ BEGIN ] :: Running 'tmt init' Initialized the fmf tree root '/tmp/tmp.FCagMHFWgr/.fmf'. Use 'tmt init --template' with 'mini', 'base' or 'full' to create example content. Add tests, plans or stories with 'tmt test create', 'tmt plan create' or 'tmt story create'. :: [ 08:52:36 ] :: [ PASS ] :: Command 'tmt init' (Expected 0, got 0) :: [ 08:52:36 ] :: [ BEGIN ] :: Running 'chmod 777 -R /tmp/tmp.FCagMHFWgr' :: [ 08:52:36 ] :: [ PASS ] :: Command 'chmod 777 -R /tmp/tmp.FCagMHFWgr' (Expected 0, got 0) :: [ 08:52:36 ] :: [ BEGIN ] :: Running 'set -o pipefail' :: [ 08:52:36 ] :: [ PASS ] :: Command 'set -o pipefail' (Expected 0, got 0) :: [ 08:52:36 ] :: [ BEGIN ] :: Running 'useradd tester-144796' :: [ 08:52:36 ] :: [ PASS ] :: Command 'useradd tester-144796' (Expected 0, got 0) :: [ 08:52:36 ] :: [ BEGIN ] :: Create another tmp directory for TMT_WORKDIR_ROOT :: actually running 'tmp_workdirs=$(mktemp -d)' :: [ 08:52:36 ] :: [ PASS ] :: Create another tmp directory for TMT_WORKDIR_ROOT (Expected 0, got 0) :: [ 08:52:36 ] :: [ BEGIN ] :: Make sure the TMT_WORKDIR_ROOT base is accessible by all users :: actually running 'chmod 755 /tmp/tmp.QvVd1EUTe9' :: [ 08:52:36 ] :: [ PASS ] :: Make sure the TMT_WORKDIR_ROOT base is accessible by all users (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 1s :: Assertions: 8 good, 0 bad :: RESULT: PASS (Setup) tmt-report-result: saving /Setup output /tmp/tmp.2JodZcZdu3 into /var/ARTIFACTS/work-advancedm608c7wg/plans/features/advanced/execute/data/guest/default-0/tests/run/permissions-17/data/Setup/output.txt tmt-report-result: adding to the result file /var/ARTIFACTS/work-advancedm608c7wg/plans/features/advanced/execute/data/guest/default-0/tests/run/permissions-17/data/tmt-report-results.yaml :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Recreated correctly :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 08:52:36 ] :: [ BEGIN ] :: Set WORKDIR_ROOT for current test case :: actually running 'WORKDIR_ROOT=/tmp/tmp.QvVd1EUTe9/create' :: [ 08:52:36 ] :: [ PASS ] :: Set WORKDIR_ROOT for current test case (Expected 0, got 0) :: [ 08:52:36 ] :: [ BEGIN ] :: Running 'TMT_WORKDIR_ROOT=/tmp/tmp.QvVd1EUTe9/create tmt run' /tmp/tmp.QvVd1EUTe9/create/run-001 warn: User is feeling safe. /plan discover how: shell summary: 1 test selected provision queued provision.provision tasks #1: default-0 provision.provision task #1: default-0 how: local primary address: localhost ansible: {} multihost name: default-0 arch: x86_64 distro: Fedora Linux 45 (Cloud Edition Prerelease) queued push tasks #1: push to default-0 push task #1: push to default-0 summary: 1 guest provisioned prepare queued push tasks #1: push to default-0 push task #1: push to default-0 queued prepare tasks #1: essential-requires on default-0 prepare task #1: essential-requires on default-0 how: install summary: Install essential required packages name: essential-requires where: default-0 package: /usr/bin/flock queued pull tasks #1: pull from default-0 pull task #1: pull from default-0 summary: 1 preparation applied execute queued execute tasks #1: default-0 on default-0 execute task #1: default-0 on default-0 how: tmt summary: 1 test executed report how: display summary: 1 test passed finish queued finish tasks summary: 0 tasks completed cleanup queued cleanup tasks #1: default-0 on default-0 cleanup task #1: default-0 on default-0 how: tmt summary: 1 task completed total: 1 test passed :: [ 08:52:38 ] :: [ PASS ] :: Command 'TMT_WORKDIR_ROOT=/tmp/tmp.QvVd1EUTe9/create tmt run' (Expected 0, got 0) :: [ 08:52:38 ] :: [ PASS ] :: Correct permission (Assert: '1777' should equal '1777') :: [ 08:52:38 ] :: [ BEGIN ] :: Running 'su -l -c 'cd /tmp/tmp.FCagMHFWgr; TMT_WORKDIR_ROOT=/tmp/tmp.QvVd1EUTe9/create tmt --feeling-safe run' 'tester-144796'' /tmp/tmp.QvVd1EUTe9/create/run-002 warn: User is feeling safe. /plan discover how: shell summary: 1 test selected provision queued provision.provision tasks #1: default-0 provision.provision task #1: default-0 how: local primary address: localhost ansible: {} multihost name: default-0 arch: x86_64 distro: Fedora Linux 45 (Cloud Edition Prerelease) queued push tasks #1: push to default-0 push task #1: push to default-0 summary: 1 guest provisioned prepare queued push tasks #1: push to default-0 push task #1: push to default-0 queued prepare tasks #1: essential-requires on default-0 prepare task #1: essential-requires on default-0 how: install summary: Install essential required packages name: essential-requires where: default-0 package: /usr/bin/flock queued pull tasks #1: pull from default-0 pull task #1: pull from default-0 summary: 1 preparation applied execute queued execute tasks #1: default-0 on default-0 execute task #1: default-0 on default-0 how: tmt summary: 1 test executed report how: display summary: 1 test passed finish queued finish tasks summary: 0 tasks completed cleanup queued cleanup tasks #1: default-0 on default-0 cleanup task #1: default-0 on default-0 how: tmt summary: 1 task completed total: 1 test passed :: [ 08:52:40 ] :: [ PASS ] :: Command 'su -l -c 'cd /tmp/tmp.FCagMHFWgr; TMT_WORKDIR_ROOT=/tmp/tmp.QvVd1EUTe9/create tmt --feeling-safe run' 'tester-144796'' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 4s :: Assertions: 4 good, 0 bad :: RESULT: PASS (Recreated correctly) tmt-report-result: saving /Recreated-correctly output /tmp/tmp.hvq41Glp4m into /var/ARTIFACTS/work-advancedm608c7wg/plans/features/advanced/execute/data/guest/default-0/tests/run/permissions-17/data/Recreated-correctly/output.txt tmt-report-result: adding to the result file /var/ARTIFACTS/work-advancedm608c7wg/plans/features/advanced/execute/data/guest/default-0/tests/run/permissions-17/data/tmt-report-results.yaml :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Cleanup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 08:52:40 ] :: [ BEGIN ] :: Running 'popd' /var/ARTIFACTS/work-advancedm608c7wg/plans/features/advanced/discover/default-0/tests/tests/run/permissions :: [ 08:52:40 ] :: [ PASS ] :: Command 'popd' (Expected 0, got 0) :: [ 08:52:40 ] :: [ BEGIN ] :: Running 'pkill -u tester-144796' :: [ 08:52:40 ] :: [ PASS ] :: Command 'pkill -u tester-144796' (Expected 0,1, got 1) :: [ 08:52:40 ] :: [ BEGIN ] :: Running 'loginctl terminate-user tester-144796' Could not terminate user: User ID 1001 is not logged in or lingering :: [ 08:52:40 ] :: [ PASS ] :: Command 'loginctl terminate-user tester-144796' (Expected 0,1, got 1) :: [ 08:52:40 ] :: [ BEGIN ] :: Running 'userdel -r tester-144796' :: [ 08:52:40 ] :: [ PASS ] :: Command 'userdel -r tester-144796' (Expected 0, got 0) :: [ 08:52:40 ] :: [ BEGIN ] :: Removing tmp directory :: actually running 'rm -r /tmp/tmp.FCagMHFWgr' :: [ 08:52:40 ] :: [ PASS ] :: Removing tmp directory (Expected 0, got 0) :: [ 08:52:40 ] :: [ BEGIN ] :: Removing TMT_WORKDIR_ROOT :: actually running 'rm -r /tmp/tmp.QvVd1EUTe9' :: [ 08:52:40 ] :: [ PASS ] :: Removing TMT_WORKDIR_ROOT (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 0s :: Assertions: 6 good, 0 bad :: RESULT: PASS (Cleanup) tmt-report-result: saving /Cleanup output /tmp/tmp.TPOkMRmx1j into /var/ARTIFACTS/work-advancedm608c7wg/plans/features/advanced/execute/data/guest/default-0/tests/run/permissions-17/data/Cleanup/output.txt tmt-report-result: adding to the result file /var/ARTIFACTS/work-advancedm608c7wg/plans/features/advanced/execute/data/guest/default-0/tests/run/permissions-17/data/tmt-report-results.yaml :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: /tests/run/permissions :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 08:52:41 ] :: [ LOG ] :: Phases fingerprint: GpTeNtEf :: [ 08:52:41 ] :: [ LOG ] :: Asserts fingerprint: vIfocsyN File '/var/ARTIFACTS/work-advancedm608c7wg/plans/features/advanced/execute/data/guest/default-0/tests/run/permissions-17/journal.xml' already stored in '/var/ARTIFACTS/work-advancedm608c7wg/plans/features/advanced/execute/data/guest/default-0/tests/run/permissions-17'. :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 8s :: Phases: 3 good, 0 bad :: OVERALL RESULT: PASS (/tests/run/permissions)