:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Setup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 09:24:52 ] :: [ BEGIN ] :: Create tmp directory :: actually running 'tmp=$(mktemp -d)' :: [ 09:24:52 ] :: [ PASS ] :: Create tmp directory (Expected 0, got 0) :: [ 09:24:52 ] :: [ BEGIN ] :: Running 'config=/var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/discover/default-0/tests/tests/try/basic/config' :: [ 09:24:52 ] :: [ PASS ] :: Command 'config=/var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/discover/default-0/tests/tests/try/basic/config' (Expected 0, got 0) :: [ 09:24:52 ] :: [ BEGIN ] :: Running 'export TMT_NO_COLOR=1' :: [ 09:24:52 ] :: [ PASS ] :: Command 'export TMT_NO_COLOR=1' (Expected 0, got 0) :: [ 09:24:52 ] :: [ BEGIN ] :: Running 'pushd data' /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/discover/default-0/tests/tests/try/basic/data /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/discover/default-0/tests/tests/try/basic :: [ 09:24:52 ] :: [ PASS ] :: Command 'pushd data' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 0s :: Assertions: 4 good, 0 bad :: RESULT: PASS (Setup) tmt-report-result: saving /Setup output /tmp/tmp.4phJjp7f45 into /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/execute/data/guest/default-0/tests/try/basic-89/data/Setup/output.txt tmt-report-result: adding to the result file /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/execute/data/guest/default-0/tests/try/basic-89/data/tmt-report-results.yaml :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Default Plan :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 09:24:52 ] :: [ BEGIN ] :: Running 'TMT_CONFIG_DIR=/tmp/tmp.Ki3YMAsxdX ./local.exp' spawn tmt try fedora@local /var/tmp/tmt/run-063 Let's try /plans/environment/test, /plans/multi/test, /tests/base/bad and 6 more tests with /default/plan on fedora@local. /default/plan discover directory: /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/discover/default-0/tests/tests/try/basic/data how: fmf order: 50 cloned-commit-hash: 3dfb11a commit-hash: 3dfb11a using remote git library: url: https://github.com/beakerlib/example name: /file type: library summary: 8 tests selected /plans/environment/test /plans/multi/test /tests/base/bad /tests/base/good /tests/base/weird /tests/core/bad /tests/core/good /tests/core/weird provision queued provision.provision tasks #1: default-0 provision.provision task #1: default-0 how: local order: 50 primary address: localhost ansible: {} primary address: localhost topology address multihost name: default-0 arch: x86_64 distro: Fedora Linux 45 (Cloud Edition Prerelease) kernel: 7.1.0-0.rc5.35.fc45.x86_64 package manager: dnf5 bootc builder: dnf5 is container: no is ostree: no is image mode: no distro id: fedora distro major version: 45 is toolbox: no selinux: yes systemd: yes systemd soft-reboot: yes rsync: yes is superuser: yes can sudo: yes 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 order: 30 where: default-0 package: 1 package requested /usr/bin/flock cmd: rpm -q --whatprovides /usr/bin/flock || dnf5 install -y /usr/bin/flock stdout: util-linux-core-2.42.1-4.fc45.x86_64 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 order: 50 ignore-duration: false exit-first: false test: Test environment variables warn: Test duration is not effective due to interactive mode. duration deadline: none cmd: echo "TEST_VAR=$TEST_VAR" echo "VAR2=$VAR2" echo "VAR3=$VAR3" TEST_VAR= VAR2= VAR3= 00:00:00 pass /plans/environment/test (on default-0) [1/8] test: /plans/multi/test warn: Test duration is not effective due to interactive mode. duration deadline: none cmd: echo hi hi 00:00:00 pass /plans/multi/test (on default-0) [2/8] test: /tests/base/bad warn: Test duration is not effective due to interactive mode. duration deadline: none cmd: grep tmt /etc/os-release 00:00:00 fail /tests/base/bad (on default-0) [3/8] test: /tests/base/good warn: Test duration is not effective due to interactive mode. duration deadline: none cmd: echo "Everything's fine!" Everything's fine! 00:00:00 pass /tests/base/good (on default-0) [4/8] test: /tests/base/weird warn: Test duration is not effective due to interactive mode. duration deadline: none cmd: ls /some/weird/file ls: cannot access '/some/weird/file': No such file or directory 00:00:00 errr /tests/base/weird (on default-0) [5/8] test: /tests/core/bad warn: Test duration is not effective due to interactive mode. duration deadline: none cmd: grep tmt /etc/os-release 00:00:00 fail /tests/core/bad (on default-0) [6/8] test: /tests/core/good warn: Test duration is not effective due to interactive mode. duration deadline: none cmd: echo "Everything's fine!" Everything's fine! 00:00:00 pass /tests/core/good (on default-0) [7/8] test: /tests/core/weird warn: Test duration is not effective due to interactive mode. duration deadline: none cmd: ls /some/weird/file ls: cannot access '/some/weird/file': No such file or directory 00:00:00 errr /tests/core/weird (on default-0) [8/8] summary: 8 tests executed What do we do next? test rediscover tests and execute them again login log into the guest for experimenting host run command on the host lcd change directory on the local host, discover tests there verbose set the desired level of verbosity. debug choose a different debugging level discover gather information about tests to be executed prepare prepare the environment for testing execute run tests using the specified executor report provide test results overview and send reports finish perform the user defined finishing tasks cleanup clean up guests and prune the workdir keep exit the session but keep the run for later use quit clean up the run and quit the session > q /default/plan cleanup queued cleanup tasks #1: default-0 on default-0 cleanup task #1: default-0 on default-0 how: tmt order: 50 Prune '/default/plan' plan workdir '/var/tmp/tmt/run-063/default/plan'. summary: 1 task completed Run /var/tmp/tmt/run-063 successfully finished. Bye for now! :: [ 09:24:54 ] :: [ PASS ] :: Command 'TMT_CONFIG_DIR=/tmp/tmp.Ki3YMAsxdX ./local.exp' (Expected 0, got 0) :: [ 09:24:55 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.MWki3ii4' should contain 'Let's try.*/default/plan' :: [ 09:24:55 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.MWki3ii4' should contain 'Run .* successfully finished. Bye for now!' :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 3s :: Assertions: 3 good, 0 bad :: RESULT: PASS (Default Plan) tmt-report-result: saving /Default-Plan output /tmp/tmp.Rkvp0SvhJm into /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/execute/data/guest/default-0/tests/try/basic-89/data/Default-Plan/output.txt tmt-report-result: adding to the result file /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/execute/data/guest/default-0/tests/try/basic-89/data/tmt-report-results.yaml :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: User Plan :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 09:24:55 ] :: [ BEGIN ] :: Running 'TMT_CONFIG_DIR=/var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/discover/default-0/tests/tests/try/basic/config ./try.exp' spawn tmt try /var/tmp/tmt/run-064 Let's try /plans/environment/test, /plans/multi/test, /tests/base/bad and 6 more tests with /user/plan. /user/plan discover directory: /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/discover/default-0/tests/tests/try/basic/data how: fmf order: 50 cloned-commit-hash: 3dfb11a commit-hash: 3dfb11a using remote git library: url: https://github.com/beakerlib/example name: /file type: library summary: 8 tests selected /plans/environment/test /plans/multi/test /tests/base/bad /tests/base/good /tests/base/weird /tests/core/bad /tests/core/good /tests/core/weird provision queued provision.provision tasks #1: default-0 provision.provision task #1: default-0 how: local order: 50 primary address: localhost ansible: {} primary address: localhost topology address multihost name: default-0 arch: x86_64 distro: Fedora Linux 45 (Cloud Edition Prerelease) kernel: 7.1.0-0.rc5.35.fc45.x86_64 package manager: dnf5 bootc builder: dnf5 is container: no is ostree: no is image mode: no distro id: fedora distro major version: 45 is toolbox: no selinux: yes systemd: yes systemd soft-reboot: yes rsync: yes is superuser: yes can sudo: yes 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 #2: default-0 on default-0 prepare task #1: essential-requires on default-0 how: install summary: Install essential required packages name: essential-requires order: 30 where: default-0 package: 1 package requested /usr/bin/flock cmd: rpm -q --whatprovides /usr/bin/flock || dnf5 install -y /usr/bin/flock stdout: util-linux-core-2.42.1-4.fc45.x86_64 prepare task #2: default-0 on default-0 how: shell order: 50 overview: 1 script found script: echo custom-prepare cmd: set -eo pipefail; echo custom-prepare stdout: custom-prepare queued pull tasks #1: pull from default-0 pull task #1: pull from default-0 summary: 2 preparations applied execute queued execute tasks #1: default-0 on default-0 execute task #1: default-0 on default-0 how: tmt order: 50 ignore-duration: false exit-first: false test: Test environment variables warn: Test duration is not effective due to interactive mode. duration deadline: none cmd: echo "TEST_VAR=$TEST_VAR" echo "VAR2=$VAR2" echo "VAR3=$VAR3" TEST_VAR= VAR2= VAR3= 00:00:00 pass /plans/environment/test (on default-0) [1/8] test: /plans/multi/test warn: Test duration is not effective due to interactive mode. duration deadline: none cmd: echo hi hi 00:00:00 pass /plans/multi/test (on default-0) [2/8] test: /tests/base/bad warn: Test duration is not effective due to interactive mode. duration deadline: none cmd: grep tmt /etc/os-release 00:00:00 fail /tests/base/bad (on default-0) [3/8] test: /tests/base/good warn: Test duration is not effective due to interactive mode. duration deadline: none cmd: echo "Everything's fine!" Everything's fine! 00:00:00 pass /tests/base/good (on default-0) [4/8] test: /tests/base/weird warn: Test duration is not effective due to interactive mode. duration deadline: none cmd: ls /some/weird/file ls: cannot access '/some/weird/file': No such file or directory 00:00:00 errr /tests/base/weird (on default-0) [5/8] test: /tests/core/bad warn: Test duration is not effective due to interactive mode. duration deadline: none cmd: grep tmt /etc/os-release 00:00:00 fail /tests/core/bad (on default-0) [6/8] test: /tests/core/good warn: Test duration is not effective due to interactive mode. duration deadline: none cmd: echo "Everything's fine!" Everything's fine! 00:00:00 pass /tests/core/good (on default-0) [7/8] test: /tests/core/weird warn: Test duration is not effective due to interactive mode. duration deadline: none cmd: ls /some/weird/file ls: cannot access '/some/weird/file': No such file or directory 00:00:00 errr /tests/core/weird (on default-0) [8/8] summary: 8 tests executed What do we do next? test rediscover tests and execute them again login log into the guest for experimenting host run command on the host lcd change directory on the local host, discover tests there verbose set the desired level of verbosity. debug choose a different debugging level discover gather information about tests to be executed prepare prepare the environment for testing execute run tests using the specified executor report provide test results overview and send reports finish perform the user defined finishing tasks cleanup clean up guests and prune the workdir keep exit the session but keep the run for later use quit clean up the run and quit the session > q /user/plan cleanup queued cleanup tasks #1: default-0 on default-0 cleanup task #1: default-0 on default-0 how: tmt order: 50 Prune '/user/plan' plan workdir '/var/tmp/tmt/run-064/user/plan'. summary: 1 task completed Run /var/tmp/tmt/run-064 successfully finished. Bye for now! :: [ 09:24:57 ] :: [ PASS ] :: Command 'TMT_CONFIG_DIR=/var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/discover/default-0/tests/tests/try/basic/config ./try.exp' (Expected 0, got 0) :: [ 09:24:57 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.Q8sa43WX' should contain 'Let's try.*/user/plan' :: [ 09:24:57 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.Q8sa43WX' should contain 'Run .* successfully finished. Bye for now!' :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 2s :: Assertions: 3 good, 0 bad :: RESULT: PASS (User Plan) tmt-report-result: saving /User-Plan output /tmp/tmp.3n3j8LeKkq into /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/execute/data/guest/default-0/tests/try/basic-89/data/User-Plan/output.txt tmt-report-result: adding to the result file /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/execute/data/guest/default-0/tests/try/basic-89/data/tmt-report-results.yaml :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Adjusted User Plan :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 09:24:57 ] :: [ BEGIN ] :: Running 'TMT_CONFIG_DIR=/var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/discover/default-0/tests/tests/try/basic/config ./adjusted.exp 'off'' spawn tmt -v -c test-context=off try /var/tmp/tmt/run-065 Let's try /plans/environment/test, /plans/multi/test, /tests/base/bad and 6 more tests with /user/plan. /user/plan discover directory: /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/discover/default-0/tests/tests/try/basic/data how: fmf cloned-commit-hash: 3dfb11a commit-hash: 3dfb11a summary: 8 tests selected /plans/environment/test /plans/multi/test /tests/base/bad /tests/base/good /tests/base/weird /tests/core/bad /tests/core/good /tests/core/weird provision queued provision.provision tasks #1: default-0 provision.provision task #1: default-0 how: local primary address: localhost ansible: {} primary address: localhost topology address multihost name: default-0 arch: x86_64 distro: Fedora Linux 45 (Cloud Edition Prerelease) kernel: 7.1.0-0.rc5.35.fc45.x86_64 package manager: dnf5 bootc builder: dnf5 is container: no is ostree: no is image mode: no distro id: fedora distro major version: 45 is toolbox: no selinux: yes systemd: yes systemd soft-reboot: yes rsync: yes is superuser: yes can sudo: yes 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 #2: default-0 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: 1 package requested /usr/bin/flock prepare task #2: default-0 on default-0 how: shell overview: 1 script found script: echo custom-prepare queued pull tasks #1: pull from default-0 pull task #1: pull from default-0 summary: 2 preparations applied execute queued execute tasks #1: default-0 on default-0 execute task #1: default-0 on default-0 how: tmt warn: Test duration is not effective due to interactive mode. duration deadline: none TEST_VAR= VAR2= VAR3= 00:00:00 pass /plans/environment/test (on default-0) [1/8] warn: Test duration is not effective due to interactive mode. duration deadline: none hi 00:00:00 pass /plans/multi/test (on default-0) [2/8] warn: Test duration is not effective due to interactive mode. duration deadline: none 00:00:00 fail /tests/base/bad (on default-0) [3/8] warn: Test duration is not effective due to interactive mode. duration deadline: none Everything's fine! 00:00:00 pass /tests/base/good (on default-0) [4/8] warn: Test duration is not effective due to interactive mode. duration deadline: none ls: cannot access '/some/weird/file': No such file or directory 00:00:00 errr /tests/base/weird (on default-0) [5/8] warn: Test duration is not effective due to interactive mode. duration deadline: none 00:00:00 fail /tests/core/bad (on default-0) [6/8] warn: Test duration is not effective due to interactive mode. duration deadline: none Everything's fine! 00:00:00 pass /tests/core/good (on default-0) [7/8] warn: Test duration is not effective due to interactive mode. duration deadline: none ls: cannot access '/some/weird/file': No such file or directory 00:00:00 errr /tests/core/weird (on default-0) [8/8] summary: 8 tests executed What do we do next? test rediscover tests and execute them again login log into the guest for experimenting host run command on the host lcd change directory on the local host, discover tests there verbose set the desired level of verbosity. debug choose a different debugging level discover gather information about tests to be executed prepare prepare the environment for testing execute run tests using the specified executor report provide test results overview and send reports finish perform the user defined finishing tasks cleanup clean up guests and prune the workdir keep exit the session but keep the run for later use quit clean up the run and quit the session > q /user/plan cleanup queued cleanup tasks #1: default-0 on default-0 cleanup task #1: default-0 on default-0 how: tmt summary: 1 task completed Run /var/tmp/tmt/run-065 successfully finished. Bye for now! :: [ 09:25:00 ] :: [ PASS ] :: Command 'TMT_CONFIG_DIR=/var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/discover/default-0/tests/tests/try/basic/config ./adjusted.exp 'off'' (Expected 0, got 0) :: [ 09:25:00 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.za0auEOA' should contain 'Let's try.*/user/plan' :: [ 09:25:00 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.za0auEOA' should contain 'custom-prepare' :: [ 09:25:00 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.za0auEOA' should not contain 'adjusted-prepare' :: [ 09:25:00 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.za0auEOA' should contain 'Run .* successfully finished. Bye for now!' :: [ 09:25:00 ] :: [ BEGIN ] :: Running 'TMT_CONFIG_DIR=/var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/discover/default-0/tests/tests/try/basic/config ./adjusted.exp 'on'' spawn tmt -v -c test-context=on try /var/tmp/tmt/run-066 Let's try /plans/environment/test, /plans/multi/test, /tests/base/bad and 6 more tests with /user/plan. /user/plan discover directory: /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/discover/default-0/tests/tests/try/basic/data how: fmf cloned-commit-hash: 3dfb11a commit-hash: 3dfb11a summary: 8 tests selected /plans/environment/test /plans/multi/test /tests/base/bad /tests/base/good /tests/base/weird /tests/core/bad /tests/core/good /tests/core/weird provision queued provision.provision tasks #1: default-0 provision.provision task #1: default-0 how: local primary address: localhost ansible: {} primary address: localhost topology address multihost name: default-0 arch: x86_64 distro: Fedora Linux 45 (Cloud Edition Prerelease) kernel: 7.1.0-0.rc5.35.fc45.x86_64 package manager: dnf5 bootc builder: dnf5 is container: no is ostree: no is image mode: no distro id: fedora distro major version: 45 is toolbox: no selinux: yes systemd: yes systemd soft-reboot: yes rsync: yes is superuser: yes can sudo: yes 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 #2: default-0 on default-0 #3: default-1 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: 1 package requested /usr/bin/flock prepare task #2: default-0 on default-0 how: shell overview: 1 script found script: echo custom-prepare prepare task #3: default-1 on default-0 how: shell overview: 1 script found script: echo adjusted-prepare queued pull tasks #1: pull from default-0 pull task #1: pull from default-0 summary: 3 preparations applied execute queued execute tasks #1: default-0 on default-0 execute task #1: default-0 on default-0 how: tmt warn: Test duration is not effective due to interactive mode. duration deadline: none TEST_VAR= VAR2= VAR3= 00:00:00 pass /plans/environment/test (on default-0) [1/8] warn: Test duration is not effective due to interactive mode. duration deadline: none hi 00:00:00 pass /plans/multi/test (on default-0) [2/8] warn: Test duration is not effective due to interactive mode. duration deadline: none 00:00:00 fail /tests/base/bad (on default-0) [3/8] warn: Test duration is not effective due to interactive mode. duration deadline: none Everything's fine! 00:00:00 pass /tests/base/good (on default-0) [4/8] warn: Test duration is not effective due to interactive mode. duration deadline: none ls: cannot access '/some/weird/file': No such file or directory 00:00:00 errr /tests/base/weird (on default-0) [5/8] warn: Test duration is not effective due to interactive mode. duration deadline: none 00:00:00 fail /tests/core/bad (on default-0) [6/8] warn: Test duration is not effective due to interactive mode. duration deadline: none Everything's fine! 00:00:00 pass /tests/core/good (on default-0) [7/8] warn: Test duration is not effective due to interactive mode. duration deadline: none ls: cannot access '/some/weird/file': No such file or directory 00:00:00 errr /tests/core/weird (on default-0) [8/8] summary: 8 tests executed What do we do next? test rediscover tests and execute them again login log into the guest for experimenting host run command on the host lcd change directory on the local host, discover tests there verbose set the desired level of verbosity. debug choose a different debugging level discover gather information about tests to be executed prepare prepare the environment for testing execute run tests using the specified executor report provide test results overview and send reports finish perform the user defined finishing tasks cleanup clean up guests and prune the workdir keep exit the session but keep the run for later use quit clean up the run and quit the session > q /user/plan cleanup queued cleanup tasks #1: default-0 on default-0 cleanup task #1: default-0 on default-0 how: tmt summary: 1 task completed Run /var/tmp/tmt/run-066 successfully finished. Bye for now! :: [ 09:25:03 ] :: [ PASS ] :: Command 'TMT_CONFIG_DIR=/var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/discover/default-0/tests/tests/try/basic/config ./adjusted.exp 'on'' (Expected 0, got 0) :: [ 09:25:03 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.AMx0Qe2S' should contain 'Let's try.*/user/plan' :: [ 09:25:03 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.AMx0Qe2S' should contain 'custom-prepare' :: [ 09:25:03 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.AMx0Qe2S' should contain 'adjusted-prepare' :: [ 09:25:03 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.AMx0Qe2S' should contain 'Run .* successfully finished. Bye for now!' :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 6s :: Assertions: 10 good, 0 bad :: RESULT: PASS (Adjusted User Plan) tmt-report-result: saving /Adjusted-User-Plan output /tmp/tmp.fdp9QW9s0D into /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/execute/data/guest/default-0/tests/try/basic-89/data/Adjusted-User-Plan/output.txt tmt-report-result: adding to the result file /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/execute/data/guest/default-0/tests/try/basic-89/data/tmt-report-results.yaml :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Local Plan :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 09:25:03 ] :: [ BEGIN ] :: Running './plan.exp' spawn tmt try -p /plans/basic /var/tmp/tmt/run-067 Let's try /plans/environment/test, /plans/multi/test, /tests/base/bad and 6 more tests with /plans/basic. /plans/basic discover directory: /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/discover/default-0/tests/tests/try/basic/data how: fmf order: 50 cloned-commit-hash: 3dfb11a commit-hash: 3dfb11a using remote git library: url: https://github.com/beakerlib/example name: /file type: library summary: 8 tests selected /plans/environment/test /plans/multi/test /tests/base/bad /tests/base/good /tests/base/weird /tests/core/bad /tests/core/good /tests/core/weird provision queued provision.provision tasks #1: default-0 provision.provision task #1: default-0 how: local order: 50 primary address: localhost ansible: {} primary address: localhost topology address multihost name: default-0 arch: x86_64 distro: Fedora Linux 45 (Cloud Edition Prerelease) kernel: 7.1.0-0.rc5.35.fc45.x86_64 package manager: dnf5 bootc builder: dnf5 is container: no is ostree: no is image mode: no distro id: fedora distro major version: 45 is toolbox: no selinux: yes systemd: yes systemd soft-reboot: yes rsync: yes is superuser: yes can sudo: yes 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 order: 30 where: default-0 package: 1 package requested /usr/bin/flock cmd: rpm -q --whatprovides /usr/bin/flock || dnf5 install -y /usr/bin/flock stdout: util-linux-core-2.42.1-4.fc45.x86_64 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 order: 50 ignore-duration: false exit-first: false test: Test environment variables warn: Test duration is not effective due to interactive mode. duration deadline: none cmd: echo "TEST_VAR=$TEST_VAR" echo "VAR2=$VAR2" echo "VAR3=$VAR3" TEST_VAR= VAR2= VAR3= 00:00:00 pass /plans/environment/test (on default-0) [1/8] test: /plans/multi/test warn: Test duration is not effective due to interactive mode. duration deadline: none cmd: echo hi hi 00:00:00 pass /plans/multi/test (on default-0) [2/8] test: /tests/base/bad warn: Test duration is not effective due to interactive mode. duration deadline: none cmd: grep tmt /etc/os-release 00:00:00 fail /tests/base/bad (on default-0) [3/8] test: /tests/base/good warn: Test duration is not effective due to interactive mode. duration deadline: none cmd: echo "Everything's fine!" Everything's fine! 00:00:00 pass /tests/base/good (on default-0) [4/8] test: /tests/base/weird warn: Test duration is not effective due to interactive mode. duration deadline: none cmd: ls /some/weird/file ls: cannot access '/some/weird/file': No such file or directory 00:00:00 errr /tests/base/weird (on default-0) [5/8] test: /tests/core/bad warn: Test duration is not effective due to interactive mode. duration deadline: none cmd: grep tmt /etc/os-release 00:00:00 fail /tests/core/bad (on default-0) [6/8] test: /tests/core/good warn: Test duration is not effective due to interactive mode. duration deadline: none cmd: echo "Everything's fine!" Everything's fine! 00:00:00 pass /tests/core/good (on default-0) [7/8] test: /tests/core/weird warn: Test duration is not effective due to interactive mode. duration deadline: none cmd: ls /some/weird/file ls: cannot access '/some/weird/file': No such file or directory 00:00:00 errr /tests/core/weird (on default-0) [8/8] summary: 8 tests executed What do we do next? test rediscover tests and execute them again login log into the guest for experimenting host run command on the host lcd change directory on the local host, discover tests there verbose set the desired level of verbosity. debug choose a different debugging level discover gather information about tests to be executed prepare prepare the environment for testing execute run tests using the specified executor report provide test results overview and send reports finish perform the user defined finishing tasks cleanup clean up guests and prune the workdir keep exit the session but keep the run for later use quit clean up the run and quit the session > q /plans/basic cleanup queued cleanup tasks #1: default-0 on default-0 cleanup task #1: default-0 on default-0 how: tmt order: 50 Prune '/plans/basic' plan workdir '/var/tmp/tmt/run-067/plans/basic'. summary: 1 task completed Run /var/tmp/tmt/run-067 successfully finished. Bye for now! :: [ 09:25:06 ] :: [ PASS ] :: Command './plan.exp' (Expected 0, got 0) :: [ 09:25:06 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.9K5UYfhk' should contain 'Let's try.*/plans/basic' :: [ 09:25:06 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.9K5UYfhk' should contain 'Run .* successfully finished. Bye for now!' :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 3s :: Assertions: 3 good, 0 bad :: RESULT: PASS (Local Plan) tmt-report-result: saving /Local-Plan output /tmp/tmp.FcpyKnQOES into /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/execute/data/guest/default-0/tests/try/basic-89/data/Local-Plan/output.txt tmt-report-result: adding to the result file /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/execute/data/guest/default-0/tests/try/basic-89/data/tmt-report-results.yaml :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Local Plan (rerun) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 09:25:06 ] :: [ BEGIN ] :: Running './rerun.exp' spawn tmt try -p /plans/rerun /var/tmp/tmt/run-068 warn: /plans/rerun:context.with-library - True is not valid under any of the given schemas Let's try /plans/environment/test, /plans/multi/test, /tests/base/bad and 6 more tests with /plans/rerun. /plans/rerun discover directory: /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/discover/default-0/tests/tests/try/basic/data how: fmf order: 50 cloned-commit-hash: 3dfb11a commit-hash: 3dfb11a using remote git library: url: https://github.com/beakerlib/example name: /file type: library summary: 9 tests selected /plans/environment/test /plans/multi/test /tests/base/bad /tests/base/good /tests/base/weird /tests/core/bad /tests/core/good /tests/core/weird /tests/library provision queued provision.provision tasks #1: default-0 provision.provision task #1: default-0 how: local order: 50 primary address: localhost ansible: {} primary address: localhost topology address multihost name: default-0 arch: x86_64 distro: Fedora Linux 45 (Cloud Edition Prerelease) kernel: 7.1.0-0.rc5.35.fc45.x86_64 package manager: dnf5 bootc builder: dnf5 is container: no is ostree: no is image mode: no distro id: fedora distro major version: 45 is toolbox: no selinux: yes systemd: yes systemd soft-reboot: yes rsync: yes is superuser: yes can sudo: yes 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 #2: requires on default-0 prepare task #1: essential-requires on default-0 how: install summary: Install essential required packages name: essential-requires order: 30 where: default-0 package: 1 package requested /usr/bin/flock cmd: rpm -q --whatprovides /usr/bin/flock || dnf5 install -y /usr/bin/flock stdout: util-linux-core-2.42.1-4.fc45.x86_64 prepare task #2: requires on default-0 how: install summary: Install required packages name: requires order: 70 where: default-0 package: 2 packages requested beakerlib coreutils cmd: rpm -q --whatprovides beakerlib coreutils || dnf5 install -y beakerlib coreutils stdout: beakerlib-1.33.3-1.fc45.noarch stdout: coreutils-9.11-2.fc45.x86_64 queued pull tasks #1: pull from default-0 pull task #1: pull from default-0 summary: 2 preparations applied execute queued execute tasks #1: default-0 on default-0 execute task #1: default-0 on default-0 how: tmt order: 50 ignore-duration: false exit-first: false test: Test environment variables warn: Test duration is not effective due to interactive mode. duration deadline: none cmd: echo "TEST_VAR=$TEST_VAR" echo "VAR2=$VAR2" echo "VAR3=$VAR3" TEST_VAR= VAR2= VAR3= 00:00:00 pass /plans/environment/test (on default-0) [1/9] test: /plans/multi/test warn: Test duration is not effective due to interactive mode. duration deadline: none cmd: echo hi hi 00:00:00 pass /plans/multi/test (on default-0) [2/9] test: /tests/base/bad warn: Test duration is not effective due to interactive mode. duration deadline: none cmd: grep tmt /etc/os-release 00:00:00 fail /tests/base/bad (on default-0) [3/9] test: /tests/base/good warn: Test duration is not effective due to interactive mode. duration deadline: none cmd: echo "Everything's fine!" Everything's fine! 00:00:00 pass /tests/base/good (on default-0) [4/9] test: /tests/base/weird warn: Test duration is not effective due to interactive mode. duration deadline: none cmd: ls /some/weird/file ls: cannot access '/some/weird/file': No such file or directory 00:00:00 errr /tests/base/weird (on default-0) [5/9] test: /tests/core/bad warn: Test duration is not effective due to interactive mode. duration deadline: none cmd: grep tmt /etc/os-release 00:00:00 fail /tests/core/bad (on default-0) [6/9] test: /tests/core/good warn: Test duration is not effective due to interactive mode. duration deadline: none cmd: echo "Everything's fine!" Everything's fine! 00:00:00 pass /tests/core/good (on default-0) [7/9] test: /tests/core/weird warn: Test duration is not effective due to interactive mode. duration deadline: none cmd: ls /some/weird/file ls: cannot access '/some/weird/file': No such file or directory 00:00:00 errr /tests/core/weird (on default-0) [8/9] test: /tests/library warn: Test duration is not effective due to interactive mode. duration deadline: none cmd: ./test.sh :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Setup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 09:25:09 ] :: [ BEGIN ] :: Create tmp directory :: actually running 'tmp=$(mktemp -d)' :: [ 09:25:09 ] :: [ PASS ] :: Create tmp directory (Expected 0, got 0) :: [ 09:25:09 ] :: [ BEGIN ] :: Running 'pushd /tmp/tmp.0WKGnnHL01' /tmp/tmp.0WKGnnHL01 /var/tmp/tmt/run-068/plans/rerun/discover/default-0/tests/tests/library :: [ 09:25:09 ] :: [ PASS ] :: Command 'pushd /tmp/tmp.0WKGnnHL01' (Expected 0, got 0) :: [ 09:25:09 ] :: [ BEGIN ] :: Running 'rlImport example/file' :: [ 09:25:09 ] :: [ INFO ] :: rlImport: Found 'example/file' during upwards traversal :: [ 09:25:09 ] :: [ INFO ] :: rlImport: Will try to import example/file from /var/tmp/tmt/run-068/plans/rerun/discover/default-0/libs/example/file/lib.sh :: [ 09:25:10 ] :: [ INFO ] :: found dependencies: '' :: [ 09:25:10 ] :: [ PASS ] :: Command 'rlImport example/file' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 1s :: Assertions: 3 good, 0 bad :: RESULT: PASS (Setup) tmt-report-result: saving /Setup output /tmp/tmp.hRHJsBmQrj into /var/tmp/tmt/run-068/plans/rerun/execute/data/guest/default-0/tests/library-9/data/Setup/output.txt tmt-report-result: adding to the result file /var/tmp/tmt/run-068/plans/rerun/execute/data/guest/default-0/tests/library-9/data/tmt-report-results.yaml :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Test :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 09:25:10 ] :: [ BEGIN ] :: Running 'fileCreate fooo' :: [ 09:25:10 ] :: [ BEGIN ] :: Creating file 'fooo' :: actually running 'touch 'fooo'' :: [ 09:25:10 ] :: [ PASS ] :: Creating file 'fooo' (Expected 0, got 0) :: [ 09:25:10 ] :: [ PASS ] :: File fooo should exist :: [ 09:25:10 ] :: [ PASS ] :: Command 'fileCreate fooo' (Expected 0, got 0) :: [ 09:25:10 ] :: [ PASS ] :: File fooo should exist :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 0s :: Assertions: 4 good, 0 bad :: RESULT: PASS (Test) tmt-report-result: saving /Test output /tmp/tmp.RiiTr9sn3L into /var/tmp/tmt/run-068/plans/rerun/execute/data/guest/default-0/tests/library-9/data/Test/output.txt tmt-report-result: adding to the result file /var/tmp/tmt/run-068/plans/rerun/execute/data/guest/default-0/tests/library-9/data/tmt-report-results.yaml :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Test :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 09:25:10 ] :: [ BEGIN ] :: Running 'randomFileCreate' /tmp/tmp.aQV2TEIHjE :: [ 09:25:10 ] :: [ PASS ] :: Command 'randomFileCreate' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 0s :: Assertions: 1 good, 0 bad :: RESULT: PASS (Test) tmt-report-result: saving /Test output /tmp/tmp.0eKnkH6gTA into /var/tmp/tmt/run-068/plans/rerun/execute/data/guest/default-0/tests/library-9/data/Test/output.txt tmt-report-result: adding to the result file /var/tmp/tmt/run-068/plans/rerun/execute/data/guest/default-0/tests/library-9/data/tmt-report-results.yaml :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Cleanup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 09:25:10 ] :: [ BEGIN ] :: Running 'popd' /var/tmp/tmt/run-068/plans/rerun/discover/default-0/tests/tests/library :: [ 09:25:10 ] :: [ PASS ] :: Command 'popd' (Expected 0, got 0) :: [ 09:25:10 ] :: [ BEGIN ] :: Remove tmp directory :: actually running 'rm -r /tmp/tmp.0WKGnnHL01' :: [ 09:25:10 ] :: [ PASS ] :: Remove tmp directory (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 0s :: Assertions: 2 good, 0 bad :: RESULT: PASS (Cleanup) tmt-report-result: saving /Cleanup output /tmp/tmp.iJWt2RL2f6 into /var/tmp/tmt/run-068/plans/rerun/execute/data/guest/default-0/tests/library-9/data/Cleanup/output.txt tmt-report-result: adding to the result file /var/tmp/tmt/run-068/plans/rerun/execute/data/guest/default-0/tests/library-9/data/tmt-report-results.yaml :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: /tests/library :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 09:25:10 ] :: [ LOG ] :: Phases fingerprint: 3TFH3dbq :: [ 09:25:10 ] :: [ LOG ] :: Asserts fingerprint: 4EgrNTvG File '/var/tmp/tmt/run-068/plans/rerun/execute/data/guest/default-0/tests/library-9/journal.xml' already stored in '/var/tmp/tmt/run-068/plans/rerun/execute/data/guest/default-0/tests/library-9'. :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 2s :: Phases: 4 good, 0 bad :: OVERALL RESULT: PASS (/tests/library) 00:00:02 pass /tests/library (on default-0) [9/9] ..:..:.. pass /Setup (subresult) ..:..:.. pass /Test (subresult) ..:..:.. pass /Test (subresult) ..:..:.. pass /Cleanup (subresult) summary: 9 tests executed What do we do next? test rediscover tests and execute them again login log into the guest for experimenting host run command on the host lcd change directory on the local host, discover tests there verbose set the desired level of verbosity. debug choose a different debugging level discover gather information about tests to be executed prepare prepare the environment for testing execute run tests using the specified executor report provide test results overview and send reports finish perform the user defined finishing tasks cleanup clean up guests and prune the workdir keep exit the session but keep the run for later use quit clean up the run and quit the session > t /plans/rerun discover directory: /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/discover/default-0/tests/tests/try/basic/data how: fmf order: 50 cloned-commit-hash: 3dfb11a commit-hash: 3dfb11a using remote git library: url: https://github.com/beakerlib/example name: /file type: library summary: 9 tests selected /plans/environment/test /plans/multi/test /tests/base/bad /tests/base/good /tests/base/weird /tests/core/bad /tests/core/good /tests/core/weird /tests/library execute queued execute tasks #1: default-0 on default-0 execute task #1: default-0 on default-0 how: tmt order: 50 ignore-duration: false exit-first: false test: Test environment variables warn: Test duration is not effective due to interactive mode. duration deadline: none cmd: echo "TEST_VAR=$TEST_VAR" echo "VAR2=$VAR2" echo "VAR3=$VAR3" TEST_VAR= VAR2= VAR3= 00:00:00 pass /plans/environment/test (on default-0) [1/9] test: /plans/multi/test warn: Test duration is not effective due to interactive mode. duration deadline: none cmd: echo hi hi 00:00:00 pass /plans/multi/test (on default-0) [2/9] test: /tests/base/bad warn: Test duration is not effective due to interactive mode. duration deadline: none cmd: grep tmt /etc/os-release 00:00:00 fail /tests/base/bad (on default-0) [3/9] test: /tests/base/good warn: Test duration is not effective due to interactive mode. duration deadline: none cmd: echo "Everything's fine!" Everything's fine! 00:00:00 pass /tests/base/good (on default-0) [4/9] test: /tests/base/weird warn: Test duration is not effective due to interactive mode. duration deadline: none cmd: ls /some/weird/file ls: cannot access '/some/weird/file': No such file or directory 00:00:00 errr /tests/base/weird (on default-0) [5/9] test: /tests/core/bad warn: Test duration is not effective due to interactive mode. duration deadline: none cmd: grep tmt /etc/os-release 00:00:00 fail /tests/core/bad (on default-0) [6/9] test: /tests/core/good warn: Test duration is not effective due to interactive mode. duration deadline: none cmd: echo "Everything's fine!" Everything's fine! 00:00:00 pass /tests/core/good (on default-0) [7/9] test: /tests/core/weird warn: Test duration is not effective due to interactive mode. duration deadline: none cmd: ls /some/weird/file ls: cannot access '/some/weird/file': No such file or directory 00:00:00 errr /tests/core/weird (on default-0) [8/9] test: /tests/library warn: Test duration is not effective due to interactive mode. duration deadline: none cmd: ./test.sh :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Setup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 09:25:12 ] :: [ BEGIN ] :: Create tmp directory :: actually running 'tmp=$(mktemp -d)' :: [ 09:25:12 ] :: [ PASS ] :: Create tmp directory (Expected 0, got 0) :: [ 09:25:12 ] :: [ BEGIN ] :: Running 'pushd /tmp/tmp.nGwhjuquT2' /tmp/tmp.nGwhjuquT2 /var/tmp/tmt/run-068/plans/rerun/discover/default-0/tests/tests/library :: [ 09:25:12 ] :: [ PASS ] :: Command 'pushd /tmp/tmp.nGwhjuquT2' (Expected 0, got 0) :: [ 09:25:12 ] :: [ BEGIN ] :: Running 'rlImport example/file' :: [ 09:25:12 ] :: [ INFO ] :: rlImport: Found 'example/file' during upwards traversal :: [ 09:25:12 ] :: [ INFO ] :: rlImport: Will try to import example/file from /var/tmp/tmt/run-068/plans/rerun/discover/default-0/libs/example/file/lib.sh :: [ 09:25:13 ] :: [ INFO ] :: found dependencies: '' :: [ 09:25:13 ] :: [ PASS ] :: Command 'rlImport example/file' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 1s :: Assertions: 3 good, 0 bad :: RESULT: PASS (Setup) tmt-report-result: saving /Setup output /tmp/tmp.TP5mVXnDLs into /var/tmp/tmt/run-068/plans/rerun/execute/data/guest/default-0/tests/library-18/data/Setup/output.txt tmt-report-result: adding to the result file /var/tmp/tmt/run-068/plans/rerun/execute/data/guest/default-0/tests/library-18/data/tmt-report-results.yaml :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Test :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 09:25:13 ] :: [ BEGIN ] :: Running 'fileCreate fooo' :: [ 09:25:13 ] :: [ BEGIN ] :: Creating file 'fooo' :: actually running 'touch 'fooo'' :: [ 09:25:13 ] :: [ PASS ] :: Creating file 'fooo' (Expected 0, got 0) :: [ 09:25:13 ] :: [ PASS ] :: File fooo should exist :: [ 09:25:13 ] :: [ PASS ] :: Command 'fileCreate fooo' (Expected 0, got 0) :: [ 09:25:13 ] :: [ PASS ] :: File fooo should exist :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 0s :: Assertions: 4 good, 0 bad :: RESULT: PASS (Test) tmt-report-result: saving /Test output /tmp/tmp.RnTARwOLXf into /var/tmp/tmt/run-068/plans/rerun/execute/data/guest/default-0/tests/library-18/data/Test/output.txt tmt-report-result: adding to the result file /var/tmp/tmt/run-068/plans/rerun/execute/data/guest/default-0/tests/library-18/data/tmt-report-results.yaml :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Test :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 09:25:13 ] :: [ BEGIN ] :: Running 'randomFileCreate' /tmp/tmp.rdr6PFnY9q :: [ 09:25:13 ] :: [ PASS ] :: Command 'randomFileCreate' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 0s :: Assertions: 1 good, 0 bad :: RESULT: PASS (Test) tmt-report-result: saving /Test output /tmp/tmp.NuIWjJFZJr into /var/tmp/tmt/run-068/plans/rerun/execute/data/guest/default-0/tests/library-18/data/Test/output.txt tmt-report-result: adding to the result file /var/tmp/tmt/run-068/plans/rerun/execute/data/guest/default-0/tests/library-18/data/tmt-report-results.yaml :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Cleanup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 09:25:13 ] :: [ BEGIN ] :: Running 'popd' /var/tmp/tmt/run-068/plans/rerun/discover/default-0/tests/tests/library :: [ 09:25:13 ] :: [ PASS ] :: Command 'popd' (Expected 0, got 0) :: [ 09:25:13 ] :: [ BEGIN ] :: Remove tmp directory :: actually running 'rm -r /tmp/tmp.nGwhjuquT2' :: [ 09:25:13 ] :: [ PASS ] :: Remove tmp directory (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 0s :: Assertions: 2 good, 0 bad :: RESULT: PASS (Cleanup) tmt-report-result: saving /Cleanup output /tmp/tmp.B615TtZ1tQ into /var/tmp/tmt/run-068/plans/rerun/execute/data/guest/default-0/tests/library-18/data/Cleanup/output.txt tmt-report-result: adding to the result file /var/tmp/tmt/run-068/plans/rerun/execute/data/guest/default-0/tests/library-18/data/tmt-report-results.yaml :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: /tests/library :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 09:25:13 ] :: [ LOG ] :: Phases fingerprint: 3TFH3dbq :: [ 09:25:13 ] :: [ LOG ] :: Asserts fingerprint: 4EgrNTvG File '/var/tmp/tmt/run-068/plans/rerun/execute/data/guest/default-0/tests/library-18/journal.xml' already stored in '/var/tmp/tmt/run-068/plans/rerun/execute/data/guest/default-0/tests/library-18'. :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 2s :: Phases: 4 good, 0 bad :: OVERALL RESULT: PASS (/tests/library) 00:00:02 pass /tests/library (on default-0) [9/9] ..:..:.. pass /Setup (subresult) ..:..:.. pass /Test (subresult) ..:..:.. pass /Test (subresult) ..:..:.. pass /Cleanup (subresult) summary: 9 tests executed What do we do next? test rediscover tests and execute them again login log into the guest for experimenting host run command on the host lcd change directory on the local host, discover tests there verbose set the desired level of verbosity. debug choose a different debugging level discover gather information about tests to be executed prepare prepare the environment for testing execute run tests using the specified executor report provide test results overview and send reports finish perform the user defined finishing tasks cleanup clean up guests and prune the workdir keep exit the session but keep the run for later use quit clean up the run and quit the session > q /plans/rerun cleanup queued cleanup tasks #1: default-0 on default-0 cleanup task #1: default-0 on default-0 how: tmt order: 50 Prune '/plans/rerun' plan workdir '/var/tmp/tmt/run-068/plans/rerun'. summary: 1 task completed Run /var/tmp/tmt/run-068 successfully finished. Bye for now! :: [ 09:25:14 ] :: [ PASS ] :: Command './rerun.exp' (Expected 0, got 0) :: [ 09:25:14 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.Oyroggm9' should contain 'Let's try.*/plans/rerun' :: [ 09:25:14 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.Oyroggm9' should contain 'pass /tests/library' :: [ 09:25:14 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.Oyroggm9' should not contain 'fail /tests/library' :: [ 09:25:14 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.Oyroggm9' should contain 'Run .* successfully finished. Bye for now!' :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 8s :: Assertions: 5 good, 0 bad :: RESULT: PASS (Local Plan (rerun)) tmt-report-result: saving /Local-Plan-rerun output /tmp/tmp.GukE2VaXfT into /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/execute/data/guest/default-0/tests/try/basic-89/data/Local-Plan-rerun/output.txt tmt-report-result: adding to the result file /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/execute/data/guest/default-0/tests/try/basic-89/data/tmt-report-results.yaml :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Epel :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 09:25:14 ] :: [ BEGIN ] :: Running './epel.exp' spawn tmt try centos@container --epel -p /plans/basic /var/tmp/tmt/run-069 Let's try /plans/environment/test, /plans/multi/test, /tests/base/bad and 6 more tests with /plans/basic on centos@container. /plans/basic discover directory: /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/discover/default-0/tests/tests/try/basic/data how: fmf order: 50 cloned-commit-hash: 3dfb11a commit-hash: 3dfb11a using remote git library: url: https://github.com/beakerlib/example name: /file type: library summary: 8 tests selected /plans/environment/test /plans/multi/test /tests/base/bad /tests/base/good /tests/base/weird /tests/core/bad /tests/core/good /tests/core/weird provision queued provision.provision tasks #1: default-0 provision.provision task #1: default-0 how: container order: 50 ansible: {} image: centos primary address: tmt-069-trLseoag topology address: tmt-069-trLseoag Check for container image 'centos'. Pull image 'centos'. name: tmt-069-trLseoag Create network 'tmt-run-069-plans-basic-network'. multihost name: default-0 arch: x86_64 distro: CentOS Stream 10 (Coughlan) kernel: 7.1.0-0.rc5.35.fc45.x86_64 package manager: dnf bootc builder: dnf is container: yes is ostree: no is image mode: no distro id: centos distro major version: 10 is toolbox: no selinux: no systemd: yes systemd soft-reboot: yes rsync: no is superuser: yes can sudo: no 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 #2: tmt-try-epel on default-0 prepare task #1: essential-requires on default-0 how: install summary: Install essential required packages name: essential-requires order: 30 where: default-0 package: 2 packages requested /usr/bin/flock /usr/bin/python3 cmd: rpm -q --whatprovides /usr/bin/python3 /usr/bin/flock || dnf install -y /usr/bin/python3 /usr/bin/flock stdout: python3-3.12.13-2.el10.x86_64 stdout: util-linux-core-2.40.2-20.el10.x86_64 prepare task #2: tmt-try-epel on default-0 how: feature name: tmt-try-epel order: 50 cmd: rpm -q --whatprovides epel-release || dnf install -y epel-release stdout: no package provides epel-release stdout: CentOS Stream 10 - BaseOS 11 MB/s | 7.0 MB 00:00 stdout: CentOS Stream 10 - AppStream 5.0 MB/s | 3.6 MB 00:00 stdout: CentOS Stream 10 - Extras packages 22 kB/s | 10 kB 00:00 stdout: Dependencies resolved. stdout: ================================================================================ stdout: Package Arch Version Repository Size stdout: ================================================================================ stdout: Installing: stdout: epel-release noarch 10-5.el10s extras-common 18 k stdout: Installing weak dependencies: stdout: dnf-plugins-core noarch 4.7.0-10.el10 baseos 41 k stdout: stdout: Transaction Summary stdout: ================================================================================ stdout: Install 2 Packages stdout: stdout: Total download size: 60 k stdout: Installed size: 47 k stdout: Downloading Packages: stdout: (1/2): dnf-plugins-core-4.7.0-10.el10.noarch.rp 1.3 MB/s | 41 kB 00:00 stdout: (2/2): epel-release-10-5.el10s.noarch.rpm 346 kB/s | 18 kB 00:00 stdout: -------------------------------------------------------------------------------- stdout: Total 183 kB/s | 60 kB 00:00 stdout: CentOS Stream 10 - BaseOS 1.6 MB/s | 1.6 kB 00:00 stderr: Importing GPG key 0x8483C65D: stderr: Userid : "CentOS (CentOS Official Signing Key) " stderr: Fingerprint: 99DB 70FA E1D7 CE22 7FB6 4882 05B5 55B3 8483 C65D stderr: From : /etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial-SHA256 stdout: Key imported successfully stdout: CentOS Stream 10 - Extras packages 2.1 MB/s | 2.1 kB 00:00 stderr: Importing GPG key 0x1D997668: stderr: Userid : "CentOS Extras SIG (https://wiki.centos.org/SpecialInterestGroup) " stderr: Fingerprint: 363F C097 2F64 B699 AED3 968E 1FF6 A217 1D99 7668 stderr: From : /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Extras-SHA512 stderr: warning: Certificate 1FF6A2171D997668: stderr: Policy rejects subkey 8B5C8111FCA5D0FF: Policy rejected non-revocation signature (PrimaryKeyBinding) requiring second pre-image resistance, because SHA1 is not considered secure stdout: Key imported successfully stdout: Running transaction check stdout: Transaction check succeeded. stdout: Running transaction test stdout: Transaction test succeeded. stdout: Running transaction stdout: Preparing : 1/1 stdout: Installing : dnf-plugins-core-4.7.0-10.el10.noarch 1/2 stdout: Installing : epel-release-10-5.el10s.noarch 2/2 stdout: Running scriptlet: epel-release-10-5.el10s.noarch 2/2 stdout: Many EPEL packages require the CodeReady Builder (CRB) repository. stdout: It is recommended that you run /usr/bin/crb enable to enable the CRB repository. stdout: stdout: stdout: Installed: stdout: dnf-plugins-core-4.7.0-10.el10.noarch epel-release-10-5.el10s.noarch stdout: stdout: Complete! Enable EPEL cmd: rpm -q --whatprovides 'dnf-command(config-manager)' || dnf install -y 'dnf-command(config-manager)' stdout: dnf-plugins-core-4.7.0-10.el10.noarch enable repo: epel, epel-debuginfo and epel-source cmd: dnf config-manager --enable epel epel-debuginfo epel-source Enable CRB (EPEL dependency) cmd: FORCE_DNF=1 crb enable stdout: Enabling CRB repo stdout: CRB repo is enabled and named: crb queued pull tasks #1: pull from default-0 pull task #1: pull from default-0 summary: 2 preparations applied execute queued execute tasks #1: default-0 on default-0 execute task #1: default-0 on default-0 how: tmt order: 50 ignore-duration: false exit-first: false test: Test environment variables warn: Test duration is not effective due to interactive mode. duration deadline: none cmd: echo "TEST_VAR=$TEST_VAR" echo "VAR2=$VAR2" echo "VAR3=$VAR3" TEST_VAR= VAR2= VAR3= 00:00:00 pass /plans/environment/test (on default-0) [1/8] test: /plans/multi/test warn: Test duration is not effective due to interactive mode. duration deadline: none cmd: echo hi hi 00:00:00 pass /plans/multi/test (on default-0) [2/8] test: /tests/base/bad warn: Test duration is not effective due to interactive mode. duration deadline: none cmd: grep tmt /etc/os-release 00:00:00 fail /tests/base/bad (on default-0) [3/8] test: /tests/base/good warn: Test duration is not effective due to interactive mode. duration deadline: none cmd: echo "Everything's fine!" Everything's fine! 00:00:00 pass /tests/base/good (on default-0) [4/8] test: /tests/base/weird warn: Test duration is not effective due to interactive mode. duration deadline: none cmd: ls /some/weird/file ls: cannot access '/some/weird/file': No such file or directory 00:00:00 errr /tests/base/weird (on default-0) [5/8] test: /tests/core/bad warn: Test duration is not effective due to interactive mode. duration deadline: none cmd: grep tmt /etc/os-release 00:00:00 fail /tests/core/bad (on default-0) [6/8] test: /tests/core/good warn: Test duration is not effective due to interactive mode. duration deadline: none cmd: echo "Everything's fine!" Everything's fine! 00:00:00 pass /tests/core/good (on default-0) [7/8] test: /tests/core/weird warn: Test duration is not effective due to interactive mode. duration deadline: none cmd: ls /some/weird/file ls: cannot access '/some/weird/file': No such file or directory 00:00:00 errr /tests/core/weird (on default-0) [8/8] summary: 8 tests executed What do we do next? test rediscover tests and execute them again login log into the guest for experimenting host run command on the host lcd change directory on the local host, discover tests there verbose set the desired level of verbosity. debug choose a different debugging level discover gather information about tests to be executed prepare prepare the environment for testing execute run tests using the specified executor report provide test results overview and send reports finish perform the user defined finishing tasks cleanup clean up guests and prune the workdir keep exit the session but keep the run for later use quit clean up the run and quit the session > q /plans/basic cleanup queued cleanup tasks #1: default-0 on default-0 cleanup task #1: default-0 on default-0 how: tmt order: 50 container: stopped container: removed Remove network 'tmt-run-069-plans-basic-network'. container: network removed Prune '/plans/basic' plan workdir '/var/tmp/tmt/run-069/plans/basic'. summary: 1 task completed Run /var/tmp/tmt/run-069 successfully finished. Bye for now! :: [ 09:25:44 ] :: [ PASS ] :: Command './epel.exp' (Expected 0, got 0) :: [ 09:25:44 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.1EZna5fO' should contain 'Let's try.*/plans/basic' :: [ 09:25:44 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.1EZna5fO' should contain 'Enable EPEL' :: [ 09:25:44 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.1EZna5fO' should contain 'cmd: dnf config-manager --enable epel' :: [ 09:25:44 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.1EZna5fO' should contain 'Enable CRB (EPEL dependency)' :: [ 09:25:44 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.1EZna5fO' should contain 'stdout: CRB repo is enabled and named: crb' :: [ 09:25:44 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.1EZna5fO' should contain 'Run .* successfully finished. Bye for now!' :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 30s :: Assertions: 7 good, 0 bad :: RESULT: PASS (Epel) tmt-report-result: saving /Epel output /tmp/tmp.IBujJl5Flf into /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/execute/data/guest/default-0/tests/try/basic-89/data/Epel/output.txt tmt-report-result: adding to the result file /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/execute/data/guest/default-0/tests/try/basic-89/data/tmt-report-results.yaml :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Install :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 09:25:44 ] :: [ BEGIN ] :: Running './install.exp' spawn tmt try fedora@container --install tree -p /plans/basic /var/tmp/tmt/run-070 Let's try /plans/environment/test, /plans/multi/test, /tests/base/bad and 6 more tests with /plans/basic on fedora@container. /plans/basic discover directory: /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/discover/default-0/tests/tests/try/basic/data how: fmf order: 50 cloned-commit-hash: 3dfb11a commit-hash: 3dfb11a using remote git library: url: https://github.com/beakerlib/example name: /file type: library summary: 8 tests selected /plans/environment/test /plans/multi/test /tests/base/bad /tests/base/good /tests/base/weird /tests/core/bad /tests/core/good /tests/core/weird provision queued provision.provision tasks #1: default-0 provision.provision task #1: default-0 how: container order: 50 ansible: {} primary address: tmt-070-DboKdNtW topology address: tmt-070-DboKdNtW Check for container image 'fedora'. name: tmt-070-DboKdNtW Create network 'tmt-run-070-plans-basic-network'. multihost name: default-0 arch: x86_64 distro: Fedora Linux 44 (Container Image) kernel: 7.1.0-0.rc5.35.fc45.x86_64 package manager: dnf5 bootc builder: dnf5 is container: yes is ostree: no is image mode: no distro id: fedora distro major version: 44 is toolbox: no selinux: no systemd: no systemd soft-reboot: no rsync: no is superuser: yes can sudo: yes 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 #2: tmt-try-install on default-0 prepare task #1: essential-requires on default-0 how: install summary: Install essential required packages name: essential-requires order: 30 where: default-0 package: 1 package requested /usr/bin/flock cmd: rpm -q --whatprovides /usr/bin/flock || dnf5 install -y /usr/bin/flock stdout: util-linux-core-2.41.4-8.fc44.x86_64 prepare task #2: tmt-try-install on default-0 how: install name: tmt-try-install order: 50 package: 1 package requested tree cmd: rpm -q --whatprovides tree || dnf5 install -y tree stdout: no package provides tree stderr: Updating and loading repositories: stderr: Fedora 44 openh264 (From Cisco) - x86_ 100% | 5.2 KiB/s | 5.3 KiB | 00m01s stderr: Fedora 44 - x86_64 - Updates 100% | 6.9 MiB/s | 8.5 MiB | 00m01s stderr: Fedora 44 - x86_64 100% | 19.3 MiB/s | 38.3 MiB | 00m02s stderr: Repositories loaded. stderr: Total size of inbound packages is 63 KiB. Need to download 63 KiB. stderr: After this operation, 120 KiB extra will be used (install 120 KiB, remove 0 B). stdout: Package Arch Version Repository Size stdout: Installing: stdout: tree x86_64 0:2.2.1-4.fc44 fedora 120.0 KiB stdout: stdout: Transaction Summary: stdout: Installing: 1 package stdout: stderr: [1/1] tree-0:2.2.1-4.fc44.x86_64 100% | 720.2 KiB/s | 62.7 KiB | 00m00s stderr: -------------------------------------------------------------------------------- stderr: [1/1] Total 100% | 681.0 KiB/s | 62.7 KiB | 00m00s stderr: Running transaction stderr: [1/3] Verify package files 100% | 0.0 B/s | 1.0 B | 00m00s stderr: [2/3] Prepare transaction 100% | 16.0 B/s | 1.0 B | 00m00s stderr: [3/3] Installing tree-0:2.2.1-4.fc44.x8 100% | 632.2 KiB/s | 121.4 KiB | 00m00s stderr: Complete! queued pull tasks #1: pull from default-0 pull task #1: pull from default-0 summary: 2 preparations applied execute queued execute tasks #1: default-0 on default-0 execute task #1: default-0 on default-0 how: tmt order: 50 ignore-duration: false exit-first: false test: Test environment variables warn: Test duration is not effective due to interactive mode. duration deadline: none cmd: echo "TEST_VAR=$TEST_VAR" echo "VAR2=$VAR2" echo "VAR3=$VAR3" TEST_VAR= VAR2= VAR3= 00:00:00 pass /plans/environment/test (on default-0) [1/8] test: /plans/multi/test warn: Test duration is not effective due to interactive mode. duration deadline: none cmd: echo hi hi 00:00:00 pass /plans/multi/test (on default-0) [2/8] test: /tests/base/bad warn: Test duration is not effective due to interactive mode. duration deadline: none cmd: grep tmt /etc/os-release 00:00:00 fail /tests/base/bad (on default-0) [3/8] test: /tests/base/good warn: Test duration is not effective due to interactive mode. duration deadline: none cmd: echo "Everything's fine!" Everything's fine! 00:00:00 pass /tests/base/good (on default-0) [4/8] test: /tests/base/weird warn: Test duration is not effective due to interactive mode. duration deadline: none cmd: ls /some/weird/file ls: cannot access '/some/weird/file': No such file or directory 00:00:00 errr /tests/base/weird (on default-0) [5/8] test: /tests/core/bad warn: Test duration is not effective due to interactive mode. duration deadline: none cmd: grep tmt /etc/os-release 00:00:00 fail /tests/core/bad (on default-0) [6/8] test: /tests/core/good warn: Test duration is not effective due to interactive mode. duration deadline: none cmd: echo "Everything's fine!" Everything's fine! 00:00:00 pass /tests/core/good (on default-0) [7/8] test: /tests/core/weird warn: Test duration is not effective due to interactive mode. duration deadline: none cmd: ls /some/weird/file ls: cannot access '/some/weird/file': No such file or directory 00:00:00 errr /tests/core/weird (on default-0) [8/8] summary: 8 tests executed What do we do next? test rediscover tests and execute them again login log into the guest for experimenting host run command on the host lcd change directory on the local host, discover tests there verbose set the desired level of verbosity. debug choose a different debugging level discover gather information about tests to be executed prepare prepare the environment for testing execute run tests using the specified executor report provide test results overview and send reports finish perform the user defined finishing tasks cleanup clean up guests and prune the workdir keep exit the session but keep the run for later use quit clean up the run and quit the session > q /plans/basic cleanup queued cleanup tasks #1: default-0 on default-0 cleanup task #1: default-0 on default-0 how: tmt order: 50 container: stopped container: removed Remove network 'tmt-run-070-plans-basic-network'. container: network removed Prune '/plans/basic' plan workdir '/var/tmp/tmt/run-070/plans/basic'. summary: 1 task completed Run /var/tmp/tmt/run-070 successfully finished. Bye for now! :: [ 09:26:08 ] :: [ PASS ] :: Command './install.exp' (Expected 0, got 0) :: [ 09:26:08 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.6zYvgAfW' should contain 'Let's try.*/plans/basic' :: [ 09:26:08 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.6zYvgAfW' should contain 'cmd: rpm -q --whatprovides tree || dnf.* install -y tree' :: [ 09:26:08 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.6zYvgAfW' should contain 'Run .* successfully finished. Bye for now!' :: [ 09:26:08 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.6zYvgAfW' should contain 'container: stopped' :: [ 09:26:08 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.6zYvgAfW' should contain 'container: removed' :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 24s :: Assertions: 6 good, 0 bad :: RESULT: PASS (Install) tmt-report-result: saving /Install output /tmp/tmp.J4NKxDkcDw into /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/execute/data/guest/default-0/tests/try/basic-89/data/Install/output.txt tmt-report-result: adding to the result file /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/execute/data/guest/default-0/tests/try/basic-89/data/tmt-report-results.yaml :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Verbose Output :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 09:26:09 ] :: [ BEGIN ] :: Running 'TMT_CONFIG_DIR=/var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/discover/default-0/tests/tests/try/basic/config ./verbose.exp' spawn tmt -v try /var/tmp/tmt/run-071 Let's try /plans/environment/test, /plans/multi/test, /tests/base/bad and 6 more tests with /user/plan. /user/plan discover directory: /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/discover/default-0/tests/tests/try/basic/data how: fmf cloned-commit-hash: 3dfb11a commit-hash: 3dfb11a summary: 8 tests selected /plans/environment/test /plans/multi/test /tests/base/bad /tests/base/good /tests/base/weird /tests/core/bad /tests/core/good /tests/core/weird provision queued provision.provision tasks #1: default-0 provision.provision task #1: default-0 how: local primary address: localhost ansible: {} primary address: localhost topology address multihost name: default-0 arch: x86_64 distro: Fedora Linux 45 (Cloud Edition Prerelease) kernel: 7.1.0-0.rc5.35.fc45.x86_64 package manager: dnf5 bootc builder: dnf5 is container: no is ostree: no is image mode: no distro id: fedora distro major version: 45 is toolbox: no selinux: yes systemd: yes systemd soft-reboot: yes rsync: yes is superuser: yes can sudo: yes 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 #2: default-0 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: 1 package requested /usr/bin/flock prepare task #2: default-0 on default-0 how: shell overview: 1 script found script: echo custom-prepare queued pull tasks #1: pull from default-0 pull task #1: pull from default-0 summary: 2 preparations applied execute queued execute tasks #1: default-0 on default-0 execute task #1: default-0 on default-0 how: tmt warn: Test duration is not effective due to interactive mode. duration deadline: none TEST_VAR= VAR2= VAR3= 00:00:00 pass /plans/environment/test (on default-0) [1/8] warn: Test duration is not effective due to interactive mode. duration deadline: none hi 00:00:00 pass /plans/multi/test (on default-0) [2/8] warn: Test duration is not effective due to interactive mode. duration deadline: none 00:00:00 fail /tests/base/bad (on default-0) [3/8] warn: Test duration is not effective due to interactive mode. duration deadline: none Everything's fine! 00:00:00 pass /tests/base/good (on default-0) [4/8] warn: Test duration is not effective due to interactive mode. duration deadline: none ls: cannot access '/some/weird/file': No such file or directory 00:00:00 errr /tests/base/weird (on default-0) [5/8] warn: Test duration is not effective due to interactive mode. duration deadline: none 00:00:00 fail /tests/core/bad (on default-0) [6/8] warn: Test duration is not effective due to interactive mode. duration deadline: none Everything's fine! 00:00:00 pass /tests/core/good (on default-0) [7/8] warn: Test duration is not effective due to interactive mode. duration deadline: none ls: cannot access '/some/weird/file': No such file or directory 00:00:00 errr /tests/core/weird (on default-0) [8/8] summary: 8 tests executed What do we do next? test rediscover tests and execute them again login log into the guest for experimenting host run command on the host lcd change directory on the local host, discover tests there verbose set the desired level of verbosity. debug choose a different debugging level discover gather information about tests to be executed prepare prepare the environment for testing execute run tests using the specified executor report provide test results overview and send reports finish perform the user defined finishing tasks cleanup clean up guests and prune the workdir keep exit the session but keep the run for later use quit clean up the run and quit the session > q /user/plan cleanup queued cleanup tasks #1: default-0 on default-0 cleanup task #1: default-0 on default-0 how: tmt summary: 1 task completed Run /var/tmp/tmt/run-071 successfully finished. Bye for now! :: [ 09:26:11 ] :: [ PASS ] :: Command 'TMT_CONFIG_DIR=/var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/discover/default-0/tests/tests/try/basic/config ./verbose.exp' (Expected 0, got 0) :: [ 09:26:11 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.gEYP1sWE' should contain 'custom-prepare' :: [ 09:26:11 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.gEYP1sWE' should contain 'fail.*/tests/base/bad' :: [ 09:26:11 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.gEYP1sWE' should contain 'pass.*/tests/base/good' :: [ 09:26:11 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.gEYP1sWE' should contain 'errr.*/tests/base/weird' :: [ 09:26:11 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.gEYP1sWE' should contain 'Run .* successfully finished. Bye for now!' :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 2s :: Assertions: 6 good, 0 bad :: RESULT: PASS (Verbose Output) tmt-report-result: saving /Verbose-Output output /tmp/tmp.8tp1MjuKOj into /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/execute/data/guest/default-0/tests/try/basic-89/data/Verbose-Output/output.txt tmt-report-result: adding to the result file /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/execute/data/guest/default-0/tests/try/basic-89/data/tmt-report-results.yaml :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Report Results :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 09:26:11 ] :: [ BEGIN ] :: Running './report.exp' spawn tmt -v try -p plan /var/tmp/tmt/run-072 warn: /plans/rerun:context.with-library - True is not valid under any of the given schemas Let's try /plans/environment/test, /plans/multi/test, /tests/base/bad and 6 more tests with /plans/basic, /plans/environment/plan, /plans/multi/plan/one and 2 more plans. /plans/basic discover directory: /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/discover/default-0/tests/tests/try/basic/data how: fmf cloned-commit-hash: 3dfb11a commit-hash: 3dfb11a summary: 8 tests selected /plans/environment/test /plans/multi/test /tests/base/bad /tests/base/good /tests/base/weird /tests/core/bad /tests/core/good /tests/core/weird provision queued provision.provision tasks #1: default-0 provision.provision task #1: default-0 how: local primary address: localhost ansible: {} primary address: localhost topology address multihost name: default-0 arch: x86_64 distro: Fedora Linux 45 (Cloud Edition Prerelease) kernel: 7.1.0-0.rc5.35.fc45.x86_64 package manager: dnf5 bootc builder: dnf5 is container: no is ostree: no is image mode: no distro id: fedora distro major version: 45 is toolbox: no selinux: yes systemd: yes systemd soft-reboot: yes rsync: yes is superuser: yes can sudo: yes 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: 1 package requested /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 warn: Test duration is not effective due to interactive mode. duration deadline: none TEST_VAR= VAR2= VAR3= 00:00:00 pass /plans/environment/test (on default-0) [1/8] warn: Test duration is not effective due to interactive mode. duration deadline: none hi 00:00:00 pass /plans/multi/test (on default-0) [2/8] warn: Test duration is not effective due to interactive mode. duration deadline: none 00:00:00 fail /tests/base/bad (on default-0) [3/8] warn: Test duration is not effective due to interactive mode. duration deadline: none Everything's fine! 00:00:00 pass /tests/base/good (on default-0) [4/8] warn: Test duration is not effective due to interactive mode. duration deadline: none ls: cannot access '/some/weird/file': No such file or directory 00:00:00 errr /tests/base/weird (on default-0) [5/8] warn: Test duration is not effective due to interactive mode. duration deadline: none 00:00:00 fail /tests/core/bad (on default-0) [6/8] warn: Test duration is not effective due to interactive mode. duration deadline: none Everything's fine! 00:00:00 pass /tests/core/good (on default-0) [7/8] warn: Test duration is not effective due to interactive mode. duration deadline: none ls: cannot access '/some/weird/file': No such file or directory 00:00:00 errr /tests/core/weird (on default-0) [8/8] summary: 8 tests executed /plans/environment/plan discover how: shell summary: 0 tests selected provision queued provision.provision tasks #1: default-0 provision.provision task #1: default-0 how: local primary address: localhost ansible: {} primary address: localhost topology address multihost name: default-0 arch: x86_64 distro: Fedora Linux 45 (Cloud Edition Prerelease) kernel: 7.1.0-0.rc5.35.fc45.x86_64 package manager: dnf5 bootc builder: dnf5 is container: no is ostree: no is image mode: no distro id: fedora distro major version: 45 is toolbox: no selinux: yes systemd: yes systemd soft-reboot: yes rsync: yes is superuser: yes can sudo: yes 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: 1 package requested /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: 0 tests executed /plans/multi/plan/one summary: Plan One discover how: shell summary: 0 tests selected provision queued provision.provision tasks #1: default-0 provision.provision task #1: default-0 how: local primary address: localhost ansible: {} primary address: localhost topology address multihost name: default-0 arch: x86_64 distro: Fedora Linux 45 (Cloud Edition Prerelease) kernel: 7.1.0-0.rc5.35.fc45.x86_64 package manager: dnf5 bootc builder: dnf5 is container: no is ostree: no is image mode: no distro id: fedora distro major version: 45 is toolbox: no selinux: yes systemd: yes systemd soft-reboot: yes rsync: yes is superuser: yes can sudo: yes 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: 1 package requested /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: 0 tests executed /plans/multi/plan/two summary: Plan Two discover how: shell summary: 0 tests selected provision queued provision.provision tasks #1: default-0 provision.provision task #1: default-0 how: local primary address: localhost ansible: {} primary address: localhost topology address multihost name: default-0 arch: x86_64 distro: Fedora Linux 45 (Cloud Edition Prerelease) kernel: 7.1.0-0.rc5.35.fc45.x86_64 package manager: dnf5 bootc builder: dnf5 is container: no is ostree: no is image mode: no distro id: fedora distro major version: 45 is toolbox: no selinux: yes systemd: yes systemd soft-reboot: yes rsync: yes is superuser: yes can sudo: yes 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: 1 package requested /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: 0 tests executed /plans/rerun discover directory: /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/discover/default-0/tests/tests/try/basic/data how: fmf cloned-commit-hash: 3dfb11a commit-hash: 3dfb11a summary: 9 tests selected /plans/environment/test /plans/multi/test /tests/base/bad /tests/base/good /tests/base/weird /tests/core/bad /tests/core/good /tests/core/weird /tests/library provision queued provision.provision tasks #1: default-0 provision.provision task #1: default-0 how: local primary address: localhost ansible: {} primary address: localhost topology address multihost name: default-0 arch: x86_64 distro: Fedora Linux 45 (Cloud Edition Prerelease) kernel: 7.1.0-0.rc5.35.fc45.x86_64 package manager: dnf5 bootc builder: dnf5 is container: no is ostree: no is image mode: no distro id: fedora distro major version: 45 is toolbox: no selinux: yes systemd: yes systemd soft-reboot: yes rsync: yes is superuser: yes can sudo: yes 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 #2: 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: 1 package requested /usr/bin/flock prepare task #2: requires on default-0 how: install summary: Install required packages name: requires where: default-0 package: 2 packages requested beakerlib coreutils queued pull tasks #1: pull from default-0 pull task #1: pull from default-0 summary: 2 preparations applied execute queued execute tasks #1: default-0 on default-0 execute task #1: default-0 on default-0 how: tmt warn: Test duration is not effective due to interactive mode. duration deadline: none TEST_VAR= VAR2= VAR3= 00:00:00 pass /plans/environment/test (on default-0) [1/9] warn: Test duration is not effective due to interactive mode. duration deadline: none hi 00:00:00 pass /plans/multi/test (on default-0) [2/9] warn: Test duration is not effective due to interactive mode. duration deadline: none 00:00:00 fail /tests/base/bad (on default-0) [3/9] warn: Test duration is not effective due to interactive mode. duration deadline: none Everything's fine! 00:00:00 pass /tests/base/good (on default-0) [4/9] warn: Test duration is not effective due to interactive mode. duration deadline: none ls: cannot access '/some/weird/file': No such file or directory 00:00:00 errr /tests/base/weird (on default-0) [5/9] warn: Test duration is not effective due to interactive mode. duration deadline: none 00:00:00 fail /tests/core/bad (on default-0) [6/9] warn: Test duration is not effective due to interactive mode. duration deadline: none Everything's fine! 00:00:00 pass /tests/core/good (on default-0) [7/9] warn: Test duration is not effective due to interactive mode. duration deadline: none ls: cannot access '/some/weird/file': No such file or directory 00:00:00 errr /tests/core/weird (on default-0) [8/9] warn: Test duration is not effective due to interactive mode. duration deadline: none :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Setup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 09:26:17 ] :: [ BEGIN ] :: Create tmp directory :: actually running 'tmp=$(mktemp -d)' :: [ 09:26:17 ] :: [ PASS ] :: Create tmp directory (Expected 0, got 0) :: [ 09:26:17 ] :: [ BEGIN ] :: Running 'pushd /tmp/tmp.Eq8PMTVerd' /tmp/tmp.Eq8PMTVerd /var/tmp/tmt/run-072/plans/rerun/discover/default-0/tests/tests/library :: [ 09:26:17 ] :: [ PASS ] :: Command 'pushd /tmp/tmp.Eq8PMTVerd' (Expected 0, got 0) :: [ 09:26:17 ] :: [ BEGIN ] :: Running 'rlImport example/file' :: [ 09:26:17 ] :: [ INFO ] :: rlImport: Found 'example/file' during upwards traversal :: [ 09:26:17 ] :: [ INFO ] :: rlImport: Will try to import example/file from /var/tmp/tmt/run-072/plans/rerun/discover/default-0/libs/example/file/lib.sh :: [ 09:26:17 ] :: [ INFO ] :: found dependencies: '' :: [ 09:26:17 ] :: [ PASS ] :: Command 'rlImport example/file' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 0s :: Assertions: 3 good, 0 bad :: RESULT: PASS (Setup) tmt-report-result: saving /Setup output /tmp/tmp.2nz5Cfppoy into /var/tmp/tmt/run-072/plans/rerun/execute/data/guest/default-0/tests/library-9/data/Setup/output.txt tmt-report-result: adding to the result file /var/tmp/tmt/run-072/plans/rerun/execute/data/guest/default-0/tests/library-9/data/tmt-report-results.yaml :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Test :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 09:26:18 ] :: [ BEGIN ] :: Running 'fileCreate fooo' :: [ 09:26:18 ] :: [ BEGIN ] :: Creating file 'fooo' :: actually running 'touch 'fooo'' :: [ 09:26:18 ] :: [ PASS ] :: Creating file 'fooo' (Expected 0, got 0) :: [ 09:26:18 ] :: [ PASS ] :: File fooo should exist :: [ 09:26:18 ] :: [ PASS ] :: Command 'fileCreate fooo' (Expected 0, got 0) :: [ 09:26:18 ] :: [ PASS ] :: File fooo should exist :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 0s :: Assertions: 4 good, 0 bad :: RESULT: PASS (Test) tmt-report-result: saving /Test output /tmp/tmp.8aUuVnchCt into /var/tmp/tmt/run-072/plans/rerun/execute/data/guest/default-0/tests/library-9/data/Test/output.txt tmt-report-result: adding to the result file /var/tmp/tmt/run-072/plans/rerun/execute/data/guest/default-0/tests/library-9/data/tmt-report-results.yaml :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Test :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 09:26:18 ] :: [ BEGIN ] :: Running 'randomFileCreate' /tmp/tmp.XgXqwVMSJT :: [ 09:26:18 ] :: [ PASS ] :: Command 'randomFileCreate' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 0s :: Assertions: 1 good, 0 bad :: RESULT: PASS (Test) tmt-report-result: saving /Test output /tmp/tmp.aSOLjQeQl4 into /var/tmp/tmt/run-072/plans/rerun/execute/data/guest/default-0/tests/library-9/data/Test/output.txt tmt-report-result: adding to the result file /var/tmp/tmt/run-072/plans/rerun/execute/data/guest/default-0/tests/library-9/data/tmt-report-results.yaml :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Cleanup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 09:26:18 ] :: [ BEGIN ] :: Running 'popd' /var/tmp/tmt/run-072/plans/rerun/discover/default-0/tests/tests/library :: [ 09:26:18 ] :: [ PASS ] :: Command 'popd' (Expected 0, got 0) :: [ 09:26:18 ] :: [ BEGIN ] :: Remove tmp directory :: actually running 'rm -r /tmp/tmp.Eq8PMTVerd' :: [ 09:26:18 ] :: [ PASS ] :: Remove tmp directory (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 0s :: Assertions: 2 good, 0 bad :: RESULT: PASS (Cleanup) tmt-report-result: saving /Cleanup output /tmp/tmp.5G7uaJOrHg into /var/tmp/tmt/run-072/plans/rerun/execute/data/guest/default-0/tests/library-9/data/Cleanup/output.txt tmt-report-result: adding to the result file /var/tmp/tmt/run-072/plans/rerun/execute/data/guest/default-0/tests/library-9/data/tmt-report-results.yaml :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: /tests/library :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 09:26:18 ] :: [ LOG ] :: Phases fingerprint: 3TFH3dbq :: [ 09:26:18 ] :: [ LOG ] :: Asserts fingerprint: 4EgrNTvG File '/var/tmp/tmt/run-072/plans/rerun/execute/data/guest/default-0/tests/library-9/journal.xml' already stored in '/var/tmp/tmt/run-072/plans/rerun/execute/data/guest/default-0/tests/library-9'. :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 2s :: Phases: 4 good, 0 bad :: OVERALL RESULT: PASS (/tests/library) 00:00:02 pass /tests/library (on default-0) [9/9] ..:..:.. pass /Setup (subresult) ..:..:.. pass /Test (subresult) ..:..:.. pass /Test (subresult) ..:..:.. pass /Cleanup (subresult) summary: 9 tests executed What do we do next? test rediscover tests and execute them again login log into the guest for experimenting host run command on the host lcd change directory on the local host, discover tests there verbose set the desired level of verbosity. debug choose a different debugging level discover gather information about tests to be executed prepare prepare the environment for testing execute run tests using the specified executor report provide test results overview and send reports finish perform the user defined finishing tasks cleanup clean up guests and prune the workdir keep exit the session but keep the run for later use quit clean up the run and quit the session > r /plans/basic report how: display prepare execute 00:00:00 pass /plans/environment/test 00:00:00 pass /plans/multi/test 00:00:00 fail /tests/base/bad 00:00:00 pass /tests/base/good 00:00:00 errr /tests/base/weird 00:00:00 fail /tests/core/bad 00:00:00 pass /tests/core/good 00:00:00 errr /tests/core/weird summary: 4 tests passed, 2 tests failed and 2 errors /plans/environment/plan report how: display prepare execute summary: no results found /plans/multi/plan/one summary: Plan One report how: display prepare execute summary: no results found /plans/multi/plan/two summary: Plan Two report how: display prepare execute summary: no results found /plans/rerun report how: display prepare execute 00:00:00 pass /plans/environment/test 00:00:00 pass /plans/multi/test 00:00:00 fail /tests/base/bad 00:00:00 pass /tests/base/good 00:00:00 errr /tests/base/weird 00:00:00 fail /tests/core/bad 00:00:00 pass /tests/core/good 00:00:00 errr /tests/core/weird 00:00:02 pass /tests/library ..:..:.. pass /Setup (subresult) ..:..:.. pass /Test (subresult) ..:..:.. pass /Test (subresult) ..:..:.. pass /Cleanup (subresult) summary: 5 tests passed, 2 tests failed and 2 errors What do we do next? test rediscover tests and execute them again login log into the guest for experimenting host run command on the host lcd change directory on the local host, discover tests there verbose set the desired level of verbosity. debug choose a different debugging level discover gather information about tests to be executed prepare prepare the environment for testing execute run tests using the specified executor report provide test results overview and send reports finish perform the user defined finishing tasks cleanup clean up guests and prune the workdir keep exit the session but keep the run for later use quit clean up the run and quit the session > q /plans/basic cleanup queued cleanup tasks #1: default-0 on default-0 cleanup task #1: default-0 on default-0 how: tmt summary: 1 task completed Run /var/tmp/tmt/run-072 successfully finished. Bye for now! /plans/environment/plan cleanup queued cleanup tasks #1: default-0 on default-0 cleanup task #1: default-0 on default-0 how: tmt summary: 1 task completed Run /var/tmp/tmt/run-072 successfully finished. Bye for now! /plans/multi/plan/one summary: Plan One cleanup queued cleanup tasks #1: default-0 on default-0 cleanup task #1: default-0 on default-0 how: tmt summary: 1 task completed Run /var/tmp/tmt/run-072 successfully finished. Bye for now! /plans/multi/plan/two summary: Plan Two cleanup queued cleanup tasks #1: default-0 on default-0 cleanup task #1: default-0 on default-0 how: tmt summary: 1 task completed Run /var/tmp/tmt/run-072 successfully finished. Bye for now! /plans/rerun cleanup queued cleanup tasks #1: default-0 on default-0 cleanup task #1: default-0 on default-0 how: tmt summary: 1 task completed Run /var/tmp/tmt/run-072 successfully finished. Bye for now! :: [ 09:26:19 ] :: [ PASS ] :: Command './report.exp' (Expected 0, got 0) :: [ 09:26:19 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.xBVqQ6ec' should contain 'fail /tests/base/bad' :: [ 09:26:19 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.xBVqQ6ec' should contain 'pass /tests/base/good' :: [ 09:26:19 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.xBVqQ6ec' should contain 'errr /tests/base/weird' :: [ 09:26:19 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.xBVqQ6ec' should contain 'summary: 8 tests executed' :: [ 09:26:19 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.xBVqQ6ec' should contain 'summary: 4 tests passed, 2 tests failed and 2 errors' :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 8s :: Assertions: 6 good, 0 bad :: RESULT: PASS (Report Results) tmt-report-result: saving /Report-Results output /tmp/tmp.NqW03sXTju into /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/execute/data/guest/default-0/tests/try/basic-89/data/Report-Results/output.txt tmt-report-result: adding to the result file /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/execute/data/guest/default-0/tests/try/basic-89/data/tmt-report-results.yaml :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Keep :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 09:26:19 ] :: [ BEGIN ] :: Quit the session :: actually running './keep.exp' spawn tmt try -p plans/basic /var/tmp/tmt/run-073 Let's try /plans/environment/test, /plans/multi/test, /tests/base/bad and 6 more tests with /plans/basic. /plans/basic discover directory: /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/discover/default-0/tests/tests/try/basic/data how: fmf order: 50 cloned-commit-hash: 3dfb11a commit-hash: 3dfb11a using remote git library: url: https://github.com/beakerlib/example name: /file type: library summary: 8 tests selected /plans/environment/test /plans/multi/test /tests/base/bad /tests/base/good /tests/base/weird /tests/core/bad /tests/core/good /tests/core/weird provision queued provision.provision tasks #1: default-0 provision.provision task #1: default-0 how: local order: 50 primary address: localhost ansible: {} primary address: localhost topology address multihost name: default-0 arch: x86_64 distro: Fedora Linux 45 (Cloud Edition Prerelease) kernel: 7.1.0-0.rc5.35.fc45.x86_64 package manager: dnf5 bootc builder: dnf5 is container: no is ostree: no is image mode: no distro id: fedora distro major version: 45 is toolbox: no selinux: yes systemd: yes systemd soft-reboot: yes rsync: yes is superuser: yes can sudo: yes 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 order: 30 where: default-0 package: 1 package requested /usr/bin/flock cmd: rpm -q --whatprovides /usr/bin/flock || dnf5 install -y /usr/bin/flock stdout: util-linux-core-2.42.1-4.fc45.x86_64 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 order: 50 ignore-duration: false exit-first: false test: Test environment variables warn: Test duration is not effective due to interactive mode. duration deadline: none cmd: echo "TEST_VAR=$TEST_VAR" echo "VAR2=$VAR2" echo "VAR3=$VAR3" TEST_VAR= VAR2= VAR3= 00:00:00 pass /plans/environment/test (on default-0) [1/8] test: /plans/multi/test warn: Test duration is not effective due to interactive mode. duration deadline: none cmd: echo hi hi 00:00:00 pass /plans/multi/test (on default-0) [2/8] test: /tests/base/bad warn: Test duration is not effective due to interactive mode. duration deadline: none cmd: grep tmt /etc/os-release 00:00:00 fail /tests/base/bad (on default-0) [3/8] test: /tests/base/good warn: Test duration is not effective due to interactive mode. duration deadline: none cmd: echo "Everything's fine!" Everything's fine! 00:00:00 pass /tests/base/good (on default-0) [4/8] test: /tests/base/weird warn: Test duration is not effective due to interactive mode. duration deadline: none cmd: ls /some/weird/file ls: cannot access '/some/weird/file': No such file or directory 00:00:00 errr /tests/base/weird (on default-0) [5/8] test: /tests/core/bad warn: Test duration is not effective due to interactive mode. duration deadline: none cmd: grep tmt /etc/os-release 00:00:00 fail /tests/core/bad (on default-0) [6/8] test: /tests/core/good warn: Test duration is not effective due to interactive mode. duration deadline: none cmd: echo "Everything's fine!" Everything's fine! 00:00:00 pass /tests/core/good (on default-0) [7/8] test: /tests/core/weird warn: Test duration is not effective due to interactive mode. duration deadline: none cmd: ls /some/weird/file ls: cannot access '/some/weird/file': No such file or directory 00:00:00 errr /tests/core/weird (on default-0) [8/8] summary: 8 tests executed What do we do next? test rediscover tests and execute them again login log into the guest for experimenting host run command on the host lcd change directory on the local host, discover tests there verbose set the desired level of verbosity. debug choose a different debugging level discover gather information about tests to be executed prepare prepare the environment for testing execute run tests using the specified executor report provide test results overview and send reports finish perform the user defined finishing tasks cleanup clean up guests and prune the workdir keep exit the session but keep the run for later use quit clean up the run and quit the session > k /plans/basic Run /var/tmp/tmt/run-073 kept unfinished. See you soon! :: [ 09:26:21 ] :: [ PASS ] :: Quit the session (Expected 0, got 0) :: [ 09:26:21 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.aBaSR3i3' should contain 'Run .* kept unfinished. See you soon!' :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 2s :: Assertions: 2 good, 0 bad :: RESULT: PASS (Keep) tmt-report-result: saving /Keep output /tmp/tmp.VrzSGfvn48 into /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/execute/data/guest/default-0/tests/try/basic-89/data/Keep/output.txt tmt-report-result: adding to the result file /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/execute/data/guest/default-0/tests/try/basic-89/data/tmt-report-results.yaml :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Environment Variables :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 09:26:22 ] :: [ BEGIN ] :: Running 'TMT_CONFIG_DIR=/tmp/tmp.Ki3YMAsxdX ./environment.exp' spawn tmt try --plan /plans/environment --environment TEST_VAR=test_value --environment VAR2=value2 -e VAR3=value3 fedora@local /var/tmp/tmt/run-074 Let's try /plans/environment/test, /plans/multi/test, /tests/base/bad and 6 more tests with /plans/environment/plan on fedora@local. /plans/environment/plan discover how: shell order: 50 summary: 0 tests selected provision queued provision.provision tasks #1: default-0 provision.provision task #1: default-0 how: local order: 50 primary address: localhost ansible: {} primary address: localhost topology address multihost name: default-0 arch: x86_64 distro: Fedora Linux 45 (Cloud Edition Prerelease) kernel: 7.1.0-0.rc5.35.fc45.x86_64 package manager: dnf5 bootc builder: dnf5 is container: no is ostree: no is image mode: no distro id: fedora distro major version: 45 is toolbox: no selinux: yes systemd: yes systemd soft-reboot: yes rsync: yes is superuser: yes can sudo: yes 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 order: 30 where: default-0 package: 1 package requested /usr/bin/flock cmd: rpm -q --whatprovides /usr/bin/flock || dnf5 install -y /usr/bin/flock stdout: util-linux-core-2.42.1-4.fc45.x86_64 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 order: 50 ignore-duration: false exit-first: false summary: 0 tests executed What do we do next? test rediscover tests and execute them again login log into the guest for experimenting host run command on the host lcd change directory on the local host, discover tests there verbose set the desired level of verbosity. debug choose a different debugging level discover gather information about tests to be executed prepare prepare the environment for testing execute run tests using the specified executor report provide test results overview and send reports finish perform the user defined finishing tasks cleanup clean up guests and prune the workdir keep exit the session but keep the run for later use quit clean up the run and quit the session > r /plans/environment/plan report how: display order: 50 prepare execute summary: no results found What do we do next? test rediscover tests and execute them again login log into the guest for experimenting host run command on the host lcd change directory on the local host, discover tests there verbose set the desired level of verbosity. debug choose a different debugging level discover gather information about tests to be executed prepare prepare the environment for testing execute run tests using the specified executor report provide test results overview and send reports finish perform the user defined finishing tasks cleanup clean up guests and prune the workdir keep exit the session but keep the run for later use quit clean up the run and quit the session > q /plans/environment/plan cleanup queued cleanup tasks #1: default-0 on default-0 cleanup task #1: default-0 on default-0 how: tmt order: 50 Prune '/plans/environment/plan' plan workdir '/var/tmp/tmt/run-074/plans/environment/plan'. summary: 1 task completed Run /var/tmp/tmt/run-074 successfully finished. Bye for now! :: [ 09:26:23 ] :: [ PASS ] :: Command 'TMT_CONFIG_DIR=/tmp/tmp.Ki3YMAsxdX ./environment.exp' (Expected 0, got 0) :: [ 09:26:23 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.18dTycNY' should contain 'Let's try.*/plans/environment' :: [ 09:26:23 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.18dTycNY' should contain 'TEST_VAR=test_value' :: [ 09:26:23 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.18dTycNY' should contain 'VAR2=value2' :: [ 09:26:23 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.18dTycNY' should contain 'VAR3=value3' :: [ 09:26:23 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.18dTycNY' should contain 'Run .* successfully finished. Bye for now!' :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 1s :: Assertions: 6 good, 0 bad :: RESULT: PASS (Environment Variables) tmt-report-result: saving /Environment-Variables output /tmp/tmp.btHdhSwzde into /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/execute/data/guest/default-0/tests/try/basic-89/data/Environment-Variables/output.txt tmt-report-result: adding to the result file /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/execute/data/guest/default-0/tests/try/basic-89/data/tmt-report-results.yaml :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Single Test (default plan) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 09:26:24 ] :: [ BEGIN ] :: Running 'pushd tests/core/good' /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/discover/default-0/tests/tests/try/basic/data/tests/core/good /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/discover/default-0/tests/tests/try/basic/data /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/discover/default-0/tests/tests/try/basic :: [ 09:26:24 ] :: [ PASS ] :: Command 'pushd tests/core/good' (Expected 0, got 0) :: [ 09:26:24 ] :: [ BEGIN ] :: Try with local :: actually running 'TMT_CONFIG_DIR=/tmp/tmp.Ki3YMAsxdX ../../../local.exp' spawn tmt try fedora@local /var/tmp/tmt/run-075 Let's try /tests/core/good with /default/plan on fedora@local. /default/plan discover directory: /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/discover/default-0/tests/tests/try/basic/data how: fmf order: 50 summary: 1 test selected /tests/core/good provision queued provision.provision tasks #1: default-0 provision.provision task #1: default-0 how: local order: 50 primary address: localhost ansible: {} primary address: localhost topology address multihost name: default-0 arch: x86_64 distro: Fedora Linux 45 (Cloud Edition Prerelease) kernel: 7.1.0-0.rc5.35.fc45.x86_64 package manager: dnf5 bootc builder: dnf5 is container: no is ostree: no is image mode: no distro id: fedora distro major version: 45 is toolbox: no selinux: yes systemd: yes systemd soft-reboot: yes rsync: yes is superuser: yes can sudo: yes 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 order: 30 where: default-0 package: 1 package requested /usr/bin/flock cmd: rpm -q --whatprovides /usr/bin/flock || dnf5 install -y /usr/bin/flock stdout: util-linux-core-2.42.1-4.fc45.x86_64 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 order: 50 ignore-duration: false exit-first: false test: /tests/core/good warn: Test duration is not effective due to interactive mode. duration deadline: none cmd: echo "Everything's fine!" Everything's fine! 00:00:00 pass /tests/core/good (on default-0) [1/1] summary: 1 test executed What do we do next? test rediscover tests and execute them again login log into the guest for experimenting host run command on the host lcd change directory on the local host, discover tests there verbose set the desired level of verbosity. debug choose a different debugging level discover gather information about tests to be executed prepare prepare the environment for testing execute run tests using the specified executor report provide test results overview and send reports finish perform the user defined finishing tasks cleanup clean up guests and prune the workdir keep exit the session but keep the run for later use quit clean up the run and quit the session > q /default/plan cleanup queued cleanup tasks #1: default-0 on default-0 cleanup task #1: default-0 on default-0 how: tmt order: 50 Prune '/default/plan' plan workdir '/var/tmp/tmt/run-075/default/plan'. summary: 1 task completed Run /var/tmp/tmt/run-075 successfully finished. Bye for now! :: [ 09:26:25 ] :: [ PASS ] :: Try with local (Expected 0, got 0) :: [ 09:26:25 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.KuNZl31B' should contain 'Let's try /tests/core/good with /default/plan' :: [ 09:26:25 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.KuNZl31B' should contain 'summary: 1 test executed' :: [ 09:26:25 ] :: [ BEGIN ] :: Running 'popd' /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/discover/default-0/tests/tests/try/basic/data /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/discover/default-0/tests/tests/try/basic :: [ 09:26:25 ] :: [ PASS ] :: Command 'popd' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 1s :: Assertions: 5 good, 0 bad :: RESULT: PASS (Single Test (default plan)) tmt-report-result: saving /Single-Test-default-plan output /tmp/tmp.sIheKRXphj into /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/execute/data/guest/default-0/tests/try/basic-89/data/Single-Test-default-plan/output.txt tmt-report-result: adding to the result file /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/execute/data/guest/default-0/tests/try/basic-89/data/tmt-report-results.yaml :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Tests directory after login :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 09:26:26 ] :: [ BEGIN ] :: Running 'pushd tests/core/bad' /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/discover/default-0/tests/tests/try/basic/data/tests/core/bad /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/discover/default-0/tests/tests/try/basic/data /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/discover/default-0/tests/tests/try/basic :: [ 09:26:26 ] :: [ PASS ] :: Command 'pushd tests/core/bad' (Expected 0, got 0) :: [ 09:26:26 ] :: [ BEGIN ] :: Try with container :: actually running 'TMT_CONFIG_DIR=/tmp/tmp.Ki3YMAsxdX ../../../test-dir.exp' spawn tmt try fedora@container /var/tmp/tmt/run-076 Let's try /tests/core/bad with /default/plan on fedora@container. /default/plan discover directory: /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/discover/default-0/tests/tests/try/basic/data how: fmf order: 50 summary: 1 test selected /tests/core/bad provision queued provision.provision tasks #1: default-0 provision.provision task #1: default-0 how: container order: 50 ansible: {} primary address: tmt-076-OUkuCcOR topology address: tmt-076-OUkuCcOR Check for container image 'fedora'. name: tmt-076-OUkuCcOR Create network 'tmt-run-076-default-plan-network'. multihost name: default-0 arch: x86_64 distro: Fedora Linux 44 (Container Image) kernel: 7.1.0-0.rc5.35.fc45.x86_64 package manager: dnf5 bootc builder: dnf5 is container: yes is ostree: no is image mode: no distro id: fedora distro major version: 44 is toolbox: no selinux: no systemd: no systemd soft-reboot: no rsync: no is superuser: yes can sudo: yes 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 order: 30 where: default-0 package: 1 package requested /usr/bin/flock cmd: rpm -q --whatprovides /usr/bin/flock || dnf5 install -y /usr/bin/flock stdout: util-linux-core-2.41.4-8.fc44.x86_64 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 order: 50 ignore-duration: false exit-first: false test: /tests/core/bad warn: Test duration is not effective due to interactive mode. duration deadline: none cmd: grep tmt /etc/os-release 00:00:00 fail /tests/core/bad (on default-0) [1/1] summary: 1 test executed What do we do next? test rediscover tests and execute them again login log into the guest for experimenting host run command on the host lcd change directory on the local host, discover tests there verbose set the desired level of verbosity. debug choose a different debugging level discover gather information about tests to be executed prepare prepare the environment for testing execute run tests using the specified executor report provide test results overview and send reports finish perform the user defined finishing tasks cleanup clean up guests and prune the workdir keep exit the session but keep the run for later use quit clean up the run and quit the session > l /default/plan login: Starting interactive shell cmd: /bin/true cmd: bash ]0;@8a10a860da08:/var/tmp/tmt/run-076/default/plan/discover/default-0/tests/tests/core/bad[?2004h[root@8a10a860da08 bad]# ls [?2004l bad-file.txt tmt-test-wrapper-inner.sh-tests-core-bad-1-default-0-default-0 main.fmf tmt-test-wrapper-outer.sh-tests-core-bad-1-default-0-default-0 ]0;@8a10a860da08:/var/tmp/tmt/run-076/default/plan/discover/default-0/tests/tests/core/bad[?2004h[root@8a10a860da08 bad]# exit [?2004l exit login: Interactive shell finished What do we do next? test rediscover tests and execute them again login log into the guest for experimenting host run command on the host lcd change directory on the local host, discover tests there verbose set the desired level of verbosity. debug choose a different debugging level discover gather information about tests to be executed prepare prepare the environment for testing execute run tests using the specified executor report provide test results overview and send reports finish perform the user defined finishing tasks cleanup clean up guests and prune the workdir keep exit the session but keep the run for later use quit clean up the run and quit the session q > /default/plan cleanup queued cleanup tasks #1: default-0 on default-0 cleanup task #1: default-0 on default-0 how: tmt order: 50 container: stopped container: removed Remove network 'tmt-run-076-default-plan-network'. container: network removed Prune '/default/plan' plan workdir '/var/tmp/tmt/run-076/default/plan'. summary: 1 task completed Run /var/tmp/tmt/run-076 successfully finished. Bye for now! :: [ 09:26:36 ] :: [ PASS ] :: Try with container (Expected 0, got 0) :: [ 09:26:36 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.8BHMKjys' should contain 'Let's try /tests/core/bad with /default/plan' :: [ 09:26:36 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.8BHMKjys' should contain 'summary: 1 test executed' :: [ 09:26:36 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.8BHMKjys' should contain 'bad-file.txt' :: [ 09:26:36 ] :: [ BEGIN ] :: Running 'popd' /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/discover/default-0/tests/tests/try/basic/data /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/discover/default-0/tests/tests/try/basic :: [ 09:26:36 ] :: [ PASS ] :: Command 'popd' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 10s :: Assertions: 6 good, 0 bad :: RESULT: PASS (Tests directory after login) tmt-report-result: saving /Tests-directory-after-login output /tmp/tmp.xV0nshhjYG into /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/execute/data/guest/default-0/tests/try/basic-89/data/Tests-directory-after-login/output.txt tmt-report-result: adding to the result file /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/execute/data/guest/default-0/tests/try/basic-89/data/tmt-report-results.yaml :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Three Tests (user plan, verbose) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 09:26:36 ] :: [ BEGIN ] :: Running 'pushd tests/core' /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/discover/default-0/tests/tests/try/basic/data/tests/core /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/discover/default-0/tests/tests/try/basic/data /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/discover/default-0/tests/tests/try/basic :: [ 09:26:36 ] :: [ PASS ] :: Command 'pushd tests/core' (Expected 0, got 0) :: [ 09:26:36 ] :: [ BEGIN ] :: Try with local :: actually running 'TMT_CONFIG_DIR=/var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/discover/default-0/tests/tests/try/basic/config ../../verbose.exp' spawn tmt -v try /var/tmp/tmt/run-077 Let's try /tests/core/bad, /tests/core/good and /tests/core/weird with /user/plan. /user/plan discover directory: /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/discover/default-0/tests/tests/try/basic/data how: fmf summary: 3 tests selected /tests/core/bad /tests/core/good /tests/core/weird provision queued provision.provision tasks #1: default-0 provision.provision task #1: default-0 how: local primary address: localhost ansible: {} primary address: localhost topology address multihost name: default-0 arch: x86_64 distro: Fedora Linux 45 (Cloud Edition Prerelease) kernel: 7.1.0-0.rc5.35.fc45.x86_64 package manager: dnf5 bootc builder: dnf5 is container: no is ostree: no is image mode: no distro id: fedora distro major version: 45 is toolbox: no selinux: yes systemd: yes systemd soft-reboot: yes rsync: yes is superuser: yes can sudo: yes 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 #2: default-0 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: 1 package requested /usr/bin/flock prepare task #2: default-0 on default-0 how: shell overview: 1 script found script: echo custom-prepare queued pull tasks #1: pull from default-0 pull task #1: pull from default-0 summary: 2 preparations applied execute queued execute tasks #1: default-0 on default-0 execute task #1: default-0 on default-0 how: tmt warn: Test duration is not effective due to interactive mode. duration deadline: none 00:00:00 fail /tests/core/bad (on default-0) [1/3] warn: Test duration is not effective due to interactive mode. duration deadline: none Everything's fine! 00:00:00 pass /tests/core/good (on default-0) [2/3] warn: Test duration is not effective due to interactive mode. duration deadline: none ls: cannot access '/some/weird/file': No such file or directory 00:00:00 errr /tests/core/weird (on default-0) [3/3] summary: 3 tests executed What do we do next? test rediscover tests and execute them again login log into the guest for experimenting host run command on the host lcd change directory on the local host, discover tests there verbose set the desired level of verbosity. debug choose a different debugging level discover gather information about tests to be executed prepare prepare the environment for testing execute run tests using the specified executor report provide test results overview and send reports finish perform the user defined finishing tasks cleanup clean up guests and prune the workdir keep exit the session but keep the run for later use quit clean up the run and quit the session > q /user/plan cleanup queued cleanup tasks #1: default-0 on default-0 cleanup task #1: default-0 on default-0 how: tmt summary: 1 task completed Run /var/tmp/tmt/run-077 successfully finished. Bye for now! :: [ 09:26:38 ] :: [ PASS ] :: Try with local (Expected 0, got 0) :: [ 09:26:38 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.AdNgn2Ku' should contain 'Let's try /tests/core/bad, /tests/core/good and /tests/core/weird' :: [ 09:26:38 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.AdNgn2Ku' should contain '/user/plan' :: [ 09:26:38 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.AdNgn2Ku' should contain 'custom-prepare' :: [ 09:26:38 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.AdNgn2Ku' should contain 'summary: 3 tests executed' :: [ 09:26:38 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.AdNgn2Ku' should contain 'fail /tests/core/bad' :: [ 09:26:38 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.AdNgn2Ku' should contain 'pass /tests/core/good' :: [ 09:26:38 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.AdNgn2Ku' should contain 'errr /tests/core/weird' :: [ 09:26:38 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.AdNgn2Ku' should not contain 'fail /tests/base/bad' :: [ 09:26:38 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.AdNgn2Ku' should not contain 'pass /tests/base/good' :: [ 09:26:38 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.AdNgn2Ku' should not contain 'errr /tests/base/weird' :: [ 09:26:38 ] :: [ BEGIN ] :: Running 'popd' /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/discover/default-0/tests/tests/try/basic/data /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/discover/default-0/tests/tests/try/basic :: [ 09:26:38 ] :: [ PASS ] :: Command 'popd' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 2s :: Assertions: 13 good, 0 bad :: RESULT: PASS (Three Tests (user plan, verbose)) tmt-report-result: saving /Three-Tests-user-plan-verbose output /tmp/tmp.YAf7vqlDqt into /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/execute/data/guest/default-0/tests/try/basic-89/data/Three-Tests-user-plan-verbose/output.txt tmt-report-result: adding to the result file /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/execute/data/guest/default-0/tests/try/basic-89/data/tmt-report-results.yaml :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: No Test :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 09:26:38 ] :: [ BEGIN ] :: Running 'pushd no-tests' /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/discover/default-0/tests/tests/try/basic/data/no-tests /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/discover/default-0/tests/tests/try/basic/data /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/discover/default-0/tests/tests/try/basic :: [ 09:26:38 ] :: [ PASS ] :: Command 'pushd no-tests' (Expected 0, got 0) :: [ 09:26:38 ] :: [ BEGIN ] :: Try with local :: actually running 'TMT_CONFIG_DIR=/tmp/tmp.Ki3YMAsxdX ../local.exp' spawn tmt try fedora@local /var/tmp/tmt/run-078 warn: No tests found under the 'no-tests' directory. Let's try something with /default/plan on fedora@local. /default/plan provision queued provision.provision tasks #1: default-0 provision.provision task #1: default-0 how: local order: 50 primary address: localhost ansible: {} primary address: localhost topology address multihost name: default-0 arch: x86_64 distro: Fedora Linux 45 (Cloud Edition Prerelease) kernel: 7.1.0-0.rc5.35.fc45.x86_64 package manager: dnf5 bootc builder: dnf5 is container: no is ostree: no is image mode: no distro id: fedora distro major version: 45 is toolbox: no selinux: yes systemd: yes systemd soft-reboot: yes rsync: yes is superuser: yes can sudo: yes queued push tasks #1: push to default-0 push task #1: push to default-0 summary: 1 guest provisioned What do we do next? test rediscover tests and execute them again login log into the guest for experimenting host run command on the host lcd change directory on the local host, discover tests there verbose set the desired level of verbosity. debug choose a different debugging level discover gather information about tests to be executed prepare prepare the environment for testing execute run tests using the specified executor report provide test results overview and send reports finish perform the user defined finishing tasks cleanup clean up guests and prune the workdir keep exit the session but keep the run for later use quit clean up the run and quit the session > q /default/plan cleanup queued cleanup tasks #1: default-0 on default-0 cleanup task #1: default-0 on default-0 how: tmt order: 50 Prune '/default/plan' plan workdir '/var/tmp/tmt/run-078/default/plan'. summary: 1 task completed Run /var/tmp/tmt/run-078 successfully finished. Bye for now! :: [ 09:26:40 ] :: [ PASS ] :: Try with local (Expected 0, got 0) :: [ 09:26:40 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.NfFkkHYO' should contain 'warn: No tests found under the 'no-tests' directory.' :: [ 09:26:40 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.NfFkkHYO' should contain 'Let's try something with /default/plan' :: [ 09:26:40 ] :: [ BEGIN ] :: Running 'popd' /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/discover/default-0/tests/tests/try/basic/data /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/discover/default-0/tests/tests/try/basic :: [ 09:26:40 ] :: [ PASS ] :: Command 'popd' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 2s :: Assertions: 5 good, 0 bad :: RESULT: PASS (No Test) tmt-report-result: saving /No-Test output /tmp/tmp.utiTHHDX9J into /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/execute/data/guest/default-0/tests/try/basic-89/data/No-Test/output.txt tmt-report-result: adding to the result file /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/execute/data/guest/default-0/tests/try/basic-89/data/tmt-report-results.yaml :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Multiple Plans :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 09:26:40 ] :: [ BEGIN ] :: Try with local :: actually running 'TMT_CONFIG_DIR=/tmp/tmp.Ki3YMAsxdX TMT_OPTIONS='--plan /plans/multi' ./action.exp v 1' spawn tmt try --plan /plans/multi fedora@local /var/tmp/tmt/run-079 Let's try /plans/environment/test, /plans/multi/test, /tests/base/bad and 6 more tests with /plans/multi/plan/one and /plans/multi/plan/two on fedora@local. /plans/multi/plan/one summary: Plan One discover how: shell order: 50 summary: 0 tests selected provision queued provision.provision tasks #1: default-0 provision.provision task #1: default-0 how: local order: 50 primary address: localhost ansible: {} primary address: localhost topology address multihost name: default-0 arch: x86_64 distro: Fedora Linux 45 (Cloud Edition Prerelease) kernel: 7.1.0-0.rc5.35.fc45.x86_64 package manager: dnf5 bootc builder: dnf5 is container: no is ostree: no is image mode: no distro id: fedora distro major version: 45 is toolbox: no selinux: yes systemd: yes systemd soft-reboot: yes rsync: yes is superuser: yes can sudo: yes 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 order: 30 where: default-0 package: 1 package requested /usr/bin/flock cmd: rpm -q --whatprovides /usr/bin/flock || dnf5 install -y /usr/bin/flock stdout: util-linux-core-2.42.1-4.fc45.x86_64 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 order: 50 ignore-duration: false exit-first: false summary: 0 tests executed /plans/multi/plan/two summary: Plan Two discover how: shell order: 50 summary: 0 tests selected provision queued provision.provision tasks #1: default-0 provision.provision task #1: default-0 how: local order: 50 primary address: localhost ansible: {} primary address: localhost topology address multihost name: default-0 arch: x86_64 distro: Fedora Linux 45 (Cloud Edition Prerelease) kernel: 7.1.0-0.rc5.35.fc45.x86_64 package manager: dnf5 bootc builder: dnf5 is container: no is ostree: no is image mode: no distro id: fedora distro major version: 45 is toolbox: no selinux: yes systemd: yes systemd soft-reboot: yes rsync: yes is superuser: yes can sudo: yes 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 order: 30 where: default-0 package: 1 package requested /usr/bin/flock cmd: rpm -q --whatprovides /usr/bin/flock || dnf5 install -y /usr/bin/flock stdout: util-linux-core-2.42.1-4.fc45.x86_64 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 order: 50 ignore-duration: false exit-first: false summary: 0 tests executed What do we do next? test rediscover tests and execute them again login log into the guest for experimenting host run command on the host lcd change directory on the local host, discover tests there verbose set the desired level of verbosity. debug choose a different debugging level discover gather information about tests to be executed prepare prepare the environment for testing execute run tests using the specified executor report provide test results overview and send reports finish perform the user defined finishing tasks cleanup clean up guests and prune the workdir keep exit the session but keep the run for later use quit clean up the run and quit the session > v 1 What verbose level do you need? Choose 0-3, hit Enter to keep 3> Switched to verbose level 1. /plans/multi/plan/one summary: Plan One /plans/multi/plan/two summary: Plan Two What do we do next? test rediscover tests and execute them again login log into the guest for experimenting host run command on the host lcd change directory on the local host, discover tests there verbose set the desired level of verbosity. debug choose a different debugging level discover gather information about tests to be executed prepare prepare the environment for testing execute run tests using the specified executor report provide test results overview and send reports finish perform the user defined finishing tasks cleanup clean up guests and prune the workdir keep exit the session but keep the run for later use quit clean up the run and quit the session > q /plans/multi/plan/one summary: Plan One cleanup queued cleanup tasks #1: default-0 on default-0 cleanup task #1: default-0 on default-0 how: tmt Prune '/plans/multi/plan/one' plan workdir '/var/tmp/tmt/run-079/plans/multi/plan/one'. summary: 1 task completed Run /var/tmp/tmt/run-079 successfully finished. Bye for now! /plans/multi/plan/two summary: Plan Two cleanup queued cleanup tasks #1: default-0 on default-0 cleanup task #1: default-0 on default-0 how: tmt Prune '/plans/multi/plan/two' plan workdir '/var/tmp/tmt/run-079/plans/multi/plan/two'. summary: 1 task completed Run /var/tmp/tmt/run-079 successfully finished. Bye for now! :: [ 09:26:42 ] :: [ PASS ] :: Try with local (Expected 0, got 0) :: [ 09:26:42 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.dKQGuB2S' should contain 'Switched to verbose level 1' :: [ 09:26:42 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.dKQGuB2S' should not contain 'Choose 0-3, hit Enter to keep 1' :: [ 09:26:42 ] :: [ BEGIN ] :: Running 'grep -A 100 'What do we do next?' /var/tmp/rlRun_LOG.dKQGuB2S | grep /plans/multi/plan/one' /plans/multi/plan/one /plans/multi/plan/one Prune '/plans/multi/plan/one' plan workdir '/var/tmp/tmt/run-079/plans/multi/plan/one'. :: [ 09:26:42 ] :: [ PASS ] :: Command 'grep -A 100 'What do we do next?' /var/tmp/rlRun_LOG.dKQGuB2S | grep /plans/multi/plan/one' (Expected 0, got 0) :: [ 09:26:42 ] :: [ BEGIN ] :: Running 'grep -A 100 'What do we do next?' /var/tmp/rlRun_LOG.dKQGuB2S | grep /plans/multi/plan/two' /plans/multi/plan/two /plans/multi/plan/two Prune '/plans/multi/plan/two' plan workdir '/var/tmp/tmt/run-079/plans/multi/plan/two'. :: [ 09:26:43 ] :: [ PASS ] :: Command 'grep -A 100 'What do we do next?' /var/tmp/rlRun_LOG.dKQGuB2S | grep /plans/multi/plan/two' (Expected 0, got 0) :: [ 09:26:43 ] :: [ BEGIN ] :: Try with local :: actually running 'TMT_CONFIG_DIR=/tmp/tmp.Ki3YMAsxdX TMT_OPTIONS='--plan /plans/multi' ./action.exp b 1' spawn tmt try --plan /plans/multi fedora@local /var/tmp/tmt/run-080 Let's try /plans/environment/test, /plans/multi/test, /tests/base/bad and 6 more tests with /plans/multi/plan/one and /plans/multi/plan/two on fedora@local. /plans/multi/plan/one summary: Plan One discover how: shell order: 50 summary: 0 tests selected provision queued provision.provision tasks #1: default-0 provision.provision task #1: default-0 how: local order: 50 primary address: localhost ansible: {} primary address: localhost topology address multihost name: default-0 arch: x86_64 distro: Fedora Linux 45 (Cloud Edition Prerelease) kernel: 7.1.0-0.rc5.35.fc45.x86_64 package manager: dnf5 bootc builder: dnf5 is container: no is ostree: no is image mode: no distro id: fedora distro major version: 45 is toolbox: no selinux: yes systemd: yes systemd soft-reboot: yes rsync: yes is superuser: yes can sudo: yes 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 order: 30 where: default-0 package: 1 package requested /usr/bin/flock cmd: rpm -q --whatprovides /usr/bin/flock || dnf5 install -y /usr/bin/flock stdout: util-linux-core-2.42.1-4.fc45.x86_64 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 order: 50 ignore-duration: false exit-first: false summary: 0 tests executed /plans/multi/plan/two summary: Plan Two discover how: shell order: 50 summary: 0 tests selected provision queued provision.provision tasks #1: default-0 provision.provision task #1: default-0 how: local order: 50 primary address: localhost ansible: {} primary address: localhost topology address multihost name: default-0 arch: x86_64 distro: Fedora Linux 45 (Cloud Edition Prerelease) kernel: 7.1.0-0.rc5.35.fc45.x86_64 package manager: dnf5 bootc builder: dnf5 is container: no is ostree: no is image mode: no distro id: fedora distro major version: 45 is toolbox: no selinux: yes systemd: yes systemd soft-reboot: yes rsync: yes is superuser: yes can sudo: yes 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 order: 30 where: default-0 package: 1 package requested /usr/bin/flock cmd: rpm -q --whatprovides /usr/bin/flock || dnf5 install -y /usr/bin/flock stdout: util-linux-core-2.42.1-4.fc45.x86_64 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 order: 50 ignore-duration: false exit-first: false summary: 0 tests executed What do we do next? test rediscover tests and execute them again login log into the guest for experimenting host run command on the host lcd change directory on the local host, discover tests there verbose set the desired level of verbosity. debug choose a different debugging level discover gather information about tests to be executed prepare prepare the environment for testing execute run tests using the specified executor report provide test results overview and send reports finish perform the user defined finishing tasks cleanup clean up guests and prune the workdir keep exit the session but keep the run for later use quit clean up the run and quit the session > b 1 Which debug level would you like? Choose 0-3, hit Enter to keep 0> Switched to debug level 1. /plans/multi/plan/one summary: Plan One /plans/multi/plan/two summary: Plan Two What do we do next? test rediscover tests and execute them again login log into the guest for experimenting host run command on the host lcd change directory on the local host, discover tests there verbose set the desired level of verbosity. debug choose a different debugging level discover gather information about tests to be executed prepare prepare the environment for testing execute run tests using the specified executor report provide test results overview and send reports finish perform the user defined finishing tasks cleanup clean up guests and prune the workdir keep exit the session but keep the run for later use quit clean up the run and quit the session > q /plans/multi/plan/one summary: Plan One cleanup workdir: /var/tmp/tmt/run-080/plans/multi/plan/one/cleanup queued cleanup tasks #1: default-0 on default-0 cleanup task #1: default-0 on default-0 how: tmt order: 50 Fetch logs from guest 'default-0'. Stop and remove guest 'default-0'. Doing nothing to stop guest 'localhost'. Doing nothing to remove guest 'localhost'. Prune '/plans/multi/plan/one' plan workdir '/var/tmp/tmt/run-080/plans/multi/plan/one'. Workdir '/var/tmp/tmt/run-080/plans/multi/plan/one/provision/default-0' already exists. Workdir '/var/tmp/tmt/run-080/plans/multi/plan/one/prepare/essential-requires' created. Workdir '/var/tmp/tmt/run-080/plans/multi/plan/one/execute/default-0' created. Workdir '/var/tmp/tmt/run-080/plans/multi/plan/one/report/default-0' created. Workdir '/var/tmp/tmt/run-080/plans/multi/plan/one/cleanup/default-0' created. summary: 1 task completed Run /var/tmp/tmt/run-080 successfully finished. Bye for now! /plans/multi/plan/two summary: Plan Two cleanup workdir: /var/tmp/tmt/run-080/plans/multi/plan/two/cleanup queued cleanup tasks #1: default-0 on default-0 cleanup task #1: default-0 on default-0 how: tmt order: 50 Fetch logs from guest 'default-0'. Stop and remove guest 'default-0'. Doing nothing to stop guest 'localhost'. Doing nothing to remove guest 'localhost'. Prune '/plans/multi/plan/two' plan workdir '/var/tmp/tmt/run-080/plans/multi/plan/two'. Workdir '/var/tmp/tmt/run-080/plans/multi/plan/two/provision/default-0' already exists. Workdir '/var/tmp/tmt/run-080/plans/multi/plan/two/prepare/essential-requires' created. Workdir '/var/tmp/tmt/run-080/plans/multi/plan/two/execute/default-0' created. Workdir '/var/tmp/tmt/run-080/plans/multi/plan/two/report/default-0' created. Workdir '/var/tmp/tmt/run-080/plans/multi/plan/two/cleanup/default-0' created. summary: 1 task completed Run /var/tmp/tmt/run-080 successfully finished. Bye for now! :: [ 09:26:45 ] :: [ PASS ] :: Try with local (Expected 0, got 0) :: [ 09:26:45 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.5m4YmIJT' should contain 'Switched to debug level 1' :: [ 09:26:45 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.5m4YmIJT' should not contain 'Choose 0-3, hit Enter to keep 1' :: [ 09:26:45 ] :: [ BEGIN ] :: Running 'grep -A 100 'What do we do next?' /var/tmp/rlRun_LOG.5m4YmIJT | grep /plans/multi/plan/one' /plans/multi/plan/one /plans/multi/plan/one workdir: /var/tmp/tmt/run-080/plans/multi/plan/one/cleanup Prune '/plans/multi/plan/one' plan workdir '/var/tmp/tmt/run-080/plans/multi/plan/one'. Workdir '/var/tmp/tmt/run-080/plans/multi/plan/one/provision/default-0' already exists. Workdir '/var/tmp/tmt/run-080/plans/multi/plan/one/prepare/essential-requires' created. Workdir '/var/tmp/tmt/run-080/plans/multi/plan/one/execute/default-0' created. Workdir '/var/tmp/tmt/run-080/plans/multi/plan/one/report/default-0' created. Workdir '/var/tmp/tmt/run-080/plans/multi/plan/one/cleanup/default-0' created. :: [ 09:26:45 ] :: [ PASS ] :: Command 'grep -A 100 'What do we do next?' /var/tmp/rlRun_LOG.5m4YmIJT | grep /plans/multi/plan/one' (Expected 0, got 0) :: [ 09:26:45 ] :: [ BEGIN ] :: Running 'grep -A 100 'What do we do next?' /var/tmp/rlRun_LOG.5m4YmIJT | grep /plans/multi/plan/two' /plans/multi/plan/two /plans/multi/plan/two workdir: /var/tmp/tmt/run-080/plans/multi/plan/two/cleanup Prune '/plans/multi/plan/two' plan workdir '/var/tmp/tmt/run-080/plans/multi/plan/two'. Workdir '/var/tmp/tmt/run-080/plans/multi/plan/two/provision/default-0' already exists. Workdir '/var/tmp/tmt/run-080/plans/multi/plan/two/prepare/essential-requires' created. Workdir '/var/tmp/tmt/run-080/plans/multi/plan/two/execute/default-0' created. Workdir '/var/tmp/tmt/run-080/plans/multi/plan/two/report/default-0' created. Workdir '/var/tmp/tmt/run-080/plans/multi/plan/two/cleanup/default-0' created. :: [ 09:26:45 ] :: [ PASS ] :: Command 'grep -A 100 'What do we do next?' /var/tmp/rlRun_LOG.5m4YmIJT | grep /plans/multi/plan/two' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 5s :: Assertions: 10 good, 0 bad :: RESULT: PASS (Multiple Plans) tmt-report-result: saving /Multiple-Plans output /tmp/tmp.jZ7Xf6Jb25 into /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/execute/data/guest/default-0/tests/try/basic-89/data/Multiple-Plans/output.txt tmt-report-result: adding to the result file /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/execute/data/guest/default-0/tests/try/basic-89/data/tmt-report-results.yaml :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Local change directory :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 09:26:45 ] :: [ BEGIN ] :: Running 'cd tests/base/bad' :: [ 09:26:45 ] :: [ PASS ] :: Command 'cd tests/base/bad' (Expected 0, got 0) :: [ 09:26:45 ] :: [ BEGIN ] :: Running '../../../lcd.exp' spawn tmt try --plan basic /var/tmp/tmt/run-081 Let's try /tests/base/bad with /plans/basic. /plans/basic discover directory: /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/discover/default-0/tests/tests/try/basic/data how: fmf order: 50 summary: 1 test selected /tests/base/bad provision queued provision.provision tasks #1: default-0 provision.provision task #1: default-0 how: local order: 50 primary address: localhost ansible: {} primary address: localhost topology address multihost name: default-0 arch: x86_64 distro: Fedora Linux 45 (Cloud Edition Prerelease) kernel: 7.1.0-0.rc5.35.fc45.x86_64 package manager: dnf5 bootc builder: dnf5 is container: no is ostree: no is image mode: no distro id: fedora distro major version: 45 is toolbox: no selinux: yes systemd: yes systemd soft-reboot: yes rsync: yes is superuser: yes can sudo: yes 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 order: 30 where: default-0 package: 1 package requested /usr/bin/flock cmd: rpm -q --whatprovides /usr/bin/flock || dnf5 install -y /usr/bin/flock stdout: util-linux-core-2.42.1-4.fc45.x86_64 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 order: 50 ignore-duration: false exit-first: false test: /tests/base/bad warn: Test duration is not effective due to interactive mode. duration deadline: none cmd: grep tmt /etc/os-release 00:00:00 fail /tests/base/bad (on default-0) [1/1] summary: 1 test executed What do we do next? test rediscover tests and execute them again login log into the guest for experimenting host run command on the host lcd change directory on the local host, discover tests there verbose set the desired level of verbosity. debug choose a different debugging level discover gather information about tests to be executed prepare prepare the environment for testing execute run tests using the specified executor report provide test results overview and send reports finish perform the user defined finishing tasks cleanup clean up guests and prune the workdir keep exit the session but keep the run for later use quit clean up the run and quit the session > lcd /plans/basic Enter directory path (or '\q' to quit): > .. Changed directory to: /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/discover/default-0/tests/tests/try/basic/data/tests/base Matching tests found /tests/base/bad /tests/base/good /tests/base/weird Enter directory path (or '\q' to quit): > .. Changed directory to: /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/discover/default-0/tests/tests/try/basic/data/tests Matching tests found /tests/base/bad /tests/base/good /tests/base/weird /tests/core/bad /tests/core/good /tests/core/weird /tests/library Enter directory path (or '\q' to quit): > ../.. warn: Directory '/var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/discover/default-0/tests/tests/try/basic' is outside the fmf root: /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/discover/default-0/tests/tests/try/basic/data warn: warn: Directory '/var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/discover/default-0/tests/tests/try/basic' is outside the fmf root: /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/discover/default-0/tests/tests/try/basic/data Enter directory path (or '\q' to quit): > \q Exiting local change directory mode. What do we do next? test rediscover tests and execute them again login log into the guest for experimenting host run command on the host lcd change directory on the local host, discover tests there verbose set the desired level of verbosity. debug choose a different debugging level discover gather information about tests to be executed prepare prepare the environment for testing execute run tests using the specified executor report provide test results overview and send reports finish perform the user defined finishing tasks cleanup clean up guests and prune the workdir keep exit the session but keep the run for later use quit clean up the run and quit the session > q /plans/basic cleanup queued cleanup tasks #1: default-0 on default-0 cleanup task #1: default-0 on default-0 how: tmt order: 50 Prune '/plans/basic' plan workdir '/var/tmp/tmt/run-081/plans/basic'. summary: 1 task completed Run /var/tmp/tmt/run-081 successfully finished. Bye for now! :: [ 09:27:07 ] :: [ PASS ] :: Command '../../../lcd.exp' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 22s :: Assertions: 2 good, 0 bad :: RESULT: PASS (Local change directory) tmt-report-result: saving /Local-change-directory output /tmp/tmp.IN57q79DRp into /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/execute/data/guest/default-0/tests/try/basic-89/data/Local-change-directory/output.txt tmt-report-result: adding to the result file /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/execute/data/guest/default-0/tests/try/basic-89/data/tmt-report-results.yaml :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Cleanup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 09:27:07 ] :: [ BEGIN ] :: Running 'popd' /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/discover/default-0/tests/tests/try/basic :: [ 09:27:07 ] :: [ PASS ] :: Command 'popd' (Expected 0, got 0) :: [ 09:27:07 ] :: [ BEGIN ] :: Running 'rm -f config/last-run' :: [ 09:27:07 ] :: [ PASS ] :: Command 'rm -f config/last-run' (Expected 0, got 0) :: [ 09:27:07 ] :: [ BEGIN ] :: Remove tmp directory :: actually running 'rm -r /tmp/tmp.Ki3YMAsxdX' :: [ 09:27:07 ] :: [ PASS ] :: Remove tmp directory (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 0s :: Assertions: 3 good, 0 bad :: RESULT: PASS (Cleanup) tmt-report-result: saving /Cleanup output /tmp/tmp.CXF68KWHCx into /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/execute/data/guest/default-0/tests/try/basic-89/data/Cleanup/output.txt tmt-report-result: adding to the result file /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/execute/data/guest/default-0/tests/try/basic-89/data/tmt-report-results.yaml :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: /tests/try/basic :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 09:27:07 ] :: [ LOG ] :: Phases fingerprint: 9esNaE+v :: [ 09:27:07 ] :: [ LOG ] :: Asserts fingerprint: 77FZDhiR File '/var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/execute/data/guest/default-0/tests/try/basic-89/journal.xml' already stored in '/var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/execute/data/guest/default-0/tests/try/basic-89'. :: [ 09:27:07 ] :: [ INFO ] :: Deleting rlRun_LOG file(s) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 137s :: Phases: 19 good, 0 bad :: OVERALL RESULT: PASS (/tests/try/basic)