# STDOUT: ---v---v---v---v---v--- ansible-playbook [core 2.16.0] config file = /etc/ansible/ansible.cfg configured module search path = ['/home/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /opt/ansible-2.16/lib/python3.11/site-packages/ansible ansible collection location = /WORKDIR/git-route_typerf_pc_xy/.collection executable location = /opt/ansible-2.16/bin/ansible-playbook python version = 3.11.5 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] (/opt/ansible-2.16/bin/python) jinja version = 3.1.2 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. 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 /WORKDIR/git-route_typerf_pc_xy/tests/tests_auto_gateway_nm.yml PLAY [Run playbook 'playbooks/tests_auto_gateway.yml' with nm as provider] ***** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typerf_pc_xy/tests/tests_auto_gateway_nm.yml:6 Tuesday 09 January 2024 20:11:50 +0000 (0:00:00.011) 0:00:00.011 ******* ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_typerf_pc_xy/tests/tests_auto_gateway_nm.yml:9 Tuesday 09 January 2024 20:11:51 +0000 (0:00:00.893) 0:00:00.905 ******* included: /WORKDIR/git-route_typerf_pc_xy/tests/tasks/el_repo_setup.yml for sut TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /WORKDIR/git-route_typerf_pc_xy/tests/tasks/el_repo_setup.yml:3 Tuesday 09 January 2024 20:11:51 +0000 (0:00:00.012) 0:00:00.917 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_typerf_pc_xy/tests/tasks/el_repo_setup.yml:17 Tuesday 09 January 2024 20:11:51 +0000 (0:00:00.368) 0:00:01.286 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_typerf_pc_xy/tests/tasks/el_repo_setup.yml:22 Tuesday 09 January 2024 20:11:52 +0000 (0:00:00.267) 0:00:01.554 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_typerf_pc_xy/tests/tasks/el_repo_setup.yml:26 Tuesday 09 January 2024 20:11:52 +0000 (0:00:00.023) 0:00:01.577 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_typerf_pc_xy/tests/tasks/el_repo_setup.yml:51 Tuesday 09 January 2024 20:11:52 +0000 (0:00:00.010) 0:00:01.587 ******* included: /WORKDIR/git-route_typerf_pc_xy/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-route_typerf_pc_xy/tests/tasks/enable_epel.yml:8 Tuesday 09 January 2024 20:11:52 +0000 (0:00:00.023) 0:00:01.611 ******* ok: [sut] => { "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: /WORKDIR/git-route_typerf_pc_xy/tests/tasks/enable_epel.yml:24 Tuesday 09 January 2024 20:11:52 +0000 (0:00:00.255) 0:00:01.866 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-route_typerf_pc_xy/tests/tasks/enable_epel.yml:30 Tuesday 09 January 2024 20:11:52 +0000 (0:00:00.009) 0:00:01.876 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_typerf_pc_xy/tests/tasks/enable_epel.yml:35 Tuesday 09 January 2024 20:11:52 +0000 (0:00:00.010) 0:00:01.886 ******* ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.254774", "end": "2024-01-09 20:11:52.767305", "rc": 0, "start": "2024-01-09 20:11:52.512531" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_typerf_pc_xy/tests/tasks/enable_epel.yml:40 Tuesday 09 January 2024 20:11:52 +0000 (0:00:00.456) 0:00:02.342 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-route_typerf_pc_xy/tests/tests_auto_gateway_nm.yml:11 Tuesday 09 January 2024 20:11:52 +0000 (0:00:00.011) 0:00:02.354 ******* ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing auto_gateway setting] *********************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tests_auto_gateway.yml:3 Tuesday 09 January 2024 20:11:52 +0000 (0:00:00.020) 0:00:02.375 ******* ok: [sut] TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tests_auto_gateway.yml:9 Tuesday 09 January 2024 20:11:54 +0000 (0:00:01.734) 0:00:04.109 ******* included: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 20:11:54 +0000 (0:00:00.022) 0:00:04.132 ******* included: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 20:11:54 +0000 (0:00:00.010) 0:00:04.142 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003652", "end": "2024-01-09 20:11:54.770332", "rc": 0, "start": "2024-01-09 20:11:54.766680" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 20:11:54 +0000 (0:00:00.202) 0:00:04.345 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 20:11:54 +0000 (0:00:00.013) 0:00:04.359 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tests_auto_gateway.yml:11 Tuesday 09 January 2024 20:11:54 +0000 (0:00:00.010) 0:00:04.370 ******* included: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 09 January 2024 20:11:54 +0000 (0:00:00.037) 0:00:04.407 ******* skipping: [sut] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 09 January 2024 20:11:54 +0000 (0:00:00.010) 0:00:04.417 ******* skipping: [sut] => { "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: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 09 January 2024 20:11:54 +0000 (0:00:00.008) 0:00:04.426 ******* included: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 20:11:54 +0000 (0:00:00.012) 0:00:04.438 ******* included: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 20:11:54 +0000 (0:00:00.014) 0:00:04.453 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003906", "end": "2024-01-09 20:11:55.082684", "rc": 0, "start": "2024-01-09 20:11:55.078778" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 20:11:55 +0000 (0:00:00.200) 0:00:04.654 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 20:11:55 +0000 (0:00:00.013) 0:00:04.668 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 09 January 2024 20:11:55 +0000 (0:00:00.010) 0:00:04.678 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/manage_test_interface.yml:23 Tuesday 09 January 2024 20:11:58 +0000 (0:00:03.339) 0:00:08.017 ******* ok: [sut] => (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.014678", "end": "2024-01-09 20:11:58.658978", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-01-09 20:11:58.644300" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004263", "end": "2024-01-09 20:11:58.894673", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-01-09 20:11:58.890410" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004356", "end": "2024-01-09 20:11:59.088504", "item": "ip link set veth0 up", "rc": 0, "start": "2024-01-09 20:11:59.084148" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/manage_test_interface.yml:31 Tuesday 09 January 2024 20:11:59 +0000 (0:00:00.653) 0:00:08.671 ******* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.024255", "end": "2024-01-09 20:11:59.327732", "rc": 0, "start": "2024-01-09 20:11:59.303477" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/manage_test_interface.yml:39 Tuesday 09 January 2024 20:11:59 +0000 (0:00:00.228) 0:00:08.899 ******* skipping: [sut] => { "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: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/manage_test_interface.yml:45 Tuesday 09 January 2024 20:11:59 +0000 (0:00:00.009) 0:00:08.908 ******* skipping: [sut] => { "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: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/manage_test_interface.yml:50 Tuesday 09 January 2024 20:11:59 +0000 (0:00:00.010) 0:00:08.919 ******* skipping: [sut] => { "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: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/manage_test_interface.yml:56 Tuesday 09 January 2024 20:11:59 +0000 (0:00:00.009) 0:00:08.928 ******* skipping: [sut] => { "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: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/manage_test_interface.yml:61 Tuesday 09 January 2024 20:11:59 +0000 (0:00:00.009) 0:00:08.937 ******* skipping: [sut] => { "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: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tests_auto_gateway.yml:15 Tuesday 09 January 2024 20:11:59 +0000 (0:00:00.014) 0:00:08.952 ******* included: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 20:11:59 +0000 (0:00:00.024) 0:00:08.976 ******* included: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 20:11:59 +0000 (0:00:00.010) 0:00:08.987 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704831118.6484256, "block_size": 4096, "blocks": 0, "ctime": 1704831118.6484256, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 22946, "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": 1704831118.6484256, "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: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 20:11:59 +0000 (0:00:00.196) 0:00:09.184 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tests_auto_gateway.yml:17 Tuesday 09 January 2024 20:11:59 +0000 (0:00:00.014) 0:00:09.199 ******* ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typerf_pc_xy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 09 January 2024 20:11:59 +0000 (0:00:00.010) 0:00:09.209 ******* included: /WORKDIR/git-route_typerf_pc_xy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_typerf_pc_xy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:11:59 +0000 (0:00:00.017) 0:00:09.226 ******* skipping: [sut] => { "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: /WORKDIR/git-route_typerf_pc_xy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 09 January 2024 20:11:59 +0000 (0:00:00.018) 0:00:09.245 ******* skipping: [sut] => { "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: /WORKDIR/git-route_typerf_pc_xy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 09 January 2024 20:11:59 +0000 (0:00:00.012) 0:00:09.258 ******* skipping: [sut] => { "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: /WORKDIR/git-route_typerf_pc_xy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 09 January 2024 20:11:59 +0000 (0:00:00.011) 0:00:09.269 ******* ok: [sut] => { "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: /WORKDIR/git-route_typerf_pc_xy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 09 January 2024 20:12:01 +0000 (0:00:01.806) 0:00:11.076 ******* ok: [sut] => { "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: /WORKDIR/git-route_typerf_pc_xy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 09 January 2024 20:12:03 +0000 (0:00:01.561) 0:00:12.637 ******* ok: [sut] => {} 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: /WORKDIR/git-route_typerf_pc_xy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 09 January 2024 20:12:03 +0000 (0:00:00.027) 0:00:12.665 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "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: /WORKDIR/git-route_typerf_pc_xy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 09 January 2024 20:12:03 +0000 (0:00:00.031) 0:00:12.697 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-route_typerf_pc_xy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 09 January 2024 20:12:03 +0000 (0:00:00.024) 0:00:12.721 ******* skipping: [sut] => { "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: /WORKDIR/git-route_typerf_pc_xy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 09 January 2024 20:12:03 +0000 (0:00:00.055) 0:00:12.776 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typerf_pc_xy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 09 January 2024 20:12:03 +0000 (0:00:00.026) 0:00:12.802 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typerf_pc_xy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 09 January 2024 20:12:03 +0000 (0:00:00.042) 0:00:12.845 ******* skipping: [sut] => { "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: /WORKDIR/git-route_typerf_pc_xy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 09 January 2024 20:12:03 +0000 (0:00:00.035) 0:00:12.880 ******* ok: [sut] => { "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: /WORKDIR/git-route_typerf_pc_xy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 09 January 2024 20:12:03 +0000 (0:00:00.580) 0:00:13.460 ******* skipping: [sut] => { "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: /WORKDIR/git-route_typerf_pc_xy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 09 January 2024 20:12:03 +0000 (0:00:00.034) 0:00:13.495 ******* skipping: [sut] => { "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: /WORKDIR/git-route_typerf_pc_xy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 09 January 2024 20:12:03 +0000 (0:00:00.018) 0:00:13.514 ******* skipping: [sut] => { "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: /WORKDIR/git-route_typerf_pc_xy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 09 January 2024 20:12:03 +0000 (0:00:00.017) 0:00:13.532 ******* changed: [sut] => { "_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, 1776f1c5-9cac-4070-83cf-f688f0a10536 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 1776f1c5-9cac-4070-83cf-f688f0a10536 (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_typerf_pc_xy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 09 January 2024 20:12:04 +0000 (0:00:00.542) 0:00:14.075 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typerf_pc_xy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 09 January 2024 20:12:04 +0000 (0:00:00.022) 0:00:14.097 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 1776f1c5-9cac-4070-83cf-f688f0a10536", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 1776f1c5-9cac-4070-83cf-f688f0a10536 (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typerf_pc_xy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 09 January 2024 20:12:04 +0000 (0:00:00.021) 0:00:14.118 ******* ok: [sut] => { "__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, 1776f1c5-9cac-4070-83cf-f688f0a10536\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 1776f1c5-9cac-4070-83cf-f688f0a10536 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 1776f1c5-9cac-4070-83cf-f688f0a10536", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 1776f1c5-9cac-4070-83cf-f688f0a10536 (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typerf_pc_xy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 09 January 2024 20:12:04 +0000 (0:00:00.021) 0:00:14.140 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typerf_pc_xy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 09 January 2024 20:12:04 +0000 (0:00:00.021) 0:00:14.161 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tests_auto_gateway.yml:42 Tuesday 09 January 2024 20:12:04 +0000 (0:00:00.297) 0:00:14.459 ******* included: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 20:12:04 +0000 (0:00:00.043) 0:00:14.502 ******* included: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 20:12:05 +0000 (0:00:00.058) 0:00:14.560 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704831118.6484256, "block_size": 4096, "blocks": 0, "ctime": 1704831118.6484256, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 22946, "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": 1704831118.6484256, "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: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 20:12:05 +0000 (0:00:00.206) 0:00:14.767 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tests_auto_gateway.yml:44 Tuesday 09 January 2024 20:12:05 +0000 (0:00:00.038) 0:00:14.806 ******* included: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 20:12:05 +0000 (0:00:00.044) 0:00:14.850 ******* included: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 20:12:05 +0000 (0:00:00.031) 0:00:14.882 ******* ok: [sut] => { "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: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 20:12:05 +0000 (0:00:00.019) 0:00:14.902 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704831124.430624, "block_size": 4096, "blocks": 8, "ctime": 1704831124.429624, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4750414, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704831124.429624, "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: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 20:12:05 +0000 (0:00:00.213) 0:00:15.115 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 20:12:05 +0000 (0:00:00.022) 0:00:15.138 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.023617", "end": "2024-01-09 20:12:05.790512", "rc": 0, "start": "2024-01-09 20:12:05.766895" } 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: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 20:12:05 +0000 (0:00:00.232) 0:00:15.370 ******* ok: [sut] => { "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: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 20:12:05 +0000 (0:00:00.021) 0:00:15.392 ******* skipping: [sut] => { "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: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 20:12:05 +0000 (0:00:00.020) 0:00:15.412 ******* skipping: [sut] => { "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: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 20:12:05 +0000 (0:00:00.020) 0:00:15.432 ******* skipping: [sut] => { "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: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 20:12:05 +0000 (0:00:00.025) 0:00:15.457 ******* skipping: [sut] => { "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: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 20:12:05 +0000 (0:00:00.028) 0:00:15.486 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 20:12:05 +0000 (0:00:00.023) 0:00:15.510 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 20:12:06 +0000 (0:00:00.058) 0:00:15.568 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tests_auto_gateway.yml:48 Tuesday 09 January 2024 20:12:06 +0000 (0:00:00.021) 0:00:15.589 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.004165", "end": "2024-01-09 20:12:06.218695", "rc": 0, "start": "2024-01-09 20:12:06.214530" } STDOUT: default via 10.31.12.1 dev eth0 proto dhcp src 10.31.13.138 metric 100 default via 203.0.113.1 dev veth0 proto static metric 65535 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.13.138 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: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tests_auto_gateway.yml:52 Tuesday 09 January 2024 20:12:06 +0000 (0:00:00.208) 0:00:15.797 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tests_auto_gateway.yml:58 Tuesday 09 January 2024 20:12:06 +0000 (0:00:00.021) 0:00:15.819 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.004276", "end": "2024-01-09 20:12:06.446731", "rc": 0, "start": "2024-01-09 20:12:06.442455" } 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: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tests_auto_gateway.yml:62 Tuesday 09 January 2024 20:12:06 +0000 (0:00:00.207) 0:00:16.026 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tests_auto_gateway.yml:69 Tuesday 09 January 2024 20:12:06 +0000 (0:00:00.020) 0:00:16.047 ******* ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typerf_pc_xy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 09 January 2024 20:12:06 +0000 (0:00:00.019) 0:00:16.067 ******* included: /WORKDIR/git-route_typerf_pc_xy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_typerf_pc_xy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:12:06 +0000 (0:00:00.034) 0:00:16.101 ******* skipping: [sut] => { "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: /WORKDIR/git-route_typerf_pc_xy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 09 January 2024 20:12:06 +0000 (0:00:00.032) 0:00:16.133 ******* skipping: [sut] => { "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: /WORKDIR/git-route_typerf_pc_xy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 09 January 2024 20:12:06 +0000 (0:00:00.021) 0:00:16.155 ******* skipping: [sut] => { "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: /WORKDIR/git-route_typerf_pc_xy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 09 January 2024 20:12:06 +0000 (0:00:00.022) 0:00:16.177 ******* ok: [sut] => { "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: /WORKDIR/git-route_typerf_pc_xy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 09 January 2024 20:12:08 +0000 (0:00:01.662) 0:00:17.840 ******* ok: [sut] => { "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: /WORKDIR/git-route_typerf_pc_xy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 09 January 2024 20:12:09 +0000 (0:00:01.369) 0:00:19.210 ******* ok: [sut] => {} 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: /WORKDIR/git-route_typerf_pc_xy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 09 January 2024 20:12:09 +0000 (0:00:00.050) 0:00:19.261 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "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: /WORKDIR/git-route_typerf_pc_xy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 09 January 2024 20:12:09 +0000 (0:00:00.022) 0:00:19.284 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-route_typerf_pc_xy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 09 January 2024 20:12:09 +0000 (0:00:00.022) 0:00:19.306 ******* skipping: [sut] => { "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: /WORKDIR/git-route_typerf_pc_xy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 09 January 2024 20:12:09 +0000 (0:00:00.055) 0:00:19.361 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typerf_pc_xy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 09 January 2024 20:12:09 +0000 (0:00:00.023) 0:00:19.385 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typerf_pc_xy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 09 January 2024 20:12:09 +0000 (0:00:00.031) 0:00:19.417 ******* skipping: [sut] => { "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: /WORKDIR/git-route_typerf_pc_xy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 09 January 2024 20:12:09 +0000 (0:00:00.037) 0:00:19.454 ******* ok: [sut] => { "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: /WORKDIR/git-route_typerf_pc_xy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 09 January 2024 20:12:10 +0000 (0:00:00.389) 0:00:19.844 ******* skipping: [sut] => { "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: /WORKDIR/git-route_typerf_pc_xy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 09 January 2024 20:12:10 +0000 (0:00:00.033) 0:00:19.878 ******* skipping: [sut] => { "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: /WORKDIR/git-route_typerf_pc_xy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 09 January 2024 20:12:10 +0000 (0:00:00.018) 0:00:19.896 ******* skipping: [sut] => { "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: /WORKDIR/git-route_typerf_pc_xy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 09 January 2024 20:12:10 +0000 (0:00:00.018) 0:00:19.915 ******* changed: [sut] => { "_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: /WORKDIR/git-route_typerf_pc_xy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 09 January 2024 20:12:10 +0000 (0:00:00.420) 0:00:20.335 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typerf_pc_xy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 09 January 2024 20:12:10 +0000 (0:00:00.022) 0:00:20.358 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typerf_pc_xy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 09 January 2024 20:12:10 +0000 (0:00:00.021) 0:00:20.379 ******* ok: [sut] => { "__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: /WORKDIR/git-route_typerf_pc_xy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 09 January 2024 20:12:10 +0000 (0:00:00.022) 0:00:20.402 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typerf_pc_xy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 09 January 2024 20:12:10 +0000 (0:00:00.022) 0:00:20.424 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tests_auto_gateway.yml:81 Tuesday 09 January 2024 20:12:11 +0000 (0:00:00.243) 0:00:20.667 ******* included: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 09 January 2024 20:12:11 +0000 (0:00:00.047) 0:00:20.715 ******* skipping: [sut] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 09 January 2024 20:12:11 +0000 (0:00:00.018) 0:00:20.733 ******* skipping: [sut] => { "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: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 09 January 2024 20:12:11 +0000 (0:00:00.018) 0:00:20.752 ******* included: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 20:12:11 +0000 (0:00:00.031) 0:00:20.783 ******* included: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 20:12:11 +0000 (0:00:00.032) 0:00:20.816 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003876", "end": "2024-01-09 20:12:11.445953", "rc": 0, "start": "2024-01-09 20:12:11.442077" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 20:12:11 +0000 (0:00:00.210) 0:00:21.026 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 20:12:11 +0000 (0:00:00.022) 0:00:21.049 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 09 January 2024 20:12:11 +0000 (0:00:00.020) 0:00:21.069 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/manage_test_interface.yml:23 Tuesday 09 January 2024 20:12:14 +0000 (0:00:03.085) 0:00:24.155 ******* skipping: [sut] => (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: [sut] => (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: [sut] => (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: [sut] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/manage_test_interface.yml:31 Tuesday 09 January 2024 20:12:14 +0000 (0:00:00.033) 0:00:24.188 ******* skipping: [sut] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/manage_test_interface.yml:39 Tuesday 09 January 2024 20:12:14 +0000 (0:00:00.019) 0:00:24.208 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.015348", "end": "2024-01-09 20:12:14.856429", "rc": 0, "start": "2024-01-09 20:12:14.841081" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/manage_test_interface.yml:45 Tuesday 09 January 2024 20:12:14 +0000 (0:00:00.231) 0:00:24.439 ******* skipping: [sut] => { "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: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/manage_test_interface.yml:50 Tuesday 09 January 2024 20:12:14 +0000 (0:00:00.048) 0:00:24.488 ******* skipping: [sut] => { "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: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/manage_test_interface.yml:56 Tuesday 09 January 2024 20:12:14 +0000 (0:00:00.019) 0:00:24.508 ******* skipping: [sut] => { "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: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/manage_test_interface.yml:61 Tuesday 09 January 2024 20:12:14 +0000 (0:00:00.018) 0:00:24.527 ******* skipping: [sut] => { "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: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tests_auto_gateway.yml:85 Tuesday 09 January 2024 20:12:14 +0000 (0:00:00.018) 0:00:24.545 ******* ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tests_auto_gateway.yml:89 Tuesday 09 January 2024 20:12:15 +0000 (0:00:00.020) 0:00:24.565 ******* included: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 09 January 2024 20:12:15 +0000 (0:00:00.045) 0:00:24.611 ******* skipping: [sut] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 09 January 2024 20:12:15 +0000 (0:00:00.019) 0:00:24.631 ******* skipping: [sut] => { "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: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 09 January 2024 20:12:15 +0000 (0:00:00.019) 0:00:24.650 ******* included: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 20:12:15 +0000 (0:00:00.032) 0:00:24.683 ******* included: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 20:12:15 +0000 (0:00:00.030) 0:00:24.713 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003664", "end": "2024-01-09 20:12:15.341232", "rc": 0, "start": "2024-01-09 20:12:15.337568" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 20:12:15 +0000 (0:00:00.208) 0:00:24.922 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 20:12:15 +0000 (0:00:00.020) 0:00:24.942 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 09 January 2024 20:12:15 +0000 (0:00:00.019) 0:00:24.962 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/manage_test_interface.yml:23 Tuesday 09 January 2024 20:12:18 +0000 (0:00:03.059) 0:00:28.021 ******* ok: [sut] => (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.012220", "end": "2024-01-09 20:12:18.659558", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-01-09 20:12:18.647338" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004357", "end": "2024-01-09 20:12:18.894573", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-01-09 20:12:18.890216" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004573", "end": "2024-01-09 20:12:19.087582", "item": "ip link set veth0 up", "rc": 0, "start": "2024-01-09 20:12:19.083009" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/manage_test_interface.yml:31 Tuesday 09 January 2024 20:12:19 +0000 (0:00:00.675) 0:00:28.697 ******* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.023602", "end": "2024-01-09 20:12:19.344945", "rc": 0, "start": "2024-01-09 20:12:19.321343" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/manage_test_interface.yml:39 Tuesday 09 January 2024 20:12:19 +0000 (0:00:00.229) 0:00:28.927 ******* skipping: [sut] => { "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: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/manage_test_interface.yml:45 Tuesday 09 January 2024 20:12:19 +0000 (0:00:00.020) 0:00:28.948 ******* skipping: [sut] => { "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: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/manage_test_interface.yml:50 Tuesday 09 January 2024 20:12:19 +0000 (0:00:00.020) 0:00:28.968 ******* skipping: [sut] => { "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: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/manage_test_interface.yml:56 Tuesday 09 January 2024 20:12:19 +0000 (0:00:00.019) 0:00:28.988 ******* skipping: [sut] => { "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: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/manage_test_interface.yml:61 Tuesday 09 January 2024 20:12:19 +0000 (0:00:00.020) 0:00:29.008 ******* skipping: [sut] => { "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: /WORKDIR/git-route_typerf_pc_xy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 09 January 2024 20:12:19 +0000 (0:00:00.019) 0:00:29.027 ******* included: /WORKDIR/git-route_typerf_pc_xy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_typerf_pc_xy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:12:19 +0000 (0:00:00.035) 0:00:29.063 ******* skipping: [sut] => { "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: /WORKDIR/git-route_typerf_pc_xy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 09 January 2024 20:12:19 +0000 (0:00:00.033) 0:00:29.096 ******* skipping: [sut] => { "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: /WORKDIR/git-route_typerf_pc_xy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 09 January 2024 20:12:19 +0000 (0:00:00.024) 0:00:29.120 ******* skipping: [sut] => { "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: /WORKDIR/git-route_typerf_pc_xy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 09 January 2024 20:12:19 +0000 (0:00:00.022) 0:00:29.143 ******* ok: [sut] => { "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: /WORKDIR/git-route_typerf_pc_xy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 09 January 2024 20:12:21 +0000 (0:00:01.655) 0:00:30.798 ******* ok: [sut] => { "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: /WORKDIR/git-route_typerf_pc_xy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 09 January 2024 20:12:22 +0000 (0:00:01.375) 0:00:32.173 ******* ok: [sut] => {} 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: /WORKDIR/git-route_typerf_pc_xy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 09 January 2024 20:12:22 +0000 (0:00:00.058) 0:00:32.232 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "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: /WORKDIR/git-route_typerf_pc_xy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 09 January 2024 20:12:22 +0000 (0:00:00.025) 0:00:32.258 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-route_typerf_pc_xy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 09 January 2024 20:12:22 +0000 (0:00:00.025) 0:00:32.284 ******* skipping: [sut] => { "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: /WORKDIR/git-route_typerf_pc_xy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 09 January 2024 20:12:22 +0000 (0:00:00.058) 0:00:32.342 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typerf_pc_xy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 09 January 2024 20:12:22 +0000 (0:00:00.025) 0:00:32.368 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typerf_pc_xy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 09 January 2024 20:12:22 +0000 (0:00:00.025) 0:00:32.393 ******* skipping: [sut] => { "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: /WORKDIR/git-route_typerf_pc_xy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 09 January 2024 20:12:22 +0000 (0:00:00.039) 0:00:32.433 ******* ok: [sut] => { "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: /WORKDIR/git-route_typerf_pc_xy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 09 January 2024 20:12:23 +0000 (0:00:00.390) 0:00:32.824 ******* skipping: [sut] => { "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: /WORKDIR/git-route_typerf_pc_xy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 09 January 2024 20:12:23 +0000 (0:00:00.034) 0:00:32.858 ******* skipping: [sut] => { "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: /WORKDIR/git-route_typerf_pc_xy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 09 January 2024 20:12:23 +0000 (0:00:00.018) 0:00:32.876 ******* skipping: [sut] => { "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: /WORKDIR/git-route_typerf_pc_xy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 09 January 2024 20:12:23 +0000 (0:00:00.018) 0:00:32.895 ******* changed: [sut] => { "_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, 437a1cf7-63d0-4ada-99b1-b86e2c53a155 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 437a1cf7-63d0-4ada-99b1-b86e2c53a155 (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_typerf_pc_xy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 09 January 2024 20:12:23 +0000 (0:00:00.413) 0:00:33.308 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typerf_pc_xy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 09 January 2024 20:12:23 +0000 (0:00:00.025) 0:00:33.334 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 437a1cf7-63d0-4ada-99b1-b86e2c53a155", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 437a1cf7-63d0-4ada-99b1-b86e2c53a155 (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typerf_pc_xy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 09 January 2024 20:12:23 +0000 (0:00:00.022) 0:00:33.356 ******* ok: [sut] => { "__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, 437a1cf7-63d0-4ada-99b1-b86e2c53a155\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 437a1cf7-63d0-4ada-99b1-b86e2c53a155 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 437a1cf7-63d0-4ada-99b1-b86e2c53a155", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 437a1cf7-63d0-4ada-99b1-b86e2c53a155 (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typerf_pc_xy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 09 January 2024 20:12:23 +0000 (0:00:00.024) 0:00:33.381 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typerf_pc_xy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 09 January 2024 20:12:23 +0000 (0:00:00.024) 0:00:33.405 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tests_auto_gateway.yml:110 Tuesday 09 January 2024 20:12:24 +0000 (0:00:00.252) 0:00:33.657 ******* included: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 20:12:24 +0000 (0:00:00.048) 0:00:33.705 ******* included: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 20:12:24 +0000 (0:00:00.030) 0:00:33.736 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704831138.651359, "block_size": 4096, "blocks": 0, "ctime": 1704831138.651359, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 23532, "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": 1704831138.651359, "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: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 20:12:24 +0000 (0:00:00.207) 0:00:33.943 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tests_auto_gateway.yml:112 Tuesday 09 January 2024 20:12:24 +0000 (0:00:00.023) 0:00:33.967 ******* included: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 20:12:24 +0000 (0:00:00.045) 0:00:34.013 ******* included: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 20:12:24 +0000 (0:00:00.030) 0:00:34.043 ******* ok: [sut] => { "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: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 20:12:24 +0000 (0:00:00.019) 0:00:34.063 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704831143.7050333, "block_size": 4096, "blocks": 8, "ctime": 1704831143.6630344, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4750414, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704831143.6630344, "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: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 20:12:24 +0000 (0:00:00.202) 0:00:34.265 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 20:12:24 +0000 (0:00:00.023) 0:00:34.288 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.023221", "end": "2024-01-09 20:12:24.937719", "rc": 0, "start": "2024-01-09 20:12:24.914498" } 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: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 20:12:24 +0000 (0:00:00.233) 0:00:34.522 ******* ok: [sut] => { "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: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 20:12:25 +0000 (0:00:00.059) 0:00:34.582 ******* skipping: [sut] => { "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: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 20:12:25 +0000 (0:00:00.022) 0:00:34.604 ******* skipping: [sut] => { "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: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 20:12:25 +0000 (0:00:00.021) 0:00:34.626 ******* skipping: [sut] => { "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: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 20:12:25 +0000 (0:00:00.022) 0:00:34.649 ******* skipping: [sut] => { "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: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 20:12:25 +0000 (0:00:00.026) 0:00:34.675 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 20:12:25 +0000 (0:00:00.025) 0:00:34.701 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 20:12:25 +0000 (0:00:00.038) 0:00:34.739 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tests_auto_gateway.yml:116 Tuesday 09 January 2024 20:12:25 +0000 (0:00:00.023) 0:00:34.763 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.004050", "end": "2024-01-09 20:12:25.393064", "rc": 0, "start": "2024-01-09 20:12:25.389014" } STDOUT: default via 10.31.12.1 dev eth0 proto dhcp src 10.31.13.138 metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.13.138 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: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tests_auto_gateway.yml:120 Tuesday 09 January 2024 20:12:25 +0000 (0:00:00.215) 0:00:34.978 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tests_auto_gateway.yml:126 Tuesday 09 January 2024 20:12:25 +0000 (0:00:00.025) 0:00:35.003 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.004272", "end": "2024-01-09 20:12:25.633937", "rc": 0, "start": "2024-01-09 20:12:25.629665" } 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: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tests_auto_gateway.yml:130 Tuesday 09 January 2024 20:12:25 +0000 (0:00:00.220) 0:00:35.224 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tests_auto_gateway.yml:137 Tuesday 09 January 2024 20:12:25 +0000 (0:00:00.064) 0:00:35.288 ******* ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typerf_pc_xy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 09 January 2024 20:12:25 +0000 (0:00:00.033) 0:00:35.322 ******* included: /WORKDIR/git-route_typerf_pc_xy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_typerf_pc_xy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:12:25 +0000 (0:00:00.047) 0:00:35.370 ******* skipping: [sut] => { "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: /WORKDIR/git-route_typerf_pc_xy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 09 January 2024 20:12:25 +0000 (0:00:00.052) 0:00:35.422 ******* skipping: [sut] => { "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: /WORKDIR/git-route_typerf_pc_xy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 09 January 2024 20:12:25 +0000 (0:00:00.029) 0:00:35.452 ******* skipping: [sut] => { "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: /WORKDIR/git-route_typerf_pc_xy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 09 January 2024 20:12:25 +0000 (0:00:00.083) 0:00:35.535 ******* ok: [sut] => { "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: /WORKDIR/git-route_typerf_pc_xy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 09 January 2024 20:12:27 +0000 (0:00:01.688) 0:00:37.224 ******* ok: [sut] => { "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: /WORKDIR/git-route_typerf_pc_xy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 09 January 2024 20:12:29 +0000 (0:00:01.340) 0:00:38.565 ******* ok: [sut] => {} 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: /WORKDIR/git-route_typerf_pc_xy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 09 January 2024 20:12:29 +0000 (0:00:00.046) 0:00:38.611 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "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: /WORKDIR/git-route_typerf_pc_xy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 09 January 2024 20:12:29 +0000 (0:00:00.054) 0:00:38.665 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-route_typerf_pc_xy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 09 January 2024 20:12:29 +0000 (0:00:00.027) 0:00:38.692 ******* skipping: [sut] => { "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: /WORKDIR/git-route_typerf_pc_xy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 09 January 2024 20:12:29 +0000 (0:00:00.054) 0:00:38.747 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typerf_pc_xy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 09 January 2024 20:12:29 +0000 (0:00:00.023) 0:00:38.770 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typerf_pc_xy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 09 January 2024 20:12:29 +0000 (0:00:00.027) 0:00:38.797 ******* skipping: [sut] => { "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: /WORKDIR/git-route_typerf_pc_xy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 09 January 2024 20:12:29 +0000 (0:00:00.036) 0:00:38.834 ******* ok: [sut] => { "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: /WORKDIR/git-route_typerf_pc_xy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 09 January 2024 20:12:29 +0000 (0:00:00.395) 0:00:39.230 ******* skipping: [sut] => { "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: /WORKDIR/git-route_typerf_pc_xy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 09 January 2024 20:12:29 +0000 (0:00:00.051) 0:00:39.281 ******* skipping: [sut] => { "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: /WORKDIR/git-route_typerf_pc_xy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 09 January 2024 20:12:29 +0000 (0:00:00.021) 0:00:39.302 ******* skipping: [sut] => { "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: /WORKDIR/git-route_typerf_pc_xy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 09 January 2024 20:12:29 +0000 (0:00:00.036) 0:00:39.339 ******* changed: [sut] => { "_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: /WORKDIR/git-route_typerf_pc_xy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 09 January 2024 20:12:30 +0000 (0:00:00.524) 0:00:39.863 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typerf_pc_xy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 09 January 2024 20:12:30 +0000 (0:00:00.026) 0:00:39.889 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typerf_pc_xy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 09 January 2024 20:12:30 +0000 (0:00:00.027) 0:00:39.917 ******* ok: [sut] => { "__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: /WORKDIR/git-route_typerf_pc_xy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 09 January 2024 20:12:30 +0000 (0:00:00.044) 0:00:39.962 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typerf_pc_xy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 09 January 2024 20:12:30 +0000 (0:00:00.035) 0:00:39.998 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tests_auto_gateway.yml:149 Tuesday 09 January 2024 20:12:30 +0000 (0:00:00.260) 0:00:40.258 ******* included: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 09 January 2024 20:12:30 +0000 (0:00:00.060) 0:00:40.319 ******* skipping: [sut] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 09 January 2024 20:12:30 +0000 (0:00:00.020) 0:00:40.340 ******* skipping: [sut] => { "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: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 09 January 2024 20:12:30 +0000 (0:00:00.019) 0:00:40.359 ******* included: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 20:12:30 +0000 (0:00:00.039) 0:00:40.399 ******* included: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 20:12:30 +0000 (0:00:00.057) 0:00:40.457 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003706", "end": "2024-01-09 20:12:31.091250", "rc": 0, "start": "2024-01-09 20:12:31.087544" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 20:12:31 +0000 (0:00:00.215) 0:00:40.672 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 20:12:31 +0000 (0:00:00.061) 0:00:40.733 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 09 January 2024 20:12:31 +0000 (0:00:00.023) 0:00:40.757 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/manage_test_interface.yml:23 Tuesday 09 January 2024 20:12:34 +0000 (0:00:03.181) 0:00:43.938 ******* skipping: [sut] => (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: [sut] => (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: [sut] => (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: [sut] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/manage_test_interface.yml:31 Tuesday 09 January 2024 20:12:34 +0000 (0:00:00.038) 0:00:43.976 ******* skipping: [sut] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/manage_test_interface.yml:39 Tuesday 09 January 2024 20:12:34 +0000 (0:00:00.026) 0:00:44.003 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.011150", "end": "2024-01-09 20:12:34.645256", "rc": 0, "start": "2024-01-09 20:12:34.634106" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/manage_test_interface.yml:45 Tuesday 09 January 2024 20:12:34 +0000 (0:00:00.225) 0:00:44.229 ******* skipping: [sut] => { "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: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/manage_test_interface.yml:50 Tuesday 09 January 2024 20:12:34 +0000 (0:00:00.020) 0:00:44.250 ******* skipping: [sut] => { "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: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/manage_test_interface.yml:56 Tuesday 09 January 2024 20:12:34 +0000 (0:00:00.021) 0:00:44.271 ******* skipping: [sut] => { "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: /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/manage_test_interface.yml:61 Tuesday 09 January 2024 20:12:34 +0000 (0:00:00.021) 0:00:44.293 ******* skipping: [sut] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } PLAY RECAP ********************************************************************* sut : ok=129 changed=4 unreachable=0 failed=0 skipped=98 rescued=0 ignored=0 Tuesday 09 January 2024 20:12:34 +0000 (0:00:00.051) 0:00:44.344 ******* =============================================================================== Install iproute --------------------------------------------------------- 3.34s /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 3.18s /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 3.09s /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 3.06s /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Check which services are running ---- 1.81s /WORKDIR/git-route_typerf_pc_xy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Gathering Facts --------------------------------------------------------- 1.73s /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tests_auto_gateway.yml:3 ------ fedora.linux_system_roles.network : Check which services are running ---- 1.69s /WORKDIR/git-route_typerf_pc_xy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.66s /WORKDIR/git-route_typerf_pc_xy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.66s /WORKDIR/git-route_typerf_pc_xy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.56s /WORKDIR/git-route_typerf_pc_xy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.38s /WORKDIR/git-route_typerf_pc_xy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.37s /WORKDIR/git-route_typerf_pc_xy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.34s /WORKDIR/git-route_typerf_pc_xy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gathering Facts --------------------------------------------------------- 0.89s /WORKDIR/git-route_typerf_pc_xy/tests/tests_auto_gateway_nm.yml:6 ------------- Create veth interface veth0 --------------------------------------------- 0.68s /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/manage_test_interface.yml:23 Create veth interface veth0 --------------------------------------------- 0.65s /WORKDIR/git-route_typerf_pc_xy/tests/playbooks/tasks/manage_test_interface.yml:23 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.58s /WORKDIR/git-route_typerf_pc_xy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.54s /WORKDIR/git-route_typerf_pc_xy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.52s /WORKDIR/git-route_typerf_pc_xy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Enable EPEL 8 ----------------------------------------------------------- 0.46s /WORKDIR/git-route_typerf_pc_xy/tests/tasks/enable_epel.yml:35 ---------------- ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [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. ---^---^---^---^---^---