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-yDO/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-yDO/ansible_collections/fedora/linux_system_roles/tests/network/tests_switch_provider.yml:3 Friday 20 September 2024 21:43:36 -0400 (0:00:00.018) 0:00:00.018 ****** ok: [managed_node1] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-yDO/ansible_collections/fedora/linux_system_roles/tests/network/tests_switch_provider.yml:6 Friday 20 September 2024 21:43:37 -0400 (0:00:00.934) 0:00:00.953 ****** included: /tmp/collections-yDO/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-yDO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Friday 20 September 2024 21:43:37 -0400 (0:00:00.054) 0:00:01.008 ****** ok: [managed_node1] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-yDO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Friday 20 September 2024 21:43:38 -0400 (0:00:00.504) 0:00:01.513 ****** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-yDO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Friday 20 September 2024 21:43:38 -0400 (0:00:00.544) 0:00:02.057 ****** ok: [managed_node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-yDO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Friday 20 September 2024 21:43:38 -0400 (0:00:00.063) 0:00:02.121 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-yDO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Friday 20 September 2024 21:43:39 -0400 (0:00:00.053) 0:00:02.175 ****** included: /tmp/collections-yDO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node1 TASK [Create EPEL 8] *********************************************************** task path: /tmp/collections-yDO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Friday 20 September 2024 21:43:39 -0400 (0:00:00.079) 0:00:02.254 ****** 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-yDO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Friday 20 September 2024 21:43:39 -0400 (0:00:00.481) 0:00:02.736 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-yDO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Friday 20 September 2024 21:43:39 -0400 (0:00:00.027) 0:00:02.763 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-yDO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Friday 20 September 2024 21:43:39 -0400 (0:00:00.025) 0:00:02.789 ****** [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.218220", "end": "2024-09-20 21:43:40.192959", "rc": 0, "start": "2024-09-20 21:43:39.974739" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-yDO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Friday 20 September 2024 21:43:40 -0400 (0:00:00.598) 0:00:03.387 ****** 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-yDO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:5 Friday 20 September 2024 21:43:40 -0400 (0:00:00.020) 0:00:03.407 ****** ok: [managed_node1] META: ran handlers TASK [Set fact to use initscripts network_provider] **************************** task path: /tmp/collections-yDO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:8 Friday 20 September 2024 21:43:40 -0400 (0:00:00.616) 0:00:04.023 ****** 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-yDO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:14 Friday 20 September 2024 21:43:40 -0400 (0:00:00.021) 0:00:04.045 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-yDO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 20 September 2024 21:43:41 -0400 (0:00:00.136) 0:00:04.182 ****** included: /tmp/collections-yDO/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-yDO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 20 September 2024 21:43:41 -0400 (0:00:00.047) 0:00:04.230 ****** 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-yDO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 20 September 2024 21:43:41 -0400 (0:00:00.019) 0:00:04.249 ****** 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-yDO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 20 September 2024 21:43:41 -0400 (0:00:00.020) 0:00:04.270 ****** 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-yDO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 20 September 2024 21:43:41 -0400 (0:00:00.015) 0:00:04.286 ****** 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-yDO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 20 September 2024 21:43:42 -0400 (0:00:01.615) 0:00:05.901 ****** 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-yDO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 20 September 2024 21:43:44 -0400 (0:00:01.741) 0:00:07.643 ****** 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-yDO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 20 September 2024 21:43:44 -0400 (0:00:00.098) 0:00:07.741 ****** 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-yDO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 20 September 2024 21:43:44 -0400 (0:00:00.075) 0:00:07.817 ****** 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-yDO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 20 September 2024 21:43:44 -0400 (0:00:00.088) 0:00:07.906 ****** 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-yDO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 20 September 2024 21:43:44 -0400 (0:00:00.082) 0:00:07.988 ****** 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-yDO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 20 September 2024 21:43:44 -0400 (0:00:00.060) 0:00:08.049 ****** 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-yDO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 20 September 2024 21:43:44 -0400 (0:00:00.045) 0:00:08.094 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-yDO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 20 September 2024 21:43:45 -0400 (0:00:00.054) 0:00:08.149 ****** 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-yDO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 20 September 2024 21:43:45 -0400 (0:00:00.071) 0:00:08.220 ****** 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-yDO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 20 September 2024 21:43:45 -0400 (0:00:00.034) 0:00:08.255 ****** 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-yDO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 20 September 2024 21:43:45 -0400 (0:00:00.034) 0:00:08.290 ****** 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-yDO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 20 September 2024 21:43:45 -0400 (0:00:00.043) 0:00:08.333 ****** 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-yDO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 20 September 2024 21:43:45 -0400 (0:00:00.055) 0:00:08.389 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-yDO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 20 September 2024 21:43:45 -0400 (0:00:00.057) 0:00:08.446 ****** 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-yDO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 20 September 2024 21:43:46 -0400 (0:00:00.948) 0:00:09.394 ****** ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-46658mjdylo5e/tmp9rj4figf" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-yDO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 20 September 2024 21:43:46 -0400 (0:00:00.371) 0:00:09.766 ****** 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-yDO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 20 September 2024 21:43:47 -0400 (0:00:01.116) 0:00:10.882 ****** 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-yDO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 20 September 2024 21:43:47 -0400 (0:00:00.038) 0:00:10.921 ****** 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-yDO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 20 September 2024 21:43:47 -0400 (0:00:00.040) 0:00:10.961 ****** 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-yDO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 20 September 2024 21:43:47 -0400 (0:00:00.044) 0:00:11.005 ****** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-yDO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 20 September 2024 21:43:47 -0400 (0:00:00.058) 0:00:11.063 ****** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-yDO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:25 Friday 20 September 2024 21:43:48 -0400 (0:00:00.650) 0:00:11.714 ****** included: /tmp/collections-yDO/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-yDO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Friday 20 September 2024 21:43:48 -0400 (0:00:00.105) 0:00:11.820 ****** included: /tmp/collections-yDO/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-yDO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Friday 20 September 2024 21:43:48 -0400 (0:00:00.081) 0:00:11.902 ****** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726883027.5723746, "block_size": 4096, "blocks": 0, "ctime": 1726883027.5723746, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 34816, "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": 1726883027.5723746, "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-yDO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Friday 20 September 2024 21:43:49 -0400 (0:00:00.434) 0:00:12.336 ****** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'remove+down_profile.yml'] ****************************** task path: /tmp/collections-yDO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:27 Friday 20 September 2024 21:43:49 -0400 (0:00:00.185) 0:00:12.521 ****** included: /tmp/collections-yDO/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-yDO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Friday 20 September 2024 21:43:49 -0400 (0:00:00.156) 0:00:12.678 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-yDO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 20 September 2024 21:43:49 -0400 (0:00:00.111) 0:00:12.789 ****** included: /tmp/collections-yDO/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-yDO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 20 September 2024 21:43:49 -0400 (0:00:00.115) 0:00:12.905 ****** 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-yDO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 20 September 2024 21:43:49 -0400 (0:00:00.050) 0:00:12.955 ****** 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-yDO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 20 September 2024 21:43:49 -0400 (0:00:00.043) 0:00:12.999 ****** 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-yDO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 20 September 2024 21:43:49 -0400 (0:00:00.044) 0:00:13.044 ****** 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-yDO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 20 September 2024 21:43:51 -0400 (0:00:01.527) 0:00:14.571 ****** 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-yDO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 20 September 2024 21:43:52 -0400 (0:00:01.402) 0:00:15.974 ****** 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-yDO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 20 September 2024 21:43:52 -0400 (0:00:00.057) 0:00:16.032 ****** 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-yDO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 20 September 2024 21:43:52 -0400 (0:00:00.053) 0:00:16.085 ****** 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-yDO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 20 September 2024 21:43:52 -0400 (0:00:00.055) 0:00:16.141 ****** 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-yDO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 20 September 2024 21:43:53 -0400 (0:00:00.056) 0:00:16.197 ****** 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-yDO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 20 September 2024 21:43:53 -0400 (0:00:00.071) 0:00:16.269 ****** 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-yDO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 20 September 2024 21:43:53 -0400 (0:00:00.058) 0:00:16.327 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-yDO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 20 September 2024 21:43:53 -0400 (0:00:00.058) 0:00:16.386 ****** 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-yDO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 20 September 2024 21:43:53 -0400 (0:00:00.099) 0:00:16.485 ****** 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-yDO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 20 September 2024 21:43:53 -0400 (0:00:00.092) 0:00:16.577 ****** 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-yDO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 20 September 2024 21:43:53 -0400 (0:00:00.058) 0:00:16.636 ****** 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-yDO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 20 September 2024 21:43:53 -0400 (0:00:00.094) 0:00:16.730 ****** 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-yDO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 20 September 2024 21:43:53 -0400 (0:00:00.094) 0:00:16.825 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-yDO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 20 September 2024 21:43:53 -0400 (0:00:00.058) 0:00:16.884 ****** 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-yDO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 20 September 2024 21:43:54 -0400 (0:00:00.618) 0:00:17.502 ****** ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-46658mjdylo5e/tmphcs_b0t8" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-yDO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 20 September 2024 21:43:54 -0400 (0:00:00.412) 0:00:17.914 ****** 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-yDO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 20 September 2024 21:43:55 -0400 (0:00:00.667) 0:00:18.581 ****** 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-yDO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 20 September 2024 21:43:55 -0400 (0:00:00.053) 0:00:18.635 ****** 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-yDO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 20 September 2024 21:43:55 -0400 (0:00:00.058) 0:00:18.694 ****** 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-yDO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 20 September 2024 21:43:55 -0400 (0:00:00.086) 0:00:18.780 ****** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-yDO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 20 September 2024 21:43:55 -0400 (0:00:00.072) 0:00:18.853 ****** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-yDO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:32 Friday 20 September 2024 21:43:56 -0400 (0:00:00.466) 0:00:19.320 ****** included: /tmp/collections-yDO/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-yDO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Friday 20 September 2024 21:43:56 -0400 (0:00:00.133) 0:00:19.453 ****** included: /tmp/collections-yDO/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-yDO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Friday 20 September 2024 21:43:56 -0400 (0:00:00.106) 0:00:19.560 ****** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726883027.5723746, "block_size": 4096, "blocks": 0, "ctime": 1726883027.5723746, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 34816, "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": 1726883027.5723746, "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-yDO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Friday 20 September 2024 21:43:56 -0400 (0:00:00.514) 0:00:20.075 ****** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Set fact to use nm network_provider] ************************************* task path: /tmp/collections-yDO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:34 Friday 20 September 2024 21:43:56 -0400 (0:00:00.037) 0:00:20.112 ****** 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-yDO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:39 Friday 20 September 2024 21:43:57 -0400 (0:00:00.035) 0:00:20.148 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-yDO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 20 September 2024 21:43:57 -0400 (0:00:00.091) 0:00:20.240 ****** included: /tmp/collections-yDO/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-yDO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 20 September 2024 21:43:57 -0400 (0:00:00.097) 0:00:20.338 ****** 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-yDO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 20 September 2024 21:43:57 -0400 (0:00:00.068) 0:00:20.406 ****** 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-yDO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 20 September 2024 21:43:57 -0400 (0:00:00.066) 0:00:20.472 ****** 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-yDO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 20 September 2024 21:43:57 -0400 (0:00:00.048) 0:00:20.520 ****** 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-yDO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 20 September 2024 21:43:58 -0400 (0:00:01.470) 0:00:21.991 ****** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-yDO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 20 September 2024 21:44:00 -0400 (0:00:01.489) 0:00:23.480 ****** 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-yDO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 20 September 2024 21:44:00 -0400 (0:00:00.092) 0:00:23.572 ****** 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-yDO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 20 September 2024 21:44:00 -0400 (0:00:00.055) 0:00:23.628 ****** 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-yDO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 20 September 2024 21:44:00 -0400 (0:00:00.055) 0:00:23.683 ****** 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-yDO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 20 September 2024 21:44:00 -0400 (0:00:00.063) 0:00:23.746 ****** 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-yDO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 20 September 2024 21:44:00 -0400 (0:00:00.069) 0:00:23.816 ****** 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-yDO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 20 September 2024 21:44:00 -0400 (0:00:00.071) 0:00:23.887 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-yDO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 20 September 2024 21:44:00 -0400 (0:00:00.050) 0:00:23.937 ****** 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-yDO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 20 September 2024 21:44:00 -0400 (0:00:00.076) 0:00:24.014 ****** 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-yDO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 20 September 2024 21:44:00 -0400 (0:00:00.034) 0:00:24.049 ****** 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-yDO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 20 September 2024 21:44:00 -0400 (0:00:00.033) 0:00:24.083 ****** 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-yDO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 20 September 2024 21:44:00 -0400 (0:00:00.038) 0:00:24.121 ****** 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-yDO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 20 September 2024 21:44:01 -0400 (0:00:00.536) 0:00:24.657 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-yDO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 20 September 2024 21:44:01 -0400 (0:00:00.065) 0:00:24.722 ****** 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-yDO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 20 September 2024 21:44:01 -0400 (0:00:00.052) 0:00:24.775 ****** 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-yDO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 20 September 2024 21:44:01 -0400 (0:00:00.055) 0:00:24.830 ****** 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, 9491ad77-eff3-44f9-830a-da0097e6c9e4 [004] #0, state:up persistent_state:present, 'LST-TST-br34': up connection LST-TST-br34, 9491ad77-eff3-44f9-830a-da0097e6c9e4 (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-yDO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 20 September 2024 21:44:02 -0400 (0:00:00.556) 0:00:25.387 ****** 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-yDO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 20 September 2024 21:44:02 -0400 (0:00:00.033) 0:00:25.421 ****** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'LST-TST-br34': add connection LST-TST-br34, 9491ad77-eff3-44f9-830a-da0097e6c9e4", "[004] #0, state:up persistent_state:present, 'LST-TST-br34': up connection LST-TST-br34, 9491ad77-eff3-44f9-830a-da0097e6c9e4 (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-yDO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 20 September 2024 21:44:02 -0400 (0:00:00.041) 0:00:25.462 ****** 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, 9491ad77-eff3-44f9-830a-da0097e6c9e4\n[004] #0, state:up persistent_state:present, 'LST-TST-br34': up connection LST-TST-br34, 9491ad77-eff3-44f9-830a-da0097e6c9e4 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'LST-TST-br34': add connection LST-TST-br34, 9491ad77-eff3-44f9-830a-da0097e6c9e4", "[004] #0, state:up persistent_state:present, 'LST-TST-br34': up connection LST-TST-br34, 9491ad77-eff3-44f9-830a-da0097e6c9e4 (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-yDO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 20 September 2024 21:44:02 -0400 (0:00:00.086) 0:00:25.549 ****** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-yDO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 20 September 2024 21:44:02 -0400 (0:00:00.053) 0:00:25.603 ****** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-yDO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:50 Friday 20 September 2024 21:44:02 -0400 (0:00:00.380) 0:00:25.983 ****** included: /tmp/collections-yDO/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-yDO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Friday 20 September 2024 21:44:02 -0400 (0:00:00.069) 0:00:26.053 ****** included: /tmp/collections-yDO/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-yDO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Friday 20 September 2024 21:44:02 -0400 (0:00:00.082) 0:00:26.135 ****** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726883027.5723746, "block_size": 4096, "blocks": 0, "ctime": 1726883027.5723746, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 34816, "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": 1726883027.5723746, "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-yDO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Friday 20 September 2024 21:44:03 -0400 (0:00:00.465) 0:00:26.601 ****** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'remove+down_profile.yml'] ****************************** task path: /tmp/collections-yDO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:52 Friday 20 September 2024 21:44:03 -0400 (0:00:00.076) 0:00:26.677 ****** included: /tmp/collections-yDO/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-yDO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Friday 20 September 2024 21:44:03 -0400 (0:00:00.125) 0:00:26.802 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-yDO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 20 September 2024 21:44:03 -0400 (0:00:00.097) 0:00:26.900 ****** included: /tmp/collections-yDO/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-yDO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 20 September 2024 21:44:03 -0400 (0:00:00.143) 0:00:27.043 ****** 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-yDO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 20 September 2024 21:44:03 -0400 (0:00:00.068) 0:00:27.112 ****** 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-yDO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 20 September 2024 21:44:04 -0400 (0:00:00.058) 0:00:27.171 ****** 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-yDO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 20 September 2024 21:44:04 -0400 (0:00:00.055) 0:00:27.226 ****** 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-yDO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 20 September 2024 21:44:05 -0400 (0:00:01.510) 0:00:28.736 ****** 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-yDO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 20 September 2024 21:44:07 -0400 (0:00:01.449) 0:00:30.185 ****** 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-yDO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 20 September 2024 21:44:07 -0400 (0:00:00.059) 0:00:30.245 ****** 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-yDO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 20 September 2024 21:44:07 -0400 (0:00:00.056) 0:00:30.301 ****** 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-yDO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 20 September 2024 21:44:07 -0400 (0:00:00.057) 0:00:30.359 ****** 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-yDO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 20 September 2024 21:44:07 -0400 (0:00:00.055) 0:00:30.414 ****** 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-yDO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 20 September 2024 21:44:07 -0400 (0:00:00.052) 0:00:30.467 ****** 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-yDO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 20 September 2024 21:44:07 -0400 (0:00:00.042) 0:00:30.509 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-yDO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 20 September 2024 21:44:07 -0400 (0:00:00.048) 0:00:30.558 ****** 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-yDO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 20 September 2024 21:44:07 -0400 (0:00:00.077) 0:00:30.635 ****** 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-yDO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 20 September 2024 21:44:07 -0400 (0:00:00.035) 0:00:30.671 ****** 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-yDO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 20 September 2024 21:44:07 -0400 (0:00:00.037) 0:00:30.709 ****** 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-yDO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 20 September 2024 21:44:07 -0400 (0:00:00.064) 0:00:30.774 ****** 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-yDO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 20 September 2024 21:44:08 -0400 (0:00:00.600) 0:00:31.375 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-yDO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 20 September 2024 21:44:08 -0400 (0:00:00.066) 0:00:31.441 ****** 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-yDO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 20 September 2024 21:44:08 -0400 (0:00:00.057) 0:00:31.499 ****** 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-yDO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 20 September 2024 21:44:08 -0400 (0:00:00.043) 0:00:31.542 ****** 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-yDO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 20 September 2024 21:44:09 -0400 (0:00:00.615) 0:00:32.158 ****** 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-yDO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 20 September 2024 21:44:09 -0400 (0:00:00.051) 0:00:32.209 ****** 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-yDO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 20 September 2024 21:44:09 -0400 (0:00:00.054) 0:00:32.264 ****** 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-yDO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 20 September 2024 21:44:09 -0400 (0:00:00.075) 0:00:32.339 ****** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-yDO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 20 September 2024 21:44:09 -0400 (0:00:00.059) 0:00:32.399 ****** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-yDO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:57 Friday 20 September 2024 21:44:09 -0400 (0:00:00.461) 0:00:32.860 ****** included: /tmp/collections-yDO/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-yDO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Friday 20 September 2024 21:44:09 -0400 (0:00:00.129) 0:00:32.990 ****** included: /tmp/collections-yDO/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-yDO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Friday 20 September 2024 21:44:09 -0400 (0:00:00.135) 0:00:33.125 ****** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726883027.5723746, "block_size": 4096, "blocks": 0, "ctime": 1726883027.5723746, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 34816, "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": 1726883027.5723746, "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-yDO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Friday 20 September 2024 21:44:10 -0400 (0:00:00.425) 0:00:33.551 ****** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'delete_interface.yml'] ********************************* task path: /tmp/collections-yDO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:59 Friday 20 September 2024 21:44:10 -0400 (0:00:00.083) 0:00:33.634 ****** included: /tmp/collections-yDO/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-yDO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Friday 20 September 2024 21:44:10 -0400 (0:00:00.213) 0:00:33.848 ****** ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "link", "del", "LST-TST-br34" ], "delta": "0:00:00.013726", "end": "2024-09-20 21:44:11.066693", "rc": 0, "start": "2024-09-20 21:44:11.052967" } TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-yDO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:61 Friday 20 September 2024 21:44:11 -0400 (0:00:00.435) 0:00:34.284 ****** included: /tmp/collections-yDO/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-yDO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Friday 20 September 2024 21:44:11 -0400 (0:00:00.106) 0:00:34.391 ****** included: /tmp/collections-yDO/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-yDO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Friday 20 September 2024 21:44:11 -0400 (0:00:00.068) 0:00:34.460 ****** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'LST-TST-br34'] ******************** task path: /tmp/collections-yDO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Friday 20 September 2024 21:44:11 -0400 (0:00:00.445) 0:00:34.905 ****** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify network state restored to default] ******************************** task path: /tmp/collections-yDO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:63 Friday 20 September 2024 21:44:11 -0400 (0:00:00.068) 0:00:34.973 ****** included: /tmp/collections-yDO/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-yDO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Friday 20 September 2024 21:44:11 -0400 (0:00:00.161) 0:00:35.135 ****** 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.007504", "end": "2024-09-20 21:44:12.470018", "rc": 0, "start": "2024-09-20 21:44:12.462514" } 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 0a:ff:e5:a6:55:0b brd ff:ff:ff:ff:ff:ff inet 10.31.12.251/22 brd 10.31.15.255 scope global dynamic noprefixroute eth0 valid_lft 2616sec preferred_lft 2616sec inet6 fe80::8ff:e5ff:fea6:550b/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.12.1 dev eth0 proto dhcp src 10.31.12.251 metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.12.251 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-yDO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Friday 20 September 2024 21:44:12 -0400 (0:00:00.543) 0:00:35.678 ****** 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.277199", "end": "2024-09-20 21:44:13.121177", "rc": 0, "start": "2024-09-20 21:44:12.843978" } STDOUT: CHECK DNS AND CONNECTIVITY 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 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:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.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 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 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 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 6100 0 --:--:-- --:--:-- --:--:-- 6100 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 291 100 291 0 0 1412 0 --:--:-- --:--:-- --:--:-- 1405 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 20 September 2024 21:44:13 -0400 (0:00:00.634) 0:00:36.313 ****** =============================================================================== fedora.linux_system_roles.network : Check which packages are installed --- 1.74s /tmp/collections-yDO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.62s /tmp/collections-yDO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.53s /tmp/collections-yDO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.51s /tmp/collections-yDO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.49s /tmp/collections-yDO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.47s /tmp/collections-yDO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.45s /tmp/collections-yDO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.40s /tmp/collections-yDO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gathering Facts --------------------------------------------------------- 0.94s /tmp/collections-yDO/ansible_collections/fedora/linux_system_roles/tests/network/tests_switch_provider.yml:3 Verify DNS and network connectivity ------------------------------------- 0.63s /tmp/collections-yDO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Gathering Facts --------------------------------------------------------- 0.62s /tmp/collections-yDO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:5 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.62s /tmp/collections-yDO/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-yDO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Enable EPEL 8 ----------------------------------------------------------- 0.60s /tmp/collections-yDO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.56s /tmp/collections-yDO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Check if system is ostree ----------------------------------------------- 0.54s /tmp/collections-yDO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Check routes and DNS ---------------------------------------------------- 0.54s /tmp/collections-yDO/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.54s /tmp/collections-yDO/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Get stat for interface LST-TST-br34 ------------------------------------- 0.51s /tmp/collections-yDO/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.50s /tmp/collections-yDO/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3