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_switch_provider.yml ******************************************** 2 plays in /tmp/collections-1eo/ansible_collections/fedora/linux_system_roles/tests/network/tests_switch_provider.yml PLAY [Run playbook 'playbooks/tests_switch_provider.yml'] ********************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-1eo/ansible_collections/fedora/linux_system_roles/tests/network/tests_switch_provider.yml:3 Friday 07 February 2025 15:33:46 -0500 (0:00:00.024) 0:00:00.024 ******* ok: [managed-node1] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-1eo/ansible_collections/fedora/linux_system_roles/tests/network/tests_switch_provider.yml:6 Friday 07 February 2025 15:33:47 -0500 (0:00:01.255) 0:00:01.280 ******* included: /tmp/collections-1eo/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-1eo/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Friday 07 February 2025 15:33:47 -0500 (0:00:00.048) 0:00:01.329 ******* ok: [managed-node1] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-1eo/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Friday 07 February 2025 15:33:47 -0500 (0:00:00.511) 0:00:01.841 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-1eo/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Friday 07 February 2025 15:33:48 -0500 (0:00:00.503) 0:00:02.344 ******* ok: [managed-node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-1eo/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Friday 07 February 2025 15:33:48 -0500 (0:00:00.073) 0:00:02.418 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-1eo/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Friday 07 February 2025 15:33:48 -0500 (0:00:00.060) 0:00:02.478 ******* included: /tmp/collections-1eo/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node1 TASK [Create EPEL 8] *********************************************************** task path: /tmp/collections-1eo/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Friday 07 February 2025 15:33:48 -0500 (0:00:00.154) 0:00:02.632 ******* 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-1eo/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Friday 07 February 2025 15:33:49 -0500 (0:00:00.494) 0:00:03.127 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-1eo/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Friday 07 February 2025 15:33:49 -0500 (0:00:00.023) 0:00:03.151 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-1eo/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Friday 07 February 2025 15:33:49 -0500 (0:00:00.020) 0:00:03.171 ******* [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.242399", "end": "2025-02-07 15:33:49.886702", "rc": 0, "start": "2025-02-07 15:33:49.644303" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-1eo/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Friday 07 February 2025 15:33:49 -0500 (0:00:00.622) 0:00:03.794 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY [Switch initscripts provider to nm] *************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-1eo/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:5 Friday 07 February 2025 15:33:49 -0500 (0:00:00.030) 0:00:03.824 ******* ok: [managed-node1] META: ran handlers TASK [Set fact to use initscripts network_provider] **************************** task path: /tmp/collections-1eo/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:8 Friday 07 February 2025 15:33:50 -0500 (0:00:00.697) 0:00:04.522 ******* ok: [managed-node1] => { "ansible_facts": { "interface": "LST-TST-br34", "network_provider": "initscripts" }, "changed": false } TASK [Through the initscripts provider, create test bridge LST-TST-br34] ******* task path: /tmp/collections-1eo/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:14 Friday 07 February 2025 15:33:50 -0500 (0:00:00.038) 0:00:04.561 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 07 February 2025 15:33:50 -0500 (0:00:00.154) 0:00:04.716 ******* included: /tmp/collections-1eo/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-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 07 February 2025 15:33:50 -0500 (0:00:00.050) 0:00:04.767 ******* 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-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 07 February 2025 15:33:50 -0500 (0:00:00.035) 0:00:04.802 ******* 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-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 07 February 2025 15:33:50 -0500 (0:00:00.024) 0:00:04.827 ******* 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-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 07 February 2025 15:33:51 -0500 (0:00:00.026) 0:00:04.853 ******* 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-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 07 February 2025 15:33:52 -0500 (0:00:01.931) 0:00:06.785 ******* 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-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 07 February 2025 15:33:54 -0500 (0:00:01.805) 0:00:08.590 ******* 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-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 07 February 2025 15:33:54 -0500 (0:00:00.049) 0:00:08.640 ******* 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-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 07 February 2025 15:33:54 -0500 (0:00:00.044) 0:00:08.684 ******* 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-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 07 February 2025 15:33:54 -0500 (0:00:00.037) 0:00:08.721 ******* 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-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 07 February 2025 15:33:54 -0500 (0:00:00.035) 0:00:08.757 ******* 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-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 07 February 2025 15:33:54 -0500 (0:00:00.047) 0:00:08.805 ******* 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-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 07 February 2025 15:33:54 -0500 (0:00:00.036) 0:00:08.841 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 07 February 2025 15:33:55 -0500 (0:00:00.041) 0:00:08.883 ******* 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-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 07 February 2025 15:33:55 -0500 (0:00:00.080) 0:00:08.963 ******* 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-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 07 February 2025 15:33:55 -0500 (0:00:00.047) 0:00:09.011 ******* 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-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 07 February 2025 15:33:55 -0500 (0:00:00.060) 0:00:09.071 ******* 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-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 07 February 2025 15:33:55 -0500 (0:00:00.065) 0:00:09.137 ******* 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-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 07 February 2025 15:33:55 -0500 (0:00:00.060) 0:00:09.197 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 07 February 2025 15:33:55 -0500 (0:00:00.057) 0:00:09.254 ******* 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-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 07 February 2025 15:33:56 -0500 (0:00:01.061) 0:00:10.316 ******* ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-51661_qyd4vml/tmp_rrimr3d" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 07 February 2025 15:33:56 -0500 (0:00:00.438) 0:00:10.755 ******* changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "LST-TST-br34", "state": "up", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'LST-TST-br34': add ifcfg-rh profile 'LST-TST-br34' [004] #0, state:up persistent_state:present, 'LST-TST-br34': up connection LST-TST-br34 (not-active) [005] #0, state:up persistent_state:present, 'LST-TST-br34': call 'ifup LST-TST-br34': rc=0, out='b''', 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-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 07 February 2025 15:33:58 -0500 (0:00:01.175) 0:00:11.931 ******* 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-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 07 February 2025 15:33:58 -0500 (0:00:00.058) 0:00:11.990 ******* ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'LST-TST-br34': add ifcfg-rh profile 'LST-TST-br34'", "[004] #0, state:up persistent_state:present, 'LST-TST-br34': up connection LST-TST-br34 (not-active)", "[005] #0, state:up persistent_state:present, 'LST-TST-br34': call 'ifup LST-TST-br34': rc=0, out='b''', 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-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 07 February 2025 15:33:58 -0500 (0:00:00.073) 0:00:12.063 ******* ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "LST-TST-br34", "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, 'LST-TST-br34': add ifcfg-rh profile 'LST-TST-br34'\n[004] #0, state:up persistent_state:present, 'LST-TST-br34': up connection LST-TST-br34 (not-active)\n[005] #0, state:up persistent_state:present, 'LST-TST-br34': call 'ifup LST-TST-br34': rc=0, out='b''', 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, 'LST-TST-br34': add ifcfg-rh profile 'LST-TST-br34'", "[004] #0, state:up persistent_state:present, 'LST-TST-br34': up connection LST-TST-br34 (not-active)", "[005] #0, state:up persistent_state:present, 'LST-TST-br34': call 'ifup LST-TST-br34': rc=0, out='b''', 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-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 07 February 2025 15:33:58 -0500 (0:00:00.070) 0:00:12.134 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 07 February 2025 15:33:58 -0500 (0:00:00.073) 0:00:12.208 ******* ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-1eo/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:25 Friday 07 February 2025 15:33:58 -0500 (0:00:00.618) 0:00:12.827 ******* included: /tmp/collections-1eo/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-1eo/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Friday 07 February 2025 15:33:59 -0500 (0:00:00.147) 0:00:12.975 ******* included: /tmp/collections-1eo/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface LST-TST-br34] ************************************* task path: /tmp/collections-1eo/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Friday 07 February 2025 15:33:59 -0500 (0:00:00.105) 0:00:13.080 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1738960437.8751347, "block_size": 4096, "blocks": 0, "ctime": 1738960437.8751347, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 35394, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/LST-TST-br34", "lnk_target": "../../devices/virtual/net/LST-TST-br34", "mode": "0777", "mtime": 1738960437.8751347, "nlink": 1, "path": "/sys/class/net/LST-TST-br34", "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 - 'LST-TST-br34'] ******************* task path: /tmp/collections-1eo/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Friday 07 February 2025 15:33:59 -0500 (0:00:00.522) 0:00:13.603 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'remove+down_profile.yml'] ****************************** task path: /tmp/collections-1eo/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:27 Friday 07 February 2025 15:33:59 -0500 (0:00:00.084) 0:00:13.687 ******* included: /tmp/collections-1eo/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-1eo/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Friday 07 February 2025 15:33:59 -0500 (0:00:00.118) 0:00:13.806 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 07 February 2025 15:34:00 -0500 (0:00:00.133) 0:00:13.939 ******* included: /tmp/collections-1eo/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-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 07 February 2025 15:34:00 -0500 (0:00:00.096) 0:00:14.036 ******* 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-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 07 February 2025 15:34:00 -0500 (0:00:00.055) 0:00:14.091 ******* 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-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 07 February 2025 15:34:00 -0500 (0:00:00.043) 0:00:14.135 ******* 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-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 07 February 2025 15:34:00 -0500 (0:00:00.037) 0:00:14.173 ******* 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-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 07 February 2025 15:34:02 -0500 (0:00:01.831) 0:00:16.004 ******* 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-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 07 February 2025 15:34:03 -0500 (0:00:01.537) 0:00:17.542 ******* 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-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 07 February 2025 15:34:03 -0500 (0:00:00.039) 0:00:17.582 ******* 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-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 07 February 2025 15:34:03 -0500 (0:00:00.038) 0:00:17.620 ******* 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-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 07 February 2025 15:34:03 -0500 (0:00:00.037) 0:00:17.657 ******* 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-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 07 February 2025 15:34:03 -0500 (0:00:00.038) 0:00:17.696 ******* 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-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 07 February 2025 15:34:03 -0500 (0:00:00.045) 0:00:17.741 ******* 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-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 07 February 2025 15:34:03 -0500 (0:00:00.037) 0:00:17.779 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 07 February 2025 15:34:03 -0500 (0:00:00.043) 0:00:17.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-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 07 February 2025 15:34:04 -0500 (0:00:00.109) 0:00:17.932 ******* 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-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 07 February 2025 15:34:04 -0500 (0:00:00.037) 0:00:17.969 ******* 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-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 07 February 2025 15:34:04 -0500 (0:00:00.038) 0:00:18.008 ******* 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-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 07 February 2025 15:34:04 -0500 (0:00:00.043) 0:00:18.051 ******* 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-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 07 February 2025 15:34:04 -0500 (0:00:00.037) 0:00:18.088 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 07 February 2025 15:34:04 -0500 (0:00:00.047) 0:00:18.135 ******* 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-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 07 February 2025 15:34:04 -0500 (0:00:00.566) 0:00:18.702 ******* ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-51661_qyd4vml/tmpoq3whhli" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 07 February 2025 15:34:05 -0500 (0:00:00.418) 0:00:19.121 ******* changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "LST-TST-br34", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:down persistent_state:absent, 'LST-TST-br34': down connection LST-TST-br34 skipped because not active [004] #0, state:down persistent_state:absent, 'LST-TST-br34': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-LST-TST-br34' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 07 February 2025 15:34:05 -0500 (0:00:00.621) 0:00:19.743 ******* 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-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 07 February 2025 15:34:05 -0500 (0:00:00.052) 0:00:19.795 ******* ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'LST-TST-br34': down connection LST-TST-br34 skipped because not active", "[004] #0, state:down persistent_state:absent, 'LST-TST-br34': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-LST-TST-br34'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 07 February 2025 15:34:06 -0500 (0:00:00.060) 0:00:19.855 ******* ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "LST-TST-br34", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'LST-TST-br34': down connection LST-TST-br34 skipped because not active\n[004] #0, state:down persistent_state:absent, 'LST-TST-br34': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-LST-TST-br34'\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'LST-TST-br34': down connection LST-TST-br34 skipped because not active", "[004] #0, state:down persistent_state:absent, 'LST-TST-br34': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-LST-TST-br34'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 07 February 2025 15:34:06 -0500 (0:00:00.097) 0:00:19.953 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 07 February 2025 15:34:06 -0500 (0:00:00.102) 0:00:20.056 ******* ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-1eo/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:32 Friday 07 February 2025 15:34:06 -0500 (0:00:00.635) 0:00:20.692 ******* included: /tmp/collections-1eo/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-1eo/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Friday 07 February 2025 15:34:06 -0500 (0:00:00.134) 0:00:20.827 ******* included: /tmp/collections-1eo/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface LST-TST-br34] ************************************* task path: /tmp/collections-1eo/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Friday 07 February 2025 15:34:07 -0500 (0:00:00.103) 0:00:20.930 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1738960437.8751347, "block_size": 4096, "blocks": 0, "ctime": 1738960437.8751347, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 35394, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/LST-TST-br34", "lnk_target": "../../devices/virtual/net/LST-TST-br34", "mode": "0777", "mtime": 1738960437.8751347, "nlink": 1, "path": "/sys/class/net/LST-TST-br34", "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 - 'LST-TST-br34'] ******************* task path: /tmp/collections-1eo/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Friday 07 February 2025 15:34:07 -0500 (0:00:00.471) 0:00:21.401 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Set fact to use nm network_provider] ************************************* task path: /tmp/collections-1eo/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:34 Friday 07 February 2025 15:34:07 -0500 (0:00:00.067) 0:00:21.468 ******* ok: [managed-node1] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } TASK [Through the nm provider, create test bridge LST-TST-br34] **************** task path: /tmp/collections-1eo/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:39 Friday 07 February 2025 15:34:07 -0500 (0:00:00.074) 0:00:21.543 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 07 February 2025 15:34:07 -0500 (0:00:00.185) 0:00:21.728 ******* included: /tmp/collections-1eo/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-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 07 February 2025 15:34:08 -0500 (0:00:00.126) 0:00:21.855 ******* 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-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 07 February 2025 15:34:08 -0500 (0:00:00.072) 0:00:21.927 ******* 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-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 07 February 2025 15:34:08 -0500 (0:00:00.067) 0:00:21.995 ******* 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-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 07 February 2025 15:34:08 -0500 (0:00:00.066) 0:00:22.062 ******* 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-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 07 February 2025 15:34:10 -0500 (0:00:01.840) 0:00:23.903 ******* 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-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 07 February 2025 15:34:11 -0500 (0:00:01.572) 0:00:25.475 ******* ok: [managed-node1] => {} 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: /tmp/collections-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 07 February 2025 15:34:11 -0500 (0:00:00.071) 0:00:25.547 ******* 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-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 07 February 2025 15:34:11 -0500 (0:00:00.110) 0:00:25.657 ******* 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-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 07 February 2025 15:34:11 -0500 (0:00:00.055) 0:00:25.712 ******* 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-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 07 February 2025 15:34:11 -0500 (0:00:00.064) 0:00:25.777 ******* 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-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 07 February 2025 15:34:12 -0500 (0:00:00.076) 0:00:25.853 ******* 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-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 07 February 2025 15:34:12 -0500 (0:00:00.069) 0:00:25.922 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 07 February 2025 15:34:12 -0500 (0:00:00.102) 0:00:26.025 ******* 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-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 07 February 2025 15:34:12 -0500 (0:00:00.174) 0:00:26.199 ******* 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-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 07 February 2025 15:34:12 -0500 (0:00:00.130) 0:00:26.329 ******* 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-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 07 February 2025 15:34:12 -0500 (0:00:00.140) 0:00:26.470 ******* 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-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 07 February 2025 15:34:12 -0500 (0:00:00.115) 0:00:26.586 ******* 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 : Enable and start wpa_supplicant] ***** task path: /tmp/collections-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 07 February 2025 15:34:13 -0500 (0:00:00.674) 0:00:27.260 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 07 February 2025 15:34:13 -0500 (0:00:00.049) 0:00:27.310 ******* 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 : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 07 February 2025 15:34:13 -0500 (0:00:00.043) 0:00:27.354 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 07 February 2025 15:34:13 -0500 (0:00:00.044) 0:00:27.399 ******* changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "LST-TST-br34", "state": "up", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'LST-TST-br34': add connection LST-TST-br34, 619e3be0-15fb-409c-be83-f157539edd92 [004] #0, state:up persistent_state:present, 'LST-TST-br34': up connection LST-TST-br34, 619e3be0-15fb-409c-be83-f157539edd92 (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 07 February 2025 15:34:14 -0500 (0:00:00.659) 0:00:28.058 ******* 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-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 07 February 2025 15:34:14 -0500 (0:00:00.045) 0:00:28.104 ******* ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'LST-TST-br34': add connection LST-TST-br34, 619e3be0-15fb-409c-be83-f157539edd92", "[004] #0, state:up persistent_state:present, 'LST-TST-br34': up connection LST-TST-br34, 619e3be0-15fb-409c-be83-f157539edd92 (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 07 February 2025 15:34:14 -0500 (0:00:00.076) 0:00:28.181 ******* ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "LST-TST-br34", "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, 'LST-TST-br34': add connection LST-TST-br34, 619e3be0-15fb-409c-be83-f157539edd92\n[004] #0, state:up persistent_state:present, 'LST-TST-br34': up connection LST-TST-br34, 619e3be0-15fb-409c-be83-f157539edd92 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'LST-TST-br34': add connection LST-TST-br34, 619e3be0-15fb-409c-be83-f157539edd92", "[004] #0, state:up persistent_state:present, 'LST-TST-br34': up connection LST-TST-br34, 619e3be0-15fb-409c-be83-f157539edd92 (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 07 February 2025 15:34:14 -0500 (0:00:00.070) 0:00:28.251 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 07 February 2025 15:34:14 -0500 (0:00:00.069) 0:00:28.321 ******* ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-1eo/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:50 Friday 07 February 2025 15:34:15 -0500 (0:00:00.585) 0:00:28.906 ******* included: /tmp/collections-1eo/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-1eo/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Friday 07 February 2025 15:34:15 -0500 (0:00:00.085) 0:00:28.992 ******* included: /tmp/collections-1eo/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface LST-TST-br34] ************************************* task path: /tmp/collections-1eo/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Friday 07 February 2025 15:34:15 -0500 (0:00:00.100) 0:00:29.093 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1738960437.8751347, "block_size": 4096, "blocks": 0, "ctime": 1738960437.8751347, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 35394, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/LST-TST-br34", "lnk_target": "../../devices/virtual/net/LST-TST-br34", "mode": "0777", "mtime": 1738960437.8751347, "nlink": 1, "path": "/sys/class/net/LST-TST-br34", "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 - 'LST-TST-br34'] ******************* task path: /tmp/collections-1eo/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Friday 07 February 2025 15:34:15 -0500 (0:00:00.440) 0:00:29.534 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'remove+down_profile.yml'] ****************************** task path: /tmp/collections-1eo/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:52 Friday 07 February 2025 15:34:15 -0500 (0:00:00.049) 0:00:29.584 ******* included: /tmp/collections-1eo/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-1eo/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Friday 07 February 2025 15:34:15 -0500 (0:00:00.093) 0:00:29.677 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 07 February 2025 15:34:15 -0500 (0:00:00.103) 0:00:29.781 ******* included: /tmp/collections-1eo/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-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 07 February 2025 15:34:16 -0500 (0:00:00.068) 0:00:29.849 ******* 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-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 07 February 2025 15:34:16 -0500 (0:00:00.046) 0:00:29.896 ******* 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-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 07 February 2025 15:34:16 -0500 (0:00:00.038) 0:00:29.934 ******* 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-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 07 February 2025 15:34:16 -0500 (0:00:00.038) 0:00:29.973 ******* 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-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 07 February 2025 15:34:17 -0500 (0:00:01.687) 0:00:31.661 ******* 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-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 07 February 2025 15:34:19 -0500 (0:00:01.721) 0:00:33.383 ******* ok: [managed-node1] => {} 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: /tmp/collections-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 07 February 2025 15:34:19 -0500 (0:00:00.115) 0:00:33.498 ******* 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-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 07 February 2025 15:34:19 -0500 (0:00:00.072) 0:00:33.570 ******* 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-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 07 February 2025 15:34:19 -0500 (0:00:00.055) 0:00:33.626 ******* 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-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 07 February 2025 15:34:19 -0500 (0:00:00.070) 0:00:33.696 ******* 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-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 07 February 2025 15:34:19 -0500 (0:00:00.117) 0:00:33.814 ******* 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-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 07 February 2025 15:34:20 -0500 (0:00:00.068) 0:00:33.882 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 07 February 2025 15:34:20 -0500 (0:00:00.051) 0:00:33.934 ******* 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-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 07 February 2025 15:34:20 -0500 (0:00:00.085) 0:00:34.019 ******* 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-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 07 February 2025 15:34:20 -0500 (0:00:00.050) 0:00:34.070 ******* 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-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 07 February 2025 15:34:20 -0500 (0:00:00.043) 0:00:34.113 ******* 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-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 07 February 2025 15:34:20 -0500 (0:00:00.096) 0:00:34.210 ******* 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 : Enable and start wpa_supplicant] ***** task path: /tmp/collections-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 07 February 2025 15:34:21 -0500 (0:00:00.735) 0:00:34.945 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 07 February 2025 15:34:21 -0500 (0:00:00.079) 0:00:35.025 ******* 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 : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 07 February 2025 15:34:21 -0500 (0:00:00.104) 0:00:35.130 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 07 February 2025 15:34:21 -0500 (0:00:00.077) 0:00:35.208 ******* changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "LST-TST-br34", "persistent_state": "absent", "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: /tmp/collections-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 07 February 2025 15:34:22 -0500 (0:00:00.691) 0:00:35.899 ******* 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-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 07 February 2025 15:34:22 -0500 (0:00:00.094) 0:00:35.993 ******* ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 07 February 2025 15:34:22 -0500 (0:00:00.061) 0:00:36.055 ******* ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "LST-TST-br34", "persistent_state": "absent", "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: /tmp/collections-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 07 February 2025 15:34:22 -0500 (0:00:00.067) 0:00:36.122 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 07 February 2025 15:34:22 -0500 (0:00:00.058) 0:00:36.181 ******* ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-1eo/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:57 Friday 07 February 2025 15:34:22 -0500 (0:00:00.410) 0:00:36.591 ******* included: /tmp/collections-1eo/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-1eo/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Friday 07 February 2025 15:34:22 -0500 (0:00:00.110) 0:00:36.702 ******* included: /tmp/collections-1eo/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface LST-TST-br34] ************************************* task path: /tmp/collections-1eo/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Friday 07 February 2025 15:34:23 -0500 (0:00:00.154) 0:00:36.856 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1738960437.8751347, "block_size": 4096, "blocks": 0, "ctime": 1738960437.8751347, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 35394, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/LST-TST-br34", "lnk_target": "../../devices/virtual/net/LST-TST-br34", "mode": "0777", "mtime": 1738960437.8751347, "nlink": 1, "path": "/sys/class/net/LST-TST-br34", "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 - 'LST-TST-br34'] ******************* task path: /tmp/collections-1eo/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Friday 07 February 2025 15:34:23 -0500 (0:00:00.512) 0:00:37.369 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'delete_interface.yml'] ********************************* task path: /tmp/collections-1eo/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:59 Friday 07 February 2025 15:34:23 -0500 (0:00:00.043) 0:00:37.413 ******* included: /tmp/collections-1eo/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-1eo/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Friday 07 February 2025 15:34:23 -0500 (0:00:00.072) 0:00:37.486 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "ip", "link", "del", "LST-TST-br34" ], "delta": "0:00:00.017145", "end": "2025-02-07 15:34:23.967450", "rc": 0, "start": "2025-02-07 15:34:23.950305" } TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-1eo/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:61 Friday 07 February 2025 15:34:24 -0500 (0:00:00.400) 0:00:37.886 ******* included: /tmp/collections-1eo/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-1eo/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Friday 07 February 2025 15:34:24 -0500 (0:00:00.071) 0:00:37.958 ******* included: /tmp/collections-1eo/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface LST-TST-br34] ************************************* task path: /tmp/collections-1eo/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Friday 07 February 2025 15:34:24 -0500 (0:00:00.059) 0:00:38.018 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'LST-TST-br34'] ******************** task path: /tmp/collections-1eo/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Friday 07 February 2025 15:34:24 -0500 (0:00:00.396) 0:00:38.414 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify network state restored to default] ******************************** task path: /tmp/collections-1eo/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:63 Friday 07 February 2025 15:34:24 -0500 (0:00:00.092) 0:00:38.507 ******* included: /tmp/collections-1eo/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-1eo/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Friday 07 February 2025 15:34:24 -0500 (0:00:00.115) 0:00:38.622 ******* 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.008706", "end": "2025-02-07 15:34:25.130531", "rc": 0, "start": "2025-02-07 15:34:25.121825" } 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:30:22:e8:ca:ed brd ff:ff:ff:ff:ff:ff inet 10.31.46.28/22 brd 10.31.47.255 scope global dynamic noprefixroute eth0 valid_lft 2436sec preferred_lft 2436sec inet6 fe80::30:22ff:fee8:caed/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.28 metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.46.28 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-1eo/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Friday 07 February 2025 15:34:25 -0500 (0:00:00.482) 0:00:39.105 ******* 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.347692", "end": "2025-02-07 15:34:25.981790", "rc": 0, "start": "2025-02-07 15:34:25.634098" } STDOUT: CHECK DNS AND CONNECTIVITY 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.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:fed7 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 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 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 6062 0 --:--:-- --:--:-- --:--:-- 6062 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node1 : ok=76 changed=4 unreachable=0 failed=0 skipped=74 rescued=0 ignored=0 Friday 07 February 2025 15:34:26 -0500 (0:00:00.823) 0:00:39.929 ******* =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 1.93s /tmp/collections-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.84s /tmp/collections-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.83s /tmp/collections-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.81s /tmp/collections-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.72s /tmp/collections-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.69s /tmp/collections-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.57s /tmp/collections-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.54s /tmp/collections-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gathering Facts --------------------------------------------------------- 1.26s /tmp/collections-1eo/ansible_collections/fedora/linux_system_roles/tests/network/tests_switch_provider.yml:3 Verify DNS and network connectivity ------------------------------------- 0.82s /tmp/collections-1eo/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.74s /tmp/collections-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Gathering Facts --------------------------------------------------------- 0.70s /tmp/collections-1eo/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:5 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.69s /tmp/collections-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.67s /tmp/collections-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.66s /tmp/collections-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Enable EPEL 8 ----------------------------------------------------------- 0.62s /tmp/collections-1eo/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 fedora.linux_system_roles.network : Re-test connectivity ---------------- 0.59s /tmp/collections-1eo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Get stat for interface LST-TST-br34 ------------------------------------- 0.52s /tmp/collections-1eo/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Get stat for interface LST-TST-br34 ------------------------------------- 0.51s /tmp/collections-1eo/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Gather the minimum subset of ansible_facts required by the network role test --- 0.51s /tmp/collections-1eo/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3