:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Setup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 09:07:42 ] :: [ BEGIN ] :: Create run directory :: actually running 'run=$(mktemp -d)' :: [ 09:07:42 ] :: [ PASS ] :: Create run directory (Expected 0, got 0) :: [ 09:07:42 ] :: [ BEGIN ] :: Running 'pushd data/test' /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/discover/default-0/tests/tests/policy/data/test /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/discover/default-0/tests/tests/policy :: [ 09:07:42 ] :: [ PASS ] :: Command 'pushd data/test' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 0s :: Assertions: 2 good, 0 bad :: RESULT: PASS (Setup) tmt-report-result: saving /Setup output /tmp/tmp.gSSLE9TC2g into /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/execute/data/guest/default-0/tests/policy/test-60/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/policy/test-60/data/tmt-report-results.yaml :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Sanity :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 09:07:42 ] :: [ BEGIN ] :: Running 'tmt -vv test export --policy-file ../../policies/test/test.yaml /basic' Apply tmt policy '../../policies/test/test.yaml' to tests. - author: [] check: [] component: [] contact: [] description: null duration: 5m enabled: true environment: {} framework: shell id: null link: [] manual: false name: /basic order: 50 path: / recommend: [] require: [] restart-max-count: 1 restart-on-exit-code: [] restart-with-reboot: false result: respect sources: - /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/discover/default-0/tests/tests/policy/data/test/main.fmf summary: null tag: [] test: bash -c 'echo "Spiked test."; /bin/true' tier: null tty: false where: null :: [ 09:07:44 ] :: [ PASS ] :: Command 'tmt -vv test export --policy-file ../../policies/test/test.yaml /basic' (Expected 0, got 0) :: [ 09:07:44 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.2EcRe6dI' should contain 'Apply tmt policy '../../policies/test/test.yaml' to tests.' :: [ 09:07:44 ] :: [ BEGIN ] :: Running 'tmt -vv test export --policy-file ../../policies/test/test.yaml /basic 2> /dev/null | yq -o json '.[] | .test' | jq -cSr' bash -c 'echo "Spiked test."; /bin/true' :: [ 09:07:45 ] :: [ PASS ] :: Command 'tmt -vv test export --policy-file ../../policies/test/test.yaml /basic 2> /dev/null | yq -o json '.[] | .test' | jq -cSr' (Expected 0, got 0) :: [ 09:07:45 ] :: [ PASS ] :: Verify that .test key is modified (Assert: 'bash -c 'echo "Spiked test."; /bin/true'' should equal 'bash -c 'echo "Spiked test."; /bin/true'') :: [ 09:07:45 ] :: [ BEGIN ] :: Running 'tmt -vv test export --policy-file ../../policies/test/test.yaml /full' Apply tmt policy '../../policies/test/test.yaml' to tests. - author: [] check: - delay-before-report: 5 enabled: true how: avc ignore-pattern: - type=USER_AVC.*received policyload notice result: info test-method: timestamp - dmesg: false enabled: true failure-pattern: - 'Call Trace:' - \ssegfault\s how: journal identifier: null ignore-pattern: [] priority: null result: respect unit: null - enabled: true failure-pattern: - .* how: dmesg result: respect component: [] contact: - foo - bar description: null duration: 5m enabled: true environment: FOO: BAR QUX: QUUX framework: shell id: null link: [] manual: false name: /full order: 50 path: / recommend: [] require: [] restart-max-count: 1 restart-on-exit-code: [] restart-with-reboot: false result: respect sources: - /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/discover/default-0/tests/tests/policy/data/test/main.fmf summary: null tag: [] test: bash -c 'echo "Spiked test."; /bin/true' tier: null tty: false where: null :: [ 09:07:47 ] :: [ PASS ] :: Command 'tmt -vv test export --policy-file ../../policies/test/test.yaml /full' (Expected 0, got 0) :: [ 09:07:47 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.9OrAIIoG' should contain 'Apply tmt policy '../../policies/test/test.yaml' to tests.' :: [ 09:07:47 ] :: [ BEGIN ] :: Running 'tmt -vv test export --policy-file ../../policies/test/test.yaml /full 2> /dev/null | yq -o json '.[] | .test' | jq -cSr' bash -c 'echo "Spiked test."; /bin/true' :: [ 09:07:48 ] :: [ PASS ] :: Command 'tmt -vv test export --policy-file ../../policies/test/test.yaml /full 2> /dev/null | yq -o json '.[] | .test' | jq -cSr' (Expected 0, got 0) :: [ 09:07:48 ] :: [ PASS ] :: Verify that .test key is modified (Assert: 'bash -c 'echo "Spiked test."; /bin/true'' should equal 'bash -c 'echo "Spiked test."; /bin/true'') :: [ 09:07:48 ] :: [ BEGIN ] :: Running 'tmt -vv test export --policy-file ../../policies/test/contact.yaml /basic' Apply tmt policy '../../policies/test/contact.yaml' to tests. - author: [] check: [] component: [] contact: - xyzzy description: null duration: 5m enabled: true environment: {} framework: shell id: null link: [] manual: false name: /basic order: 50 path: / recommend: [] require: [] restart-max-count: 1 restart-on-exit-code: [] restart-with-reboot: false result: respect sources: - /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/discover/default-0/tests/tests/policy/data/test/main.fmf summary: null tag: [] test: /bin/true tier: null tty: false where: null :: [ 09:07:50 ] :: [ PASS ] :: Command 'tmt -vv test export --policy-file ../../policies/test/contact.yaml /basic' (Expected 0, got 0) :: [ 09:07:50 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.Nni19GX5' should contain 'Apply tmt policy '../../policies/test/contact.yaml' to tests.' :: [ 09:07:50 ] :: [ BEGIN ] :: Running 'tmt -vv test export --policy-file ../../policies/test/contact.yaml /basic 2> /dev/null | yq -o json '.[] | .contact' | jq -cSr' ["xyzzy"] :: [ 09:07:51 ] :: [ PASS ] :: Command 'tmt -vv test export --policy-file ../../policies/test/contact.yaml /basic 2> /dev/null | yq -o json '.[] | .contact' | jq -cSr' (Expected 0, got 0) :: [ 09:07:51 ] :: [ PASS ] :: Verify that .contact key is modified (Assert: '["xyzzy"]' should equal '["xyzzy"]') :: [ 09:07:51 ] :: [ BEGIN ] :: Running 'tmt -vv test export --policy-file ../../policies/test/contact.yaml /full' Apply tmt policy '../../policies/test/contact.yaml' to tests. - author: [] check: - delay-before-report: 5 enabled: true how: avc ignore-pattern: - type=USER_AVC.*received policyload notice result: info test-method: timestamp - dmesg: false enabled: true failure-pattern: - 'Call Trace:' - \ssegfault\s how: journal identifier: null ignore-pattern: [] priority: null result: respect unit: null - enabled: true failure-pattern: - .* how: dmesg result: respect component: [] contact: - foo - baz description: null duration: 5m enabled: true environment: FOO: BAR QUX: QUUX framework: shell id: null link: [] manual: false name: /full order: 50 path: / recommend: [] require: [] restart-max-count: 1 restart-on-exit-code: [] restart-with-reboot: false result: respect sources: - /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/discover/default-0/tests/tests/policy/data/test/main.fmf summary: null tag: [] test: /bin/true tier: null tty: false where: null :: [ 09:07:53 ] :: [ PASS ] :: Command 'tmt -vv test export --policy-file ../../policies/test/contact.yaml /full' (Expected 0, got 0) :: [ 09:07:53 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.oBWQJd0R' should contain 'Apply tmt policy '../../policies/test/contact.yaml' to tests.' :: [ 09:07:53 ] :: [ BEGIN ] :: Running 'tmt -vv test export --policy-file ../../policies/test/contact.yaml /full 2> /dev/null | yq -o json '.[] | .contact' | jq -cSr' ["foo","baz"] :: [ 09:07:54 ] :: [ PASS ] :: Command 'tmt -vv test export --policy-file ../../policies/test/contact.yaml /full 2> /dev/null | yq -o json '.[] | .contact' | jq -cSr' (Expected 0, got 0) :: [ 09:07:54 ] :: [ PASS ] :: Verify that .contact key is modified (Assert: '["foo","baz"]' should equal '["foo","baz"]') :: [ 09:07:54 ] :: [ BEGIN ] :: Running 'tmt -vv test export --policy-file ../../policies/test/environment.yaml /basic' Apply tmt policy '../../policies/test/environment.yaml' to tests. - author: [] check: [] component: [] contact: [] description: null duration: 5m enabled: true environment: FOO: xyzzy framework: shell id: null link: [] manual: false name: /basic order: 50 path: / recommend: [] require: [] restart-max-count: 1 restart-on-exit-code: [] restart-with-reboot: false result: respect sources: - /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/discover/default-0/tests/tests/policy/data/test/main.fmf summary: null tag: [] test: /bin/true tier: null tty: false where: null :: [ 09:07:55 ] :: [ PASS ] :: Command 'tmt -vv test export --policy-file ../../policies/test/environment.yaml /basic' (Expected 0, got 0) :: [ 09:07:56 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.GhbiKJTw' should contain 'Apply tmt policy '../../policies/test/environment.yaml' to tests.' :: [ 09:07:56 ] :: [ BEGIN ] :: Running 'tmt -vv test export --policy-file ../../policies/test/environment.yaml /basic 2> /dev/null | yq -o json '.[] | .environment' | jq -cSr' {"FOO":"xyzzy"} :: [ 09:07:57 ] :: [ PASS ] :: Command 'tmt -vv test export --policy-file ../../policies/test/environment.yaml /basic 2> /dev/null | yq -o json '.[] | .environment' | jq -cSr' (Expected 0, got 0) :: [ 09:07:57 ] :: [ PASS ] :: Verify that .environment key is modified (Assert: '{"FOO":"xyzzy"}' should equal '{"FOO":"xyzzy"}') :: [ 09:07:57 ] :: [ BEGIN ] :: Running 'tmt -vv test export --policy-file ../../policies/test/environment.yaml /full' Apply tmt policy '../../policies/test/environment.yaml' to tests. - author: [] check: - delay-before-report: 5 enabled: true how: avc ignore-pattern: - type=USER_AVC.*received policyload notice result: info test-method: timestamp - dmesg: false enabled: true failure-pattern: - 'Call Trace:' - \ssegfault\s how: journal identifier: null ignore-pattern: [] priority: null result: respect unit: null - enabled: true failure-pattern: - .* how: dmesg result: respect component: [] contact: - foo - bar description: null duration: 5m enabled: true environment: FOO: baz QUX: QUUX framework: shell id: null link: [] manual: false name: /full order: 50 path: / recommend: [] require: [] restart-max-count: 1 restart-on-exit-code: [] restart-with-reboot: false result: respect sources: - /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/discover/default-0/tests/tests/policy/data/test/main.fmf summary: null tag: [] test: /bin/true tier: null tty: false where: null :: [ 09:07:58 ] :: [ PASS ] :: Command 'tmt -vv test export --policy-file ../../policies/test/environment.yaml /full' (Expected 0, got 0) :: [ 09:07:58 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.ChEBY75G' should contain 'Apply tmt policy '../../policies/test/environment.yaml' to tests.' :: [ 09:07:58 ] :: [ BEGIN ] :: Running 'tmt -vv test export --policy-file ../../policies/test/environment.yaml /full 2> /dev/null | yq -o json '.[] | .environment' | jq -cSr' {"FOO":"baz","QUX":"QUUX"} :: [ 09:08:00 ] :: [ PASS ] :: Command 'tmt -vv test export --policy-file ../../policies/test/environment.yaml /full 2> /dev/null | yq -o json '.[] | .environment' | jq -cSr' (Expected 0, got 0) :: [ 09:08:00 ] :: [ PASS ] :: Verify that .environment key is modified (Assert: '{"FOO":"baz","QUX":"QUUX"}' should equal '{"FOO":"baz","QUX":"QUUX"}') :: [ 09:08:00 ] :: [ BEGIN ] :: Running 'tmt -vv test export --policy-file ../../policies/test/check.yaml /basic' Apply tmt policy '../../policies/test/check.yaml' to tests. - author: [] check: - delay-before-report: 5 enabled: true how: avc ignore-pattern: - type=USER_AVC.*received policyload notice result: respect test-method: timestamp - dmesg: false enabled: true failure-pattern: - 'Call Trace:' - \ssegfault\s how: journal identifier: null ignore-pattern: [] priority: null result: respect unit: null component: [] contact: [] description: null duration: 5m enabled: true environment: {} framework: shell id: null link: [] manual: false name: /basic order: 50 path: / recommend: [] require: [] restart-max-count: 1 restart-on-exit-code: [] restart-with-reboot: false result: respect sources: - /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/discover/default-0/tests/tests/policy/data/test/main.fmf summary: null tag: [] test: /bin/true tier: null tty: false where: null :: [ 09:08:01 ] :: [ PASS ] :: Command 'tmt -vv test export --policy-file ../../policies/test/check.yaml /basic' (Expected 0, got 0) :: [ 09:08:01 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.YB8g3uNJ' should contain 'Apply tmt policy '../../policies/test/check.yaml' to tests.' :: [ 09:08:01 ] :: [ BEGIN ] :: Running 'tmt -vv test export --policy-file ../../policies/test/check.yaml /basic 2> /dev/null | yq -o json '.[] | .check | [.[] | with_entries(select(.key | test("^(how|result)$")))]' | jq -cSr' [{"how":"avc","result":"respect"},{"how":"journal","result":"respect"}] :: [ 09:08:03 ] :: [ PASS ] :: Command 'tmt -vv test export --policy-file ../../policies/test/check.yaml /basic 2> /dev/null | yq -o json '.[] | .check | [.[] | with_entries(select(.key | test("^(how|result)$")))]' | jq -cSr' (Expected 0, got 0) :: [ 09:08:03 ] :: [ PASS ] :: Verify that .check key is modified (Assert: '[{"how":"avc","result":"respect"},{"how":"journal","result":"respect"}]' should equal '[{"how":"avc","result":"respect"},{"how":"journal","result":"respect"}]') :: [ 09:08:03 ] :: [ BEGIN ] :: Running 'tmt -vv test export --policy-file ../../policies/test/check.yaml /full' Apply tmt policy '../../policies/test/check.yaml' to tests. - author: [] check: - delay-before-report: 5 enabled: true how: avc ignore-pattern: - type=USER_AVC.*received policyload notice result: info test-method: timestamp - dmesg: false enabled: true failure-pattern: - 'Call Trace:' - \ssegfault\s how: journal identifier: null ignore-pattern: [] priority: null result: respect unit: null - enabled: true failure-pattern: - .* how: dmesg result: respect component: [] contact: - foo - bar description: null duration: 5m enabled: true environment: FOO: BAR QUX: QUUX framework: shell id: null link: [] manual: false name: /full order: 50 path: / recommend: [] require: [] restart-max-count: 1 restart-on-exit-code: [] restart-with-reboot: false result: respect sources: - /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/discover/default-0/tests/tests/policy/data/test/main.fmf summary: null tag: [] test: /bin/true tier: null tty: false where: null :: [ 09:08:04 ] :: [ PASS ] :: Command 'tmt -vv test export --policy-file ../../policies/test/check.yaml /full' (Expected 0, got 0) :: [ 09:08:04 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.ZkXZhZxS' should contain 'Apply tmt policy '../../policies/test/check.yaml' to tests.' :: [ 09:08:04 ] :: [ BEGIN ] :: Running 'tmt -vv test export --policy-file ../../policies/test/check.yaml /full 2> /dev/null | yq -o json '.[] | .check | [.[] | with_entries(select(.key | test("^(how|result)$")))]' | jq -cSr' [{"how":"avc","result":"info"},{"how":"journal","result":"respect"},{"how":"dmesg","result":"respect"}] :: [ 09:08:06 ] :: [ PASS ] :: Command 'tmt -vv test export --policy-file ../../policies/test/check.yaml /full 2> /dev/null | yq -o json '.[] | .check | [.[] | with_entries(select(.key | test("^(how|result)$")))]' | jq -cSr' (Expected 0, got 0) :: [ 09:08:06 ] :: [ PASS ] :: Verify that .check key is modified (Assert: '[{"how":"avc","result":"info"},{"how":"journal","result":"respect"},{"how":"dmesg","result":"respect"}]' should equal '[{"how":"avc","result":"info"},{"how":"journal","result":"respect"},{"how":"dmesg","result":"respect"}]') :: [ 09:08:06 ] :: [ BEGIN ] :: Running 'tmt -vv test export --policy-file ../../policies/test/check.yaml /full' Apply tmt policy '../../policies/test/check.yaml' to tests. - author: [] check: - delay-before-report: 5 enabled: true how: avc ignore-pattern: - type=USER_AVC.*received policyload notice result: info test-method: timestamp - dmesg: false enabled: true failure-pattern: - 'Call Trace:' - \ssegfault\s how: journal identifier: null ignore-pattern: [] priority: null result: respect unit: null - enabled: true failure-pattern: - .* how: dmesg result: respect component: [] contact: - foo - bar description: null duration: 5m enabled: true environment: FOO: BAR QUX: QUUX framework: shell id: null link: [] manual: false name: /full order: 50 path: / recommend: [] require: [] restart-max-count: 1 restart-on-exit-code: [] restart-with-reboot: false result: respect sources: - /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/discover/default-0/tests/tests/policy/data/test/main.fmf summary: null tag: [] test: /bin/true tier: null tty: false where: null :: [ 09:08:07 ] :: [ PASS ] :: Command 'tmt -vv test export --policy-file ../../policies/test/check.yaml /full' (Expected 0, got 0) :: [ 09:08:07 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.1s6NJF4u' should contain 'Apply tmt policy '../../policies/test/check.yaml' to tests.' :: [ 09:08:07 ] :: [ BEGIN ] :: Running 'tmt -vv test export --policy-file ../../policies/test/check.yaml /full 2> /dev/null | yq -o json '.[] | .check | [.[] | select(.how == "journal") | .unit]' | jq -cSr' [null] :: [ 09:08:09 ] :: [ PASS ] :: Command 'tmt -vv test export --policy-file ../../policies/test/check.yaml /full 2> /dev/null | yq -o json '.[] | .check | [.[] | select(.how == "journal") | .unit]' | jq -cSr' (Expected 0, got 0) :: [ 09:08:09 ] :: [ PASS ] :: Verify that .check key is modified (Assert: '[null]' should equal '[null]') :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 27s :: Assertions: 36 good, 0 bad :: RESULT: PASS (Sanity) tmt-report-result: saving /Sanity output /tmp/tmp.EbMJug2BRe into /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/execute/data/guest/default-0/tests/policy/test-60/data/Sanity/output.txt tmt-report-result: adding to the result file /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/execute/data/guest/default-0/tests/policy/test-60/data/tmt-report-results.yaml :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Test VALUE_SOURCE usage :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 09:08:09 ] :: [ BEGIN ] :: Running 'tmt -vv test export --policy-file ../../policies/test/duration.yaml /value-source/default-duration' Apply tmt policy '../../policies/test/duration.yaml' to tests. - author: [] check: [] component: [] contact: [] description: null duration: 5m +30m +50m enabled: true environment: {} framework: shell id: null link: [] manual: false name: /value-source/default-duration order: 50 path: / recommend: [] require: [] restart-max-count: 1 restart-on-exit-code: [] restart-with-reboot: false result: respect sources: - /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/discover/default-0/tests/tests/policy/data/test/main.fmf summary: null tag: [] test: /bin/true tier: null tty: false where: null :: [ 09:08:10 ] :: [ PASS ] :: Command 'tmt -vv test export --policy-file ../../policies/test/duration.yaml /value-source/default-duration' (Expected 0, got 0) :: [ 09:08:10 ] :: [ BEGIN ] :: Running 'tmt -vv test export --policy-file ../../policies/test/duration.yaml /value-source/default-duration 2> /dev/null | yq -o json '.[] | .duration' | jq -cSr' 5m +30m +50m :: [ 09:08:12 ] :: [ PASS ] :: Command 'tmt -vv test export --policy-file ../../policies/test/duration.yaml /value-source/default-duration 2> /dev/null | yq -o json '.[] | .duration' | jq -cSr' (Expected 0, got 0) :: [ 09:08:12 ] :: [ PASS ] :: Verify that no custom value is recognized (Assert: '5m +30m +50m' should equal '5m +30m +50m') :: [ 09:08:12 ] :: [ BEGIN ] :: Running 'tmt -vv test export --policy-file ../../policies/test/duration.yaml /value-source/custom-duration' warn: /value-source/custom-duration:duration - '5m +5m' does not match '^([0-9*. ]+[smhd]? *)+$' Apply tmt policy '../../policies/test/duration.yaml' to tests. - author: [] check: [] component: [] contact: [] description: null duration: 5m +5m +10m +50m enabled: true environment: {} framework: shell id: null link: [] manual: false name: /value-source/custom-duration order: 50 path: / recommend: [] require: [] restart-max-count: 1 restart-on-exit-code: [] restart-with-reboot: false result: respect sources: - /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/discover/default-0/tests/tests/policy/data/test/main.fmf summary: null tag: [] test: /bin/true tier: null tty: false where: null :: [ 09:08:13 ] :: [ PASS ] :: Command 'tmt -vv test export --policy-file ../../policies/test/duration.yaml /value-source/custom-duration' (Expected 0, got 0) :: [ 09:08:13 ] :: [ BEGIN ] :: Running 'tmt -vv test export --policy-file ../../policies/test/duration.yaml /value-source/custom-duration 2> /dev/null | yq -o json '.[] | .duration' | jq -cSr' 5m +5m +10m +50m :: [ 09:08:15 ] :: [ PASS ] :: Command 'tmt -vv test export --policy-file ../../policies/test/duration.yaml /value-source/custom-duration 2> /dev/null | yq -o json '.[] | .duration' | jq -cSr' (Expected 0, got 0) :: [ 09:08:15 ] :: [ PASS ] :: Verify that custom value is recognized (Assert: '5m +5m +10m +50m' should equal '5m +5m +10m +50m') :: [ 09:08:15 ] :: [ BEGIN ] :: Running 'tmt -vv test export --policy-file ../../policies/test/duration.yaml /value-source/same-as-default' Apply tmt policy '../../policies/test/duration.yaml' to tests. - author: [] check: [] component: [] contact: [] description: null duration: 5m +10m +50m enabled: true environment: {} framework: shell id: null link: [] manual: false name: /value-source/same-as-default order: 50 path: / recommend: [] require: [] restart-max-count: 1 restart-on-exit-code: [] restart-with-reboot: false result: respect sources: - /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/discover/default-0/tests/tests/policy/data/test/main.fmf summary: null tag: [] test: /bin/true tier: null tty: false where: null :: [ 09:08:16 ] :: [ PASS ] :: Command 'tmt -vv test export --policy-file ../../policies/test/duration.yaml /value-source/same-as-default' (Expected 0, got 0) :: [ 09:08:16 ] :: [ BEGIN ] :: Running 'tmt -vv test export --policy-file ../../policies/test/duration.yaml /value-source/same-as-default 2> /dev/null | yq -o json '.[] | .duration' | jq -cSr' 5m +10m +50m :: [ 09:08:17 ] :: [ PASS ] :: Command 'tmt -vv test export --policy-file ../../policies/test/duration.yaml /value-source/same-as-default 2> /dev/null | yq -o json '.[] | .duration' | jq -cSr' (Expected 0, got 0) :: [ 09:08:17 ] :: [ PASS ] :: Verify that custom value which is the same as the default is recognized (Assert: '5m +10m +50m' should equal '5m +10m +50m') :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 8s :: Assertions: 9 good, 0 bad :: RESULT: PASS (Test VALUE_SOURCE usage) tmt-report-result: saving /Test-VALUE-SOURCE-usage output /tmp/tmp.JKqjTERAwI into /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/execute/data/guest/default-0/tests/policy/test-60/data/Test-VALUE-SOURCE-usage/output.txt tmt-report-result: adding to the result file /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/execute/data/guest/default-0/tests/policy/test-60/data/tmt-report-results.yaml :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Test whether tmt run accepts a policy :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 09:08:18 ] :: [ BEGIN ] :: Running ' tmt --feeling-safe -vv run --id /tmp/tmp.Zz5DqmL3SA --scratch --policy-file ../../policies/test/test.yaml discover provision -h local execute report -h display -vvv plan --default test --name /basic' /tmp/tmp.Zz5DqmL3SA warn: User is feeling safe. Apply tmt policy '../../policies/test/test.yaml' to plans. Found 1 plan. /default/plan discover directory: /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/discover/default-0/tests/tests/policy/data/test how: fmf Apply tmt policy '../../policies/test/test.yaml' to tests. summary: 1 test selected /basic 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 execute queued execute tasks #1: default-0 on default-0 execute task #1: default-0 on default-0 how: tmt ignore-duration: false exit-first: false test: /basic duration deadline: 300 seconds, at 09:13:19 2026-05-27 UTC cmd: bash -c 'echo "Spiked test."; /bin/true' 00:00:00 pass /basic (on default-0) [1/1] summary: 1 test executed report how: display order: 50 prepare execute 00:00:00 pass /basic logs (with content): output.txt (/tmp/tmp.Zz5DqmL3SA/default/plan/execute/data/guest/default-0/basic-1/output.txt) content: Spiked test. failures.yaml (/tmp/tmp.Zz5DqmL3SA/default/plan/execute/data/guest/default-0/basic-1/failures.yaml) summary: 1 test passed total: 1 test passed :: [ 09:08:20 ] :: [ PASS ] :: Command ' tmt --feeling-safe -vv run --id /tmp/tmp.Zz5DqmL3SA --scratch --policy-file ../../policies/test/test.yaml discover provision -h local execute report -h display -vvv plan --default test --name /basic' (Expected 0, got 0) :: [ 09:08:20 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.kAgI2Qsc' should contain 'content: Spiked test.' :: [ 09:08:20 ] :: [ PASS ] :: Verify that test has been modified (Assert: 'bash -c 'echo "Spiked test."; /bin/true'' should equal 'bash -c 'echo "Spiked test."; /bin/true'') :: [ 09:08:20 ] :: [ BEGIN ] :: Running 'TMT_POLICY_FILE=../../policies/test/test.yaml tmt --feeling-safe -vv run --id /tmp/tmp.Zz5DqmL3SA --scratch discover provision -h local execute report -h display -vvv plan --default test --name /basic' /tmp/tmp.Zz5DqmL3SA warn: User is feeling safe. Apply tmt policy '../../policies/test/test.yaml' to plans. Found 1 plan. /default/plan discover directory: /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/discover/default-0/tests/tests/policy/data/test how: fmf Apply tmt policy '../../policies/test/test.yaml' to tests. summary: 1 test selected /basic 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 execute queued execute tasks #1: default-0 on default-0 execute task #1: default-0 on default-0 how: tmt ignore-duration: false exit-first: false test: /basic duration deadline: 300 seconds, at 09:13:21 2026-05-27 UTC cmd: bash -c 'echo "Spiked test."; /bin/true' 00:00:00 pass /basic (on default-0) [1/1] summary: 1 test executed report how: display order: 50 prepare execute 00:00:00 pass /basic logs (with content): output.txt (/tmp/tmp.Zz5DqmL3SA/default/plan/execute/data/guest/default-0/basic-1/output.txt) content: Spiked test. failures.yaml (/tmp/tmp.Zz5DqmL3SA/default/plan/execute/data/guest/default-0/basic-1/failures.yaml) summary: 1 test passed total: 1 test passed :: [ 09:08:22 ] :: [ PASS ] :: Command 'TMT_POLICY_FILE=../../policies/test/test.yaml tmt --feeling-safe -vv run --id /tmp/tmp.Zz5DqmL3SA --scratch discover provision -h local execute report -h display -vvv plan --default test --name /basic' (Expected 0, got 0) :: [ 09:08:22 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.pgImisb7' should contain 'content: Spiked test.' :: [ 09:08:22 ] :: [ PASS ] :: Verify that test has been modified (Assert: 'bash -c 'echo "Spiked test."; /bin/true'' should equal 'bash -c 'echo "Spiked test."; /bin/true'') :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 5s :: Assertions: 6 good, 0 bad :: RESULT: PASS (Test whether tmt run accepts a policy) tmt-report-result: saving /Test-whether-tmt-run-accepts-a-policy output /tmp/tmp.MFhOoW3H3U into /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/execute/data/guest/default-0/tests/policy/test-60/data/Test-whether-tmt-run-accepts-a-policy/output.txt tmt-report-result: adding to the result file /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/execute/data/guest/default-0/tests/policy/test-60/data/tmt-report-results.yaml :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Policy root :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 09:08:22 ] :: [ BEGIN ] :: Running 'tmt --feeling-safe -vv run --id /tmp/tmp.Zz5DqmL3SA --scratch --policy-root /tmp --policy-file ../../policies/test/test.yaml discover provision -h local execute report -h display -vvv plan --default test --name /basic' Policy '/tmp/../../policies/test/test.yaml' does not reside under policy root '/tmp'. :: [ 09:08:23 ] :: [ PASS ] :: Command 'tmt --feeling-safe -vv run --id /tmp/tmp.Zz5DqmL3SA --scratch --policy-root /tmp --policy-file ../../policies/test/test.yaml discover provision -h local execute report -h display -vvv plan --default test --name /basic' (Expected 2, got 2) :: [ 09:08:23 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.5sTmS8M0' should contain 'Policy '/tmp/../../policies/test/test.yaml' does not reside under policy root '/tmp'.' :: [ 09:08:23 ] :: [ BEGIN ] :: Running 'TMT_POLICY_ROOT=/tmp TMT_POLICY_FILE=../../policies/test/test.yaml tmt --feeling-safe -vv run --id /tmp/tmp.Zz5DqmL3SA --scratch discover provision -h local execute report -h display -vvv plan --default test --name /basic' Policy '/tmp/../../policies/test/test.yaml' does not reside under policy root '/tmp'. :: [ 09:08:24 ] :: [ PASS ] :: Command 'TMT_POLICY_ROOT=/tmp TMT_POLICY_FILE=../../policies/test/test.yaml tmt --feeling-safe -vv run --id /tmp/tmp.Zz5DqmL3SA --scratch discover provision -h local execute report -h display -vvv plan --default test --name /basic' (Expected 2, got 2) :: [ 09:08:24 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.yBp1bOf0' should contain 'Policy '/tmp/../../policies/test/test.yaml' does not reside under policy root '/tmp'.' :: [ 09:08:24 ] :: [ BEGIN ] :: Running 'tmt --feeling-safe -vv run --id /tmp/tmp.Zz5DqmL3SA --scratch --policy-root /tmp --policy-file test.yaml discover provision -h local execute report -h display -vvv plan --default test --name /basic' Policy '/tmp/test.yaml' not found. The exception was caused by 1 earlier exceptions Cause number 1: [Errno 2] No such file or directory: '/tmp/test.yaml' :: [ 09:08:26 ] :: [ PASS ] :: Command 'tmt --feeling-safe -vv run --id /tmp/tmp.Zz5DqmL3SA --scratch --policy-root /tmp --policy-file test.yaml discover provision -h local execute report -h display -vvv plan --default test --name /basic' (Expected 2, got 2) :: [ 09:08:26 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.hE7dClqj' should contain 'Policy '/tmp/test.yaml' not found.' :: [ 09:08:26 ] :: [ BEGIN ] :: Running 'TMT_POLICY_ROOT=/tmp TMT_POLICY_FILE=test.yaml tmt --feeling-safe -vv run --id /tmp/tmp.Zz5DqmL3SA --scratch discover provision -h local execute report -h display -vvv plan --default test --name /basic' Policy '/tmp/test.yaml' not found. The exception was caused by 1 earlier exceptions Cause number 1: [Errno 2] No such file or directory: '/tmp/test.yaml' :: [ 09:08:27 ] :: [ PASS ] :: Command 'TMT_POLICY_ROOT=/tmp TMT_POLICY_FILE=test.yaml tmt --feeling-safe -vv run --id /tmp/tmp.Zz5DqmL3SA --scratch discover provision -h local execute report -h display -vvv plan --default test --name /basic' (Expected 2, got 2) :: [ 09:08:27 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.ENtqqgCH' should contain 'Policy '/tmp/test.yaml' not found.' :: [ 09:08:27 ] :: [ BEGIN ] :: Running 'tmt --feeling-safe -vv run --id /tmp/tmp.Zz5DqmL3SA --scratch --policy-root /tmp --policy-name test/test discover provision -h local execute report -h display -vvv plan --default test --name /basic' Policy 'test/test' does not point to a file. :: [ 09:08:28 ] :: [ PASS ] :: Command 'tmt --feeling-safe -vv run --id /tmp/tmp.Zz5DqmL3SA --scratch --policy-root /tmp --policy-name test/test discover provision -h local execute report -h display -vvv plan --default test --name /basic' (Expected 2, got 2) :: [ 09:08:28 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.kuVMHTGB' should contain 'Policy 'test/test' does not point to a file.' :: [ 09:08:29 ] :: [ BEGIN ] :: Running 'TMT_POLICY_ROOT=/tmp TMT_POLICY_NAME=test/test tmt --feeling-safe -vv run --id /tmp/tmp.Zz5DqmL3SA --scratch discover provision -h local execute report -h display -vvv plan --default test --name /basic' Policy 'test/test' does not point to a file. :: [ 09:08:30 ] :: [ PASS ] :: Command 'TMT_POLICY_ROOT=/tmp TMT_POLICY_NAME=test/test tmt --feeling-safe -vv run --id /tmp/tmp.Zz5DqmL3SA --scratch discover provision -h local execute report -h display -vvv plan --default test --name /basic' (Expected 2, got 2) :: [ 09:08:30 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.FezZ5YZ7' should contain 'Policy 'test/test' does not point to a file.' :: [ 09:08:30 ] :: [ BEGIN ] :: Running 'tmt --feeling-safe -vv run --id /tmp/tmp.Zz5DqmL3SA --scratch --policy-root ../../policies --policy-name does-not-exist discover provision -h local execute report -h display -vvv plan --default test --name /basic' Policy 'does-not-exist' does not point to a file. :: [ 09:08:31 ] :: [ PASS ] :: Command 'tmt --feeling-safe -vv run --id /tmp/tmp.Zz5DqmL3SA --scratch --policy-root ../../policies --policy-name does-not-exist discover provision -h local execute report -h display -vvv plan --default test --name /basic' (Expected 2, got 2) :: [ 09:08:31 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.AgDBN3V5' should contain 'Policy 'does-not-exist' does not point to a file.' :: [ 09:08:31 ] :: [ BEGIN ] :: Running 'TMT_POLICY_ROOT=../../policies TMT_POLICY_NAME=does-not-exist tmt --feeling-safe -vv run --id /tmp/tmp.Zz5DqmL3SA --scratch discover provision -h local execute report -h display -vvv plan --default test --name /basic' Policy 'does-not-exist' does not point to a file. :: [ 09:08:33 ] :: [ PASS ] :: Command 'TMT_POLICY_ROOT=../../policies TMT_POLICY_NAME=does-not-exist tmt --feeling-safe -vv run --id /tmp/tmp.Zz5DqmL3SA --scratch discover provision -h local execute report -h display -vvv plan --default test --name /basic' (Expected 2, got 2) :: [ 09:08:33 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.MfzdQciW' should contain 'Policy 'does-not-exist' does not point to a file.' :: [ 09:08:33 ] :: [ BEGIN ] :: Running 'tmt --feeling-safe -vv run --id /tmp/tmp.Zz5DqmL3SA --scratch --policy-name test/test discover provision -h local execute report -h display -vvv plan --default test --name /basic' Policy can be loaded by its name only when '--policy-root' is specified. :: [ 09:08:34 ] :: [ PASS ] :: Command 'tmt --feeling-safe -vv run --id /tmp/tmp.Zz5DqmL3SA --scratch --policy-name test/test discover provision -h local execute report -h display -vvv plan --default test --name /basic' (Expected 2, got 2) :: [ 09:08:34 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.ttwwNHNz' should contain 'Policy can be loaded by its name only when '--policy-root' is specified.' :: [ 09:08:34 ] :: [ BEGIN ] :: Running ' TMT_POLICY_NAME=test/test tmt --feeling-safe -vv run --id /tmp/tmp.Zz5DqmL3SA --scratch discover provision -h local execute report -h display -vvv plan --default test --name /basic' Policy can be loaded by its name only when '--policy-root' is specified. :: [ 09:08:35 ] :: [ PASS ] :: Command ' TMT_POLICY_NAME=test/test tmt --feeling-safe -vv run --id /tmp/tmp.Zz5DqmL3SA --scratch discover provision -h local execute report -h display -vvv plan --default test --name /basic' (Expected 2, got 2) :: [ 09:08:35 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.TVrEVe02' should contain 'Policy can be loaded by its name only when '--policy-root' is specified.' :: [ 09:08:35 ] :: [ BEGIN ] :: Running 'tmt --feeling-safe -vv run --id /tmp/tmp.Zz5DqmL3SA --scratch --policy-file test/test.yaml discover provision -h local execute report -h display -vvv plan --default test --name /basic' Policy 'test/test.yaml' not found. The exception was caused by 1 earlier exceptions Cause number 1: [Errno 2] No such file or directory: 'test/test.yaml' :: [ 09:08:37 ] :: [ PASS ] :: Command 'tmt --feeling-safe -vv run --id /tmp/tmp.Zz5DqmL3SA --scratch --policy-file test/test.yaml discover provision -h local execute report -h display -vvv plan --default test --name /basic' (Expected 2, got 2) :: [ 09:08:37 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.jcAwCuDw' should contain 'Policy 'test/test.yaml' not found.' :: [ 09:08:37 ] :: [ BEGIN ] :: Running ' TMT_POLICY_FILE=test/test.yaml tmt --feeling-safe -vv run --id /tmp/tmp.Zz5DqmL3SA --scratch discover provision -h local execute report -h display -vvv plan --default test --name /basic' Policy 'test/test.yaml' not found. The exception was caused by 1 earlier exceptions Cause number 1: [Errno 2] No such file or directory: 'test/test.yaml' :: [ 09:08:38 ] :: [ PASS ] :: Command ' TMT_POLICY_FILE=test/test.yaml tmt --feeling-safe -vv run --id /tmp/tmp.Zz5DqmL3SA --scratch discover provision -h local execute report -h display -vvv plan --default test --name /basic' (Expected 2, got 2) :: [ 09:08:38 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.XqGgd4Ti' should contain 'Policy 'test/test.yaml' not found.' :: [ 09:08:38 ] :: [ BEGIN ] :: Running 'tmt --feeling-safe -vv run --id /tmp/tmp.Zz5DqmL3SA --scratch --policy-root ../../policies --policy-file test/test.yaml --policy-name test/test discover provision -h local execute report -h display -vvv plan --default test --name /basic' Options '--policy-name' and '--policy-file' are mutually exclusive. :: [ 09:08:39 ] :: [ PASS ] :: Command 'tmt --feeling-safe -vv run --id /tmp/tmp.Zz5DqmL3SA --scratch --policy-root ../../policies --policy-file test/test.yaml --policy-name test/test discover provision -h local execute report -h display -vvv plan --default test --name /basic' (Expected 2, got 2) :: [ 09:08:39 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.2kwgIA9Q' should contain 'Options '--policy-name' and '--policy-file' are mutually exclusive.' :: [ 09:08:39 ] :: [ BEGIN ] :: Running 'TMT_POLICY_ROOT=../../policies TMT_POLICY_FILE=test/test.yaml TMT_POLICY_NAME=test/test tmt --feeling-safe -vv run --id /tmp/tmp.Zz5DqmL3SA --scratch discover provision -h local execute report -h display -vvv plan --default test --name /basic' Options '--policy-name' and '--policy-file' are mutually exclusive. :: [ 09:08:41 ] :: [ PASS ] :: Command 'TMT_POLICY_ROOT=../../policies TMT_POLICY_FILE=test/test.yaml TMT_POLICY_NAME=test/test tmt --feeling-safe -vv run --id /tmp/tmp.Zz5DqmL3SA --scratch discover provision -h local execute report -h display -vvv plan --default test --name /basic' (Expected 2, got 2) :: [ 09:08:41 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.sDoaagCA' should contain 'Options '--policy-name' and '--policy-file' are mutually exclusive.' :: [ 09:08:41 ] :: [ BEGIN ] :: Running 'tmt --feeling-safe -vv run --id /tmp/tmp.Zz5DqmL3SA --scratch --policy-root ../../policies --policy-name test/test discover provision -h local execute report -h display -vvv plan --default test --name /basic' /tmp/tmp.Zz5DqmL3SA warn: User is feeling safe. Apply tmt policy 'test/test' to plans. Found 1 plan. /default/plan discover directory: /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/discover/default-0/tests/tests/policy/data/test how: fmf Apply tmt policy 'test/test' to tests. summary: 1 test selected /basic 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 execute queued execute tasks #1: default-0 on default-0 execute task #1: default-0 on default-0 how: tmt ignore-duration: false exit-first: false test: /basic duration deadline: 300 seconds, at 09:13:42 2026-05-27 UTC cmd: bash -c 'echo "Spiked test."; /bin/true' 00:00:00 pass /basic (on default-0) [1/1] summary: 1 test executed report how: display order: 50 prepare execute 00:00:00 pass /basic logs (with content): output.txt (/tmp/tmp.Zz5DqmL3SA/default/plan/execute/data/guest/default-0/basic-1/output.txt) content: Spiked test. failures.yaml (/tmp/tmp.Zz5DqmL3SA/default/plan/execute/data/guest/default-0/basic-1/failures.yaml) summary: 1 test passed total: 1 test passed :: [ 09:08:43 ] :: [ PASS ] :: Command 'tmt --feeling-safe -vv run --id /tmp/tmp.Zz5DqmL3SA --scratch --policy-root ../../policies --policy-name test/test discover provision -h local execute report -h display -vvv plan --default test --name /basic' (Expected 0, got 0) :: [ 09:08:43 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.17BL5ier' should contain 'content: Spiked test.' :: [ 09:08:43 ] :: [ BEGIN ] :: Running 'TMT_POLICY_ROOT=../../policies TMT_POLICY_NAME=test/test tmt --feeling-safe -vv run --id /tmp/tmp.Zz5DqmL3SA --scratch discover provision -h local execute report -h display -vvv plan --default test --name /basic' /tmp/tmp.Zz5DqmL3SA warn: User is feeling safe. Apply tmt policy 'test/test' to plans. Found 1 plan. /default/plan discover directory: /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/discover/default-0/tests/tests/policy/data/test how: fmf Apply tmt policy 'test/test' to tests. summary: 1 test selected /basic 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 execute queued execute tasks #1: default-0 on default-0 execute task #1: default-0 on default-0 how: tmt ignore-duration: false exit-first: false test: /basic duration deadline: 300 seconds, at 09:13:45 2026-05-27 UTC cmd: bash -c 'echo "Spiked test."; /bin/true' 00:00:00 pass /basic (on default-0) [1/1] summary: 1 test executed report how: display order: 50 prepare execute 00:00:00 pass /basic logs (with content): output.txt (/tmp/tmp.Zz5DqmL3SA/default/plan/execute/data/guest/default-0/basic-1/output.txt) content: Spiked test. failures.yaml (/tmp/tmp.Zz5DqmL3SA/default/plan/execute/data/guest/default-0/basic-1/failures.yaml) summary: 1 test passed total: 1 test passed :: [ 09:08:45 ] :: [ PASS ] :: Command 'TMT_POLICY_ROOT=../../policies TMT_POLICY_NAME=test/test tmt --feeling-safe -vv run --id /tmp/tmp.Zz5DqmL3SA --scratch discover provision -h local execute report -h display -vvv plan --default test --name /basic' (Expected 0, got 0) :: [ 09:08:45 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.twFCrCKB' should contain 'content: Spiked test.' :: [ 09:08:45 ] :: [ BEGIN ] :: Running 'tmt --feeling-safe -vv run --id /tmp/tmp.Zz5DqmL3SA --scratch --policy-root ../../policies --policy-file test/test.yaml discover provision -h local execute report -h display -vvv plan --default test --name /basic' /tmp/tmp.Zz5DqmL3SA warn: User is feeling safe. Apply tmt policy '../../policies/test/test.yaml' to plans. Found 1 plan. /default/plan discover directory: /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/discover/default-0/tests/tests/policy/data/test how: fmf Apply tmt policy '../../policies/test/test.yaml' to tests. summary: 1 test selected /basic 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 execute queued execute tasks #1: default-0 on default-0 execute task #1: default-0 on default-0 how: tmt ignore-duration: false exit-first: false test: /basic duration deadline: 300 seconds, at 09:13:47 2026-05-27 UTC cmd: bash -c 'echo "Spiked test."; /bin/true' 00:00:00 pass /basic (on default-0) [1/1] summary: 1 test executed report how: display order: 50 prepare execute 00:00:00 pass /basic logs (with content): output.txt (/tmp/tmp.Zz5DqmL3SA/default/plan/execute/data/guest/default-0/basic-1/output.txt) content: Spiked test. failures.yaml (/tmp/tmp.Zz5DqmL3SA/default/plan/execute/data/guest/default-0/basic-1/failures.yaml) summary: 1 test passed total: 1 test passed :: [ 09:08:47 ] :: [ PASS ] :: Command 'tmt --feeling-safe -vv run --id /tmp/tmp.Zz5DqmL3SA --scratch --policy-root ../../policies --policy-file test/test.yaml discover provision -h local execute report -h display -vvv plan --default test --name /basic' (Expected 0, got 0) :: [ 09:08:47 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.Ecku8C57' should contain 'content: Spiked test.' :: [ 09:08:47 ] :: [ BEGIN ] :: Running 'TMT_POLICY_ROOT=../../policies TMT_POLICY_FILE=test/test.yaml tmt --feeling-safe -vv run --id /tmp/tmp.Zz5DqmL3SA --scratch discover provision -h local execute report -h display -vvv plan --default test --name /basic' /tmp/tmp.Zz5DqmL3SA warn: User is feeling safe. Apply tmt policy '../../policies/test/test.yaml' to plans. Found 1 plan. /default/plan discover directory: /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/discover/default-0/tests/tests/policy/data/test how: fmf Apply tmt policy '../../policies/test/test.yaml' to tests. summary: 1 test selected /basic 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 execute queued execute tasks #1: default-0 on default-0 execute task #1: default-0 on default-0 how: tmt ignore-duration: false exit-first: false test: /basic duration deadline: 300 seconds, at 09:13:49 2026-05-27 UTC cmd: bash -c 'echo "Spiked test."; /bin/true' 00:00:00 pass /basic (on default-0) [1/1] summary: 1 test executed report how: display order: 50 prepare execute 00:00:00 pass /basic logs (with content): output.txt (/tmp/tmp.Zz5DqmL3SA/default/plan/execute/data/guest/default-0/basic-1/output.txt) content: Spiked test. failures.yaml (/tmp/tmp.Zz5DqmL3SA/default/plan/execute/data/guest/default-0/basic-1/failures.yaml) summary: 1 test passed total: 1 test passed :: [ 09:08:49 ] :: [ PASS ] :: Command 'TMT_POLICY_ROOT=../../policies TMT_POLICY_FILE=test/test.yaml tmt --feeling-safe -vv run --id /tmp/tmp.Zz5DqmL3SA --scratch discover provision -h local execute report -h display -vvv plan --default test --name /basic' (Expected 0, got 0) :: [ 09:08:49 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.Fgp37qEW' should contain 'content: Spiked test.' :: [ 09:08:49 ] :: [ BEGIN ] :: Running 'tmt --feeling-safe -vv run --id /tmp/tmp.Zz5DqmL3SA --scratch --policy-file ../../policies/test/test.yaml discover provision -h local execute report -h display -vvv plan --default test --name /basic' /tmp/tmp.Zz5DqmL3SA warn: User is feeling safe. Apply tmt policy '../../policies/test/test.yaml' to plans. Found 1 plan. /default/plan discover directory: /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/discover/default-0/tests/tests/policy/data/test how: fmf Apply tmt policy '../../policies/test/test.yaml' to tests. summary: 1 test selected /basic 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 execute queued execute tasks #1: default-0 on default-0 execute task #1: default-0 on default-0 how: tmt ignore-duration: false exit-first: false test: /basic duration deadline: 300 seconds, at 09:13:51 2026-05-27 UTC cmd: bash -c 'echo "Spiked test."; /bin/true' 00:00:00 pass /basic (on default-0) [1/1] summary: 1 test executed report how: display order: 50 prepare execute 00:00:00 pass /basic logs (with content): output.txt (/tmp/tmp.Zz5DqmL3SA/default/plan/execute/data/guest/default-0/basic-1/output.txt) content: Spiked test. failures.yaml (/tmp/tmp.Zz5DqmL3SA/default/plan/execute/data/guest/default-0/basic-1/failures.yaml) summary: 1 test passed total: 1 test passed :: [ 09:08:51 ] :: [ PASS ] :: Command 'tmt --feeling-safe -vv run --id /tmp/tmp.Zz5DqmL3SA --scratch --policy-file ../../policies/test/test.yaml discover provision -h local execute report -h display -vvv plan --default test --name /basic' (Expected 0, got 0) :: [ 09:08:51 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.ECKz0XFE' should contain 'content: Spiked test.' :: [ 09:08:51 ] :: [ BEGIN ] :: Running ' TMT_POLICY_FILE=../../policies/test/test.yaml tmt --feeling-safe -vv run --id /tmp/tmp.Zz5DqmL3SA --scratch discover provision -h local execute report -h display -vvv plan --default test --name /basic' /tmp/tmp.Zz5DqmL3SA warn: User is feeling safe. Apply tmt policy '../../policies/test/test.yaml' to plans. Found 1 plan. /default/plan discover directory: /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/discover/default-0/tests/tests/policy/data/test how: fmf Apply tmt policy '../../policies/test/test.yaml' to tests. summary: 1 test selected /basic 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 execute queued execute tasks #1: default-0 on default-0 execute task #1: default-0 on default-0 how: tmt ignore-duration: false exit-first: false test: /basic duration deadline: 300 seconds, at 09:13:53 2026-05-27 UTC cmd: bash -c 'echo "Spiked test."; /bin/true' 00:00:00 pass /basic (on default-0) [1/1] summary: 1 test executed report how: display order: 50 prepare execute 00:00:00 pass /basic logs (with content): output.txt (/tmp/tmp.Zz5DqmL3SA/default/plan/execute/data/guest/default-0/basic-1/output.txt) content: Spiked test. failures.yaml (/tmp/tmp.Zz5DqmL3SA/default/plan/execute/data/guest/default-0/basic-1/failures.yaml) summary: 1 test passed total: 1 test passed :: [ 09:08:53 ] :: [ PASS ] :: Command ' TMT_POLICY_FILE=../../policies/test/test.yaml tmt --feeling-safe -vv run --id /tmp/tmp.Zz5DqmL3SA --scratch discover provision -h local execute report -h display -vvv plan --default test --name /basic' (Expected 0, got 0) :: [ 09:08:53 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.svpthkNc' should contain 'content: Spiked test.' :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 31s :: Assertions: 40 good, 0 bad :: RESULT: PASS (Policy root) tmt-report-result: saving /Policy-root output /tmp/tmp.0fwoIrmW5m into /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/execute/data/guest/default-0/tests/policy/test-60/data/Policy-root/output.txt tmt-report-result: adding to the result file /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/execute/data/guest/default-0/tests/policy/test-60/data/tmt-report-results.yaml :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Invalid keys :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 09:08:53 ] :: [ BEGIN ] :: Running 'tmt -vv test export --policy-file ../../policies/test/invalid.yaml /basic' Apply tmt policy '../../policies/test/invalid.yaml' to tests. Could not find field 'script' in class '/basic'. :: [ 09:08:55 ] :: [ PASS ] :: Command 'tmt -vv test export --policy-file ../../policies/test/invalid.yaml /basic' (Expected 2, got 2) :: [ 09:08:55 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.sJIpbxP0' should contain 'Could not find field 'script' in class '/basic'.' :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 2s :: Assertions: 2 good, 0 bad :: RESULT: PASS (Invalid keys) tmt-report-result: saving /Invalid-keys output /tmp/tmp.LbRvuZcDCy into /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/execute/data/guest/default-0/tests/policy/test-60/data/Invalid-keys/output.txt tmt-report-result: adding to the result file /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/execute/data/guest/default-0/tests/policy/test-60/data/tmt-report-results.yaml :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Cleanup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 09:08:55 ] :: [ BEGIN ] :: Running 'popd' /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/discover/default-0/tests/tests/policy :: [ 09:08:55 ] :: [ PASS ] :: Command 'popd' (Expected 0, got 0) :: [ 09:08:55 ] :: [ BEGIN ] :: Remove run directory :: actually running 'rm -r /tmp/tmp.Zz5DqmL3SA' :: [ 09:08:55 ] :: [ PASS ] :: Remove run directory (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 0s :: Assertions: 2 good, 0 bad :: RESULT: PASS (Cleanup) tmt-report-result: saving /Cleanup output /tmp/tmp.8Sc1V3QSzf into /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/execute/data/guest/default-0/tests/policy/test-60/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/policy/test-60/data/tmt-report-results.yaml :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: /tests/policy/test :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 09:08:55 ] :: [ LOG ] :: Phases fingerprint: GLWAc0zH :: [ 09:08:55 ] :: [ LOG ] :: Asserts fingerprint: 0jF95DAc File '/var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/execute/data/guest/default-0/tests/policy/test-60/journal.xml' already stored in '/var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/execute/data/guest/default-0/tests/policy/test-60'. :: [ 09:08:55 ] :: [ INFO ] :: Deleting rlRun_LOG file(s) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 74s :: Phases: 7 good, 0 bad :: OVERALL RESULT: PASS (/tests/policy/test)