ansible-playbook 2.9.27 config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.9/site-packages/ansible executable location = /usr/local/bin/ansible-playbook python version = 3.9.19 (main, May 16 2024, 11:40:09) [GCC 8.5.0 20210514 (Red Hat 8.5.0-22)] No config file found; using defaults [WARNING]: running playbook inside collection fedora.linux_system_roles 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_initscripts.yml ***************************************** 11 plays in /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/tests_bridge_initscripts.yml PLAY [Run playbook 'playbooks/tests_bridge.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/tests_bridge_initscripts.yml:5 Tuesday 20 August 2024 10:00:30 -0400 (0:00:00.021) 0:00:00.021 ******** ok: [managed_node1] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/tests_bridge_initscripts.yml:8 Tuesday 20 August 2024 10:00:31 -0400 (0:00:00.862) 0:00:00.883 ******** included: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed_node1 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Tuesday 20 August 2024 10:00:31 -0400 (0:00:00.019) 0:00:00.902 ******** ok: [managed_node1] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Tuesday 20 August 2024 10:00:32 -0400 (0:00:00.471) 0:00:01.374 ******** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Tuesday 20 August 2024 10:00:32 -0400 (0:00:00.578) 0:00:01.953 ******** ok: [managed_node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Tuesday 20 August 2024 10:00:32 -0400 (0:00:00.054) 0:00:02.008 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Tuesday 20 August 2024 10:00:32 -0400 (0:00:00.047) 0:00:02.056 ******** included: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node1 TASK [Create EPEL 8] *********************************************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Tuesday 20 August 2024 10:00:32 -0400 (0:00:00.089) 0:00:02.145 ******** ok: [managed_node1] => { "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: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Tuesday 20 August 2024 10:00:33 -0400 (0:00:00.441) 0:00:02.587 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Tuesday 20 August 2024 10:00:33 -0400 (0:00:00.020) 0:00:02.608 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Tuesday 20 August 2024 10:00:33 -0400 (0:00:00.026) 0:00:02.634 ******** [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. ok: [managed_node1] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.217946", "end": "2024-08-20 10:00:33.950475", "rc": 0, "start": "2024-08-20 10:00:33.732529" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Tuesday 20 August 2024 10:00:34 -0400 (0:00:00.621) 0:00:03.256 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/tests_bridge_initscripts.yml:10 Tuesday 20 August 2024 10:00:34 -0400 (0:00:00.047) 0:00:03.304 ******** ok: [managed_node1] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } META: ran handlers META: ran handlers PLAY [Test configuring bridges] ************************************************ TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_bridge.yml:3 Tuesday 20 August 2024 10:00:34 -0400 (0:00:00.063) 0:00:03.367 ******** ok: [managed_node1] META: ran handlers TASK [Set interface=LSR-TST-br31] ********************************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_bridge.yml:9 Tuesday 20 August 2024 10:00:34 -0400 (0:00:00.699) 0:00:04.067 ******** ok: [managed_node1] => { "ansible_facts": { "interface": "LSR-TST-br31" }, "changed": false } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_bridge.yml:12 Tuesday 20 August 2024 10:00:34 -0400 (0:00:00.024) 0:00:04.092 ******** included: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Tuesday 20 August 2024 10:00:34 -0400 (0:00:00.031) 0:00:04.123 ******** included: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 20 August 2024 10:00:34 -0400 (0:00:00.036) 0:00:04.159 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002784", "end": "2024-08-20 10:00:35.259361", "rc": 0, "start": "2024-08-20 10:00:35.256577" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 20 August 2024 10:00:35 -0400 (0:00:00.350) 0:00:04.510 ******** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Tuesday 20 August 2024 10:00:35 -0400 (0:00:00.088) 0:00:04.598 ******** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_bridge.yml:14 Tuesday 20 August 2024 10:00:35 -0400 (0:00:00.042) 0:00:04.641 ******** included: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Tuesday 20 August 2024 10:00:35 -0400 (0:00:00.031) 0:00:04.673 ******** included: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface LSR-TST-br31] ************************************* task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Tuesday 20 August 2024 10:00:35 -0400 (0:00:00.035) 0:00:04.708 ******** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'LSR-TST-br31'] ******************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Tuesday 20 August 2024 10:00:35 -0400 (0:00:00.354) 0:00:05.062 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY [Add test bridge] ********************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_bridge.yml:17 Tuesday 20 August 2024 10:00:35 -0400 (0:00:00.039) 0:00:05.102 ******** ok: [managed_node1] META: ran handlers TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 20 August 2024 10:00:36 -0400 (0:00:00.656) 0:00:05.759 ******** included: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 20 August 2024 10:00:36 -0400 (0:00:00.040) 0:00:05.799 ******** skipping: [managed_node1] => { "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: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 20 August 2024 10:00:36 -0400 (0:00:00.030) 0:00:05.829 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 20 August 2024 10:00:36 -0400 (0:00:00.019) 0:00:05.849 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 20 August 2024 10:00:36 -0400 (0:00:00.026) 0:00:05.875 ******** ok: [managed_node1] => { "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: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 20 August 2024 10:00:38 -0400 (0:00:01.631) 0:00:07.507 ******** ok: [managed_node1] => { "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: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 20 August 2024 10:00:40 -0400 (0:00:01.996) 0:00:09.503 ******** ok: [managed_node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 20 August 2024 10:00:40 -0400 (0:00:00.037) 0:00:09.541 ******** skipping: [managed_node1] => { "changed": false, "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: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 20 August 2024 10:00:40 -0400 (0:00:00.037) 0:00:09.578 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 20 August 2024 10:00:40 -0400 (0:00:00.035) 0:00:09.613 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 20 August 2024 10:00:40 -0400 (0:00:00.034) 0:00:09.648 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 20 August 2024 10:00:40 -0400 (0:00:00.050) 0:00:09.698 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 20 August 2024 10:00:40 -0400 (0:00:00.057) 0:00:09.756 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 20 August 2024 10:00:40 -0400 (0:00:00.066) 0:00:09.823 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 20 August 2024 10:00:40 -0400 (0:00:00.112) 0:00:09.935 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 20 August 2024 10:00:40 -0400 (0:00:00.051) 0:00:09.987 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 20 August 2024 10:00:40 -0400 (0:00:00.065) 0:00:10.052 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 20 August 2024 10:00:40 -0400 (0:00:00.078) 0:00:10.131 ******** skipping: [managed_node1] => { "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: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 20 August 2024 10:00:40 -0400 (0:00:00.043) 0:00:10.174 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 20 August 2024 10:00:41 -0400 (0:00:00.044) 0:00:10.219 ******** ok: [managed_node1] => { "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: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 20 August 2024 10:00:41 -0400 (0:00:00.858) 0:00:11.078 ******** ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-21485xhjtpybl/tmpa0l5hlij" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 20 August 2024 10:00:42 -0400 (0:00:00.407) 0:00:11.485 ******** changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "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": "initscripts" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'LSR-TST-br31': add ifcfg-rh profile 'LSR-TST-br31' [004] #0, state:up persistent_state:present, 'LSR-TST-br31': up connection LSR-TST-br31 (not-active) [005] #0, state:up persistent_state:present, 'LSR-TST-br31': call 'ifup LSR-TST-br31': rc=0, out='b"INFO : [ipv6_wait_tentative] Waiting for interface LSR-TST-br31 IPv6 address(es) to leave the 'tentative' state\nINFO : [ipv6_wait_tentative] Waiting for interface LSR-TST-br31 IPv6 address(es) to leave the 'tentative' state\n"', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 20 August 2024 10:00:45 -0400 (0:00:03.175) 0:00:14.661 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 20 August 2024 10:00:45 -0400 (0:00:00.055) 0:00:14.717 ******** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'LSR-TST-br31': add ifcfg-rh profile 'LSR-TST-br31'", "[004] #0, state:up persistent_state:present, 'LSR-TST-br31': up connection LSR-TST-br31 (not-active)", "[005] #0, state:up persistent_state:present, 'LSR-TST-br31': call 'ifup LSR-TST-br31': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface LSR-TST-br31 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface LSR-TST-br31 IPv6 address(es) to leave the 'tentative' state\\n\"', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 20 August 2024 10:00:45 -0400 (0:00:00.046) 0:00:14.763 ******** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'LSR-TST-br31': add ifcfg-rh profile 'LSR-TST-br31'\n[004] #0, state:up persistent_state:present, 'LSR-TST-br31': up connection LSR-TST-br31 (not-active)\n[005] #0, state:up persistent_state:present, 'LSR-TST-br31': call 'ifup LSR-TST-br31': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface LSR-TST-br31 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface LSR-TST-br31 IPv6 address(es) to leave the 'tentative' state\\n\"', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'LSR-TST-br31': add ifcfg-rh profile 'LSR-TST-br31'", "[004] #0, state:up persistent_state:present, 'LSR-TST-br31': up connection LSR-TST-br31 (not-active)", "[005] #0, state:up persistent_state:present, 'LSR-TST-br31': call 'ifup LSR-TST-br31': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface LSR-TST-br31 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface LSR-TST-br31 IPv6 address(es) to leave the 'tentative' state\\n\"', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 20 August 2024 10:00:45 -0400 (0:00:00.045) 0:00:14.808 ******** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 20 August 2024 10:00:45 -0400 (0:00:00.036) 0:00:14.845 ******** ok: [managed_node1] => { "changed": false, "ping": "pong" } META: ran handlers META: ran handlers PLAY [Run the tasklist tasks/assert_device_present.yml] ************************ TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/run_tasks.yml:3 Tuesday 20 August 2024 10:00:46 -0400 (0:00:00.477) 0:00:15.323 ******** ok: [managed_node1] META: ran handlers TASK [Include the task 'tasks/assert_device_present.yml'] ********************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/run_tasks.yml:6 Tuesday 20 August 2024 10:00:46 -0400 (0:00:00.668) 0:00:15.991 ******** included: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Tuesday 20 August 2024 10:00:46 -0400 (0:00:00.127) 0:00:16.120 ******** included: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface LSR-TST-br31] ************************************* task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Tuesday 20 August 2024 10:00:47 -0400 (0:00:00.105) 0:00:16.225 ******** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1724162443.2748203, "block_size": 4096, "blocks": 0, "ctime": 1724162443.2748203, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 30354, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/LSR-TST-br31", "lnk_target": "../../devices/virtual/net/LSR-TST-br31", "mode": "0777", "mtime": 1724162443.2748203, "nlink": 1, "path": "/sys/class/net/LSR-TST-br31", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that the interface is present - 'LSR-TST-br31'] ******************* task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Tuesday 20 August 2024 10:00:47 -0400 (0:00:00.511) 0:00:16.737 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY [Run the tasklist tasks/assert_profile_present.yml] *********************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/run_tasks.yml:3 Tuesday 20 August 2024 10:00:47 -0400 (0:00:00.055) 0:00:16.792 ******** ok: [managed_node1] META: ran handlers TASK [Include the task 'tasks/assert_profile_present.yml'] ********************* task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/run_tasks.yml:6 Tuesday 20 August 2024 10:00:48 -0400 (0:00:00.674) 0:00:17.467 ******** included: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed_node1 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Tuesday 20 August 2024 10:00:48 -0400 (0:00:00.121) 0:00:17.588 ******** included: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Tuesday 20 August 2024 10:00:48 -0400 (0:00:00.106) 0:00:17.695 ******** ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Tuesday 20 August 2024 10:00:48 -0400 (0:00:00.057) 0:00:17.753 ******** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1724162443.1401992, "block_size": 4096, "blocks": 8, "ctime": 1724162443.1231992, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301236, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1724162443.1231992, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-LSR-TST-br31", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 151, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Tuesday 20 August 2024 10:00:49 -0400 (0:00:00.466) 0:00:18.220 ******** ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Tuesday 20 August 2024 10:00:49 -0400 (0:00:00.072) 0:00:18.293 ******** fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep LSR-TST-br31 | grep /etc", "delta": "0:00:00.015936", "end": "2024-08-20 10:00:49.526870", "rc": 1, "start": "2024-08-20 10:00:49.510934" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Tuesday 20 August 2024 10:00:49 -0400 (0:00:00.529) 0:00:18.822 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-LSR-TST-br31] ******************* task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Tuesday 20 August 2024 10:00:49 -0400 (0:00:00.063) 0:00:18.886 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-LSR-TST-br31" ], "delta": "0:00:00.002731", "end": "2024-08-20 10:00:50.109629", "rc": 0, "start": "2024-08-20 10:00:50.106898" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-LSR-TST-br31] **************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Tuesday 20 August 2024 10:00:50 -0400 (0:00:00.516) 0:00:19.402 ******** ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-LSR-TST-br31] *********************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Tuesday 20 August 2024 10:00:50 -0400 (0:00:00.069) 0:00:19.472 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-LSR-TST-br31" ], "delta": "0:00:00.002744", "end": "2024-08-20 10:00:50.598778", "rc": 0, "start": "2024-08-20 10:00:50.596034" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-LSR-TST-br31] ******************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Tuesday 20 August 2024 10:00:50 -0400 (0:00:00.414) 0:00:19.887 ******** ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'LSR-TST-br31'] ********************* task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Tuesday 20 August 2024 10:00:50 -0400 (0:00:00.052) 0:00:19.939 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'LSR-TST-br31'] **** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Tuesday 20 August 2024 10:00:50 -0400 (0:00:00.078) 0:00:20.017 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in LSR-TST-br31] ********** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Tuesday 20 August 2024 10:00:50 -0400 (0:00:00.114) 0:00:20.132 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY [Set down {{ profile }}] ************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/down_profile.yml:3 Tuesday 20 August 2024 10:00:51 -0400 (0:00:00.082) 0:00:20.215 ******** ok: [managed_node1] META: ran handlers TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 20 August 2024 10:00:51 -0400 (0:00:00.676) 0:00:20.892 ******** included: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 20 August 2024 10:00:51 -0400 (0:00:00.107) 0:00:20.999 ******** skipping: [managed_node1] => { "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: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 20 August 2024 10:00:51 -0400 (0:00:00.079) 0:00:21.078 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 20 August 2024 10:00:51 -0400 (0:00:00.042) 0:00:21.121 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 20 August 2024 10:00:51 -0400 (0:00:00.039) 0:00:21.161 ******** ok: [managed_node1] => { "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: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 20 August 2024 10:00:53 -0400 (0:00:01.534) 0:00:22.696 ******** ok: [managed_node1] => { "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: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 20 August 2024 10:00:54 -0400 (0:00:01.428) 0:00:24.124 ******** ok: [managed_node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 20 August 2024 10:00:54 -0400 (0:00:00.039) 0:00:24.163 ******** skipping: [managed_node1] => { "changed": false, "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: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 20 August 2024 10:00:55 -0400 (0:00:00.040) 0:00:24.204 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 20 August 2024 10:00:55 -0400 (0:00:00.049) 0:00:24.253 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 20 August 2024 10:00:55 -0400 (0:00:00.071) 0:00:24.325 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 20 August 2024 10:00:55 -0400 (0:00:00.084) 0:00:24.410 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 20 August 2024 10:00:55 -0400 (0:00:00.082) 0:00:24.493 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 20 August 2024 10:00:55 -0400 (0:00:00.086) 0:00:24.579 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 20 August 2024 10:00:55 -0400 (0:00:00.165) 0:00:24.744 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 20 August 2024 10:00:55 -0400 (0:00:00.124) 0:00:24.869 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 20 August 2024 10:00:55 -0400 (0:00:00.053) 0:00:24.923 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 20 August 2024 10:00:55 -0400 (0:00:00.072) 0:00:24.995 ******** skipping: [managed_node1] => { "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: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 20 August 2024 10:00:55 -0400 (0:00:00.057) 0:00:25.053 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 20 August 2024 10:00:55 -0400 (0:00:00.040) 0:00:25.094 ******** ok: [managed_node1] => { "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: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 20 August 2024 10:00:56 -0400 (0:00:00.615) 0:00:25.709 ******** ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-21485xhjtpybl/tmpvdftwbta" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 20 August 2024 10:00:56 -0400 (0:00:00.397) 0:00:26.107 ******** ok: [managed_node1] => { "_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": "initscripts" } }, "changed": false } STDERR: [002] #0, state:down persistent_state:present, 'LSR-TST-br31': down connection LSR-TST-br31 skipped because not active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 20 August 2024 10:00:57 -0400 (0:00:00.465) 0:00:26.572 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 20 August 2024 10:00:57 -0400 (0:00:00.035) 0:00:26.608 ******** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:down persistent_state:present, 'LSR-TST-br31': down connection LSR-TST-br31 skipped because not active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 20 August 2024 10:00:57 -0400 (0:00:00.038) 0:00:26.646 ******** ok: [managed_node1] => { "__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": "initscripts" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:down persistent_state:present, 'LSR-TST-br31': down connection LSR-TST-br31 skipped because not active\n", "stderr_lines": [ "[002] #0, state:down persistent_state:present, 'LSR-TST-br31': down connection LSR-TST-br31 skipped because not active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 20 August 2024 10:00:57 -0400 (0:00:00.037) 0:00:26.684 ******** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 20 August 2024 10:00:57 -0400 (0:00:00.036) 0:00:26.720 ******** ok: [managed_node1] => { "changed": false, "ping": "pong" } META: ran handlers META: ran handlers PLAY [Delete the interface] **************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/down_profile+delete_interface.yml:5 Tuesday 20 August 2024 10:00:57 -0400 (0:00:00.345) 0:00:27.066 ******** ok: [managed_node1] META: ran handlers TASK [Include the task 'delete_interface.yml'] ********************************* task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/down_profile+delete_interface.yml:8 Tuesday 20 August 2024 10:00:58 -0400 (0:00:00.642) 0:00:27.709 ******** included: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed_node1 TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Tuesday 20 August 2024 10:00:58 -0400 (0:00:00.057) 0:00:27.767 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "link", "del", "LSR-TST-br31" ], "delta": "0:00:00.017783", "end": "2024-08-20 10:00:58.871308", "rc": 0, "start": "2024-08-20 10:00:58.853525" } META: ran handlers META: ran handlers PLAY [Remove {{ profile }}] **************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/remove_profile.yml:3 Tuesday 20 August 2024 10:00:58 -0400 (0:00:00.375) 0:00:28.142 ******** ok: [managed_node1] META: ran handlers TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 20 August 2024 10:00:59 -0400 (0:00:00.640) 0:00:28.782 ******** included: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 20 August 2024 10:00:59 -0400 (0:00:00.107) 0:00:28.890 ******** skipping: [managed_node1] => { "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: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 20 August 2024 10:00:59 -0400 (0:00:00.127) 0:00:29.017 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 20 August 2024 10:00:59 -0400 (0:00:00.056) 0:00:29.074 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 20 August 2024 10:01:00 -0400 (0:00:00.121) 0:00:29.196 ******** ok: [managed_node1] => { "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: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 20 August 2024 10:01:01 -0400 (0:00:01.795) 0:00:30.991 ******** ok: [managed_node1] => { "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: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 20 August 2024 10:01:03 -0400 (0:00:01.461) 0:00:32.453 ******** ok: [managed_node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 20 August 2024 10:01:03 -0400 (0:00:00.059) 0:00:32.513 ******** skipping: [managed_node1] => { "changed": false, "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: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 20 August 2024 10:01:03 -0400 (0:00:00.063) 0:00:32.576 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 20 August 2024 10:01:03 -0400 (0:00:00.071) 0:00:32.647 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 20 August 2024 10:01:03 -0400 (0:00:00.104) 0:00:32.752 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 20 August 2024 10:01:03 -0400 (0:00:00.170) 0:00:32.922 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 20 August 2024 10:01:03 -0400 (0:00:00.056) 0:00:32.979 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 20 August 2024 10:01:03 -0400 (0:00:00.052) 0:00:33.031 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 20 August 2024 10:01:03 -0400 (0:00:00.110) 0:00:33.142 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 20 August 2024 10:01:03 -0400 (0:00:00.041) 0:00:33.184 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 20 August 2024 10:01:04 -0400 (0:00:00.036) 0:00:33.220 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 20 August 2024 10:01:04 -0400 (0:00:00.050) 0:00:33.270 ******** skipping: [managed_node1] => { "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: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 20 August 2024 10:01:04 -0400 (0:00:00.046) 0:00:33.317 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 20 August 2024 10:01:04 -0400 (0:00:00.043) 0:00:33.361 ******** ok: [managed_node1] => { "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: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 20 August 2024 10:01:04 -0400 (0:00:00.545) 0:00:33.906 ******** ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-21485xhjtpybl/tmpny61rfz4" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 20 August 2024 10:01:05 -0400 (0:00:00.376) 0:00:34.283 ******** changed: [managed_node1] => { "_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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:absent, 'LSR-TST-br31': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-LSR-TST-br31' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 20 August 2024 10:01:05 -0400 (0:00:00.489) 0:00:34.772 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 20 August 2024 10:01:05 -0400 (0:00:00.066) 0:00:34.839 ******** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'LSR-TST-br31': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-LSR-TST-br31'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 20 August 2024 10:01:05 -0400 (0:00:00.038) 0:00:34.878 ******** ok: [managed_node1] => { "__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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:absent, 'LSR-TST-br31': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-LSR-TST-br31'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'LSR-TST-br31': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-LSR-TST-br31'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 20 August 2024 10:01:05 -0400 (0:00:00.039) 0:00:34.917 ******** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 20 August 2024 10:01:05 -0400 (0:00:00.036) 0:00:34.954 ******** ok: [managed_node1] => { "changed": false, "ping": "pong" } META: ran handlers META: ran handlers PLAY [Run the tasklist tasks/assert_profile_absent.yml] ************************ TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/run_tasks.yml:3 Tuesday 20 August 2024 10:01:06 -0400 (0:00:00.342) 0:00:35.297 ******** ok: [managed_node1] META: ran handlers TASK [Include the task 'tasks/assert_profile_absent.yml'] ********************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/run_tasks.yml:6 Tuesday 20 August 2024 10:01:06 -0400 (0:00:00.666) 0:00:35.963 ******** included: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed_node1 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 20 August 2024 10:01:06 -0400 (0:00:00.098) 0:00:36.061 ******** included: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Tuesday 20 August 2024 10:01:06 -0400 (0:00:00.123) 0:00:36.185 ******** ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Tuesday 20 August 2024 10:01:07 -0400 (0:00:00.061) 0:00:36.247 ******** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Tuesday 20 August 2024 10:01:07 -0400 (0:00:00.427) 0:00:36.675 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Tuesday 20 August 2024 10:01:07 -0400 (0:00:00.097) 0:00:36.772 ******** fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep LSR-TST-br31 | grep /etc", "delta": "0:00:00.015650", "end": "2024-08-20 10:01:07.895359", "rc": 1, "start": "2024-08-20 10:01:07.879709" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Tuesday 20 August 2024 10:01:07 -0400 (0:00:00.384) 0:00:37.156 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-LSR-TST-br31] ******************* task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Tuesday 20 August 2024 10:01:08 -0400 (0:00:00.038) 0:00:37.195 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-LSR-TST-br31] **************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Tuesday 20 August 2024 10:01:08 -0400 (0:00:00.038) 0:00:37.234 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-LSR-TST-br31] *********************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Tuesday 20 August 2024 10:01:08 -0400 (0:00:00.047) 0:00:37.282 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-LSR-TST-br31] ******************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Tuesday 20 August 2024 10:01:08 -0400 (0:00:00.063) 0:00:37.345 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'LSR-TST-br31'] ********************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 20 August 2024 10:01:08 -0400 (0:00:00.134) 0:00:37.480 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY [Run the tasklist tasks/assert_device_absent.yml] ************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/run_tasks.yml:3 Tuesday 20 August 2024 10:01:08 -0400 (0:00:00.134) 0:00:37.614 ******** ok: [managed_node1] META: ran handlers TASK [Include the task 'tasks/assert_device_absent.yml'] *********************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/run_tasks.yml:6 Tuesday 20 August 2024 10:01:09 -0400 (0:00:00.841) 0:00:38.456 ******** included: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Tuesday 20 August 2024 10:01:09 -0400 (0:00:00.131) 0:00:38.587 ******** included: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface LSR-TST-br31] ************************************* task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Tuesday 20 August 2024 10:01:09 -0400 (0:00:00.093) 0:00:38.681 ******** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'LSR-TST-br31'] ******************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Tuesday 20 August 2024 10:01:09 -0400 (0:00:00.492) 0:00:39.174 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY [Verify that cleanup restored state to default] *************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_bridge.yml:64 Tuesday 20 August 2024 10:01:10 -0400 (0:00:00.093) 0:00:39.268 ******** ok: [managed_node1] META: ran handlers TASK [Verify network state restored to default] ******************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_bridge.yml:67 Tuesday 20 August 2024 10:01:10 -0400 (0:00:00.729) 0:00:39.998 ******** included: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed_node1 TASK [Check routes and DNS] **************************************************** task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Tuesday 20 August 2024 10:01:10 -0400 (0:00:00.073) 0:00:40.072 ******** ok: [managed_node1] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :\nfi\n", "delta": "0:00:00.007911", "end": "2024-08-20 10:01:11.167925", "rc": 0, "start": "2024-08-20 10:01:11.160014" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 02:74:ef:01:48:65 brd ff:ff:ff:ff:ff:ff inet 10.31.46.16/22 brd 10.31.47.255 scope global dynamic noprefixroute eth0 valid_lft 3037sec preferred_lft 3037sec inet6 fe80::74:efff:fe01:4865/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.44.1 dev eth0 proto dhcp src 10.31.46.16 metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.46.16 metric 100 IP -6 ROUTE ::1 dev lo proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and network connectivity] ************************************* task path: /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Tuesday 20 August 2024 10:01:11 -0400 (0:00:00.370) 0:00:40.442 ******** ok: [managed_node1] => { "changed": false, "cmd": "set -euo pipefail\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:00.391404", "end": "2024-08-20 10:01:11.943108", "rc": 0, "start": "2024-08-20 10:01:11.551704" } STDOUT: CHECK DNS AND CONNECTIVITY 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 2210 0 --:--:-- --:--:-- --:--:-- 2210 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 291 100 291 0 0 1287 0 --:--:-- --:--:-- --:--:-- 1287 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed_node1 : ok=91 changed=2 unreachable=0 failed=0 skipped=62 rescued=0 ignored=2 Tuesday 20 August 2024 10:01:12 -0400 (0:00:00.783) 0:00:41.226 ******** =============================================================================== fedora.linux_system_roles.network : Configure networking connection profiles --- 3.18s /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 fedora.linux_system_roles.network : Check which packages are installed --- 2.00s /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.80s /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.63s /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.53s /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.46s /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.43s /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gathering Facts --------------------------------------------------------- 0.86s /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/tests_bridge_initscripts.yml:5 fedora.linux_system_roles.network : Enable network service -------------- 0.86s /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Gathering Facts --------------------------------------------------------- 0.84s /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/run_tasks.yml:3 Verify DNS and network connectivity ------------------------------------- 0.78s /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Gathering Facts --------------------------------------------------------- 0.73s /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_bridge.yml:64 Gathering Facts --------------------------------------------------------- 0.70s /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_bridge.yml:3 Gathering Facts --------------------------------------------------------- 0.68s /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/down_profile.yml:3 Gathering Facts --------------------------------------------------------- 0.67s /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/run_tasks.yml:3 Gathering Facts --------------------------------------------------------- 0.67s /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/run_tasks.yml:3 Gathering Facts --------------------------------------------------------- 0.67s /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/run_tasks.yml:3 Gathering Facts --------------------------------------------------------- 0.66s /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_bridge.yml:17 Gathering Facts --------------------------------------------------------- 0.64s /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/down_profile+delete_interface.yml:5 Gathering Facts --------------------------------------------------------- 0.64s /tmp/collections-qpO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/remove_profile.yml:3