# 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_bridge_cloned_mac_nm.yml *************************************** 6 plays in /WORKDIR/git-route_typemxl9uwfa/tests/tests_bridge_cloned_mac_nm.yml PLAY [Run playbook 'playbooks/tests_bridge_cloned_mac.yml' with nm as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typemxl9uwfa/tests/tests_bridge_cloned_mac_nm.yml:6 Tuesday 09 January 2024 16:31:21 +0000 (0:00:00.012) 0:00:00.012 ******* ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_typemxl9uwfa/tests/tests_bridge_cloned_mac_nm.yml:9 Tuesday 09 January 2024 16:31:22 +0000 (0:00:00.681) 0:00:00.693 ******* included: /WORKDIR/git-route_typemxl9uwfa/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-route_typemxl9uwfa/tests/tasks/el_repo_setup.yml:3 Tuesday 09 January 2024 16:31:22 +0000 (0:00:00.010) 0:00:00.704 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/tasks/el_repo_setup.yml:19 Tuesday 09 January 2024 16:31:22 +0000 (0:00:00.356) 0:00:01.061 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/tasks/el_repo_setup.yml:24 Tuesday 09 January 2024 16:31:23 +0000 (0:00:00.291) 0:00:01.352 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/tasks/el_repo_setup.yml:28 Tuesday 09 January 2024 16:31:23 +0000 (0:00:00.037) 0:00:01.389 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/tasks/el_repo_setup.yml:53 Tuesday 09 January 2024 16:31:23 +0000 (0:00:00.018) 0:00:01.407 ******* included: /WORKDIR/git-route_typemxl9uwfa/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/tasks/enable_epel.yml:8 Tuesday 09 January 2024 16:31:23 +0000 (0:00:00.030) 0:00:01.438 ******* ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "rc": 0 } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/tasks/enable_epel.yml:24 Tuesday 09 January 2024 16:31:23 +0000 (0:00:00.237) 0:00:01.676 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/tasks/enable_epel.yml:30 Tuesday 09 January 2024 16:31:23 +0000 (0:00:00.011) 0:00:01.687 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/tasks/enable_epel.yml:35 Tuesday 09 January 2024 16:31:23 +0000 (0:00:00.010) 0:00:01.697 ******* ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.257552", "end": "2024-01-09 16:31:23.953343", "rc": 0, "start": "2024-01-09 16:31:23.695791" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/tasks/enable_epel.yml:40 Tuesday 09 January 2024 16:31:23 +0000 (0:00:00.449) 0:00:02.147 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/tests_bridge_cloned_mac_nm.yml:11 Tuesday 09 January 2024 16:31:23 +0000 (0:00:00.011) 0:00:02.158 ******* ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [Test configuring bridges] ************************************************ TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tests_bridge_cloned_mac.yml:3 Tuesday 09 January 2024 16:31:23 +0000 (0:00:00.013) 0:00:02.171 ******* ok: [sut] META: ran handlers TASK [Define vars] ************************************************************* task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tests_bridge_cloned_mac.yml:6 Tuesday 09 January 2024 16:31:24 +0000 (0:00:00.588) 0:00:02.760 ******* ok: [sut] => { "ansible_facts": { "cloned_mac": "12:23:34:45:56:70", "interface": "LSR-TST-br31" }, "changed": false } META: ran handlers META: ran handlers PLAY [Add test bridge] ********************************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tests_bridge_cloned_mac.yml:11 Tuesday 09 January 2024 16:31:24 +0000 (0:00:00.014) 0:00:02.774 ******* ok: [sut] META: ran handlers TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 16:31:25 +0000 (0:00:00.579) 0:00:03.353 ******* included: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 16:31:25 +0000 (0:00:00.065) 0:00:03.419 ******* 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 : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 16:31:25 +0000 (0:00:00.012) 0:00:03.431 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 16:31:25 +0000 (0:00:00.010) 0:00:03.442 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 16:31:25 +0000 (0:00:00.010) 0:00:03.453 ******* ok: [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 : Check which packages are installed] ********* task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 16:31:26 +0000 (0:00:01.680) 0:00:05.133 ******* ok: [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 : Print network provider] ********************* task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 16:31:28 +0000 (0:00:01.477) 0:00:06.611 ******* ok: [sut] => {} MSG: Using network provider: nm 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-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 16:31:28 +0000 (0:00:00.023) 0:00:06.635 ******* 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-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 16:31:28 +0000 (0:00:00.023) 0:00:06.658 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 16:31:28 +0000 (0:00:00.022) 0:00:06.681 ******* 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-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 16:31:28 +0000 (0:00:00.047) 0:00:06.728 ******* 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-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 16:31:28 +0000 (0:00:00.020) 0:00:06.748 ******* 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-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 16:31:28 +0000 (0:00:00.020) 0:00:06.769 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 16:31:28 +0000 (0:00:00.025) 0:00:06.794 ******* ok: [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-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 16:31:29 +0000 (0:00:00.493) 0:00:07.288 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 16:31:29 +0000 (0:00:00.026) 0:00:07.315 ******* 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-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 16:31:29 +0000 (0:00:00.022) 0:00:07.337 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 16:31:29 +0000 (0:00:00.022) 0:00:07.360 ******* changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "cloned_mac": "12:23:34:45:56:70", "interface_name": "LSR-TST-br31", "ip": { "auto6": true, "dhcp4": false }, "name": "LSR-TST-br31", "state": "up", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'LSR-TST-br31': add connection LSR-TST-br31, 28fc1b47-83e1-4a84-8e49-87f2a593b097 [004] #0, state:up persistent_state:present, 'LSR-TST-br31': up connection LSR-TST-br31, 28fc1b47-83e1-4a84-8e49-87f2a593b097 (is-modified) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 16:31:29 +0000 (0:00:00.574) 0:00:07.935 ******* 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-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 16:31:29 +0000 (0:00:00.022) 0:00:07.958 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'LSR-TST-br31': add connection LSR-TST-br31, 28fc1b47-83e1-4a84-8e49-87f2a593b097", "[004] #0, state:up persistent_state:present, 'LSR-TST-br31': up connection LSR-TST-br31, 28fc1b47-83e1-4a84-8e49-87f2a593b097 (is-modified)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 16:31:29 +0000 (0:00:00.023) 0:00:07.981 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "cloned_mac": "12:23:34:45:56:70", "interface_name": "LSR-TST-br31", "ip": { "auto6": true, "dhcp4": false }, "name": "LSR-TST-br31", "state": "up", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'LSR-TST-br31': add connection LSR-TST-br31, 28fc1b47-83e1-4a84-8e49-87f2a593b097\n[004] #0, state:up persistent_state:present, 'LSR-TST-br31': up connection LSR-TST-br31, 28fc1b47-83e1-4a84-8e49-87f2a593b097 (is-modified)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'LSR-TST-br31': add connection LSR-TST-br31, 28fc1b47-83e1-4a84-8e49-87f2a593b097", "[004] #0, state:up persistent_state:present, 'LSR-TST-br31': up connection LSR-TST-br31, 28fc1b47-83e1-4a84-8e49-87f2a593b097 (is-modified)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 16:31:29 +0000 (0:00:00.023) 0:00:08.005 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 16:31:29 +0000 (0:00:00.020) 0:00:08.025 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Verify ifcfg MACADDR entry] ********************************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tests_bridge_cloned_mac.yml:26 Tuesday 09 January 2024 16:31:30 +0000 (0:00:00.256) 0:00:08.281 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify nmcli cloned-mac-address entry] *********************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tests_bridge_cloned_mac.yml:34 Tuesday 09 January 2024 16:31:30 +0000 (0:00:00.020) 0:00:08.302 ******* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "-f", "802-3-ethernet.cloned-mac-address", "con", "show", "LSR-TST-br31" ], "delta": "0:00:00.018409", "end": "2024-01-09 16:31:30.318127", "rc": 0, "start": "2024-01-09 16:31:30.299718" } STDOUT: 802-3-ethernet.cloned-mac-address: 12:23:34:45:56:70 TASK [Assert that cloned-mac-address addresses are configured correctly] ******* task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tests_bridge_cloned_mac.yml:43 Tuesday 09 January 2024 16:31:30 +0000 (0:00:00.221) 0:00:08.524 ******* ok: [sut] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY [Set down {{ profile }}] ************************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/down_profile.yml:3 Tuesday 09 January 2024 16:31:30 +0000 (0:00:00.042) 0:00:08.566 ******* ok: [sut] META: ran handlers TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 16:31:30 +0000 (0:00:00.588) 0:00:09.155 ******* included: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 16:31:31 +0000 (0:00:00.038) 0:00:09.193 ******* 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 : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 16:31:31 +0000 (0:00:00.028) 0:00:09.222 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 16:31:31 +0000 (0:00:00.054) 0:00:09.276 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 16:31:31 +0000 (0:00:00.036) 0:00:09.313 ******* ok: [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 : Check which packages are installed] ********* task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 16:31:32 +0000 (0:00:01.582) 0:00:10.895 ******* ok: [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 : Print network provider] ********************* task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 16:31:34 +0000 (0:00:01.329) 0:00:12.225 ******* ok: [sut] => {} MSG: Using network provider: nm 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-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 16:31:34 +0000 (0:00:00.022) 0:00:12.247 ******* 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-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 16:31:34 +0000 (0:00:00.021) 0:00:12.269 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 16:31:34 +0000 (0:00:00.020) 0:00:12.289 ******* 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-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 16:31:34 +0000 (0:00:00.042) 0:00:12.332 ******* 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-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 16:31:34 +0000 (0:00:00.021) 0:00:12.353 ******* 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-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 16:31:34 +0000 (0:00:00.020) 0:00:12.374 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 16:31:34 +0000 (0:00:00.024) 0:00:12.399 ******* ok: [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-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 16:31:34 +0000 (0:00:00.349) 0:00:12.748 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 16:31:34 +0000 (0:00:00.026) 0:00:12.775 ******* 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-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 16:31:34 +0000 (0:00:00.021) 0:00:12.796 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 16:31:34 +0000 (0:00:00.021) 0:00:12.817 ******* changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "LSR-TST-br31", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 16:31:35 +0000 (0:00:00.372) 0:00:13.190 ******* 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-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 16:31:35 +0000 (0:00:00.048) 0:00:13.238 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 16:31:35 +0000 (0:00:00.024) 0:00:13.262 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "LSR-TST-br31", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 16:31:35 +0000 (0:00:00.022) 0:00:13.285 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 16:31:35 +0000 (0:00:00.021) 0:00:13.306 ******* ok: [sut] => { "changed": false, "ping": "pong" } META: ran handlers META: ran handlers PLAY [Delete the interface] **************************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/down_profile+delete_interface.yml:5 Tuesday 09 January 2024 16:31:35 +0000 (0:00:00.200) 0:00:13.506 ******* ok: [sut] META: ran handlers TASK [Include the task 'delete_interface.yml'] ********************************* task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/down_profile+delete_interface.yml:8 Tuesday 09 January 2024 16:31:35 +0000 (0:00:00.578) 0:00:14.085 ******* included: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/delete_interface.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 09 January 2024 16:31:35 +0000 (0:00:00.035) 0:00:14.120 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "LSR-TST-br31" ], "delta": "0:00:00.008558", "end": "2024-01-09 16:31:36.124203", "rc": 1, "start": "2024-01-09 16:31:36.115645" } STDERR: Cannot find device "LSR-TST-br31" MSG: non-zero return code ...ignoring META: ran handlers META: ran handlers PLAY [Remove {{ profile }}] **************************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/remove_profile.yml:3 Tuesday 09 January 2024 16:31:36 +0000 (0:00:00.219) 0:00:14.340 ******* ok: [sut] META: ran handlers TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 16:31:36 +0000 (0:00:00.586) 0:00:14.926 ******* included: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 16:31:36 +0000 (0:00:00.066) 0:00:14.992 ******* 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 : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 16:31:36 +0000 (0:00:00.033) 0:00:15.026 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 16:31:36 +0000 (0:00:00.035) 0:00:15.061 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 16:31:36 +0000 (0:00:00.026) 0:00:15.087 ******* ok: [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 : Check which packages are installed] ********* task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 16:31:38 +0000 (0:00:01.608) 0:00:16.696 ******* ok: [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 : Print network provider] ********************* task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 16:31:39 +0000 (0:00:01.320) 0:00:18.017 ******* ok: [sut] => {} MSG: Using network provider: nm 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-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 16:31:39 +0000 (0:00:00.028) 0:00:18.045 ******* 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-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 16:31:39 +0000 (0:00:00.034) 0:00:18.080 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 16:31:39 +0000 (0:00:00.022) 0:00:18.102 ******* 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-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 16:31:39 +0000 (0:00:00.045) 0:00:18.148 ******* 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-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 16:31:39 +0000 (0:00:00.022) 0:00:18.171 ******* 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-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 16:31:40 +0000 (0:00:00.021) 0:00:18.192 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 16:31:40 +0000 (0:00:00.024) 0:00:18.217 ******* ok: [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-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 16:31:40 +0000 (0:00:00.356) 0:00:18.574 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 16:31:40 +0000 (0:00:00.058) 0:00:18.632 ******* 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-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 16:31:40 +0000 (0:00:00.027) 0:00:18.660 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 16:31:40 +0000 (0:00:00.044) 0:00:18.705 ******* changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "LSR-TST-br31", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 16:31:40 +0000 (0:00:00.402) 0:00:19.107 ******* 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-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 16:31:40 +0000 (0:00:00.023) 0:00:19.130 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 16:31:40 +0000 (0:00:00.024) 0:00:19.155 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "LSR-TST-br31", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 16:31:41 +0000 (0:00:00.044) 0:00:19.200 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 16:31:41 +0000 (0:00:00.040) 0:00:19.240 ******* ok: [sut] => { "changed": false, "ping": "pong" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=46 changed=3 unreachable=0 failed=0 skipped=47 rescued=0 ignored=1 Tuesday 09 January 2024 16:31:41 +0000 (0:00:00.184) 0:00:19.424 ******* =============================================================================== linux-system-roles.network : Check which services are running ----------- 1.68s /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.61s /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.58s /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.48s /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.33s /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.32s /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Gathering Facts --------------------------------------------------------- 0.68s /WORKDIR/git-route_typemxl9uwfa/tests/tests_bridge_cloned_mac_nm.yml:6 -------- Gathering Facts --------------------------------------------------------- 0.59s /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/down_profile.yml:3 ------------ Gathering Facts --------------------------------------------------------- 0.59s /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tests_bridge_cloned_mac.yml:3 - Gathering Facts --------------------------------------------------------- 0.59s /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/remove_profile.yml:3 ---------- Gathering Facts --------------------------------------------------------- 0.58s /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tests_bridge_cloned_mac.yml:11 Gathering Facts --------------------------------------------------------- 0.58s /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/down_profile+delete_interface.yml:5 linux-system-roles.network : Configure networking connection profiles --- 0.58s /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable and start NetworkManager ------------ 0.49s /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:85 Enable EPEL 8 ----------------------------------------------------------- 0.45s /WORKDIR/git-route_typemxl9uwfa/tests/tasks/enable_epel.yml:35 ---------------- linux-system-roles.network : Configure networking connection profiles --- 0.40s /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Configure networking connection profiles --- 0.37s /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable and start NetworkManager ------------ 0.36s /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:85 Gather the minimum subset of ansible_facts required by the network role test --- 0.36s /WORKDIR/git-route_typemxl9uwfa/tests/tasks/el_repo_setup.yml:3 --------------- linux-system-roles.network : Enable and start NetworkManager ------------ 0.35s /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:85 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the dnf module rather than running 'dnf'. If you need to use command because dnf is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ---^---^---^---^---^---