[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.yv13gcCRVC executable location = /usr/local/bin/ansible-playbook python version = 3.12.4 (main, Jul 17 2024, 00:00:00) [GCC 11.4.1 20231218 (Red Hat 11.4.1-3)] (/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.yv13gcCRVC/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.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tests_route_table_nm.yml:6 Sunday 04 August 2024 13:19:35 -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.9, 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.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tests_route_table_nm.yml:9 Sunday 04 August 2024 13:19:36 -0400 (0:00:01.036) 0:00:01.044 ********* included: /tmp/tmp.yv13gcCRVC/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.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Sunday 04 August 2024 13:19:36 -0400 (0:00:00.019) 0:00:01.063 ********* ok: [managed_node1] TASK [Check if system is ostree] *********************************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Sunday 04 August 2024 13:19:36 -0400 (0:00:00.485) 0:00:01.549 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Sunday 04 August 2024 13:19:37 -0400 (0:00:00.414) 0:00:01.964 ********* ok: [managed_node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Sunday 04 August 2024 13:19:37 -0400 (0:00:00.023) 0:00:01.987 ********* 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.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Sunday 04 August 2024 13:19:37 -0400 (0:00:00.014) 0:00:02.002 ********* included: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node1 TASK [Create EPEL 9] *********************************************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Sunday 04 August 2024 13:19:37 -0400 (0:00:00.046) 0:00:02.048 ********* 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.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:24 Sunday 04 August 2024 13:19:37 -0400 (0:00:00.014) 0:00:02.062 ********* 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.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:30 Sunday 04 August 2024 13:19:37 -0400 (0:00:00.013) 0:00:02.076 ********* 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.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:35 Sunday 04 August 2024 13:19:37 -0400 (0:00:00.014) 0:00:02.090 ********* 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.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:40 Sunday 04 August 2024 13:19:37 -0400 (0:00:00.013) 0:00:02.103 ********* 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.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tests_route_table_nm.yml:11 Sunday 04 August 2024 13:19:37 -0400 (0:00:00.013) 0:00:02.117 ********* ok: [managed_node1] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing route table] ******************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_route_table.yml:3 Sunday 04 August 2024 13:19:37 -0400 (0:00:00.028) 0:00:02.145 ********* ok: [managed_node1] TASK [Set type=veth and interface=ethtest0] ************************************ task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_route_table.yml:11 Sunday 04 August 2024 13:19:38 -0400 (0:00:00.736) 0:00:02.882 ********* ok: [managed_node1] => { "ansible_facts": { "interface": "ethtest0", "type": "veth" }, "changed": false } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_route_table.yml:15 Sunday 04 August 2024 13:19:38 -0400 (0:00:00.017) 0:00:02.899 ********* included: /tmp/tmp.yv13gcCRVC/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.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Sunday 04 August 2024 13:19:38 -0400 (0:00:00.031) 0:00:02.931 ********* included: /tmp/tmp.yv13gcCRVC/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.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Sunday 04 August 2024 13:19:38 -0400 (0:00:00.018) 0:00:02.950 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003240", "end": "2024-08-04 13:19:38.440780", "rc": 0, "start": "2024-08-04 13:19:38.437540" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Sunday 04 August 2024 13:19:38 -0400 (0:00:00.410) 0:00:03.361 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Sunday 04 August 2024 13:19:38 -0400 (0:00:00.018) 0:00:03.379 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_route_table.yml:17 Sunday 04 August 2024 13:19:38 -0400 (0:00:00.021) 0:00:03.400 ********* included: /tmp/tmp.yv13gcCRVC/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.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:3 Sunday 04 August 2024 13:19:38 -0400 (0:00:00.039) 0:00:03.440 ********* 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.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:8 Sunday 04 August 2024 13:19:38 -0400 (0:00:00.014) 0:00:03.455 ********* 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.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:13 Sunday 04 August 2024 13:19:38 -0400 (0:00:00.014) 0:00:03.469 ********* included: /tmp/tmp.yv13gcCRVC/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.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Sunday 04 August 2024 13:19:38 -0400 (0:00:00.020) 0:00:03.490 ********* included: /tmp/tmp.yv13gcCRVC/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.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Sunday 04 August 2024 13:19:38 -0400 (0:00:00.019) 0:00:03.509 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003127", "end": "2024-08-04 13:19:38.912716", "rc": 0, "start": "2024-08-04 13:19:38.909589" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Sunday 04 August 2024 13:19:38 -0400 (0:00:00.323) 0:00:03.833 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Sunday 04 August 2024 13:19:38 -0400 (0:00:00.018) 0:00:03.852 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Install iproute] ********************************************************* task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 Sunday 04 August 2024 13:19:38 -0400 (0:00:00.017) 0:00:03.869 ********* ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface ethtest0] ****************************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27 Sunday 04 August 2024 13:19:39 -0400 (0:00:00.949) 0:00:04.818 ********* 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.009010", "end": "2024-08-04 13:19:40.237152", "item": "ip link add ethtest0 type veth peer name peerethtest0", "rc": 0, "start": "2024-08-04 13:19:40.228142" } 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.003725", "end": "2024-08-04 13:19:40.577651", "item": "ip link set peerethtest0 up", "rc": 0, "start": "2024-08-04 13:19:40.573926" } 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.006393", "end": "2024-08-04 13:19:40.896078", "item": "ip link set ethtest0 up", "rc": 0, "start": "2024-08-04 13:19:40.889685" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:35 Sunday 04 August 2024 13:19:40 -0400 (0:00:00.999) 0:00:05.818 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "nmcli", "d", "set", "ethtest0", "managed", "true" ], "delta": "0:00:00.020935", "end": "2024-08-04 13:19:41.242756", "rc": 0, "start": "2024-08-04 13:19:41.221821" } TASK [Delete veth interface ethtest0] ****************************************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:43 Sunday 04 August 2024 13:19:41 -0400 (0:00:00.354) 0:00:06.172 ********* 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.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:49 Sunday 04 August 2024 13:19:41 -0400 (0:00:00.016) 0:00:06.188 ********* 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.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:54 Sunday 04 August 2024 13:19:41 -0400 (0:00:00.016) 0:00:06.205 ********* 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.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:60 Sunday 04 August 2024 13:19:41 -0400 (0:00:00.015) 0:00:06.220 ********* 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.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:65 Sunday 04 August 2024 13:19:41 -0400 (0:00:00.015) 0:00:06.235 ********* 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.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_route_table.yml:21 Sunday 04 August 2024 13:19:41 -0400 (0:00:00.014) 0:00:06.249 ********* included: /tmp/tmp.yv13gcCRVC/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.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Sunday 04 August 2024 13:19:41 -0400 (0:00:00.034) 0:00:06.284 ********* included: /tmp/tmp.yv13gcCRVC/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.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Sunday 04 August 2024 13:19:41 -0400 (0:00:00.018) 0:00:06.303 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722791980.2318983, "block_size": 4096, "blocks": 0, "ctime": 1722791980.2318983, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 47775, "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": 1722791980.2318983, "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.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Sunday 04 August 2024 13:19:41 -0400 (0:00:00.323) 0:00:06.627 ********* 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.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Sunday 04 August 2024 13:19:41 -0400 (0:00:00.020) 0:00:06.647 ********* included: /tmp/tmp.yv13gcCRVC/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.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Sunday 04 August 2024 13:19:41 -0400 (0:00:00.028) 0:00:06.675 ********* 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.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Sunday 04 August 2024 13:19:41 -0400 (0:00:00.038) 0:00:06.714 ********* 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.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Sunday 04 August 2024 13:19:41 -0400 (0:00:00.019) 0:00:06.734 ********* 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.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Sunday 04 August 2024 13:19:41 -0400 (0:00:00.019) 0:00:06.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.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Sunday 04 August 2024 13:19:43 -0400 (0:00:01.601) 0:00:08.355 ********* 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.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Sunday 04 August 2024 13:19:44 -0400 (0:00:01.067) 0:00:09.422 ********* 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.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Sunday 04 August 2024 13:19:44 -0400 (0:00:00.035) 0:00:09.458 ********* 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.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Sunday 04 August 2024 13:19:44 -0400 (0:00:00.032) 0:00:09.490 ********* 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.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Sunday 04 August 2024 13:19:44 -0400 (0:00:00.032) 0:00:09.523 ********* 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.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Sunday 04 August 2024 13:19:44 -0400 (0:00:00.053) 0:00:09.576 ********* 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.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Sunday 04 August 2024 13:19:44 -0400 (0:00:00.067) 0:00:09.644 ********* 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.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Sunday 04 August 2024 13:19:44 -0400 (0:00:00.054) 0:00:09.698 ********* 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.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Sunday 04 August 2024 13:19:44 -0400 (0:00:00.088) 0:00:09.787 ********* 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.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Sunday 04 August 2024 13:19:45 -0400 (0:00:00.100) 0:00:09.888 ********* 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.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Sunday 04 August 2024 13:19:45 -0400 (0:00:00.033) 0:00:09.921 ********* 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.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Sunday 04 August 2024 13:19:45 -0400 (0:00:00.033) 0:00:09.954 ********* 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.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Sunday 04 August 2024 13:19:45 -0400 (0:00:00.064) 0:00:10.019 ********* 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.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Sunday 04 August 2024 13:19:45 -0400 (0:00:00.761) 0:00:10.781 ********* 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.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Sunday 04 August 2024 13:19:45 -0400 (0:00:00.065) 0:00:10.846 ********* 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.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Sunday 04 August 2024 13:19:46 -0400 (0:00:00.032) 0:00:10.879 ********* 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.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Sunday 04 August 2024 13:19:46 -0400 (0:00:00.031) 0:00:10.910 ********* 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, d9c43621-2188-4ed9-8530-a55f556670a5 [004] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, d9c43621-2188-4ed9-8530-a55f556670a5 (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Sunday 04 August 2024 13:19:46 -0400 (0:00:00.707) 0:00:11.618 ********* 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.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Sunday 04 August 2024 13:19:46 -0400 (0:00:00.033) 0:00:11.652 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'ethtest0': add connection ethtest0, d9c43621-2188-4ed9-8530-a55f556670a5", "[004] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, d9c43621-2188-4ed9-8530-a55f556670a5 (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Sunday 04 August 2024 13:19:46 -0400 (0:00:00.036) 0:00:11.688 ********* 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, d9c43621-2188-4ed9-8530-a55f556670a5\n[004] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, d9c43621-2188-4ed9-8530-a55f556670a5 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'ethtest0': add connection ethtest0, d9c43621-2188-4ed9-8530-a55f556670a5", "[004] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, d9c43621-2188-4ed9-8530-a55f556670a5 (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Sunday 04 August 2024 13:19:46 -0400 (0:00:00.038) 0:00:11.726 ********* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Sunday 04 August 2024 13:19:46 -0400 (0:00:00.032) 0:00:11.758 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Get the routes from the route table 30200] ******************************* task path: /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_route_table.yml:56 Sunday 04 August 2024 13:19:47 -0400 (0:00:00.448) 0:00:12.207 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "route", "show", "table", "30200" ], "delta": "0:00:00.003400", "end": "2024-08-04 13:19:47.613056", "rc": 0, "start": "2024-08-04 13:19:47.609656" } 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.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_route_table.yml:62 Sunday 04 August 2024 13:19:47 -0400 (0:00:00.342) 0:00:12.550 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "route", "show", "table", "30400" ], "delta": "0:00:00.003542", "end": "2024-08-04 13:19:47.955880", "rc": 0, "start": "2024-08-04 13:19:47.952338" } 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.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_route_table.yml:68 Sunday 04 August 2024 13:19:48 -0400 (0:00:00.343) 0:00:12.893 ********* 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:19:48 -0400 (0:00:00.020) 0:00:12.914 ********* =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 1.60s /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.07s /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gathering Facts --------------------------------------------------------- 1.04s /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tests_route_table_nm.yml:6 Create veth interface ethtest0 ------------------------------------------ 1.00s /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27 Install iproute --------------------------------------------------------- 0.95s /tmp/tmp.yv13gcCRVC/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.76s /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Gathering Facts --------------------------------------------------------- 0.74s /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_route_table.yml:3 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.71s /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Gather the minimum subset of ansible_facts required by the network role test --- 0.49s /tmp/tmp.yv13gcCRVC/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.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Check if system is ostree ----------------------------------------------- 0.41s /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Gather current interface info ------------------------------------------- 0.41s /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Set up veth as managed by NetworkManager -------------------------------- 0.35s /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:35 Get the routes from the route table 30400 ------------------------------- 0.34s /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_route_table.yml:62 Get the routes from the route table 30200 ------------------------------- 0.34s /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_route_table.yml:56 Get stat for interface ethtest0 ----------------------------------------- 0.32s /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Gather current interface info ------------------------------------------- 0.32s /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 fedora.linux_system_roles.network : Install packages -------------------- 0.10s /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces --- 0.09s /tmp/tmp.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 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.yv13gcCRVC/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36