# 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_typeqp55z1k5/.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_typeqp55z1k5/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_typeqp55z1k5/tests/tests_auto_gateway_nm.yml:6 Monday 08 January 2024 14:19:35 +0000 (0:00:00.014) 0:00:00.014 ******** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_typeqp55z1k5/tests/tests_auto_gateway_nm.yml:9 Monday 08 January 2024 14:19:36 +0000 (0:00:01.019) 0:00:01.034 ******** included: /WORKDIR/git-route_typeqp55z1k5/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_typeqp55z1k5/tests/tasks/el_repo_setup.yml:3 Monday 08 January 2024 14:19:36 +0000 (0:00:00.032) 0:00:01.067 ******** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_typeqp55z1k5/tests/tasks/el_repo_setup.yml:17 Monday 08 January 2024 14:19:37 +0000 (0:00:00.390) 0:00:01.457 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_typeqp55z1k5/tests/tasks/el_repo_setup.yml:22 Monday 08 January 2024 14:19:37 +0000 (0:00:00.328) 0:00:01.786 ******** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_typeqp55z1k5/tests/tasks/el_repo_setup.yml:26 Monday 08 January 2024 14:19:37 +0000 (0:00:00.017) 0:00:01.803 ******** 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_typeqp55z1k5/tests/tasks/el_repo_setup.yml:51 Monday 08 January 2024 14:19:37 +0000 (0:00:00.030) 0:00:01.834 ******** included: /WORKDIR/git-route_typeqp55z1k5/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-route_typeqp55z1k5/tests/tasks/enable_epel.yml:8 Monday 08 January 2024 14:19:37 +0000 (0:00:00.027) 0:00:01.862 ******** 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_typeqp55z1k5/tests/tasks/enable_epel.yml:24 Monday 08 January 2024 14:19:37 +0000 (0:00:00.290) 0:00:02.152 ******** 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_typeqp55z1k5/tests/tasks/enable_epel.yml:30 Monday 08 January 2024 14:19:37 +0000 (0:00:00.016) 0:00:02.169 ******** 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_typeqp55z1k5/tests/tasks/enable_epel.yml:35 Monday 08 January 2024 14:19:37 +0000 (0:00:00.024) 0:00:02.194 ******** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.239490", "end": "2024-01-08 14:19:38.212402", "rc": 0, "start": "2024-01-08 14:19:37.972912" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_typeqp55z1k5/tests/tasks/enable_epel.yml:40 Monday 08 January 2024 14:19:38 +0000 (0:00:00.442) 0:00:02.636 ******** 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_typeqp55z1k5/tests/tests_auto_gateway_nm.yml:11 Monday 08 January 2024 14:19:38 +0000 (0:00:00.010) 0:00:02.647 ******** ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing auto_gateway setting] *********************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typeqp55z1k5/tests/playbooks/tests_auto_gateway.yml:3 Monday 08 January 2024 14:19:38 +0000 (0:00:00.032) 0:00:02.679 ******** ok: [sut] TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typeqp55z1k5/tests/playbooks/tests_auto_gateway.yml:9 Monday 08 January 2024 14:19:38 +0000 (0:00:00.691) 0:00:03.370 ******** included: /WORKDIR/git-route_typeqp55z1k5/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeqp55z1k5/tests/playbooks/tasks/show_interfaces.yml:3 Monday 08 January 2024 14:19:39 +0000 (0:00:00.053) 0:00:03.424 ******** included: /WORKDIR/git-route_typeqp55z1k5/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeqp55z1k5/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 08 January 2024 14:19:39 +0000 (0:00:00.040) 0:00:03.464 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003412", "end": "2024-01-08 14:19:39.241861", "rc": 0, "start": "2024-01-08 14:19:39.238449" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeqp55z1k5/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 08 January 2024 14:19:39 +0000 (0:00:00.203) 0:00:03.668 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeqp55z1k5/tests/playbooks/tasks/show_interfaces.yml:5 Monday 08 January 2024 14:19:39 +0000 (0:00:00.010) 0:00:03.678 ******** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typeqp55z1k5/tests/playbooks/tests_auto_gateway.yml:11 Monday 08 January 2024 14:19:39 +0000 (0:00:00.011) 0:00:03.690 ******** included: /WORKDIR/git-route_typeqp55z1k5/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typeqp55z1k5/tests/playbooks/tasks/manage_test_interface.yml:3 Monday 08 January 2024 14:19:39 +0000 (0:00:00.024) 0:00:03.714 ******** 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_typeqp55z1k5/tests/playbooks/tasks/manage_test_interface.yml:8 Monday 08 January 2024 14:19:39 +0000 (0:00:00.008) 0:00:03.723 ******** 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_typeqp55z1k5/tests/playbooks/tasks/manage_test_interface.yml:13 Monday 08 January 2024 14:19:39 +0000 (0:00:00.008) 0:00:03.732 ******** included: /WORKDIR/git-route_typeqp55z1k5/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeqp55z1k5/tests/playbooks/tasks/show_interfaces.yml:3 Monday 08 January 2024 14:19:39 +0000 (0:00:00.011) 0:00:03.743 ******** included: /WORKDIR/git-route_typeqp55z1k5/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeqp55z1k5/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 08 January 2024 14:19:39 +0000 (0:00:00.011) 0:00:03.755 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003133", "end": "2024-01-08 14:19:39.531063", "rc": 0, "start": "2024-01-08 14:19:39.527930" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeqp55z1k5/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 08 January 2024 14:19:39 +0000 (0:00:00.205) 0:00:03.960 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeqp55z1k5/tests/playbooks/tasks/show_interfaces.yml:5 Monday 08 January 2024 14:19:39 +0000 (0:00:00.017) 0:00:03.978 ******** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typeqp55z1k5/tests/playbooks/tasks/manage_test_interface.yml:16 Monday 08 January 2024 14:19:39 +0000 (0:00:00.016) 0:00:03.994 ******** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typeqp55z1k5/tests/playbooks/tasks/manage_test_interface.yml:23 Monday 08 January 2024 14:19:42 +0000 (0:00:03.252) 0:00:07.246 ******** 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.013243", "end": "2024-01-08 14:19:43.030215", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-01-08 14:19:43.016972" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003532", "end": "2024-01-08 14:19:43.250823", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-01-08 14:19:43.247291" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004407", "end": "2024-01-08 14:19:43.433278", "item": "ip link set veth0 up", "rc": 0, "start": "2024-01-08 14:19:43.428871" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_typeqp55z1k5/tests/playbooks/tasks/manage_test_interface.yml:31 Monday 08 January 2024 14:19:43 +0000 (0:00:00.612) 0:00:07.859 ******** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.023174", "end": "2024-01-08 14:19:43.660014", "rc": 0, "start": "2024-01-08 14:19:43.636840" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typeqp55z1k5/tests/playbooks/tasks/manage_test_interface.yml:39 Monday 08 January 2024 14:19:43 +0000 (0:00:00.222) 0:00:08.081 ******** 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_typeqp55z1k5/tests/playbooks/tasks/manage_test_interface.yml:45 Monday 08 January 2024 14:19:43 +0000 (0:00:00.009) 0:00:08.091 ******** 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_typeqp55z1k5/tests/playbooks/tasks/manage_test_interface.yml:50 Monday 08 January 2024 14:19:43 +0000 (0:00:00.008) 0:00:08.100 ******** 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_typeqp55z1k5/tests/playbooks/tasks/manage_test_interface.yml:56 Monday 08 January 2024 14:19:43 +0000 (0:00:00.013) 0:00:08.114 ******** 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_typeqp55z1k5/tests/playbooks/tasks/manage_test_interface.yml:61 Monday 08 January 2024 14:19:43 +0000 (0:00:00.009) 0:00:08.123 ******** 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_typeqp55z1k5/tests/playbooks/tests_auto_gateway.yml:15 Monday 08 January 2024 14:19:43 +0000 (0:00:00.008) 0:00:08.132 ******** included: /WORKDIR/git-route_typeqp55z1k5/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeqp55z1k5/tests/playbooks/tasks/assert_device_present.yml:3 Monday 08 January 2024 14:19:43 +0000 (0:00:00.024) 0:00:08.156 ******** included: /WORKDIR/git-route_typeqp55z1k5/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_typeqp55z1k5/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 08 January 2024 14:19:43 +0000 (0:00:00.018) 0:00:08.174 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1704723583.0207326, "block_size": 4096, "blocks": 0, "ctime": 1704723583.0207326, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 22923, "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": 1704723583.0207326, "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_typeqp55z1k5/tests/playbooks/tasks/assert_device_present.yml:5 Monday 08 January 2024 14:19:43 +0000 (0:00:00.198) 0:00:08.373 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /WORKDIR/git-route_typeqp55z1k5/tests/playbooks/tests_auto_gateway.yml:17 Monday 08 January 2024 14:19:43 +0000 (0:00:00.013) 0:00:08.387 ******** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typeqp55z1k5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 08 January 2024 14:19:44 +0000 (0:00:00.021) 0:00:08.408 ******** included: /WORKDIR/git-route_typeqp55z1k5/.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_typeqp55z1k5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 08 January 2024 14:19:44 +0000 (0:00:00.029) 0:00:08.438 ******** 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_typeqp55z1k5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 08 January 2024 14:19:44 +0000 (0:00:00.034) 0:00:08.473 ******** 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_typeqp55z1k5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 08 January 2024 14:19:44 +0000 (0:00:00.017) 0:00:08.490 ******** 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_typeqp55z1k5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 08 January 2024 14:19:44 +0000 (0:00:00.032) 0:00:08.523 ******** 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_typeqp55z1k5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 08 January 2024 14:19:45 +0000 (0:00:01.696) 0:00:10.219 ******** 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_typeqp55z1k5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 08 January 2024 14:19:47 +0000 (0:00:01.502) 0:00:11.722 ******** 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_typeqp55z1k5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 08 January 2024 14:19:47 +0000 (0:00:00.023) 0:00:11.745 ******** 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_typeqp55z1k5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 08 January 2024 14:19:47 +0000 (0:00:00.021) 0:00:11.767 ******** 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_typeqp55z1k5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 08 January 2024 14:19:47 +0000 (0:00:00.022) 0:00:11.789 ******** 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_typeqp55z1k5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 08 January 2024 14:19:47 +0000 (0:00:00.058) 0:00:11.848 ******** 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_typeqp55z1k5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Monday 08 January 2024 14:19:47 +0000 (0:00:00.024) 0:00:11.872 ******** 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_typeqp55z1k5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Monday 08 January 2024 14:19:47 +0000 (0:00:00.046) 0:00:11.918 ******** 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_typeqp55z1k5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Monday 08 January 2024 14:19:47 +0000 (0:00:00.037) 0:00:11.956 ******** 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_typeqp55z1k5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Monday 08 January 2024 14:19:48 +0000 (0:00:00.596) 0:00:12.552 ******** 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_typeqp55z1k5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Monday 08 January 2024 14:19:48 +0000 (0:00:00.039) 0:00:12.592 ******** 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_typeqp55z1k5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Monday 08 January 2024 14:19:48 +0000 (0:00:00.019) 0:00:12.611 ******** 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_typeqp55z1k5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 08 January 2024 14:19:48 +0000 (0:00:00.036) 0:00:12.648 ******** 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, ef25bf5c-e7a2-47f9-ae98-d7c79a7b139c [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, ef25bf5c-e7a2-47f9-ae98-d7c79a7b139c (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_typeqp55z1k5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Monday 08 January 2024 14:19:48 +0000 (0:00:00.565) 0:00:13.213 ******** 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_typeqp55z1k5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Monday 08 January 2024 14:19:48 +0000 (0:00:00.023) 0:00:13.237 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, ef25bf5c-e7a2-47f9-ae98-d7c79a7b139c", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, ef25bf5c-e7a2-47f9-ae98-d7c79a7b139c (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeqp55z1k5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 08 January 2024 14:19:48 +0000 (0:00:00.023) 0:00:13.260 ******** 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, ef25bf5c-e7a2-47f9-ae98-d7c79a7b139c\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, ef25bf5c-e7a2-47f9-ae98-d7c79a7b139c (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, ef25bf5c-e7a2-47f9-ae98-d7c79a7b139c", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, ef25bf5c-e7a2-47f9-ae98-d7c79a7b139c (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeqp55z1k5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Monday 08 January 2024 14:19:48 +0000 (0:00:00.025) 0:00:13.286 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typeqp55z1k5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 08 January 2024 14:19:48 +0000 (0:00:00.024) 0:00:13.310 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_typeqp55z1k5/tests/playbooks/tests_auto_gateway.yml:42 Monday 08 January 2024 14:19:49 +0000 (0:00:00.318) 0:00:13.629 ******** included: /WORKDIR/git-route_typeqp55z1k5/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeqp55z1k5/tests/playbooks/tasks/assert_device_present.yml:3 Monday 08 January 2024 14:19:49 +0000 (0:00:00.043) 0:00:13.673 ******** included: /WORKDIR/git-route_typeqp55z1k5/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_typeqp55z1k5/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 08 January 2024 14:19:49 +0000 (0:00:00.063) 0:00:13.736 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1704723583.0207326, "block_size": 4096, "blocks": 0, "ctime": 1704723583.0207326, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 22923, "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": 1704723583.0207326, "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_typeqp55z1k5/tests/playbooks/tasks/assert_device_present.yml:5 Monday 08 January 2024 14:19:49 +0000 (0:00:00.204) 0:00:13.940 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-route_typeqp55z1k5/tests/playbooks/tests_auto_gateway.yml:44 Monday 08 January 2024 14:19:49 +0000 (0:00:00.022) 0:00:13.962 ******** included: /WORKDIR/git-route_typeqp55z1k5/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typeqp55z1k5/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 08 January 2024 14:19:49 +0000 (0:00:00.053) 0:00:14.016 ******** included: /WORKDIR/git-route_typeqp55z1k5/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typeqp55z1k5/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 08 January 2024 14:19:49 +0000 (0:00:00.037) 0:00:14.054 ******** 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_typeqp55z1k5/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 08 January 2024 14:19:49 +0000 (0:00:00.022) 0:00:14.076 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1704723588.7485576, "block_size": 4096, "blocks": 8, "ctime": 1704723588.7085576, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5533388, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704723588.7085576, "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_typeqp55z1k5/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 08 January 2024 14:19:49 +0000 (0:00:00.201) 0:00:14.278 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typeqp55z1k5/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 08 January 2024 14:19:49 +0000 (0:00:00.022) 0:00:14.301 ******** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.020971", "end": "2024-01-08 14:19:50.090744", "rc": 0, "start": "2024-01-08 14:19:50.069773" } 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_typeqp55z1k5/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 08 January 2024 14:19:50 +0000 (0:00:00.234) 0:00:14.535 ******** 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_typeqp55z1k5/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 08 January 2024 14:19:50 +0000 (0:00:00.032) 0:00:14.567 ******** 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_typeqp55z1k5/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 08 January 2024 14:19:50 +0000 (0:00:00.024) 0:00:14.591 ******** 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_typeqp55z1k5/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 08 January 2024 14:19:50 +0000 (0:00:00.020) 0:00:14.612 ******** 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_typeqp55z1k5/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 08 January 2024 14:19:50 +0000 (0:00:00.035) 0:00:14.647 ******** 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_typeqp55z1k5/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 08 January 2024 14:19:50 +0000 (0:00:00.060) 0:00:14.708 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-route_typeqp55z1k5/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 08 January 2024 14:19:50 +0000 (0:00:00.023) 0:00:14.731 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-route_typeqp55z1k5/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 08 January 2024 14:19:50 +0000 (0:00:00.056) 0:00:14.788 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-route_typeqp55z1k5/tests/playbooks/tests_auto_gateway.yml:48 Monday 08 January 2024 14:19:50 +0000 (0:00:00.024) 0:00:14.813 ******** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003766", "end": "2024-01-08 14:19:50.606675", "rc": 0, "start": "2024-01-08 14:19:50.602909" } STDOUT: default via 10.31.12.1 dev eth0 proto dhcp src 10.31.12.107 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.12.107 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_typeqp55z1k5/tests/playbooks/tests_auto_gateway.yml:52 Monday 08 January 2024 14:19:50 +0000 (0:00:00.220) 0:00:15.034 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-route_typeqp55z1k5/tests/playbooks/tests_auto_gateway.yml:58 Monday 08 January 2024 14:19:50 +0000 (0:00:00.021) 0:00:15.056 ******** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003755", "end": "2024-01-08 14:19:50.827713", "rc": 0, "start": "2024-01-08 14:19:50.823958" } 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_typeqp55z1k5/tests/playbooks/tests_auto_gateway.yml:62 Monday 08 January 2024 14:19:50 +0000 (0:00:00.205) 0:00:15.261 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-route_typeqp55z1k5/tests/playbooks/tests_auto_gateway.yml:69 Monday 08 January 2024 14:19:50 +0000 (0:00:00.020) 0:00:15.282 ******** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typeqp55z1k5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 08 January 2024 14:19:50 +0000 (0:00:00.019) 0:00:15.301 ******** included: /WORKDIR/git-route_typeqp55z1k5/.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_typeqp55z1k5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 08 January 2024 14:19:50 +0000 (0:00:00.033) 0:00:15.335 ******** 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_typeqp55z1k5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 08 January 2024 14:19:50 +0000 (0:00:00.041) 0:00:15.376 ******** 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_typeqp55z1k5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 08 January 2024 14:19:50 +0000 (0:00:00.023) 0:00:15.400 ******** 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_typeqp55z1k5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 08 January 2024 14:19:51 +0000 (0:00:00.023) 0:00:15.423 ******** 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_typeqp55z1k5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 08 January 2024 14:19:52 +0000 (0:00:01.542) 0:00:16.965 ******** 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_typeqp55z1k5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 08 January 2024 14:19:53 +0000 (0:00:01.381) 0:00:18.347 ******** 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_typeqp55z1k5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 08 January 2024 14:19:54 +0000 (0:00:00.060) 0:00:18.408 ******** 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_typeqp55z1k5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 08 January 2024 14:19:54 +0000 (0:00:00.033) 0:00:18.442 ******** 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_typeqp55z1k5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 08 January 2024 14:19:54 +0000 (0:00:00.050) 0:00:18.492 ******** 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_typeqp55z1k5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 08 January 2024 14:19:54 +0000 (0:00:00.090) 0:00:18.582 ******** 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_typeqp55z1k5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Monday 08 January 2024 14:19:54 +0000 (0:00:00.034) 0:00:18.616 ******** 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_typeqp55z1k5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Monday 08 January 2024 14:19:54 +0000 (0:00:00.028) 0:00:18.644 ******** 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_typeqp55z1k5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Monday 08 January 2024 14:19:54 +0000 (0:00:00.035) 0:00:18.680 ******** 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_typeqp55z1k5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Monday 08 January 2024 14:19:54 +0000 (0:00:00.376) 0:00:19.057 ******** 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_typeqp55z1k5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Monday 08 January 2024 14:19:54 +0000 (0:00:00.036) 0:00:19.093 ******** 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_typeqp55z1k5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Monday 08 January 2024 14:19:54 +0000 (0:00:00.025) 0:00:19.119 ******** 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_typeqp55z1k5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 08 January 2024 14:19:54 +0000 (0:00:00.021) 0:00:19.140 ******** 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_typeqp55z1k5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Monday 08 January 2024 14:19:55 +0000 (0:00:00.423) 0:00:19.563 ******** 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_typeqp55z1k5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Monday 08 January 2024 14:19:55 +0000 (0:00:00.026) 0:00:19.589 ******** 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_typeqp55z1k5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 08 January 2024 14:19:55 +0000 (0:00:00.031) 0:00:19.621 ******** 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_typeqp55z1k5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Monday 08 January 2024 14:19:55 +0000 (0:00:00.027) 0:00:19.648 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typeqp55z1k5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 08 January 2024 14:19:55 +0000 (0:00:00.029) 0:00:19.677 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typeqp55z1k5/tests/playbooks/tests_auto_gateway.yml:81 Monday 08 January 2024 14:19:55 +0000 (0:00:00.233) 0:00:19.911 ******** included: /WORKDIR/git-route_typeqp55z1k5/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typeqp55z1k5/tests/playbooks/tasks/manage_test_interface.yml:3 Monday 08 January 2024 14:19:55 +0000 (0:00:00.049) 0:00:19.960 ******** 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_typeqp55z1k5/tests/playbooks/tasks/manage_test_interface.yml:8 Monday 08 January 2024 14:19:55 +0000 (0:00:00.019) 0:00:19.979 ******** 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_typeqp55z1k5/tests/playbooks/tasks/manage_test_interface.yml:13 Monday 08 January 2024 14:19:55 +0000 (0:00:00.018) 0:00:19.998 ******** included: /WORKDIR/git-route_typeqp55z1k5/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeqp55z1k5/tests/playbooks/tasks/show_interfaces.yml:3 Monday 08 January 2024 14:19:55 +0000 (0:00:00.030) 0:00:20.029 ******** included: /WORKDIR/git-route_typeqp55z1k5/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeqp55z1k5/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 08 January 2024 14:19:55 +0000 (0:00:00.029) 0:00:20.059 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003044", "end": "2024-01-08 14:19:55.851252", "rc": 0, "start": "2024-01-08 14:19:55.848208" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeqp55z1k5/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 08 January 2024 14:19:55 +0000 (0:00:00.220) 0:00:20.279 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeqp55z1k5/tests/playbooks/tasks/show_interfaces.yml:5 Monday 08 January 2024 14:19:55 +0000 (0:00:00.024) 0:00:20.304 ******** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typeqp55z1k5/tests/playbooks/tasks/manage_test_interface.yml:16 Monday 08 January 2024 14:19:55 +0000 (0:00:00.023) 0:00:20.327 ******** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typeqp55z1k5/tests/playbooks/tasks/manage_test_interface.yml:23 Monday 08 January 2024 14:19:58 +0000 (0:00:02.998) 0:00:23.326 ******** 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_typeqp55z1k5/tests/playbooks/tasks/manage_test_interface.yml:31 Monday 08 January 2024 14:19:58 +0000 (0:00:00.025) 0:00:23.351 ******** 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_typeqp55z1k5/tests/playbooks/tasks/manage_test_interface.yml:39 Monday 08 January 2024 14:19:58 +0000 (0:00:00.018) 0:00:23.370 ******** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.014205", "end": "2024-01-08 14:19:59.152303", "rc": 0, "start": "2024-01-08 14:19:59.138098" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typeqp55z1k5/tests/playbooks/tasks/manage_test_interface.yml:45 Monday 08 January 2024 14:19:59 +0000 (0:00:00.213) 0:00:23.583 ******** 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_typeqp55z1k5/tests/playbooks/tasks/manage_test_interface.yml:50 Monday 08 January 2024 14:19:59 +0000 (0:00:00.063) 0:00:23.647 ******** 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_typeqp55z1k5/tests/playbooks/tasks/manage_test_interface.yml:56 Monday 08 January 2024 14:19:59 +0000 (0:00:00.020) 0:00:23.668 ******** 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_typeqp55z1k5/tests/playbooks/tasks/manage_test_interface.yml:61 Monday 08 January 2024 14:19:59 +0000 (0:00:00.022) 0:00:23.690 ******** 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_typeqp55z1k5/tests/playbooks/tests_auto_gateway.yml:85 Monday 08 January 2024 14:19:59 +0000 (0:00:00.019) 0:00:23.709 ******** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typeqp55z1k5/tests/playbooks/tests_auto_gateway.yml:89 Monday 08 January 2024 14:19:59 +0000 (0:00:00.019) 0:00:23.728 ******** included: /WORKDIR/git-route_typeqp55z1k5/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typeqp55z1k5/tests/playbooks/tasks/manage_test_interface.yml:3 Monday 08 January 2024 14:19:59 +0000 (0:00:00.045) 0:00:23.773 ******** 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_typeqp55z1k5/tests/playbooks/tasks/manage_test_interface.yml:8 Monday 08 January 2024 14:19:59 +0000 (0:00:00.019) 0:00:23.793 ******** 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_typeqp55z1k5/tests/playbooks/tasks/manage_test_interface.yml:13 Monday 08 January 2024 14:19:59 +0000 (0:00:00.019) 0:00:23.812 ******** included: /WORKDIR/git-route_typeqp55z1k5/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeqp55z1k5/tests/playbooks/tasks/show_interfaces.yml:3 Monday 08 January 2024 14:19:59 +0000 (0:00:00.030) 0:00:23.843 ******** included: /WORKDIR/git-route_typeqp55z1k5/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeqp55z1k5/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 08 January 2024 14:19:59 +0000 (0:00:00.037) 0:00:23.881 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003181", "end": "2024-01-08 14:19:59.666141", "rc": 0, "start": "2024-01-08 14:19:59.662960" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeqp55z1k5/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 08 January 2024 14:19:59 +0000 (0:00:00.220) 0:00:24.101 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeqp55z1k5/tests/playbooks/tasks/show_interfaces.yml:5 Monday 08 January 2024 14:19:59 +0000 (0:00:00.027) 0:00:24.129 ******** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typeqp55z1k5/tests/playbooks/tasks/manage_test_interface.yml:16 Monday 08 January 2024 14:19:59 +0000 (0:00:00.024) 0:00:24.153 ******** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typeqp55z1k5/tests/playbooks/tasks/manage_test_interface.yml:23 Monday 08 January 2024 14:20:02 +0000 (0:00:03.030) 0:00:27.183 ******** 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.011445", "end": "2024-01-08 14:20:02.970653", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-01-08 14:20:02.959208" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003716", "end": "2024-01-08 14:20:03.195816", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-01-08 14:20:03.192100" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004216", "end": "2024-01-08 14:20:03.382416", "item": "ip link set veth0 up", "rc": 0, "start": "2024-01-08 14:20:03.378200" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_typeqp55z1k5/tests/playbooks/tasks/manage_test_interface.yml:31 Monday 08 January 2024 14:20:03 +0000 (0:00:00.719) 0:00:27.903 ******** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.022577", "end": "2024-01-08 14:20:03.700962", "rc": 0, "start": "2024-01-08 14:20:03.678385" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typeqp55z1k5/tests/playbooks/tasks/manage_test_interface.yml:39 Monday 08 January 2024 14:20:03 +0000 (0:00:00.233) 0:00:28.137 ******** 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_typeqp55z1k5/tests/playbooks/tasks/manage_test_interface.yml:45 Monday 08 January 2024 14:20:03 +0000 (0:00:00.024) 0:00:28.162 ******** 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_typeqp55z1k5/tests/playbooks/tasks/manage_test_interface.yml:50 Monday 08 January 2024 14:20:03 +0000 (0:00:00.046) 0:00:28.208 ******** 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_typeqp55z1k5/tests/playbooks/tasks/manage_test_interface.yml:56 Monday 08 January 2024 14:20:03 +0000 (0:00:00.025) 0:00:28.234 ******** 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_typeqp55z1k5/tests/playbooks/tasks/manage_test_interface.yml:61 Monday 08 January 2024 14:20:03 +0000 (0:00:00.024) 0:00:28.258 ******** 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_typeqp55z1k5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 08 January 2024 14:20:03 +0000 (0:00:00.021) 0:00:28.280 ******** included: /WORKDIR/git-route_typeqp55z1k5/.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_typeqp55z1k5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 08 January 2024 14:20:03 +0000 (0:00:00.053) 0:00:28.333 ******** 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_typeqp55z1k5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 08 January 2024 14:20:03 +0000 (0:00:00.047) 0:00:28.381 ******** 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_typeqp55z1k5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 08 January 2024 14:20:04 +0000 (0:00:00.029) 0:00:28.410 ******** 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_typeqp55z1k5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 08 January 2024 14:20:04 +0000 (0:00:00.043) 0:00:28.453 ******** 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_typeqp55z1k5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 08 January 2024 14:20:05 +0000 (0:00:01.574) 0:00:30.028 ******** 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_typeqp55z1k5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 08 January 2024 14:20:07 +0000 (0:00:01.379) 0:00:31.407 ******** 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_typeqp55z1k5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 08 January 2024 14:20:07 +0000 (0:00:00.052) 0:00:31.460 ******** 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_typeqp55z1k5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 08 January 2024 14:20:07 +0000 (0:00:00.023) 0:00:31.483 ******** 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_typeqp55z1k5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 08 January 2024 14:20:07 +0000 (0:00:00.021) 0:00:31.505 ******** 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_typeqp55z1k5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 08 January 2024 14:20:07 +0000 (0:00:00.059) 0:00:31.564 ******** 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_typeqp55z1k5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Monday 08 January 2024 14:20:07 +0000 (0:00:00.023) 0:00:31.587 ******** 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_typeqp55z1k5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Monday 08 January 2024 14:20:07 +0000 (0:00:00.021) 0:00:31.609 ******** 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_typeqp55z1k5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Monday 08 January 2024 14:20:07 +0000 (0:00:00.037) 0:00:31.647 ******** 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_typeqp55z1k5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Monday 08 January 2024 14:20:07 +0000 (0:00:00.373) 0:00:32.020 ******** 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_typeqp55z1k5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Monday 08 January 2024 14:20:07 +0000 (0:00:00.034) 0:00:32.055 ******** 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_typeqp55z1k5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Monday 08 January 2024 14:20:07 +0000 (0:00:00.019) 0:00:32.075 ******** 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_typeqp55z1k5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 08 January 2024 14:20:07 +0000 (0:00:00.019) 0:00:32.094 ******** 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, f928b036-234c-406d-85a2-d91c5ed580dd [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, f928b036-234c-406d-85a2-d91c5ed580dd (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_typeqp55z1k5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Monday 08 January 2024 14:20:08 +0000 (0:00:00.393) 0:00:32.488 ******** 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_typeqp55z1k5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Monday 08 January 2024 14:20:08 +0000 (0:00:00.033) 0:00:32.521 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, f928b036-234c-406d-85a2-d91c5ed580dd", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, f928b036-234c-406d-85a2-d91c5ed580dd (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeqp55z1k5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 08 January 2024 14:20:08 +0000 (0:00:00.025) 0:00:32.546 ******** 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, f928b036-234c-406d-85a2-d91c5ed580dd\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, f928b036-234c-406d-85a2-d91c5ed580dd (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, f928b036-234c-406d-85a2-d91c5ed580dd", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, f928b036-234c-406d-85a2-d91c5ed580dd (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeqp55z1k5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Monday 08 January 2024 14:20:08 +0000 (0:00:00.028) 0:00:32.574 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typeqp55z1k5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 08 January 2024 14:20:08 +0000 (0:00:00.026) 0:00:32.600 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_typeqp55z1k5/tests/playbooks/tests_auto_gateway.yml:110 Monday 08 January 2024 14:20:08 +0000 (0:00:00.250) 0:00:32.851 ******** included: /WORKDIR/git-route_typeqp55z1k5/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeqp55z1k5/tests/playbooks/tasks/assert_device_present.yml:3 Monday 08 January 2024 14:20:08 +0000 (0:00:00.055) 0:00:32.907 ******** included: /WORKDIR/git-route_typeqp55z1k5/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_typeqp55z1k5/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 08 January 2024 14:20:08 +0000 (0:00:00.030) 0:00:32.937 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1704723602.9626622, "block_size": 4096, "blocks": 0, "ctime": 1704723602.9626622, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 23509, "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": 1704723602.9626622, "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_typeqp55z1k5/tests/playbooks/tasks/assert_device_present.yml:5 Monday 08 January 2024 14:20:08 +0000 (0:00:00.231) 0:00:33.169 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-route_typeqp55z1k5/tests/playbooks/tests_auto_gateway.yml:112 Monday 08 January 2024 14:20:08 +0000 (0:00:00.032) 0:00:33.202 ******** included: /WORKDIR/git-route_typeqp55z1k5/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typeqp55z1k5/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 08 January 2024 14:20:08 +0000 (0:00:00.055) 0:00:33.257 ******** included: /WORKDIR/git-route_typeqp55z1k5/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typeqp55z1k5/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 08 January 2024 14:20:08 +0000 (0:00:00.033) 0:00:33.290 ******** 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_typeqp55z1k5/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 08 January 2024 14:20:08 +0000 (0:00:00.028) 0:00:33.318 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1704723608.0394742, "block_size": 4096, "blocks": 8, "ctime": 1704723607.9984746, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5533388, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704723607.9984746, "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_typeqp55z1k5/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 08 January 2024 14:20:09 +0000 (0:00:00.261) 0:00:33.580 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typeqp55z1k5/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 08 January 2024 14:20:09 +0000 (0:00:00.036) 0:00:33.617 ******** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.020776", "end": "2024-01-08 14:20:09.416696", "rc": 0, "start": "2024-01-08 14:20:09.395920" } 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_typeqp55z1k5/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 08 January 2024 14:20:09 +0000 (0:00:00.231) 0:00:33.849 ******** 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_typeqp55z1k5/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 08 January 2024 14:20:09 +0000 (0:00:00.079) 0:00:33.928 ******** 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_typeqp55z1k5/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 08 January 2024 14:20:09 +0000 (0:00:00.033) 0:00:33.961 ******** 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_typeqp55z1k5/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 08 January 2024 14:20:09 +0000 (0:00:00.027) 0:00:33.988 ******** 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_typeqp55z1k5/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 08 January 2024 14:20:09 +0000 (0:00:00.040) 0:00:34.029 ******** 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_typeqp55z1k5/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 08 January 2024 14:20:09 +0000 (0:00:00.050) 0:00:34.080 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-route_typeqp55z1k5/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 08 January 2024 14:20:09 +0000 (0:00:00.053) 0:00:34.133 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-route_typeqp55z1k5/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 08 January 2024 14:20:09 +0000 (0:00:00.027) 0:00:34.161 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-route_typeqp55z1k5/tests/playbooks/tests_auto_gateway.yml:116 Monday 08 January 2024 14:20:09 +0000 (0:00:00.041) 0:00:34.202 ******** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003705", "end": "2024-01-08 14:20:09.981215", "rc": 0, "start": "2024-01-08 14:20:09.977510" } STDOUT: default via 10.31.12.1 dev eth0 proto dhcp src 10.31.12.107 metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.12.107 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_typeqp55z1k5/tests/playbooks/tests_auto_gateway.yml:120 Monday 08 January 2024 14:20:10 +0000 (0:00:00.209) 0:00:34.411 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-route_typeqp55z1k5/tests/playbooks/tests_auto_gateway.yml:126 Monday 08 January 2024 14:20:10 +0000 (0:00:00.031) 0:00:34.443 ******** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003824", "end": "2024-01-08 14:20:10.219752", "rc": 0, "start": "2024-01-08 14:20:10.215928" } 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_typeqp55z1k5/tests/playbooks/tests_auto_gateway.yml:130 Monday 08 January 2024 14:20:10 +0000 (0:00:00.218) 0:00:34.661 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-route_typeqp55z1k5/tests/playbooks/tests_auto_gateway.yml:137 Monday 08 January 2024 14:20:10 +0000 (0:00:00.049) 0:00:34.711 ******** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typeqp55z1k5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 08 January 2024 14:20:10 +0000 (0:00:00.031) 0:00:34.743 ******** included: /WORKDIR/git-route_typeqp55z1k5/.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_typeqp55z1k5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 08 January 2024 14:20:10 +0000 (0:00:00.070) 0:00:34.813 ******** 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_typeqp55z1k5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 08 January 2024 14:20:10 +0000 (0:00:00.059) 0:00:34.873 ******** 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_typeqp55z1k5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 08 January 2024 14:20:10 +0000 (0:00:00.023) 0:00:34.897 ******** 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_typeqp55z1k5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 08 January 2024 14:20:10 +0000 (0:00:00.123) 0:00:35.020 ******** 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_typeqp55z1k5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 08 January 2024 14:20:12 +0000 (0:00:01.609) 0:00:36.630 ******** 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_typeqp55z1k5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 08 January 2024 14:20:13 +0000 (0:00:01.365) 0:00:37.995 ******** 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_typeqp55z1k5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 08 January 2024 14:20:13 +0000 (0:00:00.023) 0:00:38.019 ******** 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_typeqp55z1k5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 08 January 2024 14:20:13 +0000 (0:00:00.032) 0:00:38.051 ******** 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_typeqp55z1k5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 08 January 2024 14:20:13 +0000 (0:00:00.031) 0:00:38.083 ******** 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_typeqp55z1k5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 08 January 2024 14:20:13 +0000 (0:00:00.074) 0:00:38.157 ******** 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_typeqp55z1k5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Monday 08 January 2024 14:20:13 +0000 (0:00:00.026) 0:00:38.184 ******** 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_typeqp55z1k5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Monday 08 January 2024 14:20:13 +0000 (0:00:00.023) 0:00:38.207 ******** 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_typeqp55z1k5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Monday 08 January 2024 14:20:13 +0000 (0:00:00.040) 0:00:38.248 ******** 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_typeqp55z1k5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Monday 08 January 2024 14:20:14 +0000 (0:00:00.381) 0:00:38.629 ******** 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_typeqp55z1k5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Monday 08 January 2024 14:20:14 +0000 (0:00:00.057) 0:00:38.687 ******** 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_typeqp55z1k5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Monday 08 January 2024 14:20:14 +0000 (0:00:00.025) 0:00:38.713 ******** 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_typeqp55z1k5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 08 January 2024 14:20:14 +0000 (0:00:00.024) 0:00:38.737 ******** 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_typeqp55z1k5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Monday 08 January 2024 14:20:14 +0000 (0:00:00.535) 0:00:39.273 ******** 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_typeqp55z1k5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Monday 08 January 2024 14:20:14 +0000 (0:00:00.029) 0:00:39.303 ******** 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_typeqp55z1k5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 08 January 2024 14:20:14 +0000 (0:00:00.034) 0:00:39.338 ******** 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_typeqp55z1k5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Monday 08 January 2024 14:20:14 +0000 (0:00:00.023) 0:00:39.361 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typeqp55z1k5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 08 January 2024 14:20:14 +0000 (0:00:00.025) 0:00:39.387 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typeqp55z1k5/tests/playbooks/tests_auto_gateway.yml:149 Monday 08 January 2024 14:20:15 +0000 (0:00:00.233) 0:00:39.620 ******** included: /WORKDIR/git-route_typeqp55z1k5/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typeqp55z1k5/tests/playbooks/tasks/manage_test_interface.yml:3 Monday 08 January 2024 14:20:15 +0000 (0:00:00.077) 0:00:39.698 ******** 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_typeqp55z1k5/tests/playbooks/tasks/manage_test_interface.yml:8 Monday 08 January 2024 14:20:15 +0000 (0:00:00.041) 0:00:39.739 ******** 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_typeqp55z1k5/tests/playbooks/tasks/manage_test_interface.yml:13 Monday 08 January 2024 14:20:15 +0000 (0:00:00.028) 0:00:39.768 ******** included: /WORKDIR/git-route_typeqp55z1k5/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeqp55z1k5/tests/playbooks/tasks/show_interfaces.yml:3 Monday 08 January 2024 14:20:15 +0000 (0:00:00.039) 0:00:39.807 ******** included: /WORKDIR/git-route_typeqp55z1k5/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeqp55z1k5/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 08 January 2024 14:20:15 +0000 (0:00:00.037) 0:00:39.845 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003430", "end": "2024-01-08 14:20:15.620166", "rc": 0, "start": "2024-01-08 14:20:15.616736" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeqp55z1k5/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 08 January 2024 14:20:15 +0000 (0:00:00.211) 0:00:40.056 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeqp55z1k5/tests/playbooks/tasks/show_interfaces.yml:5 Monday 08 January 2024 14:20:15 +0000 (0:00:00.065) 0:00:40.122 ******** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typeqp55z1k5/tests/playbooks/tasks/manage_test_interface.yml:16 Monday 08 January 2024 14:20:15 +0000 (0:00:00.034) 0:00:40.157 ******** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typeqp55z1k5/tests/playbooks/tasks/manage_test_interface.yml:23 Monday 08 January 2024 14:20:18 +0000 (0:00:03.018) 0:00:43.175 ******** 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_typeqp55z1k5/tests/playbooks/tasks/manage_test_interface.yml:31 Monday 08 January 2024 14:20:18 +0000 (0:00:00.028) 0:00:43.204 ******** 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_typeqp55z1k5/tests/playbooks/tasks/manage_test_interface.yml:39 Monday 08 January 2024 14:20:18 +0000 (0:00:00.019) 0:00:43.223 ******** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.012328", "end": "2024-01-08 14:20:19.013743", "rc": 0, "start": "2024-01-08 14:20:19.001415" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typeqp55z1k5/tests/playbooks/tasks/manage_test_interface.yml:45 Monday 08 January 2024 14:20:19 +0000 (0:00:00.223) 0:00:43.446 ******** 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_typeqp55z1k5/tests/playbooks/tasks/manage_test_interface.yml:50 Monday 08 January 2024 14:20:19 +0000 (0:00:00.034) 0:00:43.481 ******** 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_typeqp55z1k5/tests/playbooks/tasks/manage_test_interface.yml:56 Monday 08 January 2024 14:20:19 +0000 (0:00:00.068) 0:00:43.549 ******** 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_typeqp55z1k5/tests/playbooks/tasks/manage_test_interface.yml:61 Monday 08 January 2024 14:20:19 +0000 (0:00:00.037) 0:00:43.587 ******** 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 Monday 08 January 2024 14:20:19 +0000 (0:00:00.061) 0:00:43.649 ******** =============================================================================== Install iproute --------------------------------------------------------- 3.25s /WORKDIR/git-route_typeqp55z1k5/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 3.03s /WORKDIR/git-route_typeqp55z1k5/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 3.02s /WORKDIR/git-route_typeqp55z1k5/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 3.00s /WORKDIR/git-route_typeqp55z1k5/tests/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Check which services are running ---- 1.70s /WORKDIR/git-route_typeqp55z1k5/.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.61s /WORKDIR/git-route_typeqp55z1k5/.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.57s /WORKDIR/git-route_typeqp55z1k5/.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.54s /WORKDIR/git-route_typeqp55z1k5/.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.50s /WORKDIR/git-route_typeqp55z1k5/.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_typeqp55z1k5/.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_typeqp55z1k5/.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_typeqp55z1k5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gathering Facts --------------------------------------------------------- 1.02s /WORKDIR/git-route_typeqp55z1k5/tests/tests_auto_gateway_nm.yml:6 ------------- Create veth interface veth0 --------------------------------------------- 0.72s /WORKDIR/git-route_typeqp55z1k5/tests/playbooks/tasks/manage_test_interface.yml:23 Gathering Facts --------------------------------------------------------- 0.69s /WORKDIR/git-route_typeqp55z1k5/tests/playbooks/tests_auto_gateway.yml:3 ------ Create veth interface veth0 --------------------------------------------- 0.61s /WORKDIR/git-route_typeqp55z1k5/tests/playbooks/tasks/manage_test_interface.yml:23 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.60s /WORKDIR/git-route_typeqp55z1k5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.57s /WORKDIR/git-route_typeqp55z1k5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.54s /WORKDIR/git-route_typeqp55z1k5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Enable EPEL 8 ----------------------------------------------------------- 0.44s /WORKDIR/git-route_typeqp55z1k5/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. ---^---^---^---^---^---