# 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_typen6cwcb0x/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_typen6cwcb0x/tests/tests_bridge_cloned_mac_nm.yml:6 Tuesday 09 January 2024 19:54:43 +0000 (0:00:00.056) 0:00:00.056 ******* ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_typen6cwcb0x/tests/tests_bridge_cloned_mac_nm.yml:9 Tuesday 09 January 2024 19:54:44 +0000 (0:00:01.018) 0:00:01.075 ******* included: /WORKDIR/git-route_typen6cwcb0x/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_typen6cwcb0x/tests/tasks/el_repo_setup.yml:3 Tuesday 09 January 2024 19:54:44 +0000 (0:00:00.042) 0:00:01.118 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/tasks/el_repo_setup.yml:19 Tuesday 09 January 2024 19:54:44 +0000 (0:00:00.554) 0:00:01.672 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/tasks/el_repo_setup.yml:24 Tuesday 09 January 2024 19:54:44 +0000 (0:00:00.269) 0:00:01.941 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/tasks/el_repo_setup.yml:28 Tuesday 09 January 2024 19:54:44 +0000 (0:00:00.020) 0:00:01.962 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/tasks/el_repo_setup.yml:53 Tuesday 09 January 2024 19:54:45 +0000 (0:00:00.024) 0:00:01.987 ******* included: /WORKDIR/git-route_typen6cwcb0x/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 38] ********************************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/tasks/enable_epel.yml:8 Tuesday 09 January 2024 19:54:45 +0000 (0:00:00.037) 0:00:02.024 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/tasks/enable_epel.yml:24 Tuesday 09 January 2024 19:54:45 +0000 (0:00:00.010) 0:00:02.035 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/tasks/enable_epel.yml:30 Tuesday 09 January 2024 19:54:45 +0000 (0:00:00.008) 0:00:02.043 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/tasks/enable_epel.yml:35 Tuesday 09 January 2024 19:54:45 +0000 (0:00:00.008) 0:00:02.051 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/tasks/enable_epel.yml:40 Tuesday 09 January 2024 19:54:45 +0000 (0:00:00.012) 0:00:02.064 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/tests_bridge_cloned_mac_nm.yml:11 Tuesday 09 January 2024 19:54:45 +0000 (0:00:00.011) 0:00:02.075 ******* 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_typen6cwcb0x/tests/playbooks/tests_bridge_cloned_mac.yml:3 Tuesday 09 January 2024 19:54:45 +0000 (0:00:00.026) 0:00:02.101 ******* ok: [sut] META: ran handlers TASK [Define vars] ************************************************************* task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tests_bridge_cloned_mac.yml:6 Tuesday 09 January 2024 19:54:45 +0000 (0:00:00.761) 0:00:02.863 ******* 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_typen6cwcb0x/tests/playbooks/tests_bridge_cloned_mac.yml:11 Tuesday 09 January 2024 19:54:45 +0000 (0:00:00.019) 0:00:02.882 ******* ok: [sut] META: ran handlers TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 19:54:46 +0000 (0:00:00.826) 0:00:03.709 ******* included: /WORKDIR/git-route_typen6cwcb0x/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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:54:46 +0000 (0:00:00.141) 0:00:03.850 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 19:54:46 +0000 (0:00:00.018) 0:00:03.868 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 19:54:46 +0000 (0:00:00.012) 0:00:03.881 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 19:54:46 +0000 (0:00:00.037) 0:00:03.918 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 19:54:49 +0000 (0:00:02.304) 0:00:06.222 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 19:54:50 +0000 (0:00:01.248) 0:00:07.471 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 19:54:50 +0000 (0:00:00.053) 0:00:07.525 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 19:54:50 +0000 (0:00:00.045) 0:00:07.570 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 19:54:50 +0000 (0:00:00.046) 0:00:07.616 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 19:54:50 +0000 (0:00:00.059) 0:00:07.676 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 19:54:50 +0000 (0:00:00.065) 0:00:07.742 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 19:54:50 +0000 (0:00:00.046) 0:00:07.788 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 19:54:50 +0000 (0:00:00.039) 0:00:07.828 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 19:54:52 +0000 (0:00:01.168) 0:00:08.997 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 19:54:52 +0000 (0:00:00.085) 0:00:09.082 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 19:54:52 +0000 (0:00:00.037) 0:00:09.120 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 19:54:52 +0000 (0:00:00.043) 0:00:09.163 ******* 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, d36f8eb1-a75a-4925-9680-879f34fba6d9 [004] #0, state:up persistent_state:present, 'LSR-TST-br31': up connection LSR-TST-br31, d36f8eb1-a75a-4925-9680-879f34fba6d9 (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 19:54:52 +0000 (0:00:00.687) 0:00:09.850 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 19:54:52 +0000 (0:00:00.047) 0:00:09.898 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'LSR-TST-br31': add connection LSR-TST-br31, d36f8eb1-a75a-4925-9680-879f34fba6d9", "[004] #0, state:up persistent_state:present, 'LSR-TST-br31': up connection LSR-TST-br31, d36f8eb1-a75a-4925-9680-879f34fba6d9 (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 19:54:52 +0000 (0:00:00.058) 0:00:09.956 ******* 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, d36f8eb1-a75a-4925-9680-879f34fba6d9\n[004] #0, state:up persistent_state:present, 'LSR-TST-br31': up connection LSR-TST-br31, d36f8eb1-a75a-4925-9680-879f34fba6d9 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'LSR-TST-br31': add connection LSR-TST-br31, d36f8eb1-a75a-4925-9680-879f34fba6d9", "[004] #0, state:up persistent_state:present, 'LSR-TST-br31': up connection LSR-TST-br31, d36f8eb1-a75a-4925-9680-879f34fba6d9 (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 19:54:53 +0000 (0:00:00.051) 0:00:10.007 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 19:54:53 +0000 (0:00:00.054) 0:00:10.061 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Verify ifcfg MACADDR entry] ********************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tests_bridge_cloned_mac.yml:26 Tuesday 09 January 2024 19:54:53 +0000 (0:00:00.439) 0:00:10.501 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify nmcli cloned-mac-address entry] *********************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tests_bridge_cloned_mac.yml:34 Tuesday 09 January 2024 19:54:53 +0000 (0:00:00.030) 0:00:10.531 ******* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "-f", "802-3-ethernet.cloned-mac-address", "con", "show", "LSR-TST-br31" ], "delta": "0:00:00.167211", "end": "2024-01-09 19:54:54.109740", "rc": 0, "start": "2024-01-09 19:54:53.942529" } 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_typen6cwcb0x/tests/playbooks/tests_bridge_cloned_mac.yml:43 Tuesday 09 January 2024 19:54:54 +0000 (0:00:00.600) 0:00:11.131 ******* 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_typen6cwcb0x/tests/playbooks/down_profile.yml:3 Tuesday 09 January 2024 19:54:54 +0000 (0:00:00.056) 0:00:11.188 ******* ok: [sut] META: ran handlers TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 19:54:55 +0000 (0:00:00.815) 0:00:12.003 ******* included: /WORKDIR/git-route_typen6cwcb0x/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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:54:55 +0000 (0:00:00.040) 0:00:12.044 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 19:54:55 +0000 (0:00:00.029) 0:00:12.073 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 19:54:55 +0000 (0:00:00.026) 0:00:12.100 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 19:54:55 +0000 (0:00:00.026) 0:00:12.126 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 19:54:57 +0000 (0:00:02.197) 0:00:14.324 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 19:54:58 +0000 (0:00:00.931) 0:00:15.256 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 19:54:58 +0000 (0:00:00.027) 0:00:15.284 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 19:54:58 +0000 (0:00:00.026) 0:00:15.310 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 19:54:58 +0000 (0:00:00.029) 0:00:15.340 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 19:54:58 +0000 (0:00:00.051) 0:00:15.391 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 19:54:58 +0000 (0:00:00.055) 0:00:15.447 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 19:54:58 +0000 (0:00:00.026) 0:00:15.473 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 19:54:58 +0000 (0:00:00.085) 0:00:15.559 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 19:54:59 +0000 (0:00:00.794) 0:00:16.353 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 19:54:59 +0000 (0:00:00.065) 0:00:16.418 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 19:54:59 +0000 (0:00:00.040) 0:00:16.458 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 19:54:59 +0000 (0:00:00.062) 0:00:16.521 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 19:55:00 +0000 (0:00:00.583) 0:00:17.104 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 19:55:00 +0000 (0:00:00.098) 0:00:17.203 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 19:55:00 +0000 (0:00:00.061) 0:00:17.264 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 19:55:00 +0000 (0:00:00.074) 0:00:17.339 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 19:55:00 +0000 (0:00:00.027) 0:00:17.367 ******* ok: [sut] => { "changed": false, "ping": "pong" } META: ran handlers META: ran handlers PLAY [Delete the interface] **************************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/down_profile+delete_interface.yml:5 Tuesday 09 January 2024 19:55:00 +0000 (0:00:00.419) 0:00:17.786 ******* ok: [sut] META: ran handlers TASK [Include the task 'delete_interface.yml'] ********************************* task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/down_profile+delete_interface.yml:8 Tuesday 09 January 2024 19:55:01 +0000 (0:00:00.910) 0:00:18.696 ******* included: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/delete_interface.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 09 January 2024 19:55:01 +0000 (0:00:00.054) 0:00:18.750 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "LSR-TST-br31" ], "delta": "0:00:00.007857", "end": "2024-01-09 19:55:02.000343", "rc": 1, "start": "2024-01-09 19:55:01.992486" } 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_typen6cwcb0x/tests/playbooks/remove_profile.yml:3 Tuesday 09 January 2024 19:55:02 +0000 (0:00:00.281) 0:00:19.032 ******* ok: [sut] META: ran handlers TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 19:55:02 +0000 (0:00:00.823) 0:00:19.855 ******* included: /WORKDIR/git-route_typen6cwcb0x/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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:55:02 +0000 (0:00:00.051) 0:00:19.906 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 19:55:02 +0000 (0:00:00.043) 0:00:19.950 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 19:55:03 +0000 (0:00:00.039) 0:00:19.989 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 19:55:03 +0000 (0:00:00.044) 0:00:20.033 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 19:55:05 +0000 (0:00:02.316) 0:00:22.350 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 19:55:06 +0000 (0:00:01.081) 0:00:23.431 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 19:55:06 +0000 (0:00:00.047) 0:00:23.478 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 19:55:06 +0000 (0:00:00.031) 0:00:23.510 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 19:55:06 +0000 (0:00:00.022) 0:00:23.532 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 19:55:06 +0000 (0:00:00.048) 0:00:23.581 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 19:55:06 +0000 (0:00:00.027) 0:00:23.608 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 19:55:06 +0000 (0:00:00.028) 0:00:23.637 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 19:55:06 +0000 (0:00:00.032) 0:00:23.669 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 19:55:07 +0000 (0:00:00.604) 0:00:24.273 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 19:55:07 +0000 (0:00:00.040) 0:00:24.313 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 19:55:07 +0000 (0:00:00.063) 0:00:24.377 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 19:55:07 +0000 (0:00:00.029) 0:00:24.406 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 19:55:08 +0000 (0:00:00.593) 0:00:25.000 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 19:55:08 +0000 (0:00:00.097) 0:00:25.097 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 19:55:08 +0000 (0:00:00.072) 0:00:25.170 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 19:55:08 +0000 (0:00:00.062) 0:00:25.232 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 19:55:08 +0000 (0:00:00.079) 0:00:25.311 ******* ok: [sut] => { "changed": false, "ping": "pong" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=44 changed=3 unreachable=0 failed=0 skipped=49 rescued=0 ignored=1 Tuesday 09 January 2024 19:55:08 +0000 (0:00:00.296) 0:00:25.608 ******* =============================================================================== linux-system-roles.network : Check which services are running ----------- 2.32s /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.30s /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.20s /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.25s /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Enable and start NetworkManager ------------ 1.17s /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Check which packages are installed --------- 1.08s /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Gathering Facts --------------------------------------------------------- 1.02s /WORKDIR/git-route_typen6cwcb0x/tests/tests_bridge_cloned_mac_nm.yml:6 -------- linux-system-roles.network : Check which packages are installed --------- 0.93s /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Gathering Facts --------------------------------------------------------- 0.91s /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/down_profile+delete_interface.yml:5 Gathering Facts --------------------------------------------------------- 0.83s /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tests_bridge_cloned_mac.yml:11 Gathering Facts --------------------------------------------------------- 0.82s /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/remove_profile.yml:3 ---------- Gathering Facts --------------------------------------------------------- 0.82s /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/down_profile.yml:3 ------------ linux-system-roles.network : Enable and start NetworkManager ------------ 0.79s /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:85 Gathering Facts --------------------------------------------------------- 0.76s /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tests_bridge_cloned_mac.yml:3 - linux-system-roles.network : Configure networking connection profiles --- 0.69s /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable and start NetworkManager ------------ 0.60s /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:85 Verify nmcli cloned-mac-address entry ----------------------------------- 0.60s /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tests_bridge_cloned_mac.yml:34 linux-system-roles.network : Configure networking connection profiles --- 0.59s /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Configure networking connection profiles --- 0.58s /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:122 Gather the minimum subset of ansible_facts required by the network role test --- 0.55s /WORKDIR/git-route_typen6cwcb0x/tests/tasks/el_repo_setup.yml:3 --------------- ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---