:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Setup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 08:49:54 ] :: [ BEGIN ] :: Create run directory :: actually running 'run=$(mktemp -d)' :: [ 08:49:54 ] :: [ PASS ] :: Create run directory (Expected 0, got 0) :: [ 08:49:54 ] :: [ BEGIN ] :: Running 'pushd data' /var/ARTIFACTS/work-advancedm608c7wg/plans/features/advanced/discover/default-0/tests/tests/multihost/provision/data /var/ARTIFACTS/work-advancedm608c7wg/plans/features/advanced/discover/default-0/tests/tests/multihost/provision :: [ 08:49:54 ] :: [ PASS ] :: Command 'pushd data' (Expected 0, got 0) :: [ 08:49:54 ] :: [ BEGIN ] :: Running 'set -o pipefail' :: [ 08:49:54 ] :: [ PASS ] :: Command 'set -o pipefail' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 0s :: Assertions: 3 good, 0 bad :: RESULT: PASS (Setup) tmt-report-result: saving /Setup output /tmp/tmp.HW1cwBwTxe into /var/ARTIFACTS/work-advancedm608c7wg/plans/features/advanced/execute/data/guest/default-0/tests/multihost/provision-14/data/Setup/output.txt tmt-report-result: adding to the result file /var/ARTIFACTS/work-advancedm608c7wg/plans/features/advanced/execute/data/guest/default-0/tests/multihost/provision-14/data/tmt-report-results.yaml :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Wrong provision :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 08:49:54 ] :: [ BEGIN ] :: Names not unique :: actually running 'tmt run --scratch -i /tmp/tmp.go3WEnVLqY plan -n wrong provision cleanup' /tmp/tmp.go3WEnVLqY warn: User is feeling safe. /wrong plan failed. The exception was caused by 1 earlier exceptions Cause number 1: Duplicate phase name 'client' in step 'provision'. :: [ 08:49:56 ] :: [ PASS ] :: Names not unique (Expected 2, got 2) :: [ 08:49:56 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.Gnj8okj6' should contain 'Duplicate phase name 'client' in step 'provision'' :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 2s :: Assertions: 2 good, 0 bad :: RESULT: PASS (Wrong provision) tmt-report-result: saving /Wrong-provision output /tmp/tmp.ZQUIDvr098 into /var/ARTIFACTS/work-advancedm608c7wg/plans/features/advanced/execute/data/guest/default-0/tests/multihost/provision-14/data/Wrong-provision/output.txt tmt-report-result: adding to the result file /var/ARTIFACTS/work-advancedm608c7wg/plans/features/advanced/execute/data/guest/default-0/tests/multihost/provision-14/data/tmt-report-results.yaml :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Correct provision without roles :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 08:49:56 ] :: [ BEGIN ] :: Running 'tmt run --scratch -i /tmp/tmp.go3WEnVLqY plan -n noroles provision cleanup' /tmp/tmp.go3WEnVLqY warn: User is feeling safe. /noroles provision queued provision.provision tasks #1: client and server provision.provision task #1: client and server [client] started [client] how: container [client] name: client [server] started [client] ansible: {} [server] how: container [server] name: server [server] ansible: {} [client] finished [client] multihost name: client [client] arch: x86_64 [client] distro: Fedora Linux 44 (Container Image) [server] finished [server] multihost name: server [server] arch: x86_64 [server] distro: Fedora Linux 44 (Container Image) queued push tasks #1: push to client and server push task #1: push to client and server [client] started [server] started [client] finished [server] finished summary: 2 guests provisioned cleanup queued cleanup tasks #1: default-0 on client and server cleanup task #1: default-0 on client and server [client] started [client] how: tmt [server] started [server] how: tmt [client] container: stopped [server] container: stopped [client] container: removed [server] container: removed [client] container: network removed [client] finished [server] finished summary: 1 task completed :: [ 08:50:06 ] :: [ PASS ] :: Command 'tmt run --scratch -i /tmp/tmp.go3WEnVLqY plan -n noroles provision cleanup' (Expected 0, got 0) :: [ 08:50:06 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.ZxKgcSSR' should contain '2 guests provisioned' :: [ 08:50:06 ] :: [ BEGIN ] :: Running 'grep 'how: container' /var/tmp/rlRun_LOG.ZxKgcSSR | wc -l > lines' :: [ 08:50:06 ] :: [ PASS ] :: Command 'grep 'how: container' /var/tmp/rlRun_LOG.ZxKgcSSR | wc -l > lines' (Expected 0, got 0) :: [ 08:50:06 ] :: [ PASS ] :: File 'lines' should contain '2' grep: '/tmp/tmp.go3WEnVLqY/noroles/provision/guests.yaml': No such file or directory grep: should: No such file or directory grep: leave: No such file or directory grep: role: No such file or directory grep: unspecified: No such file or directory grep: role: [a-z]: No such file or directory :: [ 08:50:06 ] :: [ PASS ] :: File '/tmp/tmp.go3WEnVLqY/noroles/provision/guests.yaml' should not contain 'role: [a-z]' :: [ 08:50:06 ] :: [ PASS ] :: File '/tmp/tmp.go3WEnVLqY/noroles/provision/guests.yaml' should contain 'client' :: [ 08:50:06 ] :: [ PASS ] :: File '/tmp/tmp.go3WEnVLqY/noroles/provision/guests.yaml' should contain 'server' :: [ 08:50:06 ] :: [ BEGIN ] :: Running 'grep 'container: removed' /var/tmp/rlRun_LOG.ZxKgcSSR | wc -l > lines' :: [ 08:50:06 ] :: [ PASS ] :: Command 'grep 'container: removed' /var/tmp/rlRun_LOG.ZxKgcSSR | wc -l > lines' (Expected 0, got 0) :: [ 08:50:06 ] :: [ PASS ] :: File 'lines' should contain '2' :: [ 08:50:06 ] :: [ BEGIN ] :: Running 'rm lines' :: [ 08:50:06 ] :: [ PASS ] :: Command 'rm lines' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 10s :: Assertions: 10 good, 0 bad :: RESULT: PASS (Correct provision without roles) tmt-report-result: saving /Correct-provision-without-roles output /tmp/tmp.pU9HEXma4k into /var/ARTIFACTS/work-advancedm608c7wg/plans/features/advanced/execute/data/guest/default-0/tests/multihost/provision-14/data/Correct-provision-without-roles/output.txt tmt-report-result: adding to the result file /var/ARTIFACTS/work-advancedm608c7wg/plans/features/advanced/execute/data/guest/default-0/tests/multihost/provision-14/data/tmt-report-results.yaml :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Correct provision with roles :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 08:50:06 ] :: [ BEGIN ] :: Running 'tmt run --scratch -i /tmp/tmp.go3WEnVLqY plan -n /roles provision cleanup' /tmp/tmp.go3WEnVLqY warn: User is feeling safe. /roles provision queued provision.provision tasks #1: server-one, server-two, client-one and client-two provision.provision task #1: server-one, server-two, client-one and client-two [server-one] started [server-one] how: container [server-one] name: server-one [server-one] role: server [server-two] started [server-two] how: container [server-two] name: server-two [server-two] role: server [client-one] started [server-one] ansible: {} [client-one] how: container [server-two] ansible: {} [client-one] name: client-one [client-one] role: client [client-two] started [client-two] how: container [client-two] name: client-two [client-two] role: client [client-one] ansible: {} [client-two] ansible: {} [client-one] finished [client-one] multihost name: client-one (client) [client-one] arch: x86_64 [client-one] distro: Fedora Linux 44 (Container Image) [server-one] finished [server-one] multihost name: server-one (server) [server-one] arch: x86_64 [server-one] distro: Fedora Linux 44 (Container Image) [client-two] finished [client-two] multihost name: client-two (client) [client-two] arch: x86_64 [client-two] distro: Fedora Linux 44 (Container Image) [server-two] finished [server-two] multihost name: server-two (server) [server-two] arch: x86_64 [server-two] distro: Fedora Linux 44 (Container Image) queued push tasks #1: push to client-one (client), client-two (client), server-one (server) and server-two (server) push task #1: push to client-one (client), client-two (client), server-one (server) and server-two (server) [client-one (client)] started [server-one (server)] started [client-two (client)] started [server-two (server)] started [client-one (client)] finished [client-two (client)] finished [server-two (server)] finished [server-one (server)] finished summary: 4 guests provisioned cleanup queued cleanup tasks #1: default-0 on client-one (client), client-two (client), server-one (server) and server-two (server) cleanup task #1: default-0 on client-one (client), client-two (client), server-one (server) and server-two (server) [client-one (client)] started [client-one (client)] how: tmt [server-one (server)] started [server-one (server)] how: tmt [client-two (client)] started [client-two (client)] how: tmt [server-two (server)] started [server-two (server)] how: tmt [client-one (client)] container: stopped [client-two (client)] container: stopped [server-two (server)] container: stopped [server-one (server)] container: stopped [client-one (client)] container: removed [client-two (client)] container: removed [server-two (server)] container: removed [server-one (server)] container: removed [server-two (server)] finished [client-two (client)] finished [client-one (client)] container: network removed [client-one (client)] finished [server-one (server)] finished summary: 1 task completed :: [ 08:50:23 ] :: [ PASS ] :: Command 'tmt run --scratch -i /tmp/tmp.go3WEnVLqY plan -n /roles provision cleanup' (Expected 0, got 0) :: [ 08:50:23 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.udreuIIO' should contain '4 guests provisioned' :: [ 08:50:23 ] :: [ BEGIN ] :: Running 'grep 'how: container' /var/tmp/rlRun_LOG.udreuIIO | wc -l > lines' :: [ 08:50:23 ] :: [ PASS ] :: Command 'grep 'how: container' /var/tmp/rlRun_LOG.udreuIIO | wc -l > lines' (Expected 0, got 0) :: [ 08:50:23 ] :: [ PASS ] :: File 'lines' should contain '4' :: [ 08:50:23 ] :: [ PASS ] :: File '/tmp/tmp.go3WEnVLqY/roles/provision/guests.yaml' should contain 'client-one' :: [ 08:50:23 ] :: [ PASS ] :: File '/tmp/tmp.go3WEnVLqY/roles/provision/guests.yaml' should contain 'client-two' :: [ 08:50:23 ] :: [ PASS ] :: File '/tmp/tmp.go3WEnVLqY/roles/provision/guests.yaml' should contain 'server-one' :: [ 08:50:23 ] :: [ PASS ] :: File '/tmp/tmp.go3WEnVLqY/roles/provision/guests.yaml' should contain 'server-two' :: [ 08:50:23 ] :: [ BEGIN ] :: Running 'grep 'role: ' /tmp/tmp.go3WEnVLqY/roles/provision/guests.yaml | wc -l > lines' :: [ 08:50:23 ] :: [ PASS ] :: Command 'grep 'role: ' /tmp/tmp.go3WEnVLqY/roles/provision/guests.yaml | wc -l > lines' (Expected 0, got 0) :: [ 08:50:23 ] :: [ PASS ] :: File 'lines' should contain '4' :: [ 08:50:23 ] :: [ BEGIN ] :: Running 'grep 'container: removed' /var/tmp/rlRun_LOG.udreuIIO | wc -l > lines' :: [ 08:50:23 ] :: [ PASS ] :: Command 'grep 'container: removed' /var/tmp/rlRun_LOG.udreuIIO | wc -l > lines' (Expected 0, got 0) :: [ 08:50:23 ] :: [ PASS ] :: File 'lines' should contain '4' :: [ 08:50:23 ] :: [ BEGIN ] :: Running 'rm lines' :: [ 08:50:23 ] :: [ PASS ] :: Command 'rm lines' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 17s :: Assertions: 13 good, 0 bad :: RESULT: PASS (Correct provision with roles) tmt-report-result: saving /Correct-provision-with-roles output /tmp/tmp.529Zfwntxj into /var/ARTIFACTS/work-advancedm608c7wg/plans/features/advanced/execute/data/guest/default-0/tests/multihost/provision-14/data/Correct-provision-with-roles/output.txt tmt-report-result: adding to the result file /var/ARTIFACTS/work-advancedm608c7wg/plans/features/advanced/execute/data/guest/default-0/tests/multihost/provision-14/data/tmt-report-results.yaml :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Full plan without roles :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 08:50:23 ] :: [ BEGIN ] :: Running 'tmt run --scratch -i /tmp/tmp.go3WEnVLqY plan -n noroles' /tmp/tmp.go3WEnVLqY warn: User is feeling safe. /noroles discover how: shell summary: 1 test selected provision queued provision.provision tasks #1: client and server provision.provision task #1: client and server [client] started [client] how: container [client] name: client [server] started [client] ansible: {} [server] how: container [server] name: server [server] ansible: {} [server] finished [server] multihost name: server [server] arch: x86_64 [server] distro: Fedora Linux 44 (Container Image) [client] finished [client] multihost name: client [client] arch: x86_64 [client] distro: Fedora Linux 44 (Container Image) queued push tasks #1: push to client and server push task #1: push to client and server [server] started [client] started [client] finished [server] finished summary: 2 guests provisioned prepare queued push tasks #1: push to client and server push task #1: push to client and server [server] started [client] started [server] finished [client] finished queued prepare tasks #1: essential-requires on client and server prepare task #1: essential-requires on client and server [server] started [server] how: install [server] summary: Install essential required packages [server] name: essential-requires [server] guest: server [server] where: server and client package: /usr/bin/flock [client] started [client] how: install [client] summary: Install essential required packages [client] name: essential-requires [client] guest: client [client] where: server and client package: /usr/bin/flock [client] finished [server] finished queued pull tasks #1: pull from client and server pull task #1: pull from client and server [server] started [client] started [client] finished [server] finished summary: 2 preparations applied execute queued execute tasks #1: default-0 on client and server execute task #1: default-0 on client and server [server] started [server] how: tmt [client] started [client] how: tmt [server] finished [client] finished summary: 2 tests executed report how: display summary: 2 tests passed finish queued finish tasks summary: 0 tasks completed cleanup queued cleanup tasks #1: default-0 on client and server cleanup task #1: default-0 on client and server [server] started [server] how: tmt [client] started [client] how: tmt [client] container: stopped [server] container: stopped [client] container: removed [server] container: removed [client] container: network removed [client] finished [server] finished summary: 1 task completed total: 2 tests passed :: [ 08:50:36 ] :: [ PASS ] :: Command 'tmt run --scratch -i /tmp/tmp.go3WEnVLqY plan -n noroles' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 13s :: Assertions: 1 good, 0 bad :: RESULT: PASS (Full plan without roles) tmt-report-result: saving /Full-plan-without-roles output /tmp/tmp.9lG4XX3K5N into /var/ARTIFACTS/work-advancedm608c7wg/plans/features/advanced/execute/data/guest/default-0/tests/multihost/provision-14/data/Full-plan-without-roles/output.txt tmt-report-result: adding to the result file /var/ARTIFACTS/work-advancedm608c7wg/plans/features/advanced/execute/data/guest/default-0/tests/multihost/provision-14/data/tmt-report-results.yaml :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Cleanup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 08:50:36 ] :: [ BEGIN ] :: Running 'popd' /var/ARTIFACTS/work-advancedm608c7wg/plans/features/advanced/discover/default-0/tests/tests/multihost/provision :: [ 08:50:36 ] :: [ PASS ] :: Command 'popd' (Expected 0, got 0) :: [ 08:50:36 ] :: [ BEGIN ] :: Remove run directory :: actually running 'rm -r /tmp/tmp.go3WEnVLqY' :: [ 08:50:36 ] :: [ 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.vJoj88BW5j into /var/ARTIFACTS/work-advancedm608c7wg/plans/features/advanced/execute/data/guest/default-0/tests/multihost/provision-14/data/Cleanup/output.txt tmt-report-result: adding to the result file /var/ARTIFACTS/work-advancedm608c7wg/plans/features/advanced/execute/data/guest/default-0/tests/multihost/provision-14/data/tmt-report-results.yaml :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: /tests/multihost/provision :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 08:50:36 ] :: [ LOG ] :: Phases fingerprint: wG6Jb0bU :: [ 08:50:36 ] :: [ LOG ] :: Asserts fingerprint: o+DsHMyt File '/var/ARTIFACTS/work-advancedm608c7wg/plans/features/advanced/execute/data/guest/default-0/tests/multihost/provision-14/journal.xml' already stored in '/var/ARTIFACTS/work-advancedm608c7wg/plans/features/advanced/execute/data/guest/default-0/tests/multihost/provision-14'. :: [ 08:50:36 ] :: [ INFO ] :: Deleting rlRun_LOG file(s) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 43s :: Phases: 6 good, 0 bad :: OVERALL RESULT: PASS (/tests/multihost/provision)