[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/tmp.e31mGIOPQe 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_auto_gateway_nm.yml ******************************************** 2 plays in /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/tests_auto_gateway_nm.yml PLAY [Run playbook 'playbooks/tests_auto_gateway.yml' with nm as provider] ***** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/tests_auto_gateway_nm.yml:6 Saturday 03 August 2024 08:38:14 -0400 (0:00:00.008) 0:00:00.008 ******* ok: [managed_node1] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/tests_auto_gateway_nm.yml:9 Saturday 03 August 2024 08:38:15 -0400 (0:00:01.092) 0:00:01.101 ******* included: /tmp/tmp.e31mGIOPQe/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.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Saturday 03 August 2024 08:38:15 -0400 (0:00:00.020) 0:00:01.121 ******* ok: [managed_node1] TASK [Check if system is ostree] *********************************************** task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Saturday 03 August 2024 08:38:16 -0400 (0:00:00.527) 0:00:01.648 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Saturday 03 August 2024 08:38:16 -0400 (0:00:00.454) 0:00:02.103 ******* ok: [managed_node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Saturday 03 August 2024 08:38:16 -0400 (0:00:00.024) 0:00:02.127 ******* 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/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Saturday 03 August 2024 08:38:16 -0400 (0:00:00.014) 0:00:02.142 ******* included: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node1 TASK [Create EPEL 8] *********************************************************** task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Saturday 03 August 2024 08:38:16 -0400 (0:00:00.047) 0:00:02.190 ******* 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/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:24 Saturday 03 August 2024 08:38:17 -0400 (0:00:00.461) 0:00:02.651 ******* 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/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:30 Saturday 03 August 2024 08:38:17 -0400 (0:00:00.015) 0:00:02.667 ******* 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/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:35 Saturday 03 August 2024 08:38:17 -0400 (0:00:00.016) 0:00:02.683 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.253685", "end": "2024-08-03 08:38:17.603893", "rc": 0, "start": "2024-08-03 08:38:17.350208" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:40 Saturday 03 August 2024 08:38:17 -0400 (0:00:00.609) 0:00:03.292 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/tests_auto_gateway_nm.yml:11 Saturday 03 August 2024 08:38:17 -0400 (0:00:00.015) 0:00:03.307 ******* ok: [managed_node1] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing auto_gateway setting] *********************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:3 Saturday 03 August 2024 08:38:17 -0400 (0:00:00.031) 0:00:03.338 ******* ok: [managed_node1] TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:9 Saturday 03 August 2024 08:38:18 -0400 (0:00:00.803) 0:00:04.142 ******* included: /tmp/tmp.e31mGIOPQe/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.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 03 August 2024 08:38:18 -0400 (0:00:00.048) 0:00:04.190 ******* included: /tmp/tmp.e31mGIOPQe/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.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 03 August 2024 08:38:18 -0400 (0:00:00.021) 0:00:04.212 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003359", "end": "2024-08-03 08:38:18.890754", "rc": 0, "start": "2024-08-03 08:38:18.887395" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 03 August 2024 08:38:18 -0400 (0:00:00.368) 0:00:04.580 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 03 August 2024 08:38:18 -0400 (0:00:00.020) 0:00:04.600 ******* ok: [managed_node1] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:11 Saturday 03 August 2024 08:38:18 -0400 (0:00:00.023) 0:00:04.624 ******* included: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml for managed_node1 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:3 Saturday 03 August 2024 08:38:19 -0400 (0:00:00.055) 0:00:04.679 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:8 Saturday 03 August 2024 08:38:19 -0400 (0:00:00.016) 0:00:04.695 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:13 Saturday 03 August 2024 08:38:19 -0400 (0:00:00.015) 0:00:04.711 ******* included: /tmp/tmp.e31mGIOPQe/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.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 03 August 2024 08:38:19 -0400 (0:00:00.023) 0:00:04.735 ******* included: /tmp/tmp.e31mGIOPQe/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.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 03 August 2024 08:38:19 -0400 (0:00:00.021) 0:00:04.756 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003448", "end": "2024-08-03 08:38:19.433710", "rc": 0, "start": "2024-08-03 08:38:19.430262" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 03 August 2024 08:38:19 -0400 (0:00:00.366) 0:00:05.123 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 03 August 2024 08:38:19 -0400 (0:00:00.019) 0:00:05.142 ******* ok: [managed_node1] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 Saturday 03 August 2024 08:38:19 -0400 (0:00:00.018) 0:00:05.160 ******* ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: iproute TASK [Create veth interface veth0] ********************************************* task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27 Saturday 03 August 2024 08:38:22 -0400 (0:00:03.447) 0:00:08.608 ******* ok: [managed_node1] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "add", "veth0", "type", "veth", "peer", "name", "peerveth0" ], "delta": "0:00:00.005739", "end": "2024-08-03 08:38:23.280908", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-08-03 08:38:23.275169" } ok: [managed_node1] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003918", "end": "2024-08-03 08:38:23.675858", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-08-03 08:38:23.671940" } ok: [managed_node1] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004272", "end": "2024-08-03 08:38:24.015432", "item": "ip link set veth0 up", "rc": 0, "start": "2024-08-03 08:38:24.011160" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:35 Saturday 03 August 2024 08:38:24 -0400 (0:00:01.097) 0:00:09.705 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.023516", "end": "2024-08-03 08:38:24.395698", "rc": 0, "start": "2024-08-03 08:38:24.372182" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:43 Saturday 03 August 2024 08:38:24 -0400 (0:00:00.380) 0:00:10.085 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'veth' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:49 Saturday 03 August 2024 08:38:24 -0400 (0:00:00.020) 0:00:10.105 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'dummy' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:54 Saturday 03 August 2024 08:38:24 -0400 (0:00:00.016) 0:00:10.121 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:60 Saturday 03 August 2024 08:38:24 -0400 (0:00:00.016) 0:00:10.138 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:65 Saturday 03 August 2024 08:38:24 -0400 (0:00:00.016) 0:00:10.154 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:15 Saturday 03 August 2024 08:38:24 -0400 (0:00:00.015) 0:00:10.170 ******* included: /tmp/tmp.e31mGIOPQe/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.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 03 August 2024 08:38:24 -0400 (0:00:00.049) 0:00:10.219 ******* included: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface veth0] ******************************************** task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 03 August 2024 08:38:24 -0400 (0:00:00.020) 0:00:10.240 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722688703.278974, "block_size": 4096, "blocks": 0, "ctime": 1722688703.278974, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26042, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/veth0", "lnk_target": "../../devices/virtual/net/veth0", "mode": "0777", "mtime": 1722688703.278974, "nlink": 1, "path": "/sys/class/net/veth0", "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 - 'veth0'] ************************** task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 03 August 2024 08:38:24 -0400 (0:00:00.354) 0:00:10.594 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:17 Saturday 03 August 2024 08:38:24 -0400 (0:00:00.019) 0:00:10.614 ******* ok: [managed_node1] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 03 August 2024 08:38:24 -0400 (0:00:00.018) 0:00:10.632 ******* included: /tmp/tmp.e31mGIOPQe/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.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 03 August 2024 08:38:25 -0400 (0:00:00.029) 0:00:10.662 ******* 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.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 03 August 2024 08:38:25 -0400 (0:00:00.043) 0:00:10.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 : Set flag to indicate system is ostree] *** task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 03 August 2024 08:38:25 -0400 (0:00:00.026) 0:00:10.732 ******* 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.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 03 August 2024 08:38:25 -0400 (0:00:00.021) 0:00:10.754 ******* 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.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 03 August 2024 08:38:26 -0400 (0:00:01.834) 0:00:12.588 ******* 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.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 03 August 2024 08:38:28 -0400 (0:00:01.803) 0:00:14.392 ******* 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.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 03 August 2024 08:38:28 -0400 (0:00:00.038) 0:00:14.430 ******* 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.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 03 August 2024 08:38:28 -0400 (0:00:00.032) 0:00:14.462 ******* 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.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 03 August 2024 08:38:28 -0400 (0:00:00.033) 0:00:14.496 ******* 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/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 03 August 2024 08:38:28 -0400 (0:00:00.057) 0:00:14.553 ******* 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/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 03 August 2024 08:38:28 -0400 (0:00:00.067) 0:00:14.621 ******* 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.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 03 August 2024 08:38:29 -0400 (0:00:00.113) 0:00:14.734 ******* 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.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 03 August 2024 08:38:29 -0400 (0:00:00.067) 0:00:14.802 ******* 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.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 03 August 2024 08:38:29 -0400 (0:00:00.096) 0:00:14.899 ******* 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.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 03 August 2024 08:38:29 -0400 (0:00:00.033) 0:00:14.932 ******* 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.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 03 August 2024 08:38:29 -0400 (0:00:00.033) 0:00:14.966 ******* 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.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 03 August 2024 08:38:29 -0400 (0:00:00.064) 0:00:15.030 ******* 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.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 03 August 2024 08:38:30 -0400 (0:00:00.817) 0:00:15.848 ******* 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.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 03 August 2024 08:38:30 -0400 (0:00:00.067) 0:00:15.915 ******* 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.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 03 August 2024 08:38:30 -0400 (0:00:00.032) 0:00:15.948 ******* 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.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 03 August 2024 08:38:30 -0400 (0:00:00.032) 0:00:15.980 ******* changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": true, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1", "route_metric4": 65535 }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'veth0': add connection veth0, c884ed1d-3009-4e16-9814-c3a20ba33a68 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, c884ed1d-3009-4e16-9814-c3a20ba33a68 (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 03 August 2024 08:38:31 -0400 (0:00:00.774) 0:00:16.755 ******* 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.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 03 August 2024 08:38:31 -0400 (0:00:00.033) 0:00:16.789 ******* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, c884ed1d-3009-4e16-9814-c3a20ba33a68", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, c884ed1d-3009-4e16-9814-c3a20ba33a68 (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 03 August 2024 08:38:31 -0400 (0:00:00.038) 0:00:16.827 ******* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": true, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1", "route_metric4": 65535 }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, c884ed1d-3009-4e16-9814-c3a20ba33a68\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, c884ed1d-3009-4e16-9814-c3a20ba33a68 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, c884ed1d-3009-4e16-9814-c3a20ba33a68", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, c884ed1d-3009-4e16-9814-c3a20ba33a68 (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 03 August 2024 08:38:31 -0400 (0:00:00.038) 0:00:16.866 ******* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 03 August 2024 08:38:31 -0400 (0:00:00.033) 0:00:16.899 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:42 Saturday 03 August 2024 08:38:31 -0400 (0:00:00.557) 0:00:17.457 ******* included: /tmp/tmp.e31mGIOPQe/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.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 03 August 2024 08:38:31 -0400 (0:00:00.083) 0:00:17.541 ******* included: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface veth0] ******************************************** task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 03 August 2024 08:38:31 -0400 (0:00:00.054) 0:00:17.596 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722688703.278974, "block_size": 4096, "blocks": 0, "ctime": 1722688703.278974, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26042, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/veth0", "lnk_target": "../../devices/virtual/net/veth0", "mode": "0777", "mtime": 1722688703.278974, "nlink": 1, "path": "/sys/class/net/veth0", "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 - 'veth0'] ************************** task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 03 August 2024 08:38:32 -0400 (0:00:00.372) 0:00:17.968 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:44 Saturday 03 August 2024 08:38:32 -0400 (0:00:00.039) 0:00:18.007 ******* included: /tmp/tmp.e31mGIOPQe/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.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 03 August 2024 08:38:32 -0400 (0:00:00.086) 0:00:18.093 ******* included: /tmp/tmp.e31mGIOPQe/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.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 03 August 2024 08:38:32 -0400 (0:00:00.059) 0:00:18.153 ******* 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.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 03 August 2024 08:38:32 -0400 (0:00:00.035) 0:00:18.188 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722688710.9776068, "block_size": 4096, "blocks": 8, "ctime": 1722688710.9766068, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2097285, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1722688710.9766068, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 396, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 03 August 2024 08:38:32 -0400 (0:00:00.370) 0:00:18.558 ******* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 03 August 2024 08:38:32 -0400 (0:00:00.037) 0:00:18.595 ******* ok: [managed_node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.021326", "end": "2024-08-03 08:38:33.279362", "rc": 0, "start": "2024-08-03 08:38:33.258036" } STDOUT: veth0 /etc/sysconfig/network-scripts/ifcfg-veth0 TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 03 August 2024 08:38:33 -0400 (0:00:00.388) 0:00:18.984 ******* 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-veth0] ************************** task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 03 August 2024 08:38:33 -0400 (0:00:00.037) 0:00:19.022 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 03 August 2024 08:38:33 -0400 (0:00:00.064) 0:00:19.086 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 03 August 2024 08:38:33 -0400 (0:00:00.035) 0:00:19.122 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 03 August 2024 08:38:33 -0400 (0:00:00.035) 0:00:19.158 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 03 August 2024 08:38:33 -0400 (0:00:00.035) 0:00:19.193 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 03 August 2024 08:38:33 -0400 (0:00:00.037) 0:00:19.231 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 03 August 2024 08:38:33 -0400 (0:00:00.038) 0:00:19.270 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:48 Saturday 03 August 2024 08:38:33 -0400 (0:00:00.038) 0:00:19.308 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003829", "end": "2024-08-03 08:38:33.974516", "rc": 0, "start": "2024-08-03 08:38:33.970687" } STDOUT: default via 10.31.40.1 dev eth0 proto dhcp src 10.31.42.177 metric 100 default via 203.0.113.1 dev veth0 proto static metric 65535 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.42.177 metric 100 203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 metric 65535 TASK [Assert default ipv4 route is present] ************************************ task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:52 Saturday 03 August 2024 08:38:34 -0400 (0:00:00.372) 0:00:19.680 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:57 Saturday 03 August 2024 08:38:34 -0400 (0:00:00.037) 0:00:19.718 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.004043", "end": "2024-08-03 08:38:34.387423", "rc": 0, "start": "2024-08-03 08:38:34.383380" } STDOUT: ::1 dev lo proto kernel metric 256 pref medium 2001:db8::/64 dev veth0 proto kernel metric 101 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium fe80::/64 dev veth0 proto kernel metric 1024 pref medium default via 2001:db8::1 dev veth0 proto static metric 101 pref medium TASK [Assert default ipv6 route is present] ************************************ task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:61 Saturday 03 August 2024 08:38:34 -0400 (0:00:00.375) 0:00:20.093 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:67 Saturday 03 August 2024 08:38:34 -0400 (0:00:00.037) 0:00:20.130 ******* ok: [managed_node1] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 03 August 2024 08:38:34 -0400 (0:00:00.036) 0:00:20.167 ******* included: /tmp/tmp.e31mGIOPQe/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.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 03 August 2024 08:38:34 -0400 (0:00:00.060) 0:00:20.228 ******* 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.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 03 August 2024 08:38:34 -0400 (0:00:00.063) 0:00:20.291 ******* 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.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 03 August 2024 08:38:34 -0400 (0:00:00.038) 0:00:20.329 ******* 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.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 03 August 2024 08:38:34 -0400 (0:00:00.037) 0:00:20.367 ******* 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.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 03 August 2024 08:38:36 -0400 (0:00:01.893) 0:00:22.261 ******* 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.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 03 August 2024 08:38:38 -0400 (0:00:01.560) 0:00:23.821 ******* 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.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 03 August 2024 08:38:38 -0400 (0:00:00.039) 0:00:23.860 ******* 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.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 03 August 2024 08:38:38 -0400 (0:00:00.035) 0:00:23.896 ******* 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.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 03 August 2024 08:38:38 -0400 (0:00:00.033) 0:00:23.929 ******* 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/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 03 August 2024 08:38:38 -0400 (0:00:00.061) 0:00:23.991 ******* 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/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 03 August 2024 08:38:38 -0400 (0:00:00.070) 0:00:24.061 ******* 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.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 03 August 2024 08:38:38 -0400 (0:00:00.056) 0:00:24.118 ******* 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.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 03 August 2024 08:38:38 -0400 (0:00:00.069) 0:00:24.187 ******* 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.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 03 August 2024 08:38:38 -0400 (0:00:00.098) 0:00:24.285 ******* 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.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 03 August 2024 08:38:38 -0400 (0:00:00.033) 0:00:24.318 ******* 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.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 03 August 2024 08:38:38 -0400 (0:00:00.034) 0:00:24.353 ******* 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.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 03 August 2024 08:38:38 -0400 (0:00:00.066) 0:00:24.420 ******* 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.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 03 August 2024 08:38:39 -0400 (0:00:00.590) 0:00:25.011 ******* 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.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 03 August 2024 08:38:39 -0400 (0:00:00.150) 0:00:25.161 ******* 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.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 03 August 2024 08:38:39 -0400 (0:00:00.035) 0:00:25.197 ******* 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.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 03 August 2024 08:38:39 -0400 (0:00:00.035) 0:00:25.232 ******* changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "veth0", "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/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 03 August 2024 08:38:40 -0400 (0:00:00.609) 0:00:25.842 ******* 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.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 03 August 2024 08:38:40 -0400 (0:00:00.035) 0:00:25.877 ******* 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.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 03 August 2024 08:38:40 -0400 (0:00:00.039) 0:00:25.917 ******* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "veth0", "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/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 03 August 2024 08:38:40 -0400 (0:00:00.041) 0:00:25.958 ******* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 03 August 2024 08:38:40 -0400 (0:00:00.035) 0:00:25.993 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:79 Saturday 03 August 2024 08:38:40 -0400 (0:00:00.395) 0:00:26.388 ******* included: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml for managed_node1 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:3 Saturday 03 August 2024 08:38:40 -0400 (0:00:00.095) 0:00:26.484 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:8 Saturday 03 August 2024 08:38:40 -0400 (0:00:00.033) 0:00:26.517 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:13 Saturday 03 August 2024 08:38:40 -0400 (0:00:00.033) 0:00:26.551 ******* included: /tmp/tmp.e31mGIOPQe/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.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 03 August 2024 08:38:40 -0400 (0:00:00.055) 0:00:26.606 ******* included: /tmp/tmp.e31mGIOPQe/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.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 03 August 2024 08:38:41 -0400 (0:00:00.086) 0:00:26.693 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003390", "end": "2024-08-03 08:38:41.409482", "rc": 0, "start": "2024-08-03 08:38:41.406092" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 03 August 2024 08:38:41 -0400 (0:00:00.422) 0:00:27.115 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 03 August 2024 08:38:41 -0400 (0:00:00.038) 0:00:27.153 ******* ok: [managed_node1] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 Saturday 03 August 2024 08:38:41 -0400 (0:00:00.036) 0:00:27.190 ******* ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: iproute TASK [Create veth interface veth0] ********************************************* task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27 Saturday 03 August 2024 08:38:44 -0400 (0:00:03.002) 0:00:30.193 ******* skipping: [managed_node1] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link add veth0 type veth peer name peerveth0", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set peerveth0 up", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set veth0 up", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:35 Saturday 03 August 2024 08:38:44 -0400 (0:00:00.047) 0:00:30.240 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:43 Saturday 03 August 2024 08:38:44 -0400 (0:00:00.034) 0:00:30.275 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.012936", "end": "2024-08-03 08:38:44.958012", "rc": 0, "start": "2024-08-03 08:38:44.945076" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:49 Saturday 03 August 2024 08:38:45 -0400 (0:00:00.393) 0:00:30.668 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'dummy' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:54 Saturday 03 August 2024 08:38:45 -0400 (0:00:00.035) 0:00:30.704 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:60 Saturday 03 August 2024 08:38:45 -0400 (0:00:00.035) 0:00:30.739 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:65 Saturday 03 August 2024 08:38:45 -0400 (0:00:00.035) 0:00:30.775 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [TEST: I can configure an interface with auto_gateway disabled] *********** task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:83 Saturday 03 August 2024 08:38:45 -0400 (0:00:00.034) 0:00:30.810 ******* ok: [managed_node1] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:87 Saturday 03 August 2024 08:38:45 -0400 (0:00:00.037) 0:00:30.847 ******* included: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml for managed_node1 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:3 Saturday 03 August 2024 08:38:45 -0400 (0:00:00.096) 0:00:30.943 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:8 Saturday 03 August 2024 08:38:45 -0400 (0:00:00.070) 0:00:31.014 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:13 Saturday 03 August 2024 08:38:45 -0400 (0:00:00.034) 0:00:31.048 ******* included: /tmp/tmp.e31mGIOPQe/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.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 03 August 2024 08:38:45 -0400 (0:00:00.058) 0:00:31.106 ******* included: /tmp/tmp.e31mGIOPQe/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.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 03 August 2024 08:38:45 -0400 (0:00:00.055) 0:00:31.161 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003454", "end": "2024-08-03 08:38:45.836573", "rc": 0, "start": "2024-08-03 08:38:45.833119" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 03 August 2024 08:38:45 -0400 (0:00:00.382) 0:00:31.543 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 03 August 2024 08:38:45 -0400 (0:00:00.037) 0:00:31.581 ******* ok: [managed_node1] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 Saturday 03 August 2024 08:38:45 -0400 (0:00:00.038) 0:00:31.620 ******* ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: iproute TASK [Create veth interface veth0] ********************************************* task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27 Saturday 03 August 2024 08:38:48 -0400 (0:00:02.861) 0:00:34.481 ******* ok: [managed_node1] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "add", "veth0", "type", "veth", "peer", "name", "peerveth0" ], "delta": "0:00:00.013632", "end": "2024-08-03 08:38:49.164408", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-08-03 08:38:49.150776" } ok: [managed_node1] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004331", "end": "2024-08-03 08:38:49.557022", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-08-03 08:38:49.552691" } ok: [managed_node1] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004135", "end": "2024-08-03 08:38:49.899581", "item": "ip link set veth0 up", "rc": 0, "start": "2024-08-03 08:38:49.895446" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:35 Saturday 03 August 2024 08:38:49 -0400 (0:00:01.125) 0:00:35.607 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.023499", "end": "2024-08-03 08:38:50.303994", "rc": 0, "start": "2024-08-03 08:38:50.280495" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:43 Saturday 03 August 2024 08:38:50 -0400 (0:00:00.405) 0:00:36.013 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'veth' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:49 Saturday 03 August 2024 08:38:50 -0400 (0:00:00.034) 0:00:36.047 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'dummy' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:54 Saturday 03 August 2024 08:38:50 -0400 (0:00:00.034) 0:00:36.082 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:60 Saturday 03 August 2024 08:38:50 -0400 (0:00:00.034) 0:00:36.117 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:65 Saturday 03 August 2024 08:38:50 -0400 (0:00:00.033) 0:00:36.151 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 03 August 2024 08:38:50 -0400 (0:00:00.033) 0:00:36.184 ******* included: /tmp/tmp.e31mGIOPQe/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.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 03 August 2024 08:38:50 -0400 (0:00:00.094) 0:00:36.278 ******* 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.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 03 August 2024 08:38:50 -0400 (0:00:00.065) 0:00:36.344 ******* 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.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 03 August 2024 08:38:50 -0400 (0:00:00.040) 0:00:36.384 ******* 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.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 03 August 2024 08:38:50 -0400 (0:00:00.038) 0:00:36.423 ******* 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.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 03 August 2024 08:38:52 -0400 (0:00:01.795) 0:00:38.218 ******* 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.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 03 August 2024 08:38:54 -0400 (0:00:01.555) 0:00:39.773 ******* 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.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 03 August 2024 08:38:54 -0400 (0:00:00.038) 0:00:39.812 ******* 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.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 03 August 2024 08:38:54 -0400 (0:00:00.035) 0:00:39.847 ******* 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.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 03 August 2024 08:38:54 -0400 (0:00:00.033) 0:00:39.880 ******* 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/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 03 August 2024 08:38:54 -0400 (0:00:00.058) 0:00:39.939 ******* 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/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 03 August 2024 08:38:54 -0400 (0:00:00.069) 0:00:40.009 ******* 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.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 03 August 2024 08:38:54 -0400 (0:00:00.056) 0:00:40.065 ******* 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.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 03 August 2024 08:38:54 -0400 (0:00:00.068) 0:00:40.134 ******* 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.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 03 August 2024 08:38:54 -0400 (0:00:00.177) 0:00:40.312 ******* 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.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 03 August 2024 08:38:54 -0400 (0:00:00.033) 0:00:40.346 ******* 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.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 03 August 2024 08:38:54 -0400 (0:00:00.035) 0:00:40.382 ******* 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.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 03 August 2024 08:38:54 -0400 (0:00:00.068) 0:00:40.450 ******* 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.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 03 August 2024 08:38:55 -0400 (0:00:00.595) 0:00:41.046 ******* 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.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 03 August 2024 08:38:55 -0400 (0:00:00.070) 0:00:41.117 ******* 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.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 03 August 2024 08:38:55 -0400 (0:00:00.033) 0:00:41.150 ******* 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.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 03 August 2024 08:38:55 -0400 (0:00:00.033) 0:00:41.184 ******* changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": false, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1" }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 47a0a849-e8ba-4bd6-914b-147c4aeb56a2 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 47a0a849-e8ba-4bd6-914b-147c4aeb56a2 (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 03 August 2024 08:38:56 -0400 (0:00:00.616) 0:00:41.800 ******* 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.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 03 August 2024 08:38:56 -0400 (0:00:00.034) 0:00:41.834 ******* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 47a0a849-e8ba-4bd6-914b-147c4aeb56a2", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 47a0a849-e8ba-4bd6-914b-147c4aeb56a2 (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 03 August 2024 08:38:56 -0400 (0:00:00.037) 0:00:41.872 ******* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": false, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1" }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 47a0a849-e8ba-4bd6-914b-147c4aeb56a2\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 47a0a849-e8ba-4bd6-914b-147c4aeb56a2 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 47a0a849-e8ba-4bd6-914b-147c4aeb56a2", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 47a0a849-e8ba-4bd6-914b-147c4aeb56a2 (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 03 August 2024 08:38:56 -0400 (0:00:00.039) 0:00:41.912 ******* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 03 August 2024 08:38:56 -0400 (0:00:00.034) 0:00:41.946 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:108 Saturday 03 August 2024 08:38:56 -0400 (0:00:00.386) 0:00:42.332 ******* included: /tmp/tmp.e31mGIOPQe/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.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 03 August 2024 08:38:56 -0400 (0:00:00.126) 0:00:42.459 ******* included: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface veth0] ******************************************** task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 03 August 2024 08:38:56 -0400 (0:00:00.053) 0:00:42.513 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722688729.1547534, "block_size": 4096, "blocks": 0, "ctime": 1722688729.1547534, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26628, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/veth0", "lnk_target": "../../devices/virtual/net/veth0", "mode": "0777", "mtime": 1722688729.1547534, "nlink": 1, "path": "/sys/class/net/veth0", "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 - 'veth0'] ************************** task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 03 August 2024 08:38:57 -0400 (0:00:00.372) 0:00:42.885 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:110 Saturday 03 August 2024 08:38:57 -0400 (0:00:00.037) 0:00:42.923 ******* included: /tmp/tmp.e31mGIOPQe/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.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 03 August 2024 08:38:57 -0400 (0:00:00.095) 0:00:43.018 ******* included: /tmp/tmp.e31mGIOPQe/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.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 03 August 2024 08:38:57 -0400 (0:00:00.060) 0:00:43.078 ******* 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.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 03 August 2024 08:38:57 -0400 (0:00:00.037) 0:00:43.116 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722688736.0649123, "block_size": 4096, "blocks": 8, "ctime": 1722688736.0249135, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2097285, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1722688736.0249135, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 323, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 03 August 2024 08:38:57 -0400 (0:00:00.370) 0:00:43.486 ******* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 03 August 2024 08:38:57 -0400 (0:00:00.038) 0:00:43.524 ******* ok: [managed_node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.020563", "end": "2024-08-03 08:38:58.212446", "rc": 0, "start": "2024-08-03 08:38:58.191883" } STDOUT: veth0 /etc/sysconfig/network-scripts/ifcfg-veth0 TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 03 August 2024 08:38:58 -0400 (0:00:00.394) 0:00:43.919 ******* 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-veth0] ************************** task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 03 August 2024 08:38:58 -0400 (0:00:00.038) 0:00:43.958 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 03 August 2024 08:38:58 -0400 (0:00:00.036) 0:00:43.994 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 03 August 2024 08:38:58 -0400 (0:00:00.036) 0:00:44.030 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 03 August 2024 08:38:58 -0400 (0:00:00.035) 0:00:44.065 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 03 August 2024 08:38:58 -0400 (0:00:00.071) 0:00:44.137 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 03 August 2024 08:38:58 -0400 (0:00:00.040) 0:00:44.178 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 03 August 2024 08:38:58 -0400 (0:00:00.040) 0:00:44.219 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:114 Saturday 03 August 2024 08:38:58 -0400 (0:00:00.038) 0:00:44.257 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.004197", "end": "2024-08-03 08:38:58.926876", "rc": 0, "start": "2024-08-03 08:38:58.922679" } STDOUT: default via 10.31.40.1 dev eth0 proto dhcp src 10.31.42.177 metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.42.177 metric 100 203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 metric 101 TASK [Assert default ipv4 route is absent] ************************************* task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:118 Saturday 03 August 2024 08:38:58 -0400 (0:00:00.375) 0:00:44.633 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:123 Saturday 03 August 2024 08:38:59 -0400 (0:00:00.038) 0:00:44.672 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003962", "end": "2024-08-03 08:38:59.342155", "rc": 0, "start": "2024-08-03 08:38:59.338193" } STDOUT: ::1 dev lo proto kernel metric 256 pref medium 2001:db8::/64 dev veth0 proto kernel metric 101 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium fe80::/64 dev veth0 proto kernel metric 1024 pref medium TASK [Assert default ipv6 route is absent] ************************************* task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:127 Saturday 03 August 2024 08:38:59 -0400 (0:00:00.376) 0:00:45.048 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:133 Saturday 03 August 2024 08:38:59 -0400 (0:00:00.039) 0:00:45.088 ******* ok: [managed_node1] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 03 August 2024 08:38:59 -0400 (0:00:00.036) 0:00:45.125 ******* included: /tmp/tmp.e31mGIOPQe/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.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 03 August 2024 08:38:59 -0400 (0:00:00.063) 0:00:45.189 ******* 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.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 03 August 2024 08:38:59 -0400 (0:00:00.063) 0:00:45.252 ******* 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.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 03 August 2024 08:38:59 -0400 (0:00:00.040) 0:00:45.293 ******* 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.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 03 August 2024 08:38:59 -0400 (0:00:00.040) 0:00:45.334 ******* 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.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 03 August 2024 08:39:01 -0400 (0:00:01.770) 0:00:47.104 ******* 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.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 03 August 2024 08:39:03 -0400 (0:00:01.642) 0:00:48.747 ******* 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.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 03 August 2024 08:39:03 -0400 (0:00:00.037) 0:00:48.785 ******* 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.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 03 August 2024 08:39:03 -0400 (0:00:00.034) 0:00:48.819 ******* 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.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 03 August 2024 08:39:03 -0400 (0:00:00.035) 0:00:48.854 ******* 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/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 03 August 2024 08:39:03 -0400 (0:00:00.056) 0:00:48.911 ******* 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/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 03 August 2024 08:39:03 -0400 (0:00:00.071) 0:00:48.982 ******* 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.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 03 August 2024 08:39:03 -0400 (0:00:00.058) 0:00:49.040 ******* 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.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 03 August 2024 08:39:03 -0400 (0:00:00.067) 0:00:49.108 ******* 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.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 03 August 2024 08:39:03 -0400 (0:00:00.100) 0:00:49.208 ******* 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.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 03 August 2024 08:39:03 -0400 (0:00:00.033) 0:00:49.242 ******* 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.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 03 August 2024 08:39:03 -0400 (0:00:00.033) 0:00:49.275 ******* 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.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 03 August 2024 08:39:03 -0400 (0:00:00.069) 0:00:49.344 ******* 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.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 03 August 2024 08:39:04 -0400 (0:00:00.591) 0:00:49.936 ******* 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.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 03 August 2024 08:39:04 -0400 (0:00:00.067) 0:00:50.004 ******* 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.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 03 August 2024 08:39:04 -0400 (0:00:00.034) 0:00:50.038 ******* 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.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 03 August 2024 08:39:04 -0400 (0:00:00.073) 0:00:50.111 ******* changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "veth0", "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/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 03 August 2024 08:39:05 -0400 (0:00:00.610) 0:00:50.721 ******* 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.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 03 August 2024 08:39:05 -0400 (0:00:00.035) 0:00:50.757 ******* 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.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 03 August 2024 08:39:05 -0400 (0:00:00.039) 0:00:50.797 ******* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "veth0", "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/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 03 August 2024 08:39:05 -0400 (0:00:00.039) 0:00:50.837 ******* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 03 August 2024 08:39:05 -0400 (0:00:00.035) 0:00:50.873 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:145 Saturday 03 August 2024 08:39:05 -0400 (0:00:00.392) 0:00:51.265 ******* included: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml for managed_node1 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:3 Saturday 03 August 2024 08:39:05 -0400 (0:00:00.102) 0:00:51.367 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:8 Saturday 03 August 2024 08:39:05 -0400 (0:00:00.034) 0:00:51.402 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:13 Saturday 03 August 2024 08:39:05 -0400 (0:00:00.033) 0:00:51.435 ******* included: /tmp/tmp.e31mGIOPQe/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.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 03 August 2024 08:39:05 -0400 (0:00:00.057) 0:00:51.492 ******* included: /tmp/tmp.e31mGIOPQe/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.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 03 August 2024 08:39:05 -0400 (0:00:00.055) 0:00:51.548 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003373", "end": "2024-08-03 08:39:06.222716", "rc": 0, "start": "2024-08-03 08:39:06.219343" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 03 August 2024 08:39:06 -0400 (0:00:00.418) 0:00:51.967 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 03 August 2024 08:39:06 -0400 (0:00:00.039) 0:00:52.006 ******* ok: [managed_node1] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 Saturday 03 August 2024 08:39:06 -0400 (0:00:00.039) 0:00:52.045 ******* ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: iproute TASK [Create veth interface veth0] ********************************************* task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27 Saturday 03 August 2024 08:39:09 -0400 (0:00:02.950) 0:00:54.995 ******* skipping: [managed_node1] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link add veth0 type veth peer name peerveth0", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set peerveth0 up", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set veth0 up", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:35 Saturday 03 August 2024 08:39:09 -0400 (0:00:00.048) 0:00:55.044 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:43 Saturday 03 August 2024 08:39:09 -0400 (0:00:00.036) 0:00:55.080 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.010884", "end": "2024-08-03 08:39:09.761245", "rc": 0, "start": "2024-08-03 08:39:09.750361" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:49 Saturday 03 August 2024 08:39:09 -0400 (0:00:00.390) 0:00:55.470 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'dummy' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:54 Saturday 03 August 2024 08:39:09 -0400 (0:00:00.035) 0:00:55.506 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:60 Saturday 03 August 2024 08:39:09 -0400 (0:00:00.035) 0:00:55.541 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:65 Saturday 03 August 2024 08:39:09 -0400 (0:00:00.034) 0:00:55.576 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Verify network state restored to default] ******************************** task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:149 Saturday 03 August 2024 08:39:09 -0400 (0:00:00.035) 0:00:55.611 ******* included: /tmp/tmp.e31mGIOPQe/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.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Saturday 03 August 2024 08:39:10 -0400 (0:00:00.098) 0:00:55.710 ******* 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.009206", "end": "2024-08-03 08:39:10.393337", "rc": 0, "start": "2024-08-03 08:39:10.384131" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 0e:fe:ed:49:3f:b7 brd ff:ff:ff:ff:ff:ff inet 10.31.42.177/22 brd 10.31.43.255 scope global dynamic noprefixroute eth0 valid_lft 3372sec preferred_lft 3372sec inet6 fe80::cfe:edff:fe49:3fb7/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.40.1 dev eth0 proto dhcp src 10.31.42.177 metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.42.177 metric 100 IP -6 ROUTE ::1 dev lo proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and network connectivity] ************************************* task path: /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Saturday 03 August 2024 08:39:10 -0400 (0:00:00.389) 0:00:56.099 ******* 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.355579", "end": "2024-08-03 08:39:11.131703", "rc": 0, "start": "2024-08-03 08:39:10.776124" } STDOUT: CHECK DNS AND CONNECTIVITY 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 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 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 1564 0 --:--:-- --:--:-- --:--:-- 1556 % 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 2155 0 --:--:-- --:--:-- --:--:-- 2155 PLAY RECAP ********************************************************************* managed_node1 : ok=132 changed=4 unreachable=0 failed=0 skipped=114 rescued=0 ignored=0 Saturday 03 August 2024 08:39:11 -0400 (0:00:00.833) 0:00:56.932 ******* =============================================================================== Install iproute --------------------------------------------------------- 3.45s /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 3.00s /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.95s /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.86s /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Check which services are running ---- 1.89s /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.83s /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.80s /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.80s /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.77s /tmp/tmp.e31mGIOPQe/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/tmp.e31mGIOPQe/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/tmp.e31mGIOPQe/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/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Create veth interface veth0 --------------------------------------------- 1.13s /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27 Create veth interface veth0 --------------------------------------------- 1.10s /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27 Gathering Facts --------------------------------------------------------- 1.09s /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/tests_auto_gateway_nm.yml:6 Verify DNS and network connectivity ------------------------------------- 0.83s /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.82s /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Gathering Facts --------------------------------------------------------- 0.80s /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:3 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.77s /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.62s /tmp/tmp.e31mGIOPQe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159