[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.17.2] 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/tmp.WJ1Ao4X9Ry executable location = /usr/local/bin/ansible-playbook python version = 3.12.4 (main, Jun 7 2024, 00:00:00) [GCC 14.1.1 20240607 (Red Hat 14.1.1-5)] (/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: action) ansible.builtin.yum to ansible.builtin.dnf redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf 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_bridge_nm.yml ************************************************** 11 plays in /tmp/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/tests/network/tests_bridge_nm.yml PLAY [Run playbook 'playbooks/tests_bridge.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/tests/network/tests_bridge_nm.yml:6 Sunday 04 August 2024 13:09:02 -0400 (0:00:00.007) 0:00:00.007 ********* [WARNING]: Platform linux on host managed_node1 is using the discovered Python interpreter at /usr/bin/python3.12, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed_node1] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/tests/network/tests_bridge_nm.yml:9 Sunday 04 August 2024 13:09:04 -0400 (0:00:02.485) 0:00:02.493 ********* included: /tmp/tmp.WJ1Ao4X9Ry/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/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Sunday 04 August 2024 13:09:04 -0400 (0:00:00.018) 0:00:02.511 ********* ok: [managed_node1] TASK [Check if system is ostree] *********************************************** task path: /tmp/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Sunday 04 August 2024 13:09:06 -0400 (0:00:01.860) 0:00:04.372 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Sunday 04 August 2024 13:09:07 -0400 (0:00:00.432) 0:00:04.804 ********* ok: [managed_node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Sunday 04 August 2024 13:09:07 -0400 (0:00:00.023) 0:00:04.828 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution == 'CentOS'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Sunday 04 August 2024 13:09:07 -0400 (0:00:00.013) 0:00:04.842 ********* included: /tmp/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node1 TASK [Create EPEL 40] ********************************************************** task path: /tmp/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Sunday 04 August 2024 13:09:07 -0400 (0:00:00.041) 0:00:04.884 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /tmp/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:24 Sunday 04 August 2024 13:09:07 -0400 (0:00:00.013) 0:00:04.897 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:30 Sunday 04 August 2024 13:09:07 -0400 (0:00:00.012) 0:00:04.909 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:35 Sunday 04 August 2024 13:09:07 -0400 (0:00:00.012) 0:00:04.922 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:40 Sunday 04 August 2024 13:09:07 -0400 (0:00:00.011) 0:00:04.933 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/tests/network/tests_bridge_nm.yml:11 Sunday 04 August 2024 13:09:07 -0400 (0:00:00.012) 0:00:04.945 ********* ok: [managed_node1] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Test configuring bridges] ************************************************ TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_bridge.yml:3 Sunday 04 August 2024 13:09:07 -0400 (0:00:00.025) 0:00:04.971 ********* ok: [managed_node1] TASK [Set interface=LSR-TST-br31] ********************************************** task path: /tmp/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_bridge.yml:9 Sunday 04 August 2024 13:09:09 -0400 (0:00:02.256) 0:00:07.227 ********* ok: [managed_node1] => { "ansible_facts": { "interface": "LSR-TST-br31" }, "changed": false } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_bridge.yml:12 Sunday 04 August 2024 13:09:09 -0400 (0:00:00.017) 0:00:07.244 ********* included: /tmp/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Sunday 04 August 2024 13:09:09 -0400 (0:00:00.017) 0:00:07.261 ********* included: /tmp/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Sunday 04 August 2024 13:09:09 -0400 (0:00:00.018) 0:00:07.279 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003483", "end": "2024-08-04 13:09:09.912187", "rc": 0, "start": "2024-08-04 13:09:09.908704" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Sunday 04 August 2024 13:09:09 -0400 (0:00:00.438) 0:00:07.718 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Sunday 04 August 2024 13:09:09 -0400 (0:00:00.018) 0:00:07.737 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_bridge.yml:14 Sunday 04 August 2024 13:09:10 -0400 (0:00:00.016) 0:00:07.753 ********* included: /tmp/tmp.WJ1Ao4X9Ry/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/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Sunday 04 August 2024 13:09:10 -0400 (0:00:00.018) 0:00:07.772 ********* included: /tmp/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface LSR-TST-br31] ************************************* task path: /tmp/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Sunday 04 August 2024 13:09:10 -0400 (0:00:00.017) 0:00:07.789 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'LSR-TST-br31'] ******************** task path: /tmp/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Sunday 04 August 2024 13:09:10 -0400 (0:00:00.351) 0:00:08.141 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed PLAY [Add test bridge] ********************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_bridge.yml:17 Sunday 04 August 2024 13:09:10 -0400 (0:00:00.033) 0:00:08.174 ********* ok: [managed_node1] TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Sunday 04 August 2024 13:09:12 -0400 (0:00:02.310) 0:00:10.485 ********* included: /tmp/tmp.WJ1Ao4X9Ry/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/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Sunday 04 August 2024 13:09:12 -0400 (0:00:00.023) 0:00:10.509 ********* 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/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Sunday 04 August 2024 13:09:12 -0400 (0:00:00.033) 0:00:10.542 ********* 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/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Sunday 04 August 2024 13:09:12 -0400 (0:00:00.017) 0:00:10.560 ********* 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/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Sunday 04 August 2024 13:09:12 -0400 (0:00:00.018) 0:00:10.578 ********* 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/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Sunday 04 August 2024 13:09:15 -0400 (0:00:02.572) 0:00:13.150 ********* 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/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Sunday 04 August 2024 13:09:16 -0400 (0:00:01.131) 0:00:14.282 ********* 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/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Sunday 04 August 2024 13:09:16 -0400 (0:00:00.037) 0:00:14.319 ********* 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/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Sunday 04 August 2024 13:09:16 -0400 (0:00:00.031) 0:00:14.351 ********* 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/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Sunday 04 August 2024 13:09:16 -0400 (0:00:00.032) 0:00:14.383 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution in __network_rh_distros", "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/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Sunday 04 August 2024 13:09:16 -0400 (0:00:00.052) 0:00:14.436 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf 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/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Sunday 04 August 2024 13:09:16 -0400 (0:00:00.063) 0:00:14.499 ********* 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/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Sunday 04 August 2024 13:09:16 -0400 (0:00:00.054) 0:00:14.554 ********* 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/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Sunday 04 August 2024 13:09:16 -0400 (0:00:00.085) 0:00:14.639 ********* 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/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Sunday 04 August 2024 13:09:16 -0400 (0:00:00.092) 0:00:14.732 ********* 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/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Sunday 04 August 2024 13:09:17 -0400 (0:00:00.033) 0:00:14.766 ********* 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/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Sunday 04 August 2024 13:09:17 -0400 (0:00:00.032) 0:00:14.799 ********* 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/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Sunday 04 August 2024 13:09:17 -0400 (0:00:00.061) 0:00:14.860 ********* 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/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Sunday 04 August 2024 13:09:17 -0400 (0:00:00.794) 0:00:15.654 ********* 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/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Sunday 04 August 2024 13:09:17 -0400 (0:00:00.063) 0:00:15.718 ********* 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/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Sunday 04 August 2024 13:09:17 -0400 (0:00:00.031) 0:00:15.750 ********* 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/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Sunday 04 August 2024 13:09:18 -0400 (0:00:00.031) 0:00:15.781 ********* changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "interface_name": "LSR-TST-br31", "ip": { "auto6": true, "dhcp4": false }, "name": "LSR-TST-br31", "state": "up", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'LSR-TST-br31': add connection LSR-TST-br31, 39befd7a-8f9e-4aef-b5d9-e194f7e05f31 [004] #0, state:up persistent_state:present, 'LSR-TST-br31': up connection LSR-TST-br31, 39befd7a-8f9e-4aef-b5d9-e194f7e05f31 (is-modified) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Sunday 04 August 2024 13:09:18 -0400 (0:00:00.767) 0:00:16.549 ********* 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/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Sunday 04 August 2024 13:09:18 -0400 (0:00:00.033) 0:00:16.582 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'LSR-TST-br31': add connection LSR-TST-br31, 39befd7a-8f9e-4aef-b5d9-e194f7e05f31", "[004] #0, state:up persistent_state:present, 'LSR-TST-br31': up connection LSR-TST-br31, 39befd7a-8f9e-4aef-b5d9-e194f7e05f31 (is-modified)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Sunday 04 August 2024 13:09:18 -0400 (0:00:00.036) 0:00:16.618 ********* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "interface_name": "LSR-TST-br31", "ip": { "auto6": true, "dhcp4": false }, "name": "LSR-TST-br31", "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, 'LSR-TST-br31': add connection LSR-TST-br31, 39befd7a-8f9e-4aef-b5d9-e194f7e05f31\n[004] #0, state:up persistent_state:present, 'LSR-TST-br31': up connection LSR-TST-br31, 39befd7a-8f9e-4aef-b5d9-e194f7e05f31 (is-modified)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'LSR-TST-br31': add connection LSR-TST-br31, 39befd7a-8f9e-4aef-b5d9-e194f7e05f31", "[004] #0, state:up persistent_state:present, 'LSR-TST-br31': up connection LSR-TST-br31, 39befd7a-8f9e-4aef-b5d9-e194f7e05f31 (is-modified)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Sunday 04 August 2024 13:09:18 -0400 (0:00:00.037) 0:00:16.656 ********* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Sunday 04 August 2024 13:09:18 -0400 (0:00:00.032) 0:00:16.689 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } PLAY [Run the tasklist tasks/assert_device_present.yml] ************************ TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/run_tasks.yml:3 Sunday 04 August 2024 13:09:19 -0400 (0:00:00.588) 0:00:17.278 ********* ok: [managed_node1] TASK [Include the task 'tasks/assert_device_present.yml'] ********************** task path: /tmp/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/run_tasks.yml:6 Sunday 04 August 2024 13:09:22 -0400 (0:00:02.510) 0:00:19.789 ********* included: /tmp/tmp.WJ1Ao4X9Ry/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/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Sunday 04 August 2024 13:09:22 -0400 (0:00:00.056) 0:00:19.845 ********* included: /tmp/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface LSR-TST-br31] ************************************* task path: /tmp/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Sunday 04 August 2024 13:09:22 -0400 (0:00:00.056) 0:00:19.902 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722791358.649, "block_size": 4096, "blocks": 0, "ctime": 1722791358.649, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 36419, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/LSR-TST-br31", "lnk_target": "../../devices/virtual/net/LSR-TST-br31", "mode": "0777", "mtime": 1722791358.649, "nlink": 1, "path": "/sys/class/net/LSR-TST-br31", "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 - 'LSR-TST-br31'] ******************* task path: /tmp/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Sunday 04 August 2024 13:09:22 -0400 (0:00:00.402) 0:00:20.304 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed PLAY [Run the tasklist tasks/assert_profile_present.yml] *********************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/run_tasks.yml:3 Sunday 04 August 2024 13:09:22 -0400 (0:00:00.146) 0:00:20.451 ********* ok: [managed_node1] TASK [Include the task 'tasks/assert_profile_present.yml'] ********************* task path: /tmp/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/run_tasks.yml:6 Sunday 04 August 2024 13:09:25 -0400 (0:00:02.347) 0:00:22.798 ********* included: /tmp/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed_node1 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Sunday 04 August 2024 13:09:25 -0400 (0:00:00.057) 0:00:22.855 ********* included: /tmp/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Sunday 04 August 2024 13:09:25 -0400 (0:00:00.063) 0:00:22.918 ********* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Sunday 04 August 2024 13:09:25 -0400 (0:00:00.036) 0:00:22.955 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Sunday 04 August 2024 13:09:25 -0400 (0:00:00.374) 0:00:23.330 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Sunday 04 August 2024 13:09:25 -0400 (0:00:00.033) 0:00:23.364 ********* ok: [managed_node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep LSR-TST-br31 | grep /etc", "delta": "0:00:00.021920", "end": "2024-08-04 13:09:25.940727", "rc": 0, "start": "2024-08-04 13:09:25.918807" } STDOUT: LSR-TST-br31 /etc/NetworkManager/system-connections/LSR-TST-br31.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Sunday 04 August 2024 13:09:26 -0400 (0:00:00.399) 0:00:23.763 ********* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-LSR-TST-br31] ******************* task path: /tmp/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Sunday 04 August 2024 13:09:26 -0400 (0:00:00.039) 0:00:23.803 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-LSR-TST-br31] **************** task path: /tmp/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Sunday 04 August 2024 13:09:26 -0400 (0:00:00.034) 0:00:23.837 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-LSR-TST-br31] *********************** task path: /tmp/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Sunday 04 August 2024 13:09:26 -0400 (0:00:00.033) 0:00:23.870 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-LSR-TST-br31] ******************** task path: /tmp/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Sunday 04 August 2024 13:09:26 -0400 (0:00:00.034) 0:00:23.905 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'LSR-TST-br31'] ********************* task path: /tmp/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Sunday 04 August 2024 13:09:26 -0400 (0:00:00.034) 0:00:23.939 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'LSR-TST-br31'] **** task path: /tmp/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Sunday 04 August 2024 13:09:26 -0400 (0:00:00.065) 0:00:24.004 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in LSR-TST-br31] ********** task path: /tmp/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Sunday 04 August 2024 13:09:26 -0400 (0:00:00.040) 0:00:24.044 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed PLAY [Set down {{ profile }}] ************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/down_profile.yml:3 Sunday 04 August 2024 13:09:26 -0400 (0:00:00.123) 0:00:24.168 ********* ok: [managed_node1] TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Sunday 04 August 2024 13:09:28 -0400 (0:00:02.380) 0:00:26.548 ********* included: /tmp/tmp.WJ1Ao4X9Ry/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/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Sunday 04 August 2024 13:09:28 -0400 (0:00:00.059) 0:00:26.608 ********* 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/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Sunday 04 August 2024 13:09:28 -0400 (0:00:00.059) 0:00:26.667 ********* 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/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Sunday 04 August 2024 13:09:28 -0400 (0:00:00.037) 0:00:26.705 ********* 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/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Sunday 04 August 2024 13:09:28 -0400 (0:00:00.038) 0:00:26.743 ********* 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/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Sunday 04 August 2024 13:09:31 -0400 (0:00:02.626) 0:00:29.370 ********* 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/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Sunday 04 August 2024 13:09:32 -0400 (0:00:00.956) 0:00:30.326 ********* 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/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Sunday 04 August 2024 13:09:32 -0400 (0:00:00.037) 0:00:30.364 ********* 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/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Sunday 04 August 2024 13:09:32 -0400 (0:00:00.033) 0:00:30.397 ********* 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/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Sunday 04 August 2024 13:09:32 -0400 (0:00:00.032) 0:00:30.429 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution in __network_rh_distros", "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/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Sunday 04 August 2024 13:09:32 -0400 (0:00:00.056) 0:00:30.486 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf 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/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Sunday 04 August 2024 13:09:32 -0400 (0:00:00.065) 0:00:30.552 ********* 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/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Sunday 04 August 2024 13:09:32 -0400 (0:00:00.052) 0:00:30.604 ********* 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/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Sunday 04 August 2024 13:09:32 -0400 (0:00:00.065) 0:00:30.670 ********* 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/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Sunday 04 August 2024 13:09:33 -0400 (0:00:00.095) 0:00:30.765 ********* 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/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Sunday 04 August 2024 13:09:33 -0400 (0:00:00.033) 0:00:30.799 ********* 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/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Sunday 04 August 2024 13:09:33 -0400 (0:00:00.034) 0:00:30.834 ********* 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/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Sunday 04 August 2024 13:09:33 -0400 (0:00:00.063) 0:00:30.897 ********* 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/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Sunday 04 August 2024 13:09:33 -0400 (0:00:00.621) 0:00:31.519 ********* 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/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Sunday 04 August 2024 13:09:33 -0400 (0:00:00.141) 0:00:31.660 ********* 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/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Sunday 04 August 2024 13:09:33 -0400 (0:00:00.035) 0:00:31.695 ********* 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/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Sunday 04 August 2024 13:09:33 -0400 (0:00:00.032) 0:00:31.728 ********* changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "LSR-TST-br31", "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/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Sunday 04 August 2024 13:09:34 -0400 (0:00:00.650) 0:00:32.379 ********* 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/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Sunday 04 August 2024 13:09:34 -0400 (0:00:00.035) 0:00:32.414 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Sunday 04 August 2024 13:09:34 -0400 (0:00:00.038) 0:00:32.453 ********* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "LSR-TST-br31", "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/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Sunday 04 August 2024 13:09:34 -0400 (0:00:00.039) 0:00:32.492 ********* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Sunday 04 August 2024 13:09:34 -0400 (0:00:00.033) 0:00:32.525 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } PLAY [Delete the interface] **************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/down_profile+delete_interface.yml:5 Sunday 04 August 2024 13:09:35 -0400 (0:00:00.482) 0:00:33.008 ********* ok: [managed_node1] TASK [Include the task 'delete_interface.yml'] ********************************* task path: /tmp/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/down_profile+delete_interface.yml:8 Sunday 04 August 2024 13:09:37 -0400 (0:00:02.299) 0:00:35.308 ********* included: /tmp/tmp.WJ1Ao4X9Ry/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/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Sunday 04 August 2024 13:09:37 -0400 (0:00:00.055) 0:00:35.363 ********* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "LSR-TST-br31" ], "delta": "0:00:00.008677", "end": "2024-08-04 13:09:37.938203", "rc": 1, "start": "2024-08-04 13:09:37.929526" } STDERR: Cannot find device "LSR-TST-br31" MSG: non-zero return code ...ignoring PLAY [Remove {{ profile }}] **************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/remove_profile.yml:3 Sunday 04 August 2024 13:09:38 -0400 (0:00:00.485) 0:00:35.848 ********* ok: [managed_node1] TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Sunday 04 August 2024 13:09:40 -0400 (0:00:02.456) 0:00:38.305 ********* included: /tmp/tmp.WJ1Ao4X9Ry/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/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Sunday 04 August 2024 13:09:40 -0400 (0:00:00.059) 0:00:38.365 ********* 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/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Sunday 04 August 2024 13:09:40 -0400 (0:00:00.061) 0:00:38.426 ********* 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/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Sunday 04 August 2024 13:09:40 -0400 (0:00:00.038) 0:00:38.465 ********* 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/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Sunday 04 August 2024 13:09:40 -0400 (0:00:00.037) 0:00:38.502 ********* 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/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Sunday 04 August 2024 13:09:43 -0400 (0:00:02.821) 0:00:41.324 ********* 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/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Sunday 04 August 2024 13:09:44 -0400 (0:00:00.941) 0:00:42.266 ********* 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/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Sunday 04 August 2024 13:09:44 -0400 (0:00:00.037) 0:00:42.303 ********* 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/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Sunday 04 August 2024 13:09:44 -0400 (0:00:00.033) 0:00:42.337 ********* 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/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Sunday 04 August 2024 13:09:44 -0400 (0:00:00.033) 0:00:42.370 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution in __network_rh_distros", "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/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Sunday 04 August 2024 13:09:44 -0400 (0:00:00.052) 0:00:42.423 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf 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/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Sunday 04 August 2024 13:09:44 -0400 (0:00:00.069) 0:00:42.493 ********* 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/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Sunday 04 August 2024 13:09:44 -0400 (0:00:00.054) 0:00:42.547 ********* 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/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Sunday 04 August 2024 13:09:44 -0400 (0:00:00.063) 0:00:42.610 ********* 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/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Sunday 04 August 2024 13:09:44 -0400 (0:00:00.095) 0:00:42.705 ********* 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/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Sunday 04 August 2024 13:09:44 -0400 (0:00:00.034) 0:00:42.740 ********* 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/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Sunday 04 August 2024 13:09:45 -0400 (0:00:00.032) 0:00:42.772 ********* 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/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Sunday 04 August 2024 13:09:45 -0400 (0:00:00.066) 0:00:42.839 ********* 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/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Sunday 04 August 2024 13:09:45 -0400 (0:00:00.641) 0:00:43.480 ********* 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/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Sunday 04 August 2024 13:09:45 -0400 (0:00:00.063) 0:00:43.543 ********* 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/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Sunday 04 August 2024 13:09:45 -0400 (0:00:00.033) 0:00:43.577 ********* 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/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Sunday 04 August 2024 13:09:45 -0400 (0:00:00.033) 0:00:43.610 ********* changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "LSR-TST-br31", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Sunday 04 August 2024 13:09:46 -0400 (0:00:00.620) 0:00:44.230 ********* 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/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Sunday 04 August 2024 13:09:46 -0400 (0:00:00.035) 0:00:44.265 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Sunday 04 August 2024 13:09:46 -0400 (0:00:00.039) 0:00:44.305 ********* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "LSR-TST-br31", "persistent_state": "absent" } ], "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/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Sunday 04 August 2024 13:09:46 -0400 (0:00:00.038) 0:00:44.343 ********* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Sunday 04 August 2024 13:09:46 -0400 (0:00:00.034) 0:00:44.378 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } PLAY [Run the tasklist tasks/assert_profile_absent.yml] ************************ TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/run_tasks.yml:3 Sunday 04 August 2024 13:09:47 -0400 (0:00:00.474) 0:00:44.853 ********* ok: [managed_node1] TASK [Include the task 'tasks/assert_profile_absent.yml'] ********************** task path: /tmp/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/run_tasks.yml:6 Sunday 04 August 2024 13:09:49 -0400 (0:00:02.477) 0:00:47.330 ********* included: /tmp/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed_node1 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Sunday 04 August 2024 13:09:49 -0400 (0:00:00.056) 0:00:47.387 ********* included: /tmp/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Sunday 04 August 2024 13:09:49 -0400 (0:00:00.060) 0:00:47.447 ********* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Sunday 04 August 2024 13:09:49 -0400 (0:00:00.036) 0:00:47.483 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Sunday 04 August 2024 13:09:50 -0400 (0:00:00.378) 0:00:47.862 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Sunday 04 August 2024 13:09:50 -0400 (0:00:00.034) 0:00:47.896 ********* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep LSR-TST-br31 | grep /etc", "delta": "0:00:00.018708", "end": "2024-08-04 13:09:50.473314", "rc": 1, "start": "2024-08-04 13:09:50.454606" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Sunday 04 August 2024 13:09:50 -0400 (0:00:00.400) 0:00:48.297 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-LSR-TST-br31] ******************* task path: /tmp/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Sunday 04 August 2024 13:09:50 -0400 (0:00:00.034) 0:00:48.332 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-LSR-TST-br31] **************** task path: /tmp/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Sunday 04 August 2024 13:09:50 -0400 (0:00:00.036) 0:00:48.368 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-LSR-TST-br31] *********************** task path: /tmp/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Sunday 04 August 2024 13:09:50 -0400 (0:00:00.036) 0:00:48.405 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-LSR-TST-br31] ******************** task path: /tmp/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Sunday 04 August 2024 13:09:50 -0400 (0:00:00.036) 0:00:48.441 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'LSR-TST-br31'] ********************** task path: /tmp/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Sunday 04 August 2024 13:09:50 -0400 (0:00:00.037) 0:00:48.478 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed PLAY [Run the tasklist tasks/assert_device_absent.yml] ************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/run_tasks.yml:3 Sunday 04 August 2024 13:09:50 -0400 (0:00:00.158) 0:00:48.637 ********* ok: [managed_node1] TASK [Include the task 'tasks/assert_device_absent.yml'] *********************** task path: /tmp/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/run_tasks.yml:6 Sunday 04 August 2024 13:09:53 -0400 (0:00:02.403) 0:00:51.040 ********* included: /tmp/tmp.WJ1Ao4X9Ry/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/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Sunday 04 August 2024 13:09:53 -0400 (0:00:00.054) 0:00:51.095 ********* included: /tmp/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface LSR-TST-br31] ************************************* task path: /tmp/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Sunday 04 August 2024 13:09:53 -0400 (0:00:00.054) 0:00:51.149 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'LSR-TST-br31'] ******************** task path: /tmp/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Sunday 04 August 2024 13:09:53 -0400 (0:00:00.388) 0:00:51.538 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed PLAY [Verify that cleanup restored state to default] *************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_bridge.yml:64 Sunday 04 August 2024 13:09:53 -0400 (0:00:00.124) 0:00:51.662 ********* ok: [managed_node1] TASK [Verify network state restored to default] ******************************** task path: /tmp/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_bridge.yml:67 Sunday 04 August 2024 13:09:56 -0400 (0:00:02.397) 0:00:54.060 ********* included: /tmp/tmp.WJ1Ao4X9Ry/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/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Sunday 04 August 2024 13:09:56 -0400 (0:00:00.056) 0:00:54.116 ********* 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.009274", "end": "2024-08-04 13:09:56.687093", "rc": 0, "start": "2024-08-04 13:09:56.677819" } 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 noprefixroute valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 02:d7:4d:63:64:99 brd ff:ff:ff:ff:ff:ff altname enX0 inet 10.31.46.7/22 brd 10.31.47.255 scope global dynamic noprefixroute eth0 valid_lft 3333sec preferred_lft 3333sec inet6 fe80::d7:4dff:fe63:6499/64 scope link noprefixroute valid_lft forever preferred_lft forever IP ROUTE default via 10.31.44.1 dev eth0 proto dhcp src 10.31.46.7 metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.46.7 metric 100 IP -6 ROUTE fe80::/64 dev eth0 proto kernel metric 1024 pref medium RESOLV # This is /run/systemd/resolve/stub-resolv.conf managed by man:systemd-resolved(8). # Do not edit. # # This file might be symlinked as /etc/resolv.conf. If you're looking at # /etc/resolv.conf and seeing this text, you have followed the symlink. # # This is a dynamic resolv.conf file for connecting local clients to the # internal DNS stub resolver of systemd-resolved. This file lists all # configured search domains. # # Run "resolvectl status" to see details about the uplink DNS servers # currently in use. # # Third party programs should typically not access this file directly, but only # through the symlink at /etc/resolv.conf. To manage man:resolv.conf(5) in a # different way, replace this symlink by a static file or a different symlink. # # See man:systemd-resolved.service(8) for details about the supported modes of # operation for /etc/resolv.conf. nameserver 127.0.0.53 options edns0 trust-ad search us-east-1.aws.redhat.com TASK [Verify DNS and network connectivity] ************************************* task path: /tmp/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Sunday 04 August 2024 13:09:56 -0400 (0:00:00.393) 0:00:54.510 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_facts[\"distribution\"] == \"CentOS\"", "skip_reason": "Conditional result was False" } PLAY RECAP ********************************************************************* managed_node1 : ok=81 changed=3 unreachable=0 failed=0 skipped=72 rescued=0 ignored=2 Sunday 04 August 2024 13:09:56 -0400 (0:00:00.099) 0:00:54.610 ********* =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 2.82s /tmp/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.63s /tmp/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.57s /tmp/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Gathering Facts --------------------------------------------------------- 2.51s /tmp/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/run_tasks.yml:3 Gathering Facts --------------------------------------------------------- 2.49s /tmp/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/tests/network/tests_bridge_nm.yml:6 Gathering Facts --------------------------------------------------------- 2.48s /tmp/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/run_tasks.yml:3 Gathering Facts --------------------------------------------------------- 2.46s /tmp/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/remove_profile.yml:3 Gathering Facts --------------------------------------------------------- 2.40s /tmp/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/run_tasks.yml:3 Gathering Facts --------------------------------------------------------- 2.40s /tmp/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_bridge.yml:64 Gathering Facts --------------------------------------------------------- 2.38s /tmp/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/down_profile.yml:3 Gathering Facts --------------------------------------------------------- 2.35s /tmp/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/run_tasks.yml:3 Gathering Facts --------------------------------------------------------- 2.31s /tmp/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_bridge.yml:17 Gathering Facts --------------------------------------------------------- 2.30s /tmp/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/down_profile+delete_interface.yml:5 Gathering Facts --------------------------------------------------------- 2.26s /tmp/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_bridge.yml:3 Gather the minimum subset of ansible_facts required by the network role test --- 1.86s /tmp/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 fedora.linux_system_roles.network : Check which packages are installed --- 1.13s /tmp/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 0.96s /tmp/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 0.94s /tmp/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.79s /tmp/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.77s /tmp/tmp.WJ1Ao4X9Ry/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159