[DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ansible-playbook [core 2.17.2] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.12/site-packages/ansible ansible collection location = /tmp/tmp.y1nrsD8bRd executable location = /usr/local/bin/ansible-playbook python version = 3.12.4 (main, Jul 17 2024, 00:00:00) [GCC 14.1.1 20240607 (Red Hat 14.1.1-5)] (/usr/bin/python3.12) jinja version = 3.1.4 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.profile_tasks to ansible.posix.profile_tasks Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_route_table_nm.yml ********************************************* 6 plays in /tmp/tmp.y1nrsD8bRd/ansible_collections/fedora/linux_system_roles/tests/network/tests_route_table_nm.yml PLAY [Run playbook 'playbooks/tests_route_table.yml' with nm as provider] ****** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp.y1nrsD8bRd/ansible_collections/fedora/linux_system_roles/tests/network/tests_route_table_nm.yml:6 Sunday 04 August 2024 13:19:59 -0400 (0:00:00.008) 0:00:00.008 ********* [WARNING]: Platform linux on host managed_node1 is using the discovered Python interpreter at /usr/bin/python3.12, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed_node1] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/tmp.y1nrsD8bRd/ansible_collections/fedora/linux_system_roles/tests/network/tests_route_table_nm.yml:9 Sunday 04 August 2024 13:20:00 -0400 (0:00:01.144) 0:00:01.153 ********* included: /tmp/tmp.y1nrsD8bRd/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.y1nrsD8bRd/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Sunday 04 August 2024 13:20:00 -0400 (0:00:00.019) 0:00:01.172 ********* ok: [managed_node1] TASK [Check if system is ostree] *********************************************** task path: /tmp/tmp.y1nrsD8bRd/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Sunday 04 August 2024 13:20:01 -0400 (0:00:00.494) 0:00:01.666 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/tmp.y1nrsD8bRd/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Sunday 04 August 2024 13:20:01 -0400 (0:00:00.437) 0:00:02.104 ********* ok: [managed_node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmp.y1nrsD8bRd/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Sunday 04 August 2024 13:20:01 -0400 (0:00:00.025) 0:00:02.129 ********* 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.y1nrsD8bRd/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Sunday 04 August 2024 13:20:01 -0400 (0:00:00.015) 0:00:02.145 ********* included: /tmp/tmp.y1nrsD8bRd/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node1 TASK [Create EPEL 10] ********************************************************** task path: /tmp/tmp.y1nrsD8bRd/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Sunday 04 August 2024 13:20:01 -0400 (0:00:00.048) 0:00:02.194 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /tmp/tmp.y1nrsD8bRd/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:24 Sunday 04 August 2024 13:20:01 -0400 (0:00:00.015) 0:00:02.210 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmp.y1nrsD8bRd/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:30 Sunday 04 August 2024 13:20:01 -0400 (0:00:00.015) 0:00:02.225 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmp.y1nrsD8bRd/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:35 Sunday 04 August 2024 13:20:01 -0400 (0:00:00.015) 0:00:02.240 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmp.y1nrsD8bRd/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:40 Sunday 04 August 2024 13:20:01 -0400 (0:00:00.015) 0:00:02.256 ********* 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.y1nrsD8bRd/ansible_collections/fedora/linux_system_roles/tests/network/tests_route_table_nm.yml:11 Sunday 04 August 2024 13:20:01 -0400 (0:00:00.015) 0:00:02.271 ********* ok: [managed_node1] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing route table] ******************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp.y1nrsD8bRd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_route_table.yml:3 Sunday 04 August 2024 13:20:01 -0400 (0:00:00.030) 0:00:02.302 ********* ok: [managed_node1] TASK [Set type=veth and interface=ethtest0] ************************************ task path: /tmp/tmp.y1nrsD8bRd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_route_table.yml:11 Sunday 04 August 2024 13:20:02 -0400 (0:00:00.880) 0:00:03.183 ********* ok: [managed_node1] => { "ansible_facts": { "interface": "ethtest0", "type": "veth" }, "changed": false } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/tmp.y1nrsD8bRd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_route_table.yml:15 Sunday 04 August 2024 13:20:02 -0400 (0:00:00.018) 0:00:03.202 ********* included: /tmp/tmp.y1nrsD8bRd/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.y1nrsD8bRd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Sunday 04 August 2024 13:20:02 -0400 (0:00:00.031) 0:00:03.233 ********* included: /tmp/tmp.y1nrsD8bRd/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.y1nrsD8bRd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Sunday 04 August 2024 13:20:02 -0400 (0:00:00.023) 0:00:03.257 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003378", "end": "2024-08-04 13:20:03.314439", "rc": 0, "start": "2024-08-04 13:20:03.311061" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.y1nrsD8bRd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Sunday 04 August 2024 13:20:03 -0400 (0:00:00.430) 0:00:03.688 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.y1nrsD8bRd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Sunday 04 August 2024 13:20:03 -0400 (0:00:00.020) 0:00:03.708 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/tmp.y1nrsD8bRd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_route_table.yml:17 Sunday 04 August 2024 13:20:03 -0400 (0:00:00.019) 0:00:03.728 ********* included: /tmp/tmp.y1nrsD8bRd/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.y1nrsD8bRd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:3 Sunday 04 August 2024 13:20:03 -0400 (0:00:00.041) 0:00:03.769 ********* 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.y1nrsD8bRd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:8 Sunday 04 August 2024 13:20:03 -0400 (0:00:00.015) 0:00:03.785 ********* 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.y1nrsD8bRd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:13 Sunday 04 August 2024 13:20:03 -0400 (0:00:00.014) 0:00:03.800 ********* included: /tmp/tmp.y1nrsD8bRd/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.y1nrsD8bRd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Sunday 04 August 2024 13:20:03 -0400 (0:00:00.021) 0:00:03.822 ********* included: /tmp/tmp.y1nrsD8bRd/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.y1nrsD8bRd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Sunday 04 August 2024 13:20:03 -0400 (0:00:00.020) 0:00:03.842 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003394", "end": "2024-08-04 13:20:03.805743", "rc": 0, "start": "2024-08-04 13:20:03.802349" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.y1nrsD8bRd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Sunday 04 August 2024 13:20:03 -0400 (0:00:00.337) 0:00:04.179 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.y1nrsD8bRd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Sunday 04 August 2024 13:20:03 -0400 (0:00:00.019) 0:00:04.199 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Install iproute] ********************************************************* task path: /tmp/tmp.y1nrsD8bRd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 Sunday 04 August 2024 13:20:03 -0400 (0:00:00.020) 0:00:04.219 ********* ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface ethtest0] ****************************************** task path: /tmp/tmp.y1nrsD8bRd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27 Sunday 04 August 2024 13:20:04 -0400 (0:00:00.778) 0:00:04.997 ********* ok: [managed_node1] => (item=ip link add ethtest0 type veth peer name peerethtest0) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "add", "ethtest0", "type", "veth", "peer", "name", "peerethtest0" ], "delta": "0:00:00.005513", "end": "2024-08-04 13:20:04.969588", "item": "ip link add ethtest0 type veth peer name peerethtest0", "rc": 0, "start": "2024-08-04 13:20:04.964075" } ok: [managed_node1] => (item=ip link set peerethtest0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerethtest0", "up" ], "delta": "0:00:00.003644", "end": "2024-08-04 13:20:05.335211", "item": "ip link set peerethtest0 up", "rc": 0, "start": "2024-08-04 13:20:05.331567" } ok: [managed_node1] => (item=ip link set ethtest0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "ethtest0", "up" ], "delta": "0:00:00.003847", "end": "2024-08-04 13:20:05.657231", "item": "ip link set ethtest0 up", "rc": 0, "start": "2024-08-04 13:20:05.653384" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmp.y1nrsD8bRd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:35 Sunday 04 August 2024 13:20:05 -0400 (0:00:01.034) 0:00:06.032 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "nmcli", "d", "set", "ethtest0", "managed", "true" ], "delta": "0:00:00.019682", "end": "2024-08-04 13:20:06.012893", "rc": 0, "start": "2024-08-04 13:20:05.993211" } TASK [Delete veth interface ethtest0] ****************************************** task path: /tmp/tmp.y1nrsD8bRd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:43 Sunday 04 August 2024 13:20:06 -0400 (0:00:00.356) 0:00:06.388 ********* 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 ethtest0] ***************************************** task path: /tmp/tmp.y1nrsD8bRd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:49 Sunday 04 August 2024 13:20:06 -0400 (0:00:00.016) 0:00:06.404 ********* 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 ethtest0] ***************************************** task path: /tmp/tmp.y1nrsD8bRd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:54 Sunday 04 August 2024 13:20:06 -0400 (0:00:00.016) 0:00:06.421 ********* 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 ethtest0] ******************************************* task path: /tmp/tmp.y1nrsD8bRd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:60 Sunday 04 August 2024 13:20:06 -0400 (0:00:00.015) 0:00:06.436 ********* 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 ethtest0] ******************************************* task path: /tmp/tmp.y1nrsD8bRd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:65 Sunday 04 August 2024 13:20:06 -0400 (0:00:00.016) 0:00:06.452 ********* 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.y1nrsD8bRd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_route_table.yml:21 Sunday 04 August 2024 13:20:06 -0400 (0:00:00.015) 0:00:06.468 ********* included: /tmp/tmp.y1nrsD8bRd/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.y1nrsD8bRd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Sunday 04 August 2024 13:20:06 -0400 (0:00:00.034) 0:00:06.503 ********* included: /tmp/tmp.y1nrsD8bRd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface ethtest0] ***************************************** task path: /tmp/tmp.y1nrsD8bRd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Sunday 04 August 2024 13:20:06 -0400 (0:00:00.019) 0:00:06.523 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722792004.9677885, "block_size": 4096, "blocks": 0, "ctime": 1722792004.9677885, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 41879, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/ethtest0", "lnk_target": "../../devices/virtual/net/ethtest0", "mode": "0777", "mtime": 1722792004.9677885, "nlink": 1, "path": "/sys/class/net/ethtest0", "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 - 'ethtest0'] *********************** task path: /tmp/tmp.y1nrsD8bRd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Sunday 04 August 2024 13:20:06 -0400 (0:00:00.335) 0:00:06.858 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.y1nrsD8bRd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Sunday 04 August 2024 13:20:06 -0400 (0:00:00.019) 0:00:06.877 ********* included: /tmp/tmp.y1nrsD8bRd/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.y1nrsD8bRd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Sunday 04 August 2024 13:20:06 -0400 (0:00:00.028) 0:00:06.905 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/tmp.y1nrsD8bRd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Sunday 04 August 2024 13:20:06 -0400 (0:00:00.042) 0:00:06.948 ********* 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.y1nrsD8bRd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Sunday 04 August 2024 13:20:06 -0400 (0:00:00.020) 0:00:06.968 ********* 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.y1nrsD8bRd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Sunday 04 August 2024 13:20:06 -0400 (0:00:00.021) 0:00:06.990 ********* 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.y1nrsD8bRd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Sunday 04 August 2024 13:20:08 -0400 (0:00:01.841) 0:00:08.831 ********* 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.y1nrsD8bRd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Sunday 04 August 2024 13:20:09 -0400 (0:00:00.942) 0:00:09.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.y1nrsD8bRd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Sunday 04 August 2024 13:20:09 -0400 (0:00:00.035) 0:00:09.809 ********* 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.y1nrsD8bRd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Sunday 04 August 2024 13:20:09 -0400 (0:00:00.029) 0:00:09.839 ********* 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.y1nrsD8bRd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Sunday 04 August 2024 13:20:09 -0400 (0:00:00.030) 0:00:09.870 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "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.y1nrsD8bRd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Sunday 04 August 2024 13:20:09 -0400 (0:00:00.061) 0:00:09.931 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/tmp.y1nrsD8bRd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Sunday 04 August 2024 13:20:09 -0400 (0:00:00.066) 0:00:09.998 ********* 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.y1nrsD8bRd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Sunday 04 August 2024 13:20:09 -0400 (0:00:00.052) 0:00:10.050 ********* 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.y1nrsD8bRd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Sunday 04 August 2024 13:20:09 -0400 (0:00:00.112) 0:00:10.163 ********* 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.y1nrsD8bRd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Sunday 04 August 2024 13:20:09 -0400 (0:00:00.096) 0:00:10.260 ********* 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.y1nrsD8bRd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Sunday 04 August 2024 13:20:09 -0400 (0:00:00.030) 0:00:10.291 ********* 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.y1nrsD8bRd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Sunday 04 August 2024 13:20:09 -0400 (0:00:00.031) 0:00:10.322 ********* 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.y1nrsD8bRd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Sunday 04 August 2024 13:20:10 -0400 (0:00:00.061) 0:00:10.384 ********* 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.y1nrsD8bRd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Sunday 04 August 2024 13:20:10 -0400 (0:00:00.770) 0:00:11.155 ********* 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.y1nrsD8bRd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Sunday 04 August 2024 13:20:10 -0400 (0:00:00.063) 0:00:11.218 ********* 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.y1nrsD8bRd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Sunday 04 August 2024 13:20:10 -0400 (0:00:00.030) 0:00:11.248 ********* 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.y1nrsD8bRd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Sunday 04 August 2024 13:20:10 -0400 (0:00:00.030) 0:00:11.279 ********* changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": true, "interface_name": "ethtest0", "ip": { "address": [ "198.51.100.3/26" ], "dhcp4": false, "route": [ { "gateway": "198.51.100.1", "metric": 2, "network": "198.51.100.128", "prefix": 26, "table": 30400 }, { "gateway": "198.51.100.6", "metric": 4, "network": "198.51.100.64", "prefix": 26, "table": 30200 }, { "gateway": "198.51.100.8", "metric": 50, "network": "192.0.2.64", "prefix": 24, "src": "198.51.100.3", "table": 30200 } ] }, "name": "ethtest0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'ethtest0': add connection ethtest0, d710d1e3-82b7-4c10-a501-7137289b2423 [004] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, d710d1e3-82b7-4c10-a501-7137289b2423 (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.y1nrsD8bRd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Sunday 04 August 2024 13:20:11 -0400 (0:00:00.875) 0:00:12.155 ********* 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.y1nrsD8bRd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Sunday 04 August 2024 13:20:11 -0400 (0:00:00.031) 0:00:12.186 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'ethtest0': add connection ethtest0, d710d1e3-82b7-4c10-a501-7137289b2423", "[004] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, d710d1e3-82b7-4c10-a501-7137289b2423 (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.y1nrsD8bRd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Sunday 04 August 2024 13:20:11 -0400 (0:00:00.036) 0:00:12.222 ********* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": true, "interface_name": "ethtest0", "ip": { "address": [ "198.51.100.3/26" ], "dhcp4": false, "route": [ { "gateway": "198.51.100.1", "metric": 2, "network": "198.51.100.128", "prefix": 26, "table": 30400 }, { "gateway": "198.51.100.6", "metric": 4, "network": "198.51.100.64", "prefix": 26, "table": 30200 }, { "gateway": "198.51.100.8", "metric": 50, "network": "192.0.2.64", "prefix": 24, "src": "198.51.100.3", "table": 30200 } ] }, "name": "ethtest0", "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, 'ethtest0': add connection ethtest0, d710d1e3-82b7-4c10-a501-7137289b2423\n[004] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, d710d1e3-82b7-4c10-a501-7137289b2423 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'ethtest0': add connection ethtest0, d710d1e3-82b7-4c10-a501-7137289b2423", "[004] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, d710d1e3-82b7-4c10-a501-7137289b2423 (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.y1nrsD8bRd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Sunday 04 August 2024 13:20:11 -0400 (0:00:00.036) 0:00:12.259 ********* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.y1nrsD8bRd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Sunday 04 August 2024 13:20:11 -0400 (0:00:00.030) 0:00:12.290 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Get the routes from the route table 30200] ******************************* task path: /tmp/tmp.y1nrsD8bRd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_route_table.yml:56 Sunday 04 August 2024 13:20:12 -0400 (0:00:00.447) 0:00:12.737 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "route", "show", "table", "30200" ], "delta": "0:00:00.004055", "end": "2024-08-04 13:20:12.705197", "rc": 0, "start": "2024-08-04 13:20:12.701142" } STDOUT: 192.0.2.0/24 via 198.51.100.8 dev ethtest0 proto static src 198.51.100.3 metric 50 198.51.100.64/26 via 198.51.100.6 dev ethtest0 proto static metric 4 TASK [Get the routes from the route table 30400] ******************************* task path: /tmp/tmp.y1nrsD8bRd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_route_table.yml:62 Sunday 04 August 2024 13:20:12 -0400 (0:00:00.357) 0:00:13.095 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "route", "show", "table", "30400" ], "delta": "0:00:00.003620", "end": "2024-08-04 13:20:13.058526", "rc": 0, "start": "2024-08-04 13:20:13.054906" } STDOUT: 198.51.100.128/26 via 198.51.100.1 dev ethtest0 proto static metric 2 TASK [Assert that the route table 30200 contains the specified route] ********** task path: /tmp/tmp.y1nrsD8bRd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_route_table.yml:68 Sunday 04 August 2024 13:20:13 -0400 (0:00:00.351) 0:00:13.446 ********* fatal: [managed_node1]: FAILED! => { "assertion": "route_table_30200.stdout is search(\"192.0.2.64/24 via 198.51.100.8 dev ethtest0 proto static src 198.51.100.3 metric 50\")", "changed": false, "evaluated_to": false } MSG: the route table 30200 does not exist or does not contain the specified route PLAY RECAP ********************************************************************* managed_node1 : ok=38 changed=1 unreachable=0 failed=1 skipped=31 rescued=0 ignored=0 Sunday 04 August 2024 13:20:13 -0400 (0:00:00.021) 0:00:13.467 ********* =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 1.84s /tmp/tmp.y1nrsD8bRd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Gathering Facts --------------------------------------------------------- 1.14s /tmp/tmp.y1nrsD8bRd/ansible_collections/fedora/linux_system_roles/tests/network/tests_route_table_nm.yml:6 Create veth interface ethtest0 ------------------------------------------ 1.03s /tmp/tmp.y1nrsD8bRd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27 fedora.linux_system_roles.network : Check which packages are installed --- 0.94s /tmp/tmp.y1nrsD8bRd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gathering Facts --------------------------------------------------------- 0.88s /tmp/tmp.y1nrsD8bRd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_route_table.yml:3 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.88s /tmp/tmp.y1nrsD8bRd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Install iproute --------------------------------------------------------- 0.78s /tmp/tmp.y1nrsD8bRd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.77s /tmp/tmp.y1nrsD8bRd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Gather the minimum subset of ansible_facts required by the network role test --- 0.49s /tmp/tmp.y1nrsD8bRd/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 fedora.linux_system_roles.network : Re-test connectivity ---------------- 0.45s /tmp/tmp.y1nrsD8bRd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Check if system is ostree ----------------------------------------------- 0.44s /tmp/tmp.y1nrsD8bRd/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Gather current interface info ------------------------------------------- 0.43s /tmp/tmp.y1nrsD8bRd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Get the routes from the route table 30200 ------------------------------- 0.36s /tmp/tmp.y1nrsD8bRd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_route_table.yml:56 Set up veth as managed by NetworkManager -------------------------------- 0.36s /tmp/tmp.y1nrsD8bRd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:35 Get the routes from the route table 30400 ------------------------------- 0.35s /tmp/tmp.y1nrsD8bRd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_route_table.yml:62 Gather current interface info ------------------------------------------- 0.34s /tmp/tmp.y1nrsD8bRd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Get stat for interface ethtest0 ----------------------------------------- 0.34s /tmp/tmp.y1nrsD8bRd/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces --- 0.11s /tmp/tmp.y1nrsD8bRd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 fedora.linux_system_roles.network : Install packages -------------------- 0.10s /tmp/tmp.y1nrsD8bRd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces --- 0.07s /tmp/tmp.y1nrsD8bRd/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36