[DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ansible-playbook [core 2.16.9] 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-RJ0 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-RJ0/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-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/tests_switch_provider.yml:3 Saturday 10 August 2024 09:18:21 -0400 (0:00:00.006) 0:00:00.006 ******* ok: [managed_node1] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/tests_switch_provider.yml:6 Saturday 10 August 2024 09:18:22 -0400 (0:00:01.122) 0:00:01.129 ******* included: /tmp/collections-RJ0/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-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Saturday 10 August 2024 09:18:22 -0400 (0:00:00.017) 0:00:01.146 ******* ok: [managed_node1] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Saturday 10 August 2024 09:18:23 -0400 (0:00:00.538) 0:00:01.685 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Saturday 10 August 2024 09:18:23 -0400 (0:00:00.449) 0:00:02.135 ******* ok: [managed_node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Saturday 10 August 2024 09:18:23 -0400 (0:00:00.021) 0:00:02.156 ******* skipping: [managed_node1] => { "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-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Saturday 10 August 2024 09:18:23 -0400 (0:00:00.013) 0:00:02.169 ******* included: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node1 TASK [Create EPEL 8] *********************************************************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Saturday 10 August 2024 09:18:23 -0400 (0:00:00.040) 0:00:02.210 ******* ok: [managed_node1] => { "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-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:24 Saturday 10 August 2024 09:18:24 -0400 (0:00:00.449) 0:00:02.659 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:30 Saturday 10 August 2024 09:18:24 -0400 (0:00:00.013) 0:00:02.672 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:35 Saturday 10 August 2024 09:18:24 -0400 (0:00:00.013) 0:00:02.685 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.258903", "end": "2024-08-10 09:18:24.937350", "rc": 0, "start": "2024-08-10 09:18:24.678447" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:40 Saturday 10 August 2024 09:18:24 -0400 (0:00:00.616) 0:00:03.302 ******* skipping: [managed_node1] => { "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-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:5 Saturday 10 August 2024 09:18:25 -0400 (0:00:00.026) 0:00:03.328 ******* ok: [managed_node1] TASK [Set fact to use initscripts network_provider] **************************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:8 Saturday 10 August 2024 09:18:25 -0400 (0:00:00.807) 0:00:04.136 ******* 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-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:14 Saturday 10 August 2024 09:18:25 -0400 (0:00:00.016) 0:00:04.153 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 10 August 2024 09:18:25 -0400 (0:00:00.037) 0:00:04.190 ******* included: /tmp/collections-RJ0/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-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 10 August 2024 09:18:25 -0400 (0:00:00.024) 0:00:04.215 ******* 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-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 10 August 2024 09:18:25 -0400 (0:00:00.035) 0:00:04.251 ******* skipping: [managed_node1] => { "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-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 10 August 2024 09:18:25 -0400 (0:00:00.017) 0:00:04.268 ******* skipping: [managed_node1] => { "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-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 10 August 2024 09:18:25 -0400 (0:00:00.017) 0:00:04.285 ******* 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-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 10 August 2024 09:18:27 -0400 (0:00:01.842) 0:00:06.128 ******* 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-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 10 August 2024 09:18:29 -0400 (0:00:01.770) 0:00:07.898 ******* 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-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 10 August 2024 09:18:29 -0400 (0:00:00.033) 0:00:07.932 ******* skipping: [managed_node1] => { "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-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 10 August 2024 09:18:29 -0400 (0:00:00.029) 0:00:07.961 ******* skipping: [managed_node1] => { "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-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 10 August 2024 09:18:29 -0400 (0:00:00.028) 0:00:07.990 ******* skipping: [managed_node1] => { "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-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 10 August 2024 09:18:29 -0400 (0:00:00.048) 0:00:08.039 ******* skipping: [managed_node1] => { "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-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 10 August 2024 09:18:29 -0400 (0:00:00.059) 0:00:08.098 ******* skipping: [managed_node1] => { "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-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 10 August 2024 09:18:29 -0400 (0:00:00.048) 0:00:08.147 ******* skipping: [managed_node1] => { "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-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 10 August 2024 09:18:29 -0400 (0:00:00.060) 0:00:08.207 ******* skipping: [managed_node1] => { "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-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 10 August 2024 09:18:29 -0400 (0:00:00.084) 0:00:08.292 ******* skipping: [managed_node1] => { "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-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 10 August 2024 09:18:30 -0400 (0:00:00.029) 0:00:08.321 ******* skipping: [managed_node1] => { "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-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 10 August 2024 09:18:30 -0400 (0:00:00.061) 0:00:08.383 ******* skipping: [managed_node1] => { "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-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 10 August 2024 09:18:30 -0400 (0:00:00.057) 0:00:08.440 ******* 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-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 10 August 2024 09:18:30 -0400 (0:00:00.030) 0:00:08.471 ******* skipping: [managed_node1] => { "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-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 10 August 2024 09:18:30 -0400 (0:00:00.030) 0:00:08.501 ******* 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-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 10 August 2024 09:18:30 -0400 (0:00:00.791) 0:00:09.293 ******* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-36523gkdzlxzl/tmp5n571t1e" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 10 August 2024 09:18:31 -0400 (0:00:00.385) 0:00:09.678 ******* 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-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 10 August 2024 09:18:32 -0400 (0:00:00.900) 0:00:10.579 ******* skipping: [managed_node1] => { "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-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 10 August 2024 09:18:32 -0400 (0:00:00.030) 0:00:10.609 ******* 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-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 10 August 2024 09:18:32 -0400 (0:00:00.032) 0:00:10.642 ******* 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-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 10 August 2024 09:18:32 -0400 (0:00:00.034) 0:00:10.677 ******* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 10 August 2024 09:18:32 -0400 (0:00:00.030) 0:00:10.707 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:25 Saturday 10 August 2024 09:18:32 -0400 (0:00:00.478) 0:00:11.185 ******* included: /tmp/collections-RJ0/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-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 10 August 2024 09:18:32 -0400 (0:00:00.054) 0:00:11.239 ******* included: /tmp/collections-RJ0/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-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 10 August 2024 09:18:33 -0400 (0:00:00.080) 0:00:11.320 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723295912.1107223, "block_size": 4096, "blocks": 0, "ctime": 1723295912.1107223, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 63607, "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": 1723295912.1107223, "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-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 10 August 2024 09:18:33 -0400 (0:00:00.377) 0:00:11.697 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'remove+down_profile.yml'] ****************************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:27 Saturday 10 August 2024 09:18:33 -0400 (0:00:00.034) 0:00:11.732 ******* included: /tmp/collections-RJ0/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-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 10 August 2024 09:18:33 -0400 (0:00:00.052) 0:00:11.784 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 10 August 2024 09:18:33 -0400 (0:00:00.063) 0:00:11.847 ******* included: /tmp/collections-RJ0/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-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 10 August 2024 09:18:33 -0400 (0:00:00.056) 0:00:11.903 ******* 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-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 10 August 2024 09:18:33 -0400 (0:00:00.055) 0:00:11.959 ******* skipping: [managed_node1] => { "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-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 10 August 2024 09:18:33 -0400 (0:00:00.035) 0:00:11.994 ******* skipping: [managed_node1] => { "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-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 10 August 2024 09:18:33 -0400 (0:00:00.034) 0:00:12.028 ******* 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-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 10 August 2024 09:18:35 -0400 (0:00:01.765) 0:00:13.793 ******* 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-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 10 August 2024 09:18:37 -0400 (0:00:01.593) 0:00:15.387 ******* 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-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 10 August 2024 09:18:37 -0400 (0:00:00.065) 0:00:15.453 ******* skipping: [managed_node1] => { "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-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 10 August 2024 09:18:37 -0400 (0:00:00.030) 0:00:15.483 ******* skipping: [managed_node1] => { "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-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 10 August 2024 09:18:37 -0400 (0:00:00.029) 0:00:15.513 ******* skipping: [managed_node1] => { "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-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 10 August 2024 09:18:37 -0400 (0:00:00.052) 0:00:15.566 ******* skipping: [managed_node1] => { "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-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 10 August 2024 09:18:37 -0400 (0:00:00.060) 0:00:15.626 ******* skipping: [managed_node1] => { "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-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 10 August 2024 09:18:37 -0400 (0:00:00.049) 0:00:15.675 ******* skipping: [managed_node1] => { "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-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 10 August 2024 09:18:37 -0400 (0:00:00.060) 0:00:15.735 ******* skipping: [managed_node1] => { "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-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 10 August 2024 09:18:37 -0400 (0:00:00.084) 0:00:15.820 ******* skipping: [managed_node1] => { "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-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 10 August 2024 09:18:37 -0400 (0:00:00.029) 0:00:15.850 ******* skipping: [managed_node1] => { "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-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 10 August 2024 09:18:37 -0400 (0:00:00.030) 0:00:15.881 ******* skipping: [managed_node1] => { "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-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 10 August 2024 09:18:37 -0400 (0:00:00.057) 0:00:15.939 ******* 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-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 10 August 2024 09:18:37 -0400 (0:00:00.029) 0:00:15.968 ******* skipping: [managed_node1] => { "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-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 10 August 2024 09:18:37 -0400 (0:00:00.030) 0:00:15.999 ******* 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-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 10 August 2024 09:18:38 -0400 (0:00:00.590) 0:00:16.590 ******* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-36523gkdzlxzl/tmp0dniuqf8" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 10 August 2024 09:18:38 -0400 (0:00:00.387) 0:00:16.977 ******* 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-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 10 August 2024 09:18:39 -0400 (0:00:00.552) 0:00:17.530 ******* skipping: [managed_node1] => { "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-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 10 August 2024 09:18:39 -0400 (0:00:00.062) 0:00:17.592 ******* 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-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 10 August 2024 09:18:39 -0400 (0:00:00.033) 0:00:17.626 ******* 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-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 10 August 2024 09:18:39 -0400 (0:00:00.034) 0:00:17.660 ******* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 10 August 2024 09:18:39 -0400 (0:00:00.029) 0:00:17.689 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:32 Saturday 10 August 2024 09:18:39 -0400 (0:00:00.385) 0:00:18.075 ******* included: /tmp/collections-RJ0/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-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 10 August 2024 09:18:39 -0400 (0:00:00.053) 0:00:18.129 ******* included: /tmp/collections-RJ0/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-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 10 August 2024 09:18:39 -0400 (0:00:00.047) 0:00:18.176 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723295912.1107223, "block_size": 4096, "blocks": 0, "ctime": 1723295912.1107223, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 63607, "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": 1723295912.1107223, "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-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 10 August 2024 09:18:40 -0400 (0:00:00.373) 0:00:18.550 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Set fact to use nm network_provider] ************************************* task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:34 Saturday 10 August 2024 09:18:40 -0400 (0:00:00.034) 0:00:18.584 ******* 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-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:39 Saturday 10 August 2024 09:18:40 -0400 (0:00:00.033) 0:00:18.618 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 10 August 2024 09:18:40 -0400 (0:00:00.077) 0:00:18.696 ******* included: /tmp/collections-RJ0/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-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 10 August 2024 09:18:40 -0400 (0:00:00.089) 0:00:18.785 ******* 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-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 10 August 2024 09:18:40 -0400 (0:00:00.055) 0:00:18.841 ******* skipping: [managed_node1] => { "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-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 10 August 2024 09:18:40 -0400 (0:00:00.036) 0:00:18.877 ******* skipping: [managed_node1] => { "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-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 10 August 2024 09:18:40 -0400 (0:00:00.036) 0:00:18.913 ******* 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-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 10 August 2024 09:18:42 -0400 (0:00:01.759) 0:00:20.673 ******* 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-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 10 August 2024 09:18:43 -0400 (0:00:01.558) 0:00:22.232 ******* 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-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 10 August 2024 09:18:43 -0400 (0:00:00.034) 0:00:22.266 ******* skipping: [managed_node1] => { "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-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 10 August 2024 09:18:43 -0400 (0:00:00.029) 0:00:22.296 ******* skipping: [managed_node1] => { "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-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 10 August 2024 09:18:44 -0400 (0:00:00.031) 0:00:22.327 ******* skipping: [managed_node1] => { "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-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 10 August 2024 09:18:44 -0400 (0:00:00.050) 0:00:22.378 ******* skipping: [managed_node1] => { "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-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 10 August 2024 09:18:44 -0400 (0:00:00.060) 0:00:22.439 ******* skipping: [managed_node1] => { "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-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 10 August 2024 09:18:44 -0400 (0:00:00.052) 0:00:22.492 ******* skipping: [managed_node1] => { "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-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 10 August 2024 09:18:44 -0400 (0:00:00.058) 0:00:22.550 ******* skipping: [managed_node1] => { "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-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 10 August 2024 09:18:44 -0400 (0:00:00.083) 0:00:22.633 ******* skipping: [managed_node1] => { "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-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 10 August 2024 09:18:44 -0400 (0:00:00.066) 0:00:22.700 ******* skipping: [managed_node1] => { "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-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 10 August 2024 09:18:44 -0400 (0:00:00.031) 0:00:22.731 ******* skipping: [managed_node1] => { "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-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 10 August 2024 09:18:44 -0400 (0:00:00.058) 0:00:22.789 ******* 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-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 10 August 2024 09:18:45 -0400 (0:00:00.589) 0:00:23.378 ******* skipping: [managed_node1] => { "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-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 10 August 2024 09:18:45 -0400 (0:00:00.059) 0:00:23.438 ******* 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-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 10 August 2024 09:18:45 -0400 (0:00:00.029) 0:00:23.468 ******* skipping: [managed_node1] => { "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-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 10 August 2024 09:18:45 -0400 (0:00:00.030) 0:00:23.499 ******* 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, 6c29a7da-43a5-404c-af0d-c0a2a2166232 [004] #0, state:up persistent_state:present, 'LST-TST-br34': up connection LST-TST-br34, 6c29a7da-43a5-404c-af0d-c0a2a2166232 (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 10 August 2024 09:18:45 -0400 (0:00:00.586) 0:00:24.085 ******* skipping: [managed_node1] => { "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-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 10 August 2024 09:18:45 -0400 (0:00:00.029) 0:00:24.115 ******* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'LST-TST-br34': add connection LST-TST-br34, 6c29a7da-43a5-404c-af0d-c0a2a2166232", "[004] #0, state:up persistent_state:present, 'LST-TST-br34': up connection LST-TST-br34, 6c29a7da-43a5-404c-af0d-c0a2a2166232 (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 10 August 2024 09:18:45 -0400 (0:00:00.035) 0:00:24.150 ******* 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, 6c29a7da-43a5-404c-af0d-c0a2a2166232\n[004] #0, state:up persistent_state:present, 'LST-TST-br34': up connection LST-TST-br34, 6c29a7da-43a5-404c-af0d-c0a2a2166232 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'LST-TST-br34': add connection LST-TST-br34, 6c29a7da-43a5-404c-af0d-c0a2a2166232", "[004] #0, state:up persistent_state:present, 'LST-TST-br34': up connection LST-TST-br34, 6c29a7da-43a5-404c-af0d-c0a2a2166232 (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 10 August 2024 09:18:45 -0400 (0:00:00.035) 0:00:24.185 ******* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 10 August 2024 09:18:45 -0400 (0:00:00.029) 0:00:24.215 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:50 Saturday 10 August 2024 09:18:46 -0400 (0:00:00.395) 0:00:24.610 ******* included: /tmp/collections-RJ0/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-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 10 August 2024 09:18:46 -0400 (0:00:00.059) 0:00:24.670 ******* included: /tmp/collections-RJ0/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-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 10 August 2024 09:18:46 -0400 (0:00:00.086) 0:00:24.757 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723295912.1107223, "block_size": 4096, "blocks": 0, "ctime": 1723295912.1107223, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 63607, "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": 1723295912.1107223, "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-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 10 August 2024 09:18:46 -0400 (0:00:00.379) 0:00:25.136 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'remove+down_profile.yml'] ****************************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:52 Saturday 10 August 2024 09:18:46 -0400 (0:00:00.035) 0:00:25.172 ******* included: /tmp/collections-RJ0/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-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 10 August 2024 09:18:46 -0400 (0:00:00.060) 0:00:25.233 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 10 August 2024 09:18:46 -0400 (0:00:00.066) 0:00:25.299 ******* included: /tmp/collections-RJ0/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-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 10 August 2024 09:18:47 -0400 (0:00:00.058) 0:00:25.357 ******* 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-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 10 August 2024 09:18:47 -0400 (0:00:00.056) 0:00:25.414 ******* skipping: [managed_node1] => { "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-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 10 August 2024 09:18:47 -0400 (0:00:00.034) 0:00:25.449 ******* skipping: [managed_node1] => { "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-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 10 August 2024 09:18:47 -0400 (0:00:00.035) 0:00:25.485 ******* 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-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 10 August 2024 09:18:48 -0400 (0:00:01.779) 0:00:27.265 ******* 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-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 10 August 2024 09:18:50 -0400 (0:00:01.641) 0:00:28.906 ******* 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-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 10 August 2024 09:18:50 -0400 (0:00:00.034) 0:00:28.941 ******* skipping: [managed_node1] => { "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-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 10 August 2024 09:18:50 -0400 (0:00:00.029) 0:00:28.971 ******* skipping: [managed_node1] => { "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-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 10 August 2024 09:18:50 -0400 (0:00:00.031) 0:00:29.002 ******* skipping: [managed_node1] => { "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-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 10 August 2024 09:18:50 -0400 (0:00:00.050) 0:00:29.053 ******* skipping: [managed_node1] => { "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-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 10 August 2024 09:18:50 -0400 (0:00:00.059) 0:00:29.113 ******* skipping: [managed_node1] => { "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-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 10 August 2024 09:18:50 -0400 (0:00:00.051) 0:00:29.165 ******* skipping: [managed_node1] => { "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-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 10 August 2024 09:18:50 -0400 (0:00:00.058) 0:00:29.223 ******* skipping: [managed_node1] => { "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-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 10 August 2024 09:18:50 -0400 (0:00:00.081) 0:00:29.305 ******* skipping: [managed_node1] => { "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-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 10 August 2024 09:18:51 -0400 (0:00:00.029) 0:00:29.335 ******* skipping: [managed_node1] => { "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-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 10 August 2024 09:18:51 -0400 (0:00:00.029) 0:00:29.364 ******* skipping: [managed_node1] => { "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-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 10 August 2024 09:18:51 -0400 (0:00:00.057) 0:00:29.422 ******* 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-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 10 August 2024 09:18:51 -0400 (0:00:00.587) 0:00:30.010 ******* skipping: [managed_node1] => { "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-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 10 August 2024 09:18:51 -0400 (0:00:00.058) 0:00:30.069 ******* 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-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 10 August 2024 09:18:51 -0400 (0:00:00.029) 0:00:30.098 ******* skipping: [managed_node1] => { "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-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 10 August 2024 09:18:51 -0400 (0:00:00.028) 0:00:30.127 ******* 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-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 10 August 2024 09:18:52 -0400 (0:00:00.689) 0:00:30.816 ******* skipping: [managed_node1] => { "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-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 10 August 2024 09:18:52 -0400 (0:00:00.029) 0:00:30.846 ******* 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-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 10 August 2024 09:18:52 -0400 (0:00:00.034) 0:00:30.880 ******* 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-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 10 August 2024 09:18:52 -0400 (0:00:00.035) 0:00:30.915 ******* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 10 August 2024 09:18:52 -0400 (0:00:00.030) 0:00:30.946 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:57 Saturday 10 August 2024 09:18:53 -0400 (0:00:00.390) 0:00:31.336 ******* included: /tmp/collections-RJ0/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-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 10 August 2024 09:18:53 -0400 (0:00:00.061) 0:00:31.398 ******* included: /tmp/collections-RJ0/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-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 10 August 2024 09:18:53 -0400 (0:00:00.049) 0:00:31.448 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723295912.1107223, "block_size": 4096, "blocks": 0, "ctime": 1723295912.1107223, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 63607, "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": 1723295912.1107223, "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-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 10 August 2024 09:18:53 -0400 (0:00:00.382) 0:00:31.830 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'delete_interface.yml'] ********************************* task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:59 Saturday 10 August 2024 09:18:53 -0400 (0:00:00.034) 0:00:31.865 ******* included: /tmp/collections-RJ0/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-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 10 August 2024 09:18:53 -0400 (0:00:00.060) 0:00:31.925 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "link", "del", "LST-TST-br34" ], "delta": "0:00:00.019622", "end": "2024-08-10 09:18:53.939278", "rc": 0, "start": "2024-08-10 09:18:53.919656" } TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:61 Saturday 10 August 2024 09:18:54 -0400 (0:00:00.395) 0:00:32.320 ******* included: /tmp/collections-RJ0/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-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 10 August 2024 09:18:54 -0400 (0:00:00.100) 0:00:32.421 ******* included: /tmp/collections-RJ0/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-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 10 August 2024 09:18:54 -0400 (0:00:00.048) 0:00:32.470 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'LST-TST-br34'] ******************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 10 August 2024 09:18:54 -0400 (0:00:00.373) 0:00:32.843 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify network state restored to default] ******************************** task path: /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:63 Saturday 10 August 2024 09:18:54 -0400 (0:00:00.034) 0:00:32.878 ******* included: /tmp/collections-RJ0/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-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Saturday 10 August 2024 09:18:54 -0400 (0:00:00.062) 0:00:32.940 ******* 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.008995", "end": "2024-08-10 09:18:54.944174", "rc": 0, "start": "2024-08-10 09:18:54.935179" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 02:08:c5:e0:bf:8d brd ff:ff:ff:ff:ff:ff inet 10.31.47.122/22 brd 10.31.47.255 scope global dynamic noprefixroute eth0 valid_lft 2927sec preferred_lft 2927sec inet6 fe80::8:c5ff:fee0:bf8d/64 scope link valid_lft forever preferred_lft forever 139: rpltstbr: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether f2:a3:81:12:54:4c brd ff:ff:ff:ff:ff:ff inet 192.0.2.72/31 scope global noprefixroute rpltstbr valid_lft forever preferred_lft forever IP ROUTE default via 10.31.44.1 dev eth0 proto dhcp src 10.31.47.122 metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.47.122 metric 100 192.0.2.72/31 dev rpltstbr proto kernel scope link src 192.0.2.72 metric 425 linkdown 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-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Saturday 10 August 2024 09:18:55 -0400 (0:00:00.384) 0:00:33.325 ******* 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.128222", "end": "2024-08-10 09:18:55.453219", "rc": 0, "start": "2024-08-10 09:18:55.324997" } STDOUT: CHECK DNS AND CONNECTIVITY 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.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 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 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 12708 0 --:--:-- --:--:-- --:--:-- 12708 % 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 3637 0 --:--:-- --:--:-- --:--:-- 3637 PLAY RECAP ********************************************************************* managed_node1 : ok=76 changed=4 unreachable=0 failed=0 skipped=74 rescued=0 ignored=0 Saturday 10 August 2024 09:18:55 -0400 (0:00:00.557) 0:00:33.883 ******* =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 1.84s /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.78s /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.77s /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.77s /tmp/collections-RJ0/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-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.64s /tmp/collections-RJ0/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-RJ0/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-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gathering Facts --------------------------------------------------------- 1.12s /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/tests_switch_provider.yml:3 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.90s /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Gathering Facts --------------------------------------------------------- 0.81s /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:5 fedora.linux_system_roles.network : Enable network service -------------- 0.79s /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.69s /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Enable EPEL 8 ----------------------------------------------------------- 0.62s /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:35 fedora.linux_system_roles.network : Enable network service -------------- 0.59s /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.59s /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.59s /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.59s /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Verify DNS and network connectivity ------------------------------------- 0.56s /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.55s /tmp/collections-RJ0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159