ansible-playbook [core 2.16.12] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.12/site-packages/ansible ansible collection location = /tmp/collections-ddL executable location = /usr/local/bin/ansible-playbook python version = 3.12.1 (main, Feb 21 2024, 14:18:26) [GCC 8.5.0 20210514 (Red Hat 8.5.0-21)] (/usr/bin/python3.12) jinja version = 3.1.4 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.profile_tasks to ansible.posix.profile_tasks Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_switch_provider.yml ******************************************** 2 plays in /tmp/collections-ddL/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-ddL/ansible_collections/fedora/linux_system_roles/tests/network/tests_switch_provider.yml:3 Wednesday 23 October 2024 14:15:28 -0400 (0:00:00.021) 0:00:00.021 ***** ok: [managed-node2] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/tests_switch_provider.yml:6 Wednesday 23 October 2024 14:15:29 -0400 (0:00:01.261) 0:00:01.283 ***** included: /tmp/collections-ddL/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-ddL/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Wednesday 23 October 2024 14:15:29 -0400 (0:00:00.031) 0:00:01.314 ***** ok: [managed-node2] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Wednesday 23 October 2024 14:15:30 -0400 (0:00:00.582) 0:00:01.896 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Wednesday 23 October 2024 14:15:30 -0400 (0:00:00.638) 0:00:02.535 ***** ok: [managed-node2] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Wednesday 23 October 2024 14:15:30 -0400 (0:00:00.085) 0:00:02.621 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Wednesday 23 October 2024 14:15:30 -0400 (0:00:00.021) 0:00:02.643 ***** included: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node2 TASK [Create EPEL 8] *********************************************************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Wednesday 23 October 2024 14:15:30 -0400 (0:00:00.092) 0:00:02.736 ***** ok: [managed-node2] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "delta": null, "end": null, "rc": 0, "start": null } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists MSG: Did not run command since '/etc/yum.repos.d/epel.repo' exists TASK [Install yum-utils package] *********************************************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Wednesday 23 October 2024 14:15:31 -0400 (0:00:00.672) 0:00:03.409 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Wednesday 23 October 2024 14:15:31 -0400 (0:00:00.053) 0:00:03.462 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Wednesday 23 October 2024 14:15:31 -0400 (0:00:00.053) 0:00:03.515 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.248017", "end": "2024-10-23 14:15:32.379880", "rc": 0, "start": "2024-10-23 14:15:32.131863" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Wednesday 23 October 2024 14:15:32 -0400 (0:00:00.676) 0:00:04.192 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } PLAY [Switch initscripts provider to nm] *************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:5 Wednesday 23 October 2024 14:15:32 -0400 (0:00:00.028) 0:00:04.221 ***** ok: [managed-node2] TASK [Set fact to use initscripts network_provider] **************************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:8 Wednesday 23 October 2024 14:15:33 -0400 (0:00:00.786) 0:00:05.007 ***** 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-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:14 Wednesday 23 October 2024 14:15:33 -0400 (0:00:00.019) 0:00:05.027 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 23 October 2024 14:15:33 -0400 (0:00:00.046) 0:00:05.074 ***** included: /tmp/collections-ddL/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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 23 October 2024 14:15:33 -0400 (0:00:00.029) 0:00:05.104 ***** 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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 23 October 2024 14:15:33 -0400 (0:00:00.038) 0:00:05.142 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 23 October 2024 14:15:33 -0400 (0:00:00.019) 0:00:05.162 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 23 October 2024 14:15:33 -0400 (0:00:00.020) 0:00:05.182 ***** 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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 23 October 2024 14:15:35 -0400 (0:00:01.898) 0:00:07.081 ***** 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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 23 October 2024 14:15:37 -0400 (0:00:02.152) 0:00:09.234 ***** 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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 23 October 2024 14:15:37 -0400 (0:00:00.058) 0:00:09.293 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 23 October 2024 14:15:37 -0400 (0:00:00.052) 0:00:09.346 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 23 October 2024 14:15:37 -0400 (0:00:00.056) 0:00:09.403 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 23 October 2024 14:15:37 -0400 (0:00:00.091) 0:00:09.494 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 23 October 2024 14:15:37 -0400 (0:00:00.125) 0:00:09.620 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 23 October 2024 14:15:37 -0400 (0:00:00.092) 0:00:09.713 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 23 October 2024 14:15:38 -0400 (0:00:00.086) 0:00:09.799 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 23 October 2024 14:15:38 -0400 (0:00:00.133) 0:00:09.933 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 23 October 2024 14:15:38 -0400 (0:00:00.088) 0:00:10.022 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 23 October 2024 14:15:38 -0400 (0:00:00.102) 0:00:10.124 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 23 October 2024 14:15:38 -0400 (0:00:00.177) 0:00:10.302 ***** 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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 23 October 2024 14:15:38 -0400 (0:00:00.045) 0:00:10.348 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 23 October 2024 14:15:38 -0400 (0:00:00.038) 0:00:10.386 ***** 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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 23 October 2024 14:15:39 -0400 (0:00:01.040) 0:00:11.427 ***** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-43920bwbcmsdd/tmpy31dmd8l" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 23 October 2024 14:15:40 -0400 (0:00:00.477) 0:00:11.905 ***** 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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 23 October 2024 14:15:41 -0400 (0:00:01.103) 0:00:13.008 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 23 October 2024 14:15:41 -0400 (0:00:00.054) 0:00:13.063 ***** 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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 23 October 2024 14:15:41 -0400 (0:00:00.063) 0:00:13.126 ***** 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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 23 October 2024 14:15:41 -0400 (0:00:00.061) 0:00:13.188 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 23 October 2024 14:15:41 -0400 (0:00:00.089) 0:00:13.277 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:25 Wednesday 23 October 2024 14:15:42 -0400 (0:00:00.722) 0:00:14.000 ***** included: /tmp/collections-ddL/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-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 23 October 2024 14:15:42 -0400 (0:00:00.161) 0:00:14.161 ***** included: /tmp/collections-ddL/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-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 23 October 2024 14:15:42 -0400 (0:00:00.109) 0:00:14.271 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1729707341.0478878, "block_size": 4096, "blocks": 0, "ctime": 1729707341.0478878, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 37250, "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": 1729707341.0478878, "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-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Wednesday 23 October 2024 14:15:42 -0400 (0:00:00.471) 0:00:14.743 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'remove+down_profile.yml'] ****************************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:27 Wednesday 23 October 2024 14:15:43 -0400 (0:00:00.082) 0:00:14.825 ***** included: /tmp/collections-ddL/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-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Wednesday 23 October 2024 14:15:43 -0400 (0:00:00.129) 0:00:14.955 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 23 October 2024 14:15:43 -0400 (0:00:00.158) 0:00:15.114 ***** included: /tmp/collections-ddL/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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 23 October 2024 14:15:43 -0400 (0:00:00.124) 0:00:15.239 ***** 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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 23 October 2024 14:15:43 -0400 (0:00:00.109) 0:00:15.348 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 23 October 2024 14:15:43 -0400 (0:00:00.059) 0:00:15.408 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 23 October 2024 14:15:43 -0400 (0:00:00.044) 0:00:15.453 ***** 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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 23 October 2024 14:15:45 -0400 (0:00:01.821) 0:00:17.274 ***** 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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 23 October 2024 14:15:47 -0400 (0:00:01.624) 0:00:18.899 ***** 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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 23 October 2024 14:15:47 -0400 (0:00:00.040) 0:00:18.940 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 23 October 2024 14:15:47 -0400 (0:00:00.078) 0:00:19.018 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 23 October 2024 14:15:47 -0400 (0:00:00.036) 0:00:19.055 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 23 October 2024 14:15:47 -0400 (0:00:00.060) 0:00:19.115 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 23 October 2024 14:15:47 -0400 (0:00:00.072) 0:00:19.188 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 23 October 2024 14:15:47 -0400 (0:00:00.074) 0:00:19.263 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 23 October 2024 14:15:47 -0400 (0:00:00.098) 0:00:19.361 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 23 October 2024 14:15:47 -0400 (0:00:00.118) 0:00:19.479 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 23 October 2024 14:15:47 -0400 (0:00:00.037) 0:00:19.517 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 23 October 2024 14:15:47 -0400 (0:00:00.037) 0:00:19.554 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 23 October 2024 14:15:47 -0400 (0:00:00.071) 0:00:19.625 ***** 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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 23 October 2024 14:15:47 -0400 (0:00:00.035) 0:00:19.661 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 23 October 2024 14:15:47 -0400 (0:00:00.037) 0:00:19.698 ***** 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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 23 October 2024 14:15:48 -0400 (0:00:00.624) 0:00:20.323 ***** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-43920bwbcmsdd/tmp4canscrb" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 23 October 2024 14:15:48 -0400 (0:00:00.434) 0:00:20.757 ***** 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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 23 October 2024 14:15:49 -0400 (0:00:00.688) 0:00:21.446 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 23 October 2024 14:15:49 -0400 (0:00:00.058) 0:00:21.505 ***** 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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 23 October 2024 14:15:49 -0400 (0:00:00.063) 0:00:21.568 ***** 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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 23 October 2024 14:15:49 -0400 (0:00:00.120) 0:00:21.688 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 23 October 2024 14:15:50 -0400 (0:00:00.080) 0:00:21.768 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:32 Wednesday 23 October 2024 14:15:50 -0400 (0:00:00.516) 0:00:22.285 ***** included: /tmp/collections-ddL/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-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 23 October 2024 14:15:50 -0400 (0:00:00.103) 0:00:22.388 ***** included: /tmp/collections-ddL/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-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 23 October 2024 14:15:50 -0400 (0:00:00.128) 0:00:22.517 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1729707341.0478878, "block_size": 4096, "blocks": 0, "ctime": 1729707341.0478878, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 37250, "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": 1729707341.0478878, "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-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Wednesday 23 October 2024 14:15:51 -0400 (0:00:00.606) 0:00:23.123 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Set fact to use nm network_provider] ************************************* task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:34 Wednesday 23 October 2024 14:15:51 -0400 (0:00:00.061) 0:00:23.184 ***** 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-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:39 Wednesday 23 October 2024 14:15:51 -0400 (0:00:00.058) 0:00:23.243 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 23 October 2024 14:15:51 -0400 (0:00:00.147) 0:00:23.390 ***** included: /tmp/collections-ddL/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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 23 October 2024 14:15:51 -0400 (0:00:00.106) 0:00:23.497 ***** 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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 23 October 2024 14:15:51 -0400 (0:00:00.105) 0:00:23.602 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 23 October 2024 14:15:51 -0400 (0:00:00.130) 0:00:23.733 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 23 October 2024 14:15:52 -0400 (0:00:00.071) 0:00:23.804 ***** 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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 23 October 2024 14:15:53 -0400 (0:00:01.755) 0:00:25.560 ***** 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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 23 October 2024 14:15:55 -0400 (0:00:01.561) 0:00:27.121 ***** 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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 23 October 2024 14:15:55 -0400 (0:00:00.044) 0:00:27.166 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 23 October 2024 14:15:55 -0400 (0:00:00.053) 0:00:27.219 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 23 October 2024 14:15:55 -0400 (0:00:00.060) 0:00:27.279 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 23 October 2024 14:15:55 -0400 (0:00:00.085) 0:00:27.365 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 23 October 2024 14:15:55 -0400 (0:00:00.107) 0:00:27.472 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 23 October 2024 14:15:55 -0400 (0:00:00.086) 0:00:27.559 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 23 October 2024 14:15:55 -0400 (0:00:00.098) 0:00:27.658 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 23 October 2024 14:15:56 -0400 (0:00:00.117) 0:00:27.775 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 23 October 2024 14:15:56 -0400 (0:00:00.051) 0:00:27.826 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 23 October 2024 14:15:56 -0400 (0:00:00.043) 0:00:27.869 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 23 October 2024 14:15:56 -0400 (0:00:00.158) 0:00:28.028 ***** 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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 23 October 2024 14:15:56 -0400 (0:00:00.681) 0:00:28.709 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 23 October 2024 14:15:57 -0400 (0:00:00.096) 0:00:28.806 ***** 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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 23 October 2024 14:15:57 -0400 (0:00:00.060) 0:00:28.866 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 23 October 2024 14:15:57 -0400 (0:00:00.053) 0:00:28.920 ***** 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, f8e3d389-f52c-4e79-9639-1389c6184695 [004] #0, state:up persistent_state:present, 'LST-TST-br34': up connection LST-TST-br34, f8e3d389-f52c-4e79-9639-1389c6184695 (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 23 October 2024 14:15:57 -0400 (0:00:00.598) 0:00:29.518 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 23 October 2024 14:15:57 -0400 (0:00:00.037) 0:00:29.556 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'LST-TST-br34': add connection LST-TST-br34, f8e3d389-f52c-4e79-9639-1389c6184695", "[004] #0, state:up persistent_state:present, 'LST-TST-br34': up connection LST-TST-br34, f8e3d389-f52c-4e79-9639-1389c6184695 (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 23 October 2024 14:15:57 -0400 (0:00:00.041) 0:00:29.597 ***** 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, f8e3d389-f52c-4e79-9639-1389c6184695\n[004] #0, state:up persistent_state:present, 'LST-TST-br34': up connection LST-TST-br34, f8e3d389-f52c-4e79-9639-1389c6184695 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'LST-TST-br34': add connection LST-TST-br34, f8e3d389-f52c-4e79-9639-1389c6184695", "[004] #0, state:up persistent_state:present, 'LST-TST-br34': up connection LST-TST-br34, f8e3d389-f52c-4e79-9639-1389c6184695 (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 23 October 2024 14:15:57 -0400 (0:00:00.042) 0:00:29.640 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 23 October 2024 14:15:57 -0400 (0:00:00.037) 0:00:29.677 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:50 Wednesday 23 October 2024 14:15:58 -0400 (0:00:00.398) 0:00:30.075 ***** included: /tmp/collections-ddL/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-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 23 October 2024 14:15:58 -0400 (0:00:00.073) 0:00:30.149 ***** included: /tmp/collections-ddL/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-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 23 October 2024 14:15:58 -0400 (0:00:00.072) 0:00:30.222 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1729707341.0478878, "block_size": 4096, "blocks": 0, "ctime": 1729707341.0478878, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 37250, "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": 1729707341.0478878, "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-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Wednesday 23 October 2024 14:15:58 -0400 (0:00:00.530) 0:00:30.753 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'remove+down_profile.yml'] ****************************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:52 Wednesday 23 October 2024 14:15:59 -0400 (0:00:00.061) 0:00:30.814 ***** included: /tmp/collections-ddL/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-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Wednesday 23 October 2024 14:15:59 -0400 (0:00:00.143) 0:00:30.958 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 23 October 2024 14:15:59 -0400 (0:00:00.124) 0:00:31.083 ***** included: /tmp/collections-ddL/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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 23 October 2024 14:15:59 -0400 (0:00:00.111) 0:00:31.194 ***** 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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 23 October 2024 14:15:59 -0400 (0:00:00.102) 0:00:31.297 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 23 October 2024 14:15:59 -0400 (0:00:00.067) 0:00:31.364 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 23 October 2024 14:15:59 -0400 (0:00:00.064) 0:00:31.428 ***** 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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 23 October 2024 14:16:01 -0400 (0:00:01.724) 0:00:33.152 ***** 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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 23 October 2024 14:16:02 -0400 (0:00:01.584) 0:00:34.737 ***** 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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 23 October 2024 14:16:03 -0400 (0:00:00.102) 0:00:34.840 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 23 October 2024 14:16:03 -0400 (0:00:00.184) 0:00:35.024 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 23 October 2024 14:16:03 -0400 (0:00:00.085) 0:00:35.110 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 23 October 2024 14:16:03 -0400 (0:00:00.113) 0:00:35.224 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 23 October 2024 14:16:03 -0400 (0:00:00.115) 0:00:35.340 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 23 October 2024 14:16:03 -0400 (0:00:00.090) 0:00:35.431 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 23 October 2024 14:16:03 -0400 (0:00:00.109) 0:00:35.540 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 23 October 2024 14:16:03 -0400 (0:00:00.146) 0:00:35.687 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 23 October 2024 14:16:03 -0400 (0:00:00.051) 0:00:35.739 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 23 October 2024 14:16:04 -0400 (0:00:00.040) 0:00:35.779 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 23 October 2024 14:16:04 -0400 (0:00:00.081) 0:00:35.861 ***** 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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 23 October 2024 14:16:04 -0400 (0:00:00.596) 0:00:36.458 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 23 October 2024 14:16:04 -0400 (0:00:00.069) 0:00:36.528 ***** 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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 23 October 2024 14:16:04 -0400 (0:00:00.036) 0:00:36.564 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 23 October 2024 14:16:04 -0400 (0:00:00.037) 0:00:36.602 ***** 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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 23 October 2024 14:16:05 -0400 (0:00:00.651) 0:00:37.253 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 23 October 2024 14:16:05 -0400 (0:00:00.049) 0:00:37.303 ***** 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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 23 October 2024 14:16:05 -0400 (0:00:00.172) 0:00:37.476 ***** 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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 23 October 2024 14:16:05 -0400 (0:00:00.052) 0:00:37.529 ***** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 23 October 2024 14:16:05 -0400 (0:00:00.063) 0:00:37.593 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:57 Wednesday 23 October 2024 14:16:06 -0400 (0:00:00.402) 0:00:37.995 ***** included: /tmp/collections-ddL/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-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 23 October 2024 14:16:06 -0400 (0:00:00.077) 0:00:38.073 ***** included: /tmp/collections-ddL/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-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 23 October 2024 14:16:06 -0400 (0:00:00.061) 0:00:38.134 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1729707341.0478878, "block_size": 4096, "blocks": 0, "ctime": 1729707341.0478878, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 37250, "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": 1729707341.0478878, "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-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Wednesday 23 October 2024 14:16:06 -0400 (0:00:00.383) 0:00:38.518 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'delete_interface.yml'] ********************************* task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:59 Wednesday 23 October 2024 14:16:06 -0400 (0:00:00.040) 0:00:38.558 ***** included: /tmp/collections-ddL/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-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Wednesday 23 October 2024 14:16:06 -0400 (0:00:00.076) 0:00:38.635 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ip", "link", "del", "LST-TST-br34" ], "delta": "0:00:00.016290", "end": "2024-10-23 14:16:07.196719", "rc": 0, "start": "2024-10-23 14:16:07.180429" } TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:61 Wednesday 23 October 2024 14:16:07 -0400 (0:00:00.468) 0:00:39.103 ***** included: /tmp/collections-ddL/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-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Wednesday 23 October 2024 14:16:07 -0400 (0:00:00.196) 0:00:39.299 ***** included: /tmp/collections-ddL/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-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 23 October 2024 14:16:07 -0400 (0:00:00.228) 0:00:39.528 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'LST-TST-br34'] ******************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Wednesday 23 October 2024 14:16:08 -0400 (0:00:00.702) 0:00:40.230 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify network state restored to default] ******************************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:63 Wednesday 23 October 2024 14:16:08 -0400 (0:00:00.090) 0:00:40.321 ***** included: /tmp/collections-ddL/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-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Wednesday 23 October 2024 14:16:08 -0400 (0:00:00.158) 0:00:40.480 ***** 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.008328", "end": "2024-10-23 14:16:09.096220", "rc": 0, "start": "2024-10-23 14:16:09.087892" } 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:d0:0d:58:af brd ff:ff:ff:ff:ff:ff inet 10.31.12.255/22 brd 10.31.15.255 scope global dynamic noprefixroute eth0 valid_lft 2708sec preferred_lft 2708sec inet6 fe80::8ff:d0ff:fe0d:58af/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.255 metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.12.255 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-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Wednesday 23 October 2024 14:16:09 -0400 (0:00:00.457) 0:00:40.938 ***** 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.302294", "end": "2024-10-23 14:16:09.811583", "rc": 0, "start": "2024-10-23 14:16:09.509289" } STDOUT: CHECK DNS AND CONNECTIVITY 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 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 2600:2701:4000:5211:dead:beef:fe:fed3 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 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 5980 0 --:--:-- --:--:-- --:--:-- 5980 % 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 1293 0 --:--:-- --:--:-- --:--:-- 1293 PLAY RECAP ********************************************************************* managed-node2 : ok=76 changed=4 unreachable=0 failed=0 skipped=74 rescued=0 ignored=0 Wednesday 23 October 2024 14:16:09 -0400 (0:00:00.769) 0:00:41.707 ***** =============================================================================== fedora.linux_system_roles.network : Check which packages are installed --- 2.15s /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.90s /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.82s /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.76s /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.72s /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.62s /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.59s /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.56s /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gathering Facts --------------------------------------------------------- 1.26s /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/tests_switch_provider.yml:3 fedora.linux_system_roles.network : Configure networking connection profiles --- 1.10s /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 fedora.linux_system_roles.network : Enable network service -------------- 1.04s /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Gathering Facts --------------------------------------------------------- 0.79s /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:5 Verify DNS and network connectivity ------------------------------------- 0.77s /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 fedora.linux_system_roles.network : Re-test connectivity ---------------- 0.72s /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Get stat for interface LST-TST-br34 ------------------------------------- 0.70s /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.69s /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.68s /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Enable EPEL 8 ----------------------------------------------------------- 0.68s /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Create EPEL 8 ----------------------------------------------------------- 0.67s /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.65s /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159