# 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_type0_yg41s7/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_type0_yg41s7/tests/tests_bridge_cloned_mac_nm.yml:6 Friday 12 January 2024 18:17:23 +0000 (0:00:00.024) 0:00:00.024 ******** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_type0_yg41s7/tests/tests_bridge_cloned_mac_nm.yml:9 Friday 12 January 2024 18:17:24 +0000 (0:00:00.848) 0:00:00.873 ******** included: /WORKDIR/git-route_type0_yg41s7/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_type0_yg41s7/tests/tasks/el_repo_setup.yml:3 Friday 12 January 2024 18:17:24 +0000 (0:00:00.012) 0:00:00.885 ******** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/tasks/el_repo_setup.yml:19 Friday 12 January 2024 18:17:24 +0000 (0:00:00.341) 0:00:01.227 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/tasks/el_repo_setup.yml:24 Friday 12 January 2024 18:17:24 +0000 (0:00:00.254) 0:00:01.481 ******** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/tasks/el_repo_setup.yml:28 Friday 12 January 2024 18:17:24 +0000 (0:00:00.046) 0:00:01.528 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/tasks/el_repo_setup.yml:53 Friday 12 January 2024 18:17:24 +0000 (0:00:00.018) 0:00:01.547 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/tasks/enable_epel.yml:8 Friday 12 January 2024 18:17:24 +0000 (0:00:00.030) 0:00:01.578 ******** 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_type0_yg41s7/tests/tasks/enable_epel.yml:24 Friday 12 January 2024 18:17:24 +0000 (0:00:00.238) 0:00:01.816 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/tasks/enable_epel.yml:30 Friday 12 January 2024 18:17:25 +0000 (0:00:00.011) 0:00:01.827 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/tasks/enable_epel.yml:35 Friday 12 January 2024 18:17:25 +0000 (0:00:00.012) 0:00:01.839 ******** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.253810", "end": "2024-01-12 18:17:25.453807", "rc": 0, "start": "2024-01-12 18:17:25.199997" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/tasks/enable_epel.yml:40 Friday 12 January 2024 18:17:25 +0000 (0:00:00.459) 0:00:02.299 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/tests_bridge_cloned_mac_nm.yml:11 Friday 12 January 2024 18:17:25 +0000 (0:00:00.013) 0:00:02.313 ******** 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_type0_yg41s7/tests/playbooks/tests_bridge_cloned_mac.yml:3 Friday 12 January 2024 18:17:25 +0000 (0:00:00.031) 0:00:02.344 ******** ok: [sut] META: ran handlers TASK [Define vars] ************************************************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tests_bridge_cloned_mac.yml:6 Friday 12 January 2024 18:17:26 +0000 (0:00:00.568) 0:00:02.913 ******** 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_type0_yg41s7/tests/playbooks/tests_bridge_cloned_mac.yml:11 Friday 12 January 2024 18:17:26 +0000 (0:00:00.013) 0:00:02.926 ******** ok: [sut] META: ran handlers TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 18:17:26 +0000 (0:00:00.583) 0:00:03.509 ******** included: /WORKDIR/git-route_type0_yg41s7/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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 18:17:26 +0000 (0:00:00.067) 0:00:03.577 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 18:17:26 +0000 (0:00:00.012) 0:00:03.589 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 18:17:26 +0000 (0:00:00.010) 0:00:03.599 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 18:17:26 +0000 (0:00:00.029) 0:00:03.629 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 18:17:28 +0000 (0:00:01.751) 0:00:05.381 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 18:17:30 +0000 (0:00:01.479) 0:00:06.860 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 18:17:30 +0000 (0:00:00.025) 0:00:06.886 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 18:17:30 +0000 (0:00:00.040) 0:00:06.926 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 18:17:30 +0000 (0:00:00.022) 0:00:06.949 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 18:17:30 +0000 (0:00:00.045) 0:00:06.994 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 18:17:30 +0000 (0:00:00.022) 0:00:07.017 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 18:17:30 +0000 (0:00:00.029) 0:00:07.046 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 18:17:30 +0000 (0:00:00.027) 0:00:07.074 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 18:17:30 +0000 (0:00:00.487) 0:00:07.561 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 18:17:30 +0000 (0:00:00.025) 0:00:07.587 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 18:17:30 +0000 (0:00:00.021) 0:00:07.608 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 18:17:30 +0000 (0:00:00.021) 0:00:07.629 ******** 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, ce86dbbf-2175-41ed-9fe0-0124b413512a [004] #0, state:up persistent_state:present, 'LSR-TST-br31': up connection LSR-TST-br31, ce86dbbf-2175-41ed-9fe0-0124b413512a (is-modified) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 18:17:31 +0000 (0:00:00.557) 0:00:08.186 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 18:17:31 +0000 (0:00:00.044) 0:00:08.231 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'LSR-TST-br31': add connection LSR-TST-br31, ce86dbbf-2175-41ed-9fe0-0124b413512a", "[004] #0, state:up persistent_state:present, 'LSR-TST-br31': up connection LSR-TST-br31, ce86dbbf-2175-41ed-9fe0-0124b413512a (is-modified)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 18:17:31 +0000 (0:00:00.024) 0:00:08.255 ******** 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, ce86dbbf-2175-41ed-9fe0-0124b413512a\n[004] #0, state:up persistent_state:present, 'LSR-TST-br31': up connection LSR-TST-br31, ce86dbbf-2175-41ed-9fe0-0124b413512a (is-modified)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'LSR-TST-br31': add connection LSR-TST-br31, ce86dbbf-2175-41ed-9fe0-0124b413512a", "[004] #0, state:up persistent_state:present, 'LSR-TST-br31': up connection LSR-TST-br31, ce86dbbf-2175-41ed-9fe0-0124b413512a (is-modified)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 18:17:31 +0000 (0:00:00.023) 0:00:08.278 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 18:17:31 +0000 (0:00:00.021) 0:00:08.299 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Verify ifcfg MACADDR entry] ********************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tests_bridge_cloned_mac.yml:26 Friday 12 January 2024 18:17:31 +0000 (0:00:00.256) 0:00:08.555 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify nmcli cloned-mac-address entry] *********************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tests_bridge_cloned_mac.yml:34 Friday 12 January 2024 18:17:31 +0000 (0:00:00.020) 0:00:08.576 ******** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "-f", "802-3-ethernet.cloned-mac-address", "con", "show", "LSR-TST-br31" ], "delta": "0:00:00.018064", "end": "2024-01-12 18:17:31.945419", "rc": 0, "start": "2024-01-12 18:17:31.927355" } 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_type0_yg41s7/tests/playbooks/tests_bridge_cloned_mac.yml:43 Friday 12 January 2024 18:17:31 +0000 (0:00:00.220) 0:00:08.796 ******** 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_type0_yg41s7/tests/playbooks/down_profile.yml:3 Friday 12 January 2024 18:17:32 +0000 (0:00:00.030) 0:00:08.827 ******** ok: [sut] META: ran handlers TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 18:17:32 +0000 (0:00:00.587) 0:00:09.414 ******** included: /WORKDIR/git-route_type0_yg41s7/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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 18:17:32 +0000 (0:00:00.035) 0:00:09.450 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 18:17:32 +0000 (0:00:00.026) 0:00:09.477 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 18:17:32 +0000 (0:00:00.042) 0:00:09.520 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 18:17:32 +0000 (0:00:00.022) 0:00:09.542 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 18:17:34 +0000 (0:00:01.611) 0:00:11.154 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 18:17:35 +0000 (0:00:01.338) 0:00:12.492 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 18:17:35 +0000 (0:00:00.025) 0:00:12.517 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 18:17:35 +0000 (0:00:00.023) 0:00:12.541 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 18:17:35 +0000 (0:00:00.026) 0:00:12.567 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 18:17:35 +0000 (0:00:00.051) 0:00:12.619 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 18:17:35 +0000 (0:00:00.023) 0:00:12.642 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 18:17:35 +0000 (0:00:00.021) 0:00:12.664 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 18:17:35 +0000 (0:00:00.026) 0:00:12.691 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 18:17:36 +0000 (0:00:00.354) 0:00:13.046 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 18:17:36 +0000 (0:00:00.027) 0:00:13.073 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 18:17:36 +0000 (0:00:00.022) 0:00:13.096 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 18:17:36 +0000 (0:00:00.020) 0:00:13.116 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 18:17:36 +0000 (0:00:00.379) 0:00:13.496 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 18:17:36 +0000 (0:00:00.021) 0:00:13.518 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 18:17:36 +0000 (0:00:00.070) 0:00:13.588 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 18:17:36 +0000 (0:00:00.034) 0:00:13.622 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 18:17:36 +0000 (0:00:00.037) 0:00:13.660 ******** ok: [sut] => { "changed": false, "ping": "pong" } META: ran handlers META: ran handlers PLAY [Delete the interface] **************************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/down_profile+delete_interface.yml:5 Friday 12 January 2024 18:17:37 +0000 (0:00:00.230) 0:00:13.890 ******** ok: [sut] META: ran handlers TASK [Include the task 'delete_interface.yml'] ********************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/down_profile+delete_interface.yml:8 Friday 12 January 2024 18:17:37 +0000 (0:00:00.612) 0:00:14.503 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/delete_interface.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/delete_interface.yml:3 Friday 12 January 2024 18:17:37 +0000 (0:00:00.034) 0:00:14.537 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "LSR-TST-br31" ], "delta": "0:00:00.008557", "end": "2024-01-12 18:17:37.899824", "rc": 1, "start": "2024-01-12 18:17:37.891267" } 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_type0_yg41s7/tests/playbooks/remove_profile.yml:3 Friday 12 January 2024 18:17:37 +0000 (0:00:00.229) 0:00:14.767 ******** ok: [sut] META: ran handlers TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 18:17:38 +0000 (0:00:00.588) 0:00:15.355 ******** included: /WORKDIR/git-route_type0_yg41s7/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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 18:17:38 +0000 (0:00:00.057) 0:00:15.413 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 18:17:38 +0000 (0:00:00.070) 0:00:15.483 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 18:17:38 +0000 (0:00:00.024) 0:00:15.507 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 18:17:38 +0000 (0:00:00.022) 0:00:15.530 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 18:17:40 +0000 (0:00:01.658) 0:00:17.188 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 18:17:41 +0000 (0:00:01.320) 0:00:18.509 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 18:17:41 +0000 (0:00:00.051) 0:00:18.560 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 18:17:41 +0000 (0:00:00.024) 0:00:18.584 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 18:17:41 +0000 (0:00:00.035) 0:00:18.620 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 18:17:41 +0000 (0:00:00.088) 0:00:18.708 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 18:17:41 +0000 (0:00:00.025) 0:00:18.734 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 18:17:41 +0000 (0:00:00.028) 0:00:18.762 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 18:17:41 +0000 (0:00:00.029) 0:00:18.792 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 18:17:42 +0000 (0:00:00.358) 0:00:19.150 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 18:17:42 +0000 (0:00:00.030) 0:00:19.181 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 18:17:42 +0000 (0:00:00.023) 0:00:19.205 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 18:17:42 +0000 (0:00:00.024) 0:00:19.229 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 18:17:42 +0000 (0:00:00.374) 0:00:19.604 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 18:17:42 +0000 (0:00:00.063) 0:00:19.667 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 18:17:42 +0000 (0:00:00.032) 0:00:19.699 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 18:17:42 +0000 (0:00:00.070) 0:00:19.770 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 18:17:42 +0000 (0:00:00.024) 0:00:19.794 ******** 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 Friday 12 January 2024 18:17:43 +0000 (0:00:00.222) 0:00:20.017 ******** =============================================================================== linux-system-roles.network : Check which services are running ----------- 1.75s /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.66s /WORKDIR/git-route_type0_yg41s7/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_type0_yg41s7/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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.34s /WORKDIR/git-route_type0_yg41s7/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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Gathering Facts --------------------------------------------------------- 0.85s /WORKDIR/git-route_type0_yg41s7/tests/tests_bridge_cloned_mac_nm.yml:6 -------- Gathering Facts --------------------------------------------------------- 0.61s /WORKDIR/git-route_type0_yg41s7/tests/playbooks/down_profile+delete_interface.yml:5 Gathering Facts --------------------------------------------------------- 0.59s /WORKDIR/git-route_type0_yg41s7/tests/playbooks/remove_profile.yml:3 ---------- Gathering Facts --------------------------------------------------------- 0.59s /WORKDIR/git-route_type0_yg41s7/tests/playbooks/down_profile.yml:3 ------------ Gathering Facts --------------------------------------------------------- 0.58s /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tests_bridge_cloned_mac.yml:11 Gathering Facts --------------------------------------------------------- 0.57s /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tests_bridge_cloned_mac.yml:3 - linux-system-roles.network : Configure networking connection profiles --- 0.56s /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable and start NetworkManager ------------ 0.49s /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:85 Enable EPEL 8 ----------------------------------------------------------- 0.46s /WORKDIR/git-route_type0_yg41s7/tests/tasks/enable_epel.yml:35 ---------------- linux-system-roles.network : Configure networking connection profiles --- 0.38s /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Configure networking connection profiles --- 0.37s /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable and start NetworkManager ------------ 0.36s /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Enable and start NetworkManager ------------ 0.35s /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:85 Gather the minimum subset of ansible_facts required by the network role test --- 0.34s /WORKDIR/git-route_type0_yg41s7/tests/tasks/el_repo_setup.yml:3 --------------- ---^---^---^---^---^--- # 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. ---^---^---^---^---^---