# STDOUT: ---v---v---v---v---v--- ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /opt/ansible-2.9/lib/python3.9/site-packages/ansible executable location = /opt/ansible-2.9/bin/ansible-playbook python version = 3.9.18 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] Using /etc/ansible/ansible.cfg as config file Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_network_state_nm.yml ******************************************* 2 plays in /WORKDIR/git-code_refactorj7ykc_01/tests/tests_network_state_nm.yml PLAY [Run playbook 'playbooks/tests_network_state.yml' with nm as provider] **** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-code_refactorj7ykc_01/tests/tests_network_state_nm.yml:5 Thursday 30 November 2023 17:29:55 +0000 (0:00:00.015) 0:00:00.015 ***** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-code_refactorj7ykc_01/tests/tests_network_state_nm.yml:9 Thursday 30 November 2023 17:29:56 +0000 (0:00:00.920) 0:00:00.936 ***** included: /WORKDIR/git-code_refactorj7ykc_01/tests/tasks/el_repo_setup.yml for sut TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /WORKDIR/git-code_refactorj7ykc_01/tests/tasks/el_repo_setup.yml:3 Thursday 30 November 2023 17:29:56 +0000 (0:00:00.018) 0:00:00.954 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-code_refactorj7ykc_01/tests/tasks/el_repo_setup.yml:19 Thursday 30 November 2023 17:29:56 +0000 (0:00:00.239) 0:00:01.194 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-code_refactorj7ykc_01/tests/tasks/el_repo_setup.yml:24 Thursday 30 November 2023 17:29:57 +0000 (0:00:00.195) 0:00:01.389 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-code_refactorj7ykc_01/tests/tasks/el_repo_setup.yml:28 Thursday 30 November 2023 17:29:57 +0000 (0:00:00.027) 0:00:01.417 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-code_refactorj7ykc_01/tests/tasks/el_repo_setup.yml:53 Thursday 30 November 2023 17:29:57 +0000 (0:00:00.023) 0:00:01.440 ***** included: /WORKDIR/git-code_refactorj7ykc_01/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 6] *********************************************************** task path: /WORKDIR/git-code_refactorj7ykc_01/tests/tasks/enable_epel.yml:8 Thursday 30 November 2023 17:29:57 +0000 (0:00:00.042) 0:00:01.482 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-code_refactorj7ykc_01/tests/tasks/enable_epel.yml:24 Thursday 30 November 2023 17:29:57 +0000 (0:00:00.014) 0:00:01.497 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-code_refactorj7ykc_01/tests/tasks/enable_epel.yml:30 Thursday 30 November 2023 17:29:57 +0000 (0:00:00.013) 0:00:01.510 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-code_refactorj7ykc_01/tests/tasks/enable_epel.yml:35 Thursday 30 November 2023 17:29:57 +0000 (0:00:00.013) 0:00:01.524 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-code_refactorj7ykc_01/tests/tasks/enable_epel.yml:40 Thursday 30 November 2023 17:29:57 +0000 (0:00:00.013) 0:00:01.538 ***** ok: [sut] => { "changed": false, "checksum": "4bafddfe7badb0971135c888f25df1308b193622", "dest": "/etc/yum.repos.d/epel.repo", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "path": "/etc/yum.repos.d/epel.repo", "secontext": "system_u:object_r:etc_t:s0", "size": 155, "state": "file", "uid": 0 } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-code_refactorj7ykc_01/tests/tests_network_state_nm.yml:11 Thursday 30 November 2023 17:29:57 +0000 (0:00:00.462) 0:00:02.000 ***** ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for configuring network using network state variable] *************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-code_refactorj7ykc_01/tests/playbooks/tests_network_state.yml:3 Thursday 30 November 2023 17:29:57 +0000 (0:00:00.015) 0:00:02.016 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers TASK [Set type=veth and interface=ethtest0] ************************************ task path: /WORKDIR/git-code_refactorj7ykc_01/tests/playbooks/tests_network_state.yml:12 Thursday 30 November 2023 17:29:57 +0000 (0:00:00.013) 0:00:02.029 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-code_refactorj7ykc_01/tests/playbooks/tests_network_state.yml:16 Thursday 30 November 2023 17:29:57 +0000 (0:00:00.013) 0:00:02.042 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-code_refactorj7ykc_01/tests/playbooks/tests_network_state.yml:18 Thursday 30 November 2023 17:29:57 +0000 (0:00:00.012) 0:00:02.054 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-code_refactorj7ykc_01/tests/playbooks/tests_network_state.yml:22 Thursday 30 November 2023 17:29:57 +0000 (0:00:00.012) 0:00:02.067 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set type=veth and interface=ethtest1] ************************************ task path: /WORKDIR/git-code_refactorj7ykc_01/tests/playbooks/tests_network_state.yml:24 Thursday 30 November 2023 17:29:57 +0000 (0:00:00.013) 0:00:02.080 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-code_refactorj7ykc_01/tests/playbooks/tests_network_state.yml:28 Thursday 30 November 2023 17:29:57 +0000 (0:00:00.012) 0:00:02.092 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-code_refactorj7ykc_01/tests/playbooks/tests_network_state.yml:30 Thursday 30 November 2023 17:29:57 +0000 (0:00:00.011) 0:00:02.104 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-code_refactorj7ykc_01/tests/playbooks/tests_network_state.yml:34 Thursday 30 November 2023 17:29:57 +0000 (0:00:00.012) 0:00:02.116 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-code_refactorj7ykc_01/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 30 November 2023 17:29:57 +0000 (0:00:00.012) 0:00:02.129 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-code_refactorj7ykc_01/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 30 November 2023 17:29:57 +0000 (0:00:00.014) 0:00:02.143 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-code_refactorj7ykc_01/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 30 November 2023 17:29:57 +0000 (0:00:00.013) 0:00:02.156 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-code_refactorj7ykc_01/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 30 November 2023 17:29:57 +0000 (0:00:00.012) 0:00:02.169 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-code_refactorj7ykc_01/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 30 November 2023 17:29:57 +0000 (0:00:00.012) 0:00:02.181 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-code_refactorj7ykc_01/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 30 November 2023 17:29:57 +0000 (0:00:00.012) 0:00:02.193 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-code_refactorj7ykc_01/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 30 November 2023 17:29:57 +0000 (0:00:00.012) 0:00:02.206 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-code_refactorj7ykc_01/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 30 November 2023 17:29:57 +0000 (0:00:00.012) 0:00:02.219 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-code_refactorj7ykc_01/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 30 November 2023 17:29:57 +0000 (0:00:00.013) 0:00:02.232 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-code_refactorj7ykc_01/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 30 November 2023 17:29:57 +0000 (0:00:00.012) 0:00:02.245 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-code_refactorj7ykc_01/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 30 November 2023 17:29:57 +0000 (0:00:00.014) 0:00:02.259 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-code_refactorj7ykc_01/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 30 November 2023 17:29:57 +0000 (0:00:00.013) 0:00:02.272 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-code_refactorj7ykc_01/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 30 November 2023 17:29:57 +0000 (0:00:00.013) 0:00:02.286 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-code_refactorj7ykc_01/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 30 November 2023 17:29:57 +0000 (0:00:00.013) 0:00:02.299 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-code_refactorj7ykc_01/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 30 November 2023 17:29:57 +0000 (0:00:00.013) 0:00:02.313 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-code_refactorj7ykc_01/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 30 November 2023 17:29:57 +0000 (0:00:00.013) 0:00:02.326 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-code_refactorj7ykc_01/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 30 November 2023 17:29:57 +0000 (0:00:00.012) 0:00:02.339 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-code_refactorj7ykc_01/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 30 November 2023 17:29:57 +0000 (0:00:00.012) 0:00:02.352 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ethtest0 state configuration] ************************************ task path: /WORKDIR/git-code_refactorj7ykc_01/tests/playbooks/tests_network_state.yml:75 Thursday 30 November 2023 17:29:58 +0000 (0:00:00.013) 0:00:02.365 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ethtest1 state configuration] ************************************ task path: /WORKDIR/git-code_refactorj7ykc_01/tests/playbooks/tests_network_state.yml:81 Thursday 30 November 2023 17:29:58 +0000 (0:00:00.014) 0:00:02.379 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the ethtest0 state configuration contains the specified settings] *** task path: /WORKDIR/git-code_refactorj7ykc_01/tests/playbooks/tests_network_state.yml:87 Thursday 30 November 2023 17:29:58 +0000 (0:00:00.013) 0:00:02.392 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the ethtest1 state configuration contains the specified settings] *** task path: /WORKDIR/git-code_refactorj7ykc_01/tests/playbooks/tests_network_state.yml:96 Thursday 30 November 2023 17:29:58 +0000 (0:00:00.014) 0:00:02.406 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-code_refactorj7ykc_01/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 30 November 2023 17:29:58 +0000 (0:00:00.012) 0:00:02.419 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-code_refactorj7ykc_01/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 30 November 2023 17:29:58 +0000 (0:00:00.012) 0:00:02.432 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-code_refactorj7ykc_01/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 30 November 2023 17:29:58 +0000 (0:00:00.013) 0:00:02.445 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-code_refactorj7ykc_01/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 30 November 2023 17:29:58 +0000 (0:00:00.012) 0:00:02.458 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-code_refactorj7ykc_01/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 30 November 2023 17:29:58 +0000 (0:00:00.012) 0:00:02.470 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-code_refactorj7ykc_01/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 30 November 2023 17:29:58 +0000 (0:00:00.012) 0:00:02.483 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-code_refactorj7ykc_01/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 30 November 2023 17:29:58 +0000 (0:00:00.013) 0:00:02.496 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-code_refactorj7ykc_01/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 30 November 2023 17:29:58 +0000 (0:00:00.012) 0:00:02.509 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-code_refactorj7ykc_01/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 30 November 2023 17:29:58 +0000 (0:00:00.012) 0:00:02.521 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-code_refactorj7ykc_01/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 30 November 2023 17:29:58 +0000 (0:00:00.012) 0:00:02.534 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-code_refactorj7ykc_01/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 30 November 2023 17:29:58 +0000 (0:00:00.012) 0:00:02.547 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-code_refactorj7ykc_01/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 30 November 2023 17:29:58 +0000 (0:00:00.012) 0:00:02.560 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-code_refactorj7ykc_01/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 30 November 2023 17:29:58 +0000 (0:00:00.012) 0:00:02.573 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-code_refactorj7ykc_01/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 30 November 2023 17:29:58 +0000 (0:00:00.012) 0:00:02.585 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-code_refactorj7ykc_01/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 30 November 2023 17:29:58 +0000 (0:00:00.012) 0:00:02.598 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-code_refactorj7ykc_01/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 30 November 2023 17:29:58 +0000 (0:00:00.014) 0:00:02.613 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-code_refactorj7ykc_01/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 30 November 2023 17:29:58 +0000 (0:00:00.012) 0:00:02.626 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-code_refactorj7ykc_01/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 30 November 2023 17:29:58 +0000 (0:00:00.012) 0:00:02.639 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the route configuration] ********************************************* task path: /WORKDIR/git-code_refactorj7ykc_01/tests/playbooks/tests_network_state.yml:117 Thursday 30 November 2023 17:29:58 +0000 (0:00:00.012) 0:00:02.651 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the route configuration contains the specified route] ******** task path: /WORKDIR/git-code_refactorj7ykc_01/tests/playbooks/tests_network_state.yml:123 Thursday 30 November 2023 17:29:58 +0000 (0:00:00.012) 0:00:02.664 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-code_refactorj7ykc_01/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 30 November 2023 17:29:58 +0000 (0:00:00.012) 0:00:02.677 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-code_refactorj7ykc_01/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 30 November 2023 17:29:58 +0000 (0:00:00.013) 0:00:02.691 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-code_refactorj7ykc_01/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 30 November 2023 17:29:58 +0000 (0:00:00.013) 0:00:02.704 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-code_refactorj7ykc_01/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 30 November 2023 17:29:58 +0000 (0:00:00.013) 0:00:02.717 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-code_refactorj7ykc_01/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 30 November 2023 17:29:58 +0000 (0:00:00.014) 0:00:02.731 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-code_refactorj7ykc_01/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 30 November 2023 17:29:58 +0000 (0:00:00.013) 0:00:02.744 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-code_refactorj7ykc_01/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 30 November 2023 17:29:58 +0000 (0:00:00.012) 0:00:02.757 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-code_refactorj7ykc_01/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 30 November 2023 17:29:58 +0000 (0:00:00.012) 0:00:02.769 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-code_refactorj7ykc_01/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 30 November 2023 17:29:58 +0000 (0:00:00.012) 0:00:02.782 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-code_refactorj7ykc_01/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 30 November 2023 17:29:58 +0000 (0:00:00.012) 0:00:02.795 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-code_refactorj7ykc_01/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 30 November 2023 17:29:58 +0000 (0:00:00.012) 0:00:02.807 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-code_refactorj7ykc_01/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 30 November 2023 17:29:58 +0000 (0:00:00.012) 0:00:02.820 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-code_refactorj7ykc_01/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 30 November 2023 17:29:58 +0000 (0:00:00.012) 0:00:02.832 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-code_refactorj7ykc_01/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 30 November 2023 17:29:58 +0000 (0:00:00.014) 0:00:02.846 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-code_refactorj7ykc_01/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 30 November 2023 17:29:58 +0000 (0:00:00.032) 0:00:02.879 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-code_refactorj7ykc_01/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 30 November 2023 17:29:58 +0000 (0:00:00.014) 0:00:02.894 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-code_refactorj7ykc_01/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 30 November 2023 17:29:58 +0000 (0:00:00.014) 0:00:02.908 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-code_refactorj7ykc_01/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 30 November 2023 17:29:58 +0000 (0:00:00.012) 0:00:02.921 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the DNS configuration from nmstatectl] ******************************* task path: /WORKDIR/git-code_refactorj7ykc_01/tests/playbooks/tests_network_state.yml:146 Thursday 30 November 2023 17:29:58 +0000 (0:00:00.012) 0:00:02.934 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the DNS configuration from the file `/run/NetworkManager/no-stub-resolv.conf`] *** task path: /WORKDIR/git-code_refactorj7ykc_01/tests/playbooks/tests_network_state.yml:152 Thursday 30 November 2023 17:29:58 +0000 (0:00:00.012) 0:00:02.946 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the nmstatectl contains the specified DNS configuration] ***** task path: /WORKDIR/git-code_refactorj7ykc_01/tests/playbooks/tests_network_state.yml:158 Thursday 30 November 2023 17:29:58 +0000 (0:00:00.012) 0:00:02.959 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the file `/run/NetworkManager/no-stub-resolv.conf` contains the specified DNS configuration] *** task path: /WORKDIR/git-code_refactorj7ykc_01/tests/playbooks/tests_network_state.yml:166 Thursday 30 November 2023 17:29:58 +0000 (0:00:00.012) 0:00:02.972 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'delete_interface.yml'] ********************************* task path: /WORKDIR/git-code_refactorj7ykc_01/tests/playbooks/tests_network_state.yml:176 Thursday 30 November 2023 17:29:58 +0000 (0:00:00.012) 0:00:02.985 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-code_refactorj7ykc_01/tests/playbooks/tests_network_state.yml:178 Thursday 30 November 2023 17:29:58 +0000 (0:00:00.014) 0:00:02.999 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set interface=ethtest0] ************************************************** task path: /WORKDIR/git-code_refactorj7ykc_01/tests/playbooks/tests_network_state.yml:180 Thursday 30 November 2023 17:29:58 +0000 (0:00:00.014) 0:00:03.014 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'delete_interface.yml'] ********************************* task path: /WORKDIR/git-code_refactorj7ykc_01/tests/playbooks/tests_network_state.yml:184 Thursday 30 November 2023 17:29:58 +0000 (0:00:00.013) 0:00:03.027 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-code_refactorj7ykc_01/tests/playbooks/tests_network_state.yml:186 Thursday 30 November 2023 17:29:58 +0000 (0:00:00.013) 0:00:03.040 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=8 changed=0 unreachable=0 failed=0 skipped=83 rescued=0 ignored=0 Thursday 30 November 2023 17:29:58 +0000 (0:00:00.008) 0:00:03.049 ***** =============================================================================== Gathering Facts --------------------------------------------------------- 0.92s /WORKDIR/git-code_refactorj7ykc_01/tests/tests_network_state_nm.yml:5 --------- Enable EPEL 6 ----------------------------------------------------------- 0.46s /WORKDIR/git-code_refactorj7ykc_01/tests/tasks/enable_epel.yml:40 ------------- Gather the minimum subset of ansible_facts required by the network role test --- 0.24s /WORKDIR/git-code_refactorj7ykc_01/tests/tasks/el_repo_setup.yml:3 ------------ Check if system is ostree ----------------------------------------------- 0.20s /WORKDIR/git-code_refactorj7ykc_01/tests/tasks/el_repo_setup.yml:19 ----------- Include the task 'enable_epel.yml' -------------------------------------- 0.04s /WORKDIR/git-code_refactorj7ykc_01/tests/tasks/el_repo_setup.yml:53 ----------- linux-system-roles.network : Configure networking state ----------------- 0.03s /WORKDIR/git-code_refactorj7ykc_01/tests/roles/linux-system-roles.network/tasks/main.yml:134 Set flag to indicate system is ostree ----------------------------------- 0.03s /WORKDIR/git-code_refactorj7ykc_01/tests/tasks/el_repo_setup.yml:24 ----------- Fix CentOS6 Base repo --------------------------------------------------- 0.02s /WORKDIR/git-code_refactorj7ykc_01/tests/tasks/el_repo_setup.yml:28 ----------- Include the task 'el_repo_setup.yml' ------------------------------------ 0.02s /WORKDIR/git-code_refactorj7ykc_01/tests/tests_network_state_nm.yml:9 --------- Set network provider to 'nm' -------------------------------------------- 0.02s /WORKDIR/git-code_refactorj7ykc_01/tests/tests_network_state_nm.yml:11 -------- linux-system-roles.network : Show stderr messages for the network_connections --- 0.01s /WORKDIR/git-code_refactorj7ykc_01/tests/roles/linux-system-roles.network/tasks/main.yml:140 linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8 --- 0.01s /WORKDIR/git-code_refactorj7ykc_01/tests/roles/linux-system-roles.network/tasks/main.yml:19 Include the task 'delete_interface.yml' --------------------------------- 0.01s /WORKDIR/git-code_refactorj7ykc_01/tests/playbooks/tests_network_state.yml:176 Create EPEL 6 ----------------------------------------------------------- 0.01s /WORKDIR/git-code_refactorj7ykc_01/tests/tasks/enable_epel.yml:8 -------------- linux-system-roles.network : Show stderr messages for the network_connections --- 0.01s /WORKDIR/git-code_refactorj7ykc_01/tests/roles/linux-system-roles.network/tasks/main.yml:140 linux-system-roles.network : Enable and start wpa_supplicant ------------ 0.01s /WORKDIR/git-code_refactorj7ykc_01/tests/roles/linux-system-roles.network/tasks/main.yml:96 linux-system-roles.network : Ensure ansible_facts used by role ---------- 0.01s /WORKDIR/git-code_refactorj7ykc_01/tests/roles/linux-system-roles.network/tasks/main.yml:4 Include the task 'assert_device_absent.yml' ----------------------------- 0.01s /WORKDIR/git-code_refactorj7ykc_01/tests/playbooks/tests_network_state.yml:178 linux-system-roles.network : Show debug messages for the network_connections --- 0.01s /WORKDIR/git-code_refactorj7ykc_01/tests/roles/linux-system-roles.network/tasks/main.yml:144 Assert that the ethtest0 state configuration contains the specified settings --- 0.01s /WORKDIR/git-code_refactorj7ykc_01/tests/playbooks/tests_network_state.yml:87 - ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---