# STDOUT: ---v---v---v---v---v--- ansible-playbook [core 2.16.0] 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.16/lib/python3.11/site-packages/ansible ansible collection location = /WORKDIR/git-route_type5j824erd/.collection executable location = /opt/ansible-2.16/bin/ansible-playbook python version = 3.11.5 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] (/opt/ansible-2.16/bin/python) jinja version = 3.1.2 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_bridge_cloned_mac_nm.yml *************************************** 6 plays in /WORKDIR/git-route_type5j824erd/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_type5j824erd/tests/tests_bridge_cloned_mac_nm.yml:6 Monday 08 January 2024 14:13:33 +0000 (0:00:00.013) 0:00:00.013 ******** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_type5j824erd/tests/tests_bridge_cloned_mac_nm.yml:9 Monday 08 January 2024 14:13:34 +0000 (0:00:00.822) 0:00:00.836 ******** included: /WORKDIR/git-route_type5j824erd/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_type5j824erd/tests/tasks/el_repo_setup.yml:3 Monday 08 January 2024 14:13:34 +0000 (0:00:00.011) 0:00:00.848 ******** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_type5j824erd/tests/tasks/el_repo_setup.yml:17 Monday 08 January 2024 14:13:35 +0000 (0:00:00.340) 0:00:01.188 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_type5j824erd/tests/tasks/el_repo_setup.yml:22 Monday 08 January 2024 14:13:35 +0000 (0:00:00.257) 0:00:01.446 ******** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_type5j824erd/tests/tasks/el_repo_setup.yml:26 Monday 08 January 2024 14:13:35 +0000 (0:00:00.015) 0:00:01.462 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_type5j824erd/tests/tasks/el_repo_setup.yml:51 Monday 08 January 2024 14:13:35 +0000 (0:00:00.010) 0:00:01.472 ******** included: /WORKDIR/git-route_type5j824erd/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 9] *********************************************************** task path: /WORKDIR/git-route_type5j824erd/tests/tasks/enable_epel.yml:8 Monday 08 January 2024 14:13:35 +0000 (0:00:00.023) 0:00:01.495 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-route_type5j824erd/tests/tasks/enable_epel.yml:24 Monday 08 January 2024 14:13:35 +0000 (0:00:00.009) 0:00:01.505 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-route_type5j824erd/tests/tasks/enable_epel.yml:30 Monday 08 January 2024 14:13:35 +0000 (0:00:00.011) 0:00:01.516 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_type5j824erd/tests/tasks/enable_epel.yml:35 Monday 08 January 2024 14:13:35 +0000 (0:00:00.008) 0:00:01.524 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_type5j824erd/tests/tasks/enable_epel.yml:40 Monday 08 January 2024 14:13:35 +0000 (0:00:00.008) 0:00:01.533 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-route_type5j824erd/tests/tests_bridge_cloned_mac_nm.yml:11 Monday 08 January 2024 14:13:35 +0000 (0:00:00.008) 0:00:01.542 ******** ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Test configuring bridges] ************************************************ TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tests_bridge_cloned_mac.yml:3 Monday 08 January 2024 14:13:35 +0000 (0:00:00.014) 0:00:01.556 ******** ok: [sut] TASK [Define vars] ************************************************************* task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tests_bridge_cloned_mac.yml:6 Monday 08 January 2024 14:13:36 +0000 (0:00:00.613) 0:00:02.169 ******** ok: [sut] => { "ansible_facts": { "cloned_mac": "12:23:34:45:56:70", "interface": "LSR-TST-br31" }, "changed": false } PLAY [Add test bridge] ********************************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tests_bridge_cloned_mac.yml:11 Monday 08 January 2024 14:13:36 +0000 (0:00:00.025) 0:00:02.195 ******** ok: [sut] TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 08 January 2024 14:13:36 +0000 (0:00:00.600) 0:00:02.795 ******** included: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 08 January 2024 14:13:36 +0000 (0:00:00.016) 0:00:02.812 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 08 January 2024 14:13:36 +0000 (0:00:00.019) 0:00:02.831 ******** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 08 January 2024 14:13:36 +0000 (0:00:00.016) 0:00:02.848 ******** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 08 January 2024 14:13:36 +0000 (0:00:00.012) 0:00:02.861 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 08 January 2024 14:13:38 +0000 (0:00:01.486) 0:00:04.347 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 08 January 2024 14:13:39 +0000 (0:00:01.136) 0:00:05.484 ******** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 08 January 2024 14:13:39 +0000 (0:00:00.027) 0:00:05.512 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 08 January 2024 14:13:39 +0000 (0:00:00.021) 0:00:05.534 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 08 January 2024 14:13:39 +0000 (0:00:00.021) 0:00:05.555 ******** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 08 January 2024 14:13:39 +0000 (0:00:00.055) 0:00:05.611 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Monday 08 January 2024 14:13:39 +0000 (0:00:00.036) 0:00:05.647 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Monday 08 January 2024 14:13:39 +0000 (0:00:00.024) 0:00:05.672 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Monday 08 January 2024 14:13:39 +0000 (0:00:00.064) 0:00:05.736 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Monday 08 January 2024 14:13:40 +0000 (0:00:00.588) 0:00:06.324 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Monday 08 January 2024 14:13:40 +0000 (0:00:00.056) 0:00:06.381 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Monday 08 January 2024 14:13:40 +0000 (0:00:00.081) 0:00:06.463 ******** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 08 January 2024 14:13:40 +0000 (0:00:00.060) 0:00:06.523 ******** 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, cb066756-2a1c-4a64-a7b3-cf465185ac77 [004] #0, state:up persistent_state:present, 'LSR-TST-br31': up connection LSR-TST-br31, cb066756-2a1c-4a64-a7b3-cf465185ac77 (is-modified) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Monday 08 January 2024 14:13:41 +0000 (0:00:00.570) 0:00:07.094 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Monday 08 January 2024 14:13:41 +0000 (0:00:00.021) 0:00:07.115 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'LSR-TST-br31': add connection LSR-TST-br31, cb066756-2a1c-4a64-a7b3-cf465185ac77", "[004] #0, state:up persistent_state:present, 'LSR-TST-br31': up connection LSR-TST-br31, cb066756-2a1c-4a64-a7b3-cf465185ac77 (is-modified)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 08 January 2024 14:13:41 +0000 (0:00:00.020) 0:00:07.136 ******** 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, cb066756-2a1c-4a64-a7b3-cf465185ac77\n[004] #0, state:up persistent_state:present, 'LSR-TST-br31': up connection LSR-TST-br31, cb066756-2a1c-4a64-a7b3-cf465185ac77 (is-modified)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'LSR-TST-br31': add connection LSR-TST-br31, cb066756-2a1c-4a64-a7b3-cf465185ac77", "[004] #0, state:up persistent_state:present, 'LSR-TST-br31': up connection LSR-TST-br31, cb066756-2a1c-4a64-a7b3-cf465185ac77 (is-modified)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Monday 08 January 2024 14:13:41 +0000 (0:00:00.020) 0:00:07.157 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 08 January 2024 14:13:41 +0000 (0:00:00.021) 0:00:07.178 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Verify ifcfg MACADDR entry] ********************************************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tests_bridge_cloned_mac.yml:26 Monday 08 January 2024 14:13:41 +0000 (0:00:00.300) 0:00:07.479 ******** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [Verify nmcli cloned-mac-address entry] *********************************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tests_bridge_cloned_mac.yml:34 Monday 08 January 2024 14:13:41 +0000 (0:00:00.018) 0:00:07.497 ******** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "-f", "802-3-ethernet.cloned-mac-address", "con", "show", "LSR-TST-br31" ], "delta": "0:00:00.017106", "end": "2024-01-08 14:13:41.728307", "rc": 0, "start": "2024-01-08 14:13:41.711201" } 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_type5j824erd/tests/playbooks/tests_bridge_cloned_mac.yml:43 Monday 08 January 2024 14:13:41 +0000 (0:00:00.298) 0:00:07.796 ******** ok: [sut] => { "changed": false } MSG: All assertions passed PLAY [Set down {{ profile }}] ************************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/down_profile.yml:3 Monday 08 January 2024 14:13:41 +0000 (0:00:00.076) 0:00:07.872 ******** ok: [sut] TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 08 January 2024 14:13:42 +0000 (0:00:00.662) 0:00:08.534 ******** included: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 08 January 2024 14:13:42 +0000 (0:00:00.053) 0:00:08.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 [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 08 January 2024 14:13:42 +0000 (0:00:00.032) 0:00:08.620 ******** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 08 January 2024 14:13:42 +0000 (0:00:00.021) 0:00:08.642 ******** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 08 January 2024 14:13:42 +0000 (0:00:00.021) 0:00:08.663 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 08 January 2024 14:13:44 +0000 (0:00:01.417) 0:00:10.080 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 08 January 2024 14:13:44 +0000 (0:00:00.942) 0:00:11.023 ******** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 08 January 2024 14:13:45 +0000 (0:00:00.023) 0:00:11.046 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 08 January 2024 14:13:45 +0000 (0:00:00.028) 0:00:11.075 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 08 January 2024 14:13:45 +0000 (0:00:00.024) 0:00:11.099 ******** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 08 January 2024 14:13:45 +0000 (0:00:00.052) 0:00:11.152 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Monday 08 January 2024 14:13:45 +0000 (0:00:00.021) 0:00:11.173 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Monday 08 January 2024 14:13:45 +0000 (0:00:00.033) 0:00:11.207 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Monday 08 January 2024 14:13:45 +0000 (0:00:00.039) 0:00:11.246 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Monday 08 January 2024 14:13:45 +0000 (0:00:00.381) 0:00:11.627 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Monday 08 January 2024 14:13:45 +0000 (0:00:00.070) 0:00:11.698 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Monday 08 January 2024 14:13:45 +0000 (0:00:00.018) 0:00:11.717 ******** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 08 January 2024 14:13:45 +0000 (0:00:00.019) 0:00:11.737 ******** 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 [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Monday 08 January 2024 14:13:46 +0000 (0:00:00.394) 0:00:12.131 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Monday 08 January 2024 14:13:46 +0000 (0:00:00.048) 0:00:12.180 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 08 January 2024 14:13:46 +0000 (0:00:00.033) 0:00:12.214 ******** 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 [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Monday 08 January 2024 14:13:46 +0000 (0:00:00.025) 0:00:12.239 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 08 January 2024 14:13:46 +0000 (0:00:00.027) 0:00:12.267 ******** ok: [sut] => { "changed": false, "ping": "pong" } PLAY [Delete the interface] **************************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/down_profile+delete_interface.yml:5 Monday 08 January 2024 14:13:46 +0000 (0:00:00.242) 0:00:12.510 ******** ok: [sut] TASK [Include the task 'delete_interface.yml'] ********************************* task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/down_profile+delete_interface.yml:8 Monday 08 January 2024 14:13:47 +0000 (0:00:00.686) 0:00:13.197 ******** included: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/delete_interface.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/delete_interface.yml:3 Monday 08 January 2024 14:13:47 +0000 (0:00:00.037) 0:00:13.234 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "LSR-TST-br31" ], "delta": "0:00:00.007233", "end": "2024-01-08 14:13:47.381697", "rc": 1, "start": "2024-01-08 14:13:47.374464" } STDERR: Cannot find device "LSR-TST-br31" MSG: non-zero return code ...ignoring PLAY [Remove {{ profile }}] **************************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/remove_profile.yml:3 Monday 08 January 2024 14:13:47 +0000 (0:00:00.355) 0:00:13.589 ******** ok: [sut] TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 08 January 2024 14:13:48 +0000 (0:00:00.709) 0:00:14.299 ******** included: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 08 January 2024 14:13:48 +0000 (0:00:00.048) 0:00:14.347 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 08 January 2024 14:13:48 +0000 (0:00:00.066) 0:00:14.413 ******** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 08 January 2024 14:13:48 +0000 (0:00:00.035) 0:00:14.449 ******** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 08 January 2024 14:13:48 +0000 (0:00:00.044) 0:00:14.494 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 08 January 2024 14:13:49 +0000 (0:00:01.477) 0:00:15.971 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 08 January 2024 14:13:50 +0000 (0:00:00.927) 0:00:16.899 ******** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 08 January 2024 14:13:50 +0000 (0:00:00.023) 0:00:16.923 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 08 January 2024 14:13:50 +0000 (0:00:00.069) 0:00:16.992 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 08 January 2024 14:13:50 +0000 (0:00:00.023) 0:00:17.016 ******** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 08 January 2024 14:13:51 +0000 (0:00:00.067) 0:00:17.083 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Monday 08 January 2024 14:13:51 +0000 (0:00:00.024) 0:00:17.108 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Monday 08 January 2024 14:13:51 +0000 (0:00:00.040) 0:00:17.149 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Monday 08 January 2024 14:13:51 +0000 (0:00:00.051) 0:00:17.200 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Monday 08 January 2024 14:13:51 +0000 (0:00:00.408) 0:00:17.609 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Monday 08 January 2024 14:13:51 +0000 (0:00:00.047) 0:00:17.656 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Monday 08 January 2024 14:13:51 +0000 (0:00:00.054) 0:00:17.711 ******** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 08 January 2024 14:13:51 +0000 (0:00:00.046) 0:00:17.757 ******** 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 [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Monday 08 January 2024 14:13:52 +0000 (0:00:00.408) 0:00:18.166 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Monday 08 January 2024 14:13:52 +0000 (0:00:00.023) 0:00:18.189 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 08 January 2024 14:13:52 +0000 (0:00:00.022) 0:00:18.211 ******** 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 [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Monday 08 January 2024 14:13:52 +0000 (0:00:00.022) 0:00:18.234 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 08 January 2024 14:13:52 +0000 (0:00:00.021) 0:00:18.256 ******** ok: [sut] => { "changed": false, "ping": "pong" } PLAY RECAP ********************************************************************* sut : ok=44 changed=3 unreachable=0 failed=0 skipped=49 rescued=0 ignored=1 Monday 08 January 2024 14:13:52 +0000 (0:00:00.273) 0:00:18.530 ******** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 1.49s /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.48s /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.42s /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.14s /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 0.94s /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 0.93s /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gathering Facts --------------------------------------------------------- 0.82s /WORKDIR/git-route_type5j824erd/tests/tests_bridge_cloned_mac_nm.yml:6 -------- Gathering Facts --------------------------------------------------------- 0.71s /WORKDIR/git-route_type5j824erd/tests/playbooks/remove_profile.yml:3 ---------- Gathering Facts --------------------------------------------------------- 0.69s /WORKDIR/git-route_type5j824erd/tests/playbooks/down_profile+delete_interface.yml:5 Gathering Facts --------------------------------------------------------- 0.66s /WORKDIR/git-route_type5j824erd/tests/playbooks/down_profile.yml:3 ------------ Gathering Facts --------------------------------------------------------- 0.61s /WORKDIR/git-route_type5j824erd/tests/playbooks/tests_bridge_cloned_mac.yml:3 - Gathering Facts --------------------------------------------------------- 0.60s /WORKDIR/git-route_type5j824erd/tests/playbooks/tests_bridge_cloned_mac.yml:11 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.59s /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.57s /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.41s /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.41s /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.39s /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.38s /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Remove test interface if necessary -------------------------------------- 0.36s /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/delete_interface.yml:3 -- Gather the minimum subset of ansible_facts required by the network role test --- 0.34s /WORKDIR/git-route_type5j824erd/tests/tasks/el_repo_setup.yml:3 --------------- ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---