:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Setup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 09:00:11 ] :: [ BEGIN ] :: Creating tmp directory :: actually running 'tmp=$(mktemp -d)' :: [ 09:00:11 ] :: [ PASS ] :: Creating tmp directory (Expected 0, got 0) :: [ 09:00:11 ] :: [ BEGIN ] :: Running 'tmt='tmt run -ar provision -h local execute -h tmt -s '' :: [ 09:00:11 ] :: [ PASS ] :: Command 'tmt='tmt run -ar provision -h local execute -h tmt -s '' (Expected 0, got 0) :: [ 09:00:11 ] :: [ BEGIN ] :: Running 'pushd /tmp/tmp.8ZK1tKpupy' /tmp/tmp.8ZK1tKpupy /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/discover/default-0/tests/tests/login :: [ 09:00:11 ] :: [ PASS ] :: Command 'pushd /tmp/tmp.8ZK1tKpupy' (Expected 0, got 0) :: [ 09:00:11 ] :: [ BEGIN ] :: Running 'set -o pipefail' :: [ 09:00:11 ] :: [ PASS ] :: Command 'set -o pipefail' (Expected 0, got 0) :: [ 09:00:11 ] :: [ BEGIN ] :: Running 'tmt init -t mini' Initialized the fmf tree root '/tmp/tmp.8ZK1tKpupy/.fmf'. Applying template 'mini'. Plan directory '/tmp/tmp.8ZK1tKpupy/plans' created. Plan '/tmp/tmp.8ZK1tKpupy/plans/example.fmf' created. :: [ 09:00:12 ] :: [ PASS ] :: Command 'tmt init -t mini' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 1s :: Assertions: 5 good, 0 bad :: RESULT: PASS (Setup) tmt-report-result: saving /Setup output /tmp/tmp.fYfEdwUoqF into /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/execute/data/guest/default-0/tests/login/when-47/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/login/when-47/data/tmt-report-results.yaml :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Skipped :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 09:00:12 ] :: [ BEGIN ] :: Running 'tmt run -ar provision -h local execute -h tmt -s true login -w fail -c true' /var/tmp/tmt/run-020 warn: User is feeling safe. /plans/example discover how: shell summary: 1 test selected provision queued provision.provision tasks #1: default-0 provision.provision task #1: default-0 how: local primary address: localhost ansible: {} multihost name: default-0 arch: x86_64 distro: Fedora Linux 45 (Cloud Edition Prerelease) queued push tasks #1: push to default-0 push task #1: push to default-0 summary: 1 guest provisioned prepare queued push tasks #1: push to default-0 push task #1: push to default-0 queued prepare tasks #1: essential-requires on default-0 prepare task #1: essential-requires on default-0 how: install summary: Install essential required packages name: essential-requires where: default-0 package: /usr/bin/flock queued pull tasks #1: pull from default-0 pull task #1: pull from default-0 summary: 1 preparation applied execute queued execute tasks #1: default-0 on default-0 execute task #1: default-0 on default-0 how: tmt summary: 1 test executed report how: display summary: 1 test passed finish queued finish tasks #1: login finish task #1: login Skipping interactive shell queued pull tasks #1: pull from default-0 pull task #1: pull from default-0 summary: 1 task completed cleanup queued cleanup tasks #1: default-0 on default-0 cleanup task #1: default-0 on default-0 how: tmt summary: 1 task completed total: 1 test passed :: [ 09:00:14 ] :: [ PASS ] :: Command 'tmt run -ar provision -h local execute -h tmt -s true login -w fail -c true' (Expected 0, got 0) :: [ 09:00:14 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.cHgLJb4k' should contain 'Skipping interactive' :: [ 09:00:14 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.cHgLJb4k' should not contain 'Starting interactive' :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 2s :: Assertions: 3 good, 0 bad :: RESULT: PASS (Skipped) tmt-report-result: saving /Skipped output /tmp/tmp.aYZ9xvjjTt into /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/execute/data/guest/default-0/tests/login/when-47/data/Skipped/output.txt tmt-report-result: adding to the result file /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/execute/data/guest/default-0/tests/login/when-47/data/tmt-report-results.yaml :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Enabled :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 09:00:15 ] :: [ BEGIN ] :: Running 'tmt run -ar provision -h local execute -h tmt -s false login -w fail -c true' /var/tmp/tmt/run-020 warn: User is feeling safe. /plans/example discover how: shell summary: 1 test selected provision queued provision.provision tasks #1: default-0 provision.provision task #1: default-0 how: local primary address: localhost ansible: {} multihost name: default-0 arch: x86_64 distro: Fedora Linux 45 (Cloud Edition Prerelease) queued push tasks #1: push to default-0 push task #1: push to default-0 summary: 1 guest provisioned prepare queued push tasks #1: push to default-0 push task #1: push to default-0 queued prepare tasks #1: essential-requires on default-0 prepare task #1: essential-requires on default-0 how: install summary: Install essential required packages name: essential-requires where: default-0 package: /usr/bin/flock queued pull tasks #1: pull from default-0 pull task #1: pull from default-0 summary: 1 preparation applied execute queued execute tasks #1: default-0 on default-0 execute task #1: default-0 on default-0 how: tmt summary: 1 test executed report how: display summary: 1 test failed finish queued finish tasks #1: login finish task #1: login login: Starting interactive shell login: Interactive shell finished queued pull tasks #1: pull from default-0 pull task #1: pull from default-0 summary: 1 task completed cleanup queued cleanup tasks #1: default-0 on default-0 cleanup task #1: default-0 on default-0 how: tmt summary: 1 task completed total: 1 test failed :: [ 09:00:17 ] :: [ PASS ] :: Command 'tmt run -ar provision -h local execute -h tmt -s false login -w fail -c true' (Expected 1, got 1) :: [ 09:00:17 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.pyxhxXdq' should not contain 'Skipping interactive' :: [ 09:00:17 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.pyxhxXdq' should contain 'Starting interactive' :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 2s :: Assertions: 3 good, 0 bad :: RESULT: PASS (Enabled) tmt-report-result: saving /Enabled output /tmp/tmp.aUbR6NiBtJ into /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/execute/data/guest/default-0/tests/login/when-47/data/Enabled/output.txt tmt-report-result: adding to the result file /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/execute/data/guest/default-0/tests/login/when-47/data/tmt-report-results.yaml :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: When fail with step report - test passes :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 09:00:17 ] :: [ BEGIN ] :: Running 'tmt run -ar provision -h local execute -h tmt -s true login -w fail -s report -c true' /var/tmp/tmt/run-020 warn: User is feeling safe. /plans/example discover how: shell summary: 1 test selected provision queued provision.provision tasks #1: default-0 provision.provision task #1: default-0 how: local primary address: localhost ansible: {} multihost name: default-0 arch: x86_64 distro: Fedora Linux 45 (Cloud Edition Prerelease) queued push tasks #1: push to default-0 push task #1: push to default-0 summary: 1 guest provisioned prepare queued push tasks #1: push to default-0 push task #1: push to default-0 queued prepare tasks #1: essential-requires on default-0 prepare task #1: essential-requires on default-0 how: install summary: Install essential required packages name: essential-requires where: default-0 package: /usr/bin/flock queued pull tasks #1: pull from default-0 pull task #1: pull from default-0 summary: 1 preparation applied execute queued execute tasks #1: default-0 on default-0 execute task #1: default-0 on default-0 how: tmt summary: 1 test executed report how: display Skipping interactive shell summary: 1 test passed finish queued finish tasks summary: 0 tasks completed cleanup queued cleanup tasks #1: default-0 on default-0 cleanup task #1: default-0 on default-0 how: tmt summary: 1 task completed total: 1 test passed :: [ 09:00:19 ] :: [ PASS ] :: Command 'tmt run -ar provision -h local execute -h tmt -s true login -w fail -s report -c true' (Expected 0, got 0) :: [ 09:00:19 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.6teNn5KM' should contain 'Skipping interactive' :: [ 09:00:19 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.6teNn5KM' should not contain 'Starting interactive' :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 2s :: Assertions: 3 good, 0 bad :: RESULT: PASS (When fail with step report - test passes) tmt-report-result: saving /When-fail-with-step-report-test-passes output /tmp/tmp.2mavvA2QVZ into /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/execute/data/guest/default-0/tests/login/when-47/data/When-fail-with-step-report-test-passes/output.txt tmt-report-result: adding to the result file /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/execute/data/guest/default-0/tests/login/when-47/data/tmt-report-results.yaml :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: When fail with step report - test fails :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 09:00:19 ] :: [ BEGIN ] :: Running 'tmt run -ar provision -h local execute -h tmt -s false login -w fail -s report -c true' /var/tmp/tmt/run-020 warn: User is feeling safe. /plans/example discover how: shell summary: 1 test selected provision queued provision.provision tasks #1: default-0 provision.provision task #1: default-0 how: local primary address: localhost ansible: {} multihost name: default-0 arch: x86_64 distro: Fedora Linux 45 (Cloud Edition Prerelease) queued push tasks #1: push to default-0 push task #1: push to default-0 summary: 1 guest provisioned prepare queued push tasks #1: push to default-0 push task #1: push to default-0 queued prepare tasks #1: essential-requires on default-0 prepare task #1: essential-requires on default-0 how: install summary: Install essential required packages name: essential-requires where: default-0 package: /usr/bin/flock queued pull tasks #1: pull from default-0 pull task #1: pull from default-0 summary: 1 preparation applied execute queued execute tasks #1: default-0 on default-0 execute task #1: default-0 on default-0 how: tmt summary: 1 test executed report how: display login: Starting interactive shell login: Interactive shell finished summary: 1 test failed finish queued finish tasks summary: 0 tasks completed cleanup queued cleanup tasks #1: default-0 on default-0 cleanup task #1: default-0 on default-0 how: tmt summary: 1 task completed total: 1 test failed :: [ 09:00:21 ] :: [ PASS ] :: Command 'tmt run -ar provision -h local execute -h tmt -s false login -w fail -s report -c true' (Expected 1, got 1) :: [ 09:00:21 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.xK97hc1J' should not contain 'Skipping interactive' :: [ 09:00:21 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.xK97hc1J' should contain 'Starting interactive' :: [ 09:00:21 ] :: [ BEGIN ] :: Running 'grep '^ report$' -A5 '/var/tmp/rlRun_LOG.xK97hc1J' | grep -i interactive' login: Starting interactive shell login: Interactive shell finished :: [ 09:00:21 ] :: [ PASS ] :: Command 'grep '^ report$' -A5 '/var/tmp/rlRun_LOG.xK97hc1J' | grep -i interactive' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 2s :: Assertions: 4 good, 0 bad :: RESULT: PASS (When fail with step report - test fails) tmt-report-result: saving /When-fail-with-step-report-test-fails output /tmp/tmp.FgGbyBHZO1 into /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/execute/data/guest/default-0/tests/login/when-47/data/When-fail-with-step-report-test-fails/output.txt tmt-report-result: adding to the result file /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/execute/data/guest/default-0/tests/login/when-47/data/tmt-report-results.yaml :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Cleanup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 09:00:21 ] :: [ BEGIN ] :: Running 'popd' /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/discover/default-0/tests/tests/login :: [ 09:00:21 ] :: [ PASS ] :: Command 'popd' (Expected 0, got 0) :: [ 09:00:21 ] :: [ BEGIN ] :: Removing tmp directory :: actually running 'rm -r /tmp/tmp.8ZK1tKpupy' :: [ 09:00:21 ] :: [ PASS ] :: Removing tmp directory (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 0s :: Assertions: 2 good, 0 bad :: RESULT: PASS (Cleanup) tmt-report-result: saving /Cleanup output /tmp/tmp.hd5wX7VWHY into /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/execute/data/guest/default-0/tests/login/when-47/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/login/when-47/data/tmt-report-results.yaml :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: /tests/login/when :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 09:00:21 ] :: [ LOG ] :: Phases fingerprint: wG6Jb0bU :: [ 09:00:21 ] :: [ LOG ] :: Asserts fingerprint: FfeJcO6E File '/var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/execute/data/guest/default-0/tests/login/when-47/journal.xml' already stored in '/var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/execute/data/guest/default-0/tests/login/when-47'. :: [ 09:00:21 ] :: [ INFO ] :: Deleting rlRun_LOG file(s) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 12s :: Phases: 6 good, 0 bad :: OVERALL RESULT: PASS (/tests/login/when)