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-Xqt/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-Xqt/ansible_collections/fedora/linux_system_roles/tests/network/tests_switch_provider.yml:3 Saturday 02 November 2024 08:51:58 -0400 (0:00:00.030) 0:00:00.030 ***** ok: [managed-node2] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-Xqt/ansible_collections/fedora/linux_system_roles/tests/network/tests_switch_provider.yml:6 Saturday 02 November 2024 08:51:59 -0400 (0:00:01.033) 0:00:01.063 ***** included: /tmp/collections-Xqt/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed-node2 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/collections-Xqt/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Saturday 02 November 2024 08:51:59 -0400 (0:00:00.058) 0:00:01.121 ***** ok: [managed-node2] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-Xqt/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Saturday 02 November 2024 08:52:00 -0400 (0:00:00.575) 0:00:01.697 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-Xqt/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Saturday 02 November 2024 08:52:00 -0400 (0:00:00.478) 0:00:02.175 ***** ok: [managed-node2] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-Xqt/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Saturday 02 November 2024 08:52:00 -0400 (0:00:00.043) 0:00:02.219 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-Xqt/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Saturday 02 November 2024 08:52:00 -0400 (0:00:00.037) 0:00:02.257 ***** included: /tmp/collections-Xqt/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node2 TASK [Create EPEL 8] *********************************************************** task path: /tmp/collections-Xqt/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Saturday 02 November 2024 08:52:00 -0400 (0:00:00.064) 0:00:02.321 ***** ok: [managed-node2] => { "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-Xqt/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Saturday 02 November 2024 08:52:01 -0400 (0:00:00.499) 0:00:02.821 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-Xqt/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Saturday 02 November 2024 08:52:01 -0400 (0:00:00.028) 0:00:02.850 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-Xqt/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Saturday 02 November 2024 08:52:01 -0400 (0:00:00.033) 0:00:02.884 ***** [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-node2] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.230975", "end": "2024-11-02 08:52:01.892607", "rc": 0, "start": "2024-11-02 08:52:01.661632" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-Xqt/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Saturday 02 November 2024 08:52:01 -0400 (0:00:00.636) 0:00:03.520 ***** skipping: [managed-node2] => { "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-Xqt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:5 Saturday 02 November 2024 08:52:01 -0400 (0:00:00.030) 0:00:03.551 ***** ok: [managed-node2] META: ran handlers TASK [Set fact to use initscripts network_provider] **************************** task path: /tmp/collections-Xqt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:8 Saturday 02 November 2024 08:52:02 -0400 (0:00:00.623) 0:00:04.174 ***** ok: [managed-node2] => { "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-Xqt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:14 Saturday 02 November 2024 08:52:02 -0400 (0:00:00.021) 0:00:04.195 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 02 November 2024 08:52:02 -0400 (0:00:00.108) 0:00:04.303 ***** included: /tmp/collections-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 02 November 2024 08:52:02 -0400 (0:00:00.039) 0:00:04.343 ***** skipping: [managed-node2] => { "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-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 02 November 2024 08:52:02 -0400 (0:00:00.019) 0:00:04.363 ***** skipping: [managed-node2] => { "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-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 02 November 2024 08:52:02 -0400 (0:00:00.022) 0:00:04.386 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 02 November 2024 08:52:02 -0400 (0:00:00.020) 0:00:04.406 ***** ok: [managed-node2] => { "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-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 02 November 2024 08:52:04 -0400 (0:00:01.765) 0:00:06.172 ***** ok: [managed-node2] => { "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-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 02 November 2024 08:52:06 -0400 (0:00:01.742) 0:00:07.915 ***** ok: [managed-node2] => {} 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-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 02 November 2024 08:52:06 -0400 (0:00:00.065) 0:00:07.980 ***** skipping: [managed-node2] => { "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-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 02 November 2024 08:52:06 -0400 (0:00:00.061) 0:00:08.042 ***** skipping: [managed-node2] => { "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-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 02 November 2024 08:52:06 -0400 (0:00:00.057) 0:00:08.099 ***** skipping: [managed-node2] => { "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-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 02 November 2024 08:52:06 -0400 (0:00:00.076) 0:00:08.176 ***** skipping: [managed-node2] => { "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-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 02 November 2024 08:52:06 -0400 (0:00:00.090) 0:00:08.266 ***** skipping: [managed-node2] => { "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-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 02 November 2024 08:52:06 -0400 (0:00:00.109) 0:00:08.376 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 02 November 2024 08:52:06 -0400 (0:00:00.080) 0:00:08.457 ***** skipping: [managed-node2] => { "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-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 02 November 2024 08:52:06 -0400 (0:00:00.114) 0:00:08.571 ***** skipping: [managed-node2] => { "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-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 02 November 2024 08:52:07 -0400 (0:00:00.071) 0:00:08.643 ***** skipping: [managed-node2] => { "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-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 02 November 2024 08:52:07 -0400 (0:00:00.058) 0:00:08.701 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 02 November 2024 08:52:07 -0400 (0:00:00.060) 0:00:08.762 ***** skipping: [managed-node2] => { "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-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 02 November 2024 08:52:07 -0400 (0:00:00.051) 0:00:08.813 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 02 November 2024 08:52:07 -0400 (0:00:00.064) 0:00:08.878 ***** ok: [managed-node2] => { "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-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 02 November 2024 08:52:08 -0400 (0:00:01.020) 0:00:09.898 ***** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-51535hl_5edq5/tmpo72jeegr" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 02 November 2024 08:52:08 -0400 (0:00:00.498) 0:00:10.396 ***** changed: [managed-node2] => { "_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-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 02 November 2024 08:52:10 -0400 (0:00:01.217) 0:00:11.613 ***** skipping: [managed-node2] => { "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-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 02 November 2024 08:52:10 -0400 (0:00:00.066) 0:00:11.680 ***** ok: [managed-node2] => { "__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-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 02 November 2024 08:52:10 -0400 (0:00:00.061) 0:00:11.741 ***** ok: [managed-node2] => { "__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-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 02 November 2024 08:52:10 -0400 (0:00:00.064) 0:00:11.806 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 02 November 2024 08:52:10 -0400 (0:00:00.072) 0:00:11.879 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-Xqt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:25 Saturday 02 November 2024 08:52:10 -0400 (0:00:00.685) 0:00:12.564 ***** included: /tmp/collections-Xqt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node2 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-Xqt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 02 November 2024 08:52:11 -0400 (0:00:00.129) 0:00:12.694 ***** included: /tmp/collections-Xqt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface LST-TST-br34] ************************************* task path: /tmp/collections-Xqt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 02 November 2024 08:52:11 -0400 (0:00:00.101) 0:00:12.796 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1730551929.8615534, "block_size": 4096, "blocks": 0, "ctime": 1730551929.8615534, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 37036, "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": 1730551929.8615534, "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-Xqt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 02 November 2024 08:52:11 -0400 (0:00:00.480) 0:00:13.277 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'remove+down_profile.yml'] ****************************** task path: /tmp/collections-Xqt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:27 Saturday 02 November 2024 08:52:11 -0400 (0:00:00.181) 0:00:13.458 ***** included: /tmp/collections-Xqt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-Xqt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 02 November 2024 08:52:11 -0400 (0:00:00.092) 0:00:13.551 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 02 November 2024 08:52:12 -0400 (0:00:00.089) 0:00:13.641 ***** included: /tmp/collections-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 02 November 2024 08:52:12 -0400 (0:00:00.070) 0:00:13.711 ***** skipping: [managed-node2] => { "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-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 02 November 2024 08:52:12 -0400 (0:00:00.051) 0:00:13.762 ***** skipping: [managed-node2] => { "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-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 02 November 2024 08:52:12 -0400 (0:00:00.058) 0:00:13.821 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 02 November 2024 08:52:12 -0400 (0:00:00.057) 0:00:13.878 ***** ok: [managed-node2] => { "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-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 02 November 2024 08:52:14 -0400 (0:00:01.946) 0:00:15.824 ***** ok: [managed-node2] => { "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-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 02 November 2024 08:52:15 -0400 (0:00:01.542) 0:00:17.367 ***** ok: [managed-node2] => {} 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-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 02 November 2024 08:52:15 -0400 (0:00:00.041) 0:00:17.408 ***** skipping: [managed-node2] => { "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-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 02 November 2024 08:52:15 -0400 (0:00:00.039) 0:00:17.447 ***** skipping: [managed-node2] => { "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-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 02 November 2024 08:52:15 -0400 (0:00:00.040) 0:00:17.488 ***** skipping: [managed-node2] => { "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-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 02 November 2024 08:52:15 -0400 (0:00:00.038) 0:00:17.527 ***** skipping: [managed-node2] => { "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-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 02 November 2024 08:52:15 -0400 (0:00:00.049) 0:00:17.576 ***** skipping: [managed-node2] => { "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-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 02 November 2024 08:52:16 -0400 (0:00:00.038) 0:00:17.615 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 02 November 2024 08:52:16 -0400 (0:00:00.044) 0:00:17.659 ***** skipping: [managed-node2] => { "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-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 02 November 2024 08:52:16 -0400 (0:00:00.104) 0:00:17.763 ***** skipping: [managed-node2] => { "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-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 02 November 2024 08:52:16 -0400 (0:00:00.120) 0:00:17.884 ***** skipping: [managed-node2] => { "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-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 02 November 2024 08:52:16 -0400 (0:00:00.063) 0:00:17.947 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 02 November 2024 08:52:16 -0400 (0:00:00.121) 0:00:18.069 ***** skipping: [managed-node2] => { "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-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 02 November 2024 08:52:16 -0400 (0:00:00.063) 0:00:18.132 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 02 November 2024 08:52:16 -0400 (0:00:00.072) 0:00:18.204 ***** ok: [managed-node2] => { "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-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 02 November 2024 08:52:17 -0400 (0:00:00.642) 0:00:18.847 ***** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-51535hl_5edq5/tmp4viznvlo" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 02 November 2024 08:52:17 -0400 (0:00:00.403) 0:00:19.251 ***** changed: [managed-node2] => { "_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-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 02 November 2024 08:52:18 -0400 (0:00:00.640) 0:00:19.891 ***** skipping: [managed-node2] => { "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-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 02 November 2024 08:52:18 -0400 (0:00:00.065) 0:00:19.957 ***** ok: [managed-node2] => { "__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-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 02 November 2024 08:52:18 -0400 (0:00:00.079) 0:00:20.037 ***** ok: [managed-node2] => { "__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-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 02 November 2024 08:52:18 -0400 (0:00:00.079) 0:00:20.116 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 02 November 2024 08:52:18 -0400 (0:00:00.061) 0:00:20.178 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-Xqt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:32 Saturday 02 November 2024 08:52:19 -0400 (0:00:00.503) 0:00:20.681 ***** included: /tmp/collections-Xqt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node2 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-Xqt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 02 November 2024 08:52:19 -0400 (0:00:00.133) 0:00:20.814 ***** included: /tmp/collections-Xqt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface LST-TST-br34] ************************************* task path: /tmp/collections-Xqt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 02 November 2024 08:52:19 -0400 (0:00:00.085) 0:00:20.899 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1730551929.8615534, "block_size": 4096, "blocks": 0, "ctime": 1730551929.8615534, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 37036, "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": 1730551929.8615534, "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-Xqt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 02 November 2024 08:52:19 -0400 (0:00:00.460) 0:00:21.360 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Set fact to use nm network_provider] ************************************* task path: /tmp/collections-Xqt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:34 Saturday 02 November 2024 08:52:19 -0400 (0:00:00.119) 0:00:21.480 ***** ok: [managed-node2] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } TASK [Through the nm provider, create test bridge LST-TST-br34] **************** task path: /tmp/collections-Xqt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:39 Saturday 02 November 2024 08:52:20 -0400 (0:00:00.130) 0:00:21.611 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 02 November 2024 08:52:20 -0400 (0:00:00.119) 0:00:21.731 ***** included: /tmp/collections-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 02 November 2024 08:52:20 -0400 (0:00:00.104) 0:00:21.836 ***** skipping: [managed-node2] => { "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-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 02 November 2024 08:52:20 -0400 (0:00:00.081) 0:00:21.917 ***** skipping: [managed-node2] => { "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-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 02 November 2024 08:52:20 -0400 (0:00:00.054) 0:00:21.972 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 02 November 2024 08:52:20 -0400 (0:00:00.043) 0:00:22.016 ***** ok: [managed-node2] => { "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-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 02 November 2024 08:52:22 -0400 (0:00:01.719) 0:00:23.736 ***** ok: [managed-node2] => { "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-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 02 November 2024 08:52:23 -0400 (0:00:01.526) 0:00:25.262 ***** ok: [managed-node2] => {} 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-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 02 November 2024 08:52:23 -0400 (0:00:00.083) 0:00:25.345 ***** skipping: [managed-node2] => { "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-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 02 November 2024 08:52:23 -0400 (0:00:00.059) 0:00:25.404 ***** skipping: [managed-node2] => { "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-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 02 November 2024 08:52:23 -0400 (0:00:00.136) 0:00:25.541 ***** skipping: [managed-node2] => { "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-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 02 November 2024 08:52:24 -0400 (0:00:00.071) 0:00:25.613 ***** skipping: [managed-node2] => { "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-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 02 November 2024 08:52:24 -0400 (0:00:00.114) 0:00:25.727 ***** skipping: [managed-node2] => { "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-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 02 November 2024 08:52:24 -0400 (0:00:00.093) 0:00:25.821 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 02 November 2024 08:52:24 -0400 (0:00:00.081) 0:00:25.902 ***** skipping: [managed-node2] => { "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-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 02 November 2024 08:52:24 -0400 (0:00:00.123) 0:00:26.026 ***** skipping: [managed-node2] => { "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-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 02 November 2024 08:52:24 -0400 (0:00:00.122) 0:00:26.148 ***** skipping: [managed-node2] => { "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-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 02 November 2024 08:52:24 -0400 (0:00:00.076) 0:00:26.225 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 02 November 2024 08:52:24 -0400 (0:00:00.069) 0:00:26.294 ***** ok: [managed-node2] => { "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-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 02 November 2024 08:52:25 -0400 (0:00:00.648) 0:00:26.943 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 02 November 2024 08:52:25 -0400 (0:00:00.067) 0:00:27.010 ***** skipping: [managed-node2] => { "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-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 02 November 2024 08:52:25 -0400 (0:00:00.061) 0:00:27.071 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 02 November 2024 08:52:25 -0400 (0:00:00.101) 0:00:27.173 ***** changed: [managed-node2] => { "_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, 80fd303b-3e0e-4f63-b81a-2fad7e6f9363 [004] #0, state:up persistent_state:present, 'LST-TST-br34': up connection LST-TST-br34, 80fd303b-3e0e-4f63-b81a-2fad7e6f9363 (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 02 November 2024 08:52:26 -0400 (0:00:00.691) 0:00:27.864 ***** skipping: [managed-node2] => { "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-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 02 November 2024 08:52:26 -0400 (0:00:00.085) 0:00:27.949 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'LST-TST-br34': add connection LST-TST-br34, 80fd303b-3e0e-4f63-b81a-2fad7e6f9363", "[004] #0, state:up persistent_state:present, 'LST-TST-br34': up connection LST-TST-br34, 80fd303b-3e0e-4f63-b81a-2fad7e6f9363 (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 02 November 2024 08:52:26 -0400 (0:00:00.044) 0:00:27.994 ***** ok: [managed-node2] => { "__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, 80fd303b-3e0e-4f63-b81a-2fad7e6f9363\n[004] #0, state:up persistent_state:present, 'LST-TST-br34': up connection LST-TST-br34, 80fd303b-3e0e-4f63-b81a-2fad7e6f9363 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'LST-TST-br34': add connection LST-TST-br34, 80fd303b-3e0e-4f63-b81a-2fad7e6f9363", "[004] #0, state:up persistent_state:present, 'LST-TST-br34': up connection LST-TST-br34, 80fd303b-3e0e-4f63-b81a-2fad7e6f9363 (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 02 November 2024 08:52:26 -0400 (0:00:00.040) 0:00:28.034 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 02 November 2024 08:52:26 -0400 (0:00:00.038) 0:00:28.072 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-Xqt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:50 Saturday 02 November 2024 08:52:26 -0400 (0:00:00.374) 0:00:28.447 ***** included: /tmp/collections-Xqt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node2 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-Xqt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 02 November 2024 08:52:26 -0400 (0:00:00.117) 0:00:28.565 ***** included: /tmp/collections-Xqt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface LST-TST-br34] ************************************* task path: /tmp/collections-Xqt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 02 November 2024 08:52:27 -0400 (0:00:00.098) 0:00:28.663 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1730551929.8615534, "block_size": 4096, "blocks": 0, "ctime": 1730551929.8615534, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 37036, "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": 1730551929.8615534, "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-Xqt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 02 November 2024 08:52:27 -0400 (0:00:00.415) 0:00:29.079 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'remove+down_profile.yml'] ****************************** task path: /tmp/collections-Xqt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:52 Saturday 02 November 2024 08:52:27 -0400 (0:00:00.053) 0:00:29.133 ***** included: /tmp/collections-Xqt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-Xqt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 02 November 2024 08:52:27 -0400 (0:00:00.106) 0:00:29.239 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 02 November 2024 08:52:27 -0400 (0:00:00.145) 0:00:29.385 ***** included: /tmp/collections-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 02 November 2024 08:52:27 -0400 (0:00:00.110) 0:00:29.495 ***** skipping: [managed-node2] => { "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-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 02 November 2024 08:52:27 -0400 (0:00:00.070) 0:00:29.566 ***** skipping: [managed-node2] => { "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-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 02 November 2024 08:52:28 -0400 (0:00:00.064) 0:00:29.631 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 02 November 2024 08:52:28 -0400 (0:00:00.066) 0:00:29.697 ***** ok: [managed-node2] => { "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-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 02 November 2024 08:52:29 -0400 (0:00:01.670) 0:00:31.367 ***** ok: [managed-node2] => { "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-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 02 November 2024 08:52:31 -0400 (0:00:01.746) 0:00:33.114 ***** ok: [managed-node2] => {} 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-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 02 November 2024 08:52:31 -0400 (0:00:00.097) 0:00:33.211 ***** skipping: [managed-node2] => { "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-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 02 November 2024 08:52:31 -0400 (0:00:00.122) 0:00:33.334 ***** skipping: [managed-node2] => { "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-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 02 November 2024 08:52:31 -0400 (0:00:00.153) 0:00:33.487 ***** skipping: [managed-node2] => { "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-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 02 November 2024 08:52:31 -0400 (0:00:00.061) 0:00:33.549 ***** skipping: [managed-node2] => { "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-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 02 November 2024 08:52:32 -0400 (0:00:00.081) 0:00:33.630 ***** skipping: [managed-node2] => { "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-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 02 November 2024 08:52:32 -0400 (0:00:00.077) 0:00:33.708 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 02 November 2024 08:52:32 -0400 (0:00:00.067) 0:00:33.776 ***** skipping: [managed-node2] => { "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-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 02 November 2024 08:52:32 -0400 (0:00:00.131) 0:00:33.908 ***** skipping: [managed-node2] => { "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-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 02 November 2024 08:52:32 -0400 (0:00:00.075) 0:00:33.983 ***** skipping: [managed-node2] => { "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-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 02 November 2024 08:52:32 -0400 (0:00:00.067) 0:00:34.051 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 02 November 2024 08:52:32 -0400 (0:00:00.066) 0:00:34.118 ***** ok: [managed-node2] => { "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-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 02 November 2024 08:52:33 -0400 (0:00:00.597) 0:00:34.716 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 02 November 2024 08:52:33 -0400 (0:00:00.049) 0:00:34.765 ***** skipping: [managed-node2] => { "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-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 02 November 2024 08:52:33 -0400 (0:00:00.057) 0:00:34.823 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 02 November 2024 08:52:33 -0400 (0:00:00.051) 0:00:34.875 ***** changed: [managed-node2] => { "_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-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 02 November 2024 08:52:33 -0400 (0:00:00.614) 0:00:35.489 ***** skipping: [managed-node2] => { "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-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 02 November 2024 08:52:33 -0400 (0:00:00.059) 0:00:35.549 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 02 November 2024 08:52:34 -0400 (0:00:00.045) 0:00:35.594 ***** ok: [managed-node2] => { "__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-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 02 November 2024 08:52:34 -0400 (0:00:00.041) 0:00:35.636 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 02 November 2024 08:52:34 -0400 (0:00:00.037) 0:00:35.674 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-Xqt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:57 Saturday 02 November 2024 08:52:34 -0400 (0:00:00.414) 0:00:36.088 ***** included: /tmp/collections-Xqt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node2 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-Xqt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 02 November 2024 08:52:34 -0400 (0:00:00.097) 0:00:36.186 ***** included: /tmp/collections-Xqt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface LST-TST-br34] ************************************* task path: /tmp/collections-Xqt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 02 November 2024 08:52:34 -0400 (0:00:00.111) 0:00:36.298 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1730551929.8615534, "block_size": 4096, "blocks": 0, "ctime": 1730551929.8615534, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 37036, "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": 1730551929.8615534, "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-Xqt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 02 November 2024 08:52:35 -0400 (0:00:00.407) 0:00:36.706 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'delete_interface.yml'] ********************************* task path: /tmp/collections-Xqt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:59 Saturday 02 November 2024 08:52:35 -0400 (0:00:00.088) 0:00:36.794 ***** included: /tmp/collections-Xqt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node2 TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-Xqt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 02 November 2024 08:52:35 -0400 (0:00:00.118) 0:00:36.913 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ip", "link", "del", "LST-TST-br34" ], "delta": "0:00:00.017150", "end": "2024-11-02 08:52:35.701004", "rc": 0, "start": "2024-11-02 08:52:35.683854" } TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-Xqt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:61 Saturday 02 November 2024 08:52:35 -0400 (0:00:00.508) 0:00:37.421 ***** included: /tmp/collections-Xqt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node2 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-Xqt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 02 November 2024 08:52:35 -0400 (0:00:00.141) 0:00:37.563 ***** included: /tmp/collections-Xqt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface LST-TST-br34] ************************************* task path: /tmp/collections-Xqt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 02 November 2024 08:52:36 -0400 (0:00:00.127) 0:00:37.691 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'LST-TST-br34'] ******************** task path: /tmp/collections-Xqt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 02 November 2024 08:52:36 -0400 (0:00:00.478) 0:00:38.169 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify network state restored to default] ******************************** task path: /tmp/collections-Xqt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:63 Saturday 02 November 2024 08:52:36 -0400 (0:00:00.073) 0:00:38.242 ***** included: /tmp/collections-Xqt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed-node2 TASK [Check routes and DNS] **************************************************** task path: /tmp/collections-Xqt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Saturday 02 November 2024 08:52:36 -0400 (0:00:00.142) 0:00:38.385 ***** ok: [managed-node2] => { "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.008025", "end": "2024-11-02 08:52:37.190967", "rc": 0, "start": "2024-11-02 08:52:37.182942" } 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 0e:86:3a:39:67:ab brd ff:ff:ff:ff:ff:ff inet 10.31.40.199/22 brd 10.31.43.255 scope global dynamic noprefixroute eth0 valid_lft 2781sec preferred_lft 2781sec inet6 fe80::c86:3aff:fe39:67ab/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.40.1 dev eth0 proto dhcp src 10.31.40.199 metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.40.199 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-Xqt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Saturday 02 November 2024 08:52:37 -0400 (0:00:00.486) 0:00:38.871 ***** ok: [managed-node2] => { "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.329469", "end": "2024-11-02 08:52:37.974916", "rc": 0, "start": "2024-11-02 08:52:37.645447" } STDOUT: CHECK DNS AND CONNECTIVITY 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 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.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 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 2605:bc80:3010:600:dead:beef:cafe:fed9 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 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 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 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 1355 0 --:--:-- --:--:-- --:--:-- 1361 % 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 3506 0 --:--:-- --:--:-- --:--:-- 3506 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node2 : ok=76 changed=4 unreachable=0 failed=0 skipped=74 rescued=0 ignored=0 Saturday 02 November 2024 08:52:38 -0400 (0:00:00.729) 0:00:39.601 ***** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 1.95s /tmp/collections-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.77s /tmp/collections-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.75s /tmp/collections-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.74s /tmp/collections-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.72s /tmp/collections-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.67s /tmp/collections-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.54s /tmp/collections-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.53s /tmp/collections-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gathering Facts --------------------------------------------------------- 1.03s /tmp/collections-Xqt/ansible_collections/fedora/linux_system_roles/tests/network/tests_switch_provider.yml:3 Verify DNS and network connectivity ------------------------------------- 0.73s /tmp/collections-Xqt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.69s /tmp/collections-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.65s /tmp/collections-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Enable EPEL 8 ----------------------------------------------------------- 0.64s /tmp/collections-Xqt/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Gathering Facts --------------------------------------------------------- 0.62s /tmp/collections-Xqt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:5 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.61s /tmp/collections-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.60s /tmp/collections-Xqt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Gather the minimum subset of ansible_facts required by the network role test --- 0.58s /tmp/collections-Xqt/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Remove test interface if necessary -------------------------------------- 0.51s /tmp/collections-Xqt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Create EPEL 8 ----------------------------------------------------------- 0.50s /tmp/collections-Xqt/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Check routes and DNS ---------------------------------------------------- 0.49s /tmp/collections-Xqt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6