:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Setup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 09:00:34 ] :: [ BEGIN ] :: Running 'pushd data' /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/discover/default-0/tests/tests/plan/context/data /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/discover/default-0/tests/tests/plan/context :: [ 09:00:34 ] :: [ PASS ] :: Command 'pushd data' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 0s :: Assertions: 1 good, 0 bad :: RESULT: PASS (Setup) tmt-report-result: saving /Setup output /tmp/tmp.G7rIOdeTMO into /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/execute/data/guest/default-0/tests/plan/context-48/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/plan/context-48/data/tmt-report-results.yaml :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Plan with a good context :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 09:00:34 ] :: [ BEGIN ] :: Running 'tmt -c distro=rhel9 -c arch=aarch64,x86_64 plan show good' /good summary Basic plan with a sane context provision how virtual stop-retry-delay 1 environment {} when user root connection session image fedora list-local-images false key arch x86_64 ssh-option become false stop-retries 10 ansible {} environment TMT_VERSION: 1.75.0.dev3+g5793f160e context foo: bar baz: 'qux' and 'fred' distro: rhel9 arch: 'aarch64' and 'x86_64' enabled true ansible {} :: [ 09:00:35 ] :: [ PASS ] :: Command 'tmt -c distro=rhel9 -c arch=aarch64,x86_64 plan show good' (Expected 0, got 0) :: [ 09:00:35 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.lGlsxAU5' should contain 'foo: bar' :: [ 09:00:35 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.lGlsxAU5' should contain 'baz: 'qux' and 'fred'' :: [ 09:00:35 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.lGlsxAU5' should contain 'distro: rhel9' :: [ 09:00:35 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.lGlsxAU5' should contain 'arch: 'aarch64' and 'x86_64'' :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 1s :: Assertions: 5 good, 0 bad :: RESULT: PASS (Plan with a good context) tmt-report-result: saving /Plan-with-a-good-context output /tmp/tmp.7RScqORcsU into /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/execute/data/guest/default-0/tests/plan/context-48/data/Plan-with-a-good-context/output.txt tmt-report-result: adding to the result file /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/execute/data/guest/default-0/tests/plan/context-48/data/tmt-report-results.yaml :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Plan with a bad context :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 09:00:36 ] :: [ BEGIN ] :: Running 'tmt -c distro=rhel9 -c arch=aarch64,x86_64 plan show bad' warn: /bad:context - None is not of type 'object' warn: /bad-values:context.baz - False is not valid under any of the given schemas warn: /bad-values:context.dud - {'how': 'about'} is not valid under any of the given schemas warn: /bad-values:context.bar - 1 is not valid under any of the given schemas /bad summary Basic plan with incomplete context provision how virtual environment {} user root list-local-images false when stop-retry-delay 1 key connection session become false stop-retries 10 arch x86_64 ssh-option image fedora ansible {} environment TMT_VERSION: 1.75.0.dev3+g5793f160e context distro: rhel9 arch: 'aarch64' and 'x86_64' enabled true ansible {} /bad-values summary Basic plan with invalid context values provision how virtual environment {} user root list-local-images false when stop-retry-delay 1 key connection session become false stop-retries 10 arch x86_64 ssh-option image fedora ansible {} environment TMT_VERSION: 1.75.0.dev3+g5793f160e context foo: foo bar: 1 baz: False dud: {'how': 'about'} distro: rhel9 arch: 'aarch64' and 'x86_64' enabled true ansible {} :: [ 09:00:37 ] :: [ PASS ] :: Command 'tmt -c distro=rhel9 -c arch=aarch64,x86_64 plan show bad' (Expected 0, got 0) :: [ 09:00:37 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.9YRin8DG' should contain 'distro: rhel9' :: [ 09:00:37 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.9YRin8DG' should contain 'arch: 'aarch64' and 'x86_64'' :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 1s :: Assertions: 3 good, 0 bad :: RESULT: PASS (Plan with a bad context) tmt-report-result: saving /Plan-with-a-bad-context output /tmp/tmp.R5qu0hnViL into /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/execute/data/guest/default-0/tests/plan/context-48/data/Plan-with-a-bad-context/output.txt tmt-report-result: adding to the result file /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/execute/data/guest/default-0/tests/plan/context-48/data/tmt-report-results.yaml :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Plan with a good context, overwritten by command line :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 09:00:37 ] :: [ BEGIN ] :: Running 'tmt -c distro=rhel9 -c arch=aarch64,x86_64 -c baz=something,different plan show good' /good summary Basic plan with a sane context provision how virtual become false user root connection session key stop-retry-delay 1 environment {} list-local-images false stop-retries 10 arch x86_64 image fedora when ssh-option ansible {} environment TMT_VERSION: 1.75.0.dev3+g5793f160e context foo: bar baz: 'something' and 'different' distro: rhel9 arch: 'aarch64' and 'x86_64' enabled true ansible {} :: [ 09:00:39 ] :: [ PASS ] :: Command 'tmt -c distro=rhel9 -c arch=aarch64,x86_64 -c baz=something,different plan show good' (Expected 0, got 0) :: [ 09:00:39 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.amFd6ALL' should contain 'foo: bar' :: [ 09:00:39 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.amFd6ALL' should contain 'baz: 'something' and 'different'' :: [ 09:00:39 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.amFd6ALL' should contain 'distro: rhel9' :: [ 09:00:39 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.amFd6ALL' should contain 'arch: 'aarch64' and 'x86_64'' :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 2s :: Assertions: 5 good, 0 bad :: RESULT: PASS (Plan with a good context, overwritten by command line) tmt-report-result: saving /Plan-with-a-good-context-overwritten-by-command-line output /tmp/tmp.96WOmpI6Un into /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/execute/data/guest/default-0/tests/plan/context-48/data/Plan-with-a-good-context-overwritten-by-command-line/output.txt tmt-report-result: adding to the result file /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/execute/data/guest/default-0/tests/plan/context-48/data/tmt-report-results.yaml :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Plan with broken values :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 09:00:39 ] :: [ BEGIN ] :: Running 'tmt -c distro=rhel9 -c arch=aarch64,x86_64 plan show bad-values' warn: /bad-values:context.dud - {'how': 'about'} is not valid under any of the given schemas warn: /bad-values:context.bar - 1 is not valid under any of the given schemas warn: /bad-values:context.baz - False is not valid under any of the given schemas /bad-values summary Basic plan with invalid context values provision how virtual ssh-option when arch x86_64 list-local-images false key user root connection session environment {} stop-retry-delay 1 stop-retries 10 image fedora become false ansible {} environment TMT_VERSION: 1.75.0.dev3+g5793f160e context foo: foo bar: 1 baz: False dud: {'how': 'about'} distro: rhel9 arch: 'aarch64' and 'x86_64' enabled true ansible {} :: [ 09:00:40 ] :: [ PASS ] :: Command 'tmt -c distro=rhel9 -c arch=aarch64,x86_64 plan show bad-values' (Expected 0, got 0) :: [ 09:00:40 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.5dTCJ5N3' should contain 'foo: foo' :: [ 09:00:40 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.5dTCJ5N3' should contain 'bar: 1' :: [ 09:00:40 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.5dTCJ5N3' should contain 'baz: False' :: [ 09:00:40 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.5dTCJ5N3' should contain 'dud: {'how': 'about'}' :: [ 09:00:40 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.5dTCJ5N3' should contain 'distro: rhel9' :: [ 09:00:40 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.5dTCJ5N3' should contain 'arch: 'aarch64' and 'x86_64'' :: [ 09:00:40 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.5dTCJ5N3' should contain 'warn: /bad-values:context.baz - False is not valid under any of the given schemas' :: [ 09:00:40 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.5dTCJ5N3' should contain 'warn: /bad-values:context.dud - {'how': 'about'} is not valid under any of the given schemas' :: [ 09:00:40 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.5dTCJ5N3' should contain 'warn: /bad-values:context.bar - 1 is not valid under any of the given schemas' :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 1s :: Assertions: 10 good, 0 bad :: RESULT: PASS (Plan with broken values) tmt-report-result: saving /Plan-with-broken-values output /tmp/tmp.v1AYtHwl2m into /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/execute/data/guest/default-0/tests/plan/context-48/data/Plan-with-broken-values/output.txt tmt-report-result: adding to the result file /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/execute/data/guest/default-0/tests/plan/context-48/data/tmt-report-results.yaml :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Cleanup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 09:00:40 ] :: [ BEGIN ] :: Running 'popd' /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/discover/default-0/tests/tests/plan/context :: [ 09:00:40 ] :: [ PASS ] :: Command 'popd' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 0s :: Assertions: 1 good, 0 bad :: RESULT: PASS (Cleanup) tmt-report-result: saving /Cleanup output /tmp/tmp.JKmoMUQxft into /var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/execute/data/guest/default-0/tests/plan/context-48/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/plan/context-48/data/tmt-report-results.yaml :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: /tests/plan/context :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 09:00:40 ] :: [ LOG ] :: Phases fingerprint: wG6Jb0bU :: [ 09:00:40 ] :: [ LOG ] :: Asserts fingerprint: yIo46IJ0 File '/var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/execute/data/guest/default-0/tests/plan/context-48/journal.xml' already stored in '/var/ARTIFACTS/work-basicky66gkmp/plans/features/basic/execute/data/guest/default-0/tests/plan/context-48'. :: [ 09:00:41 ] :: [ INFO ] :: Deleting rlRun_LOG file(s) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 8s :: Phases: 6 good, 0 bad :: OVERALL RESULT: PASS (/tests/plan/context)