# 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_type6_0sc7l7/.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_type6_0sc7l7/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_type6_0sc7l7/tests/tests_auto_gateway_nm.yml:6 Thursday 11 January 2024 02:08:49 +0000 (0:00:00.011) 0:00:00.011 ****** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_type6_0sc7l7/tests/tests_auto_gateway_nm.yml:9 Thursday 11 January 2024 02:08:50 +0000 (0:00:00.863) 0:00:00.875 ****** included: /WORKDIR/git-route_type6_0sc7l7/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_type6_0sc7l7/tests/tasks/el_repo_setup.yml:3 Thursday 11 January 2024 02:08:50 +0000 (0:00:00.011) 0:00:00.887 ****** skipping: [sut] => { "changed": false, "false_condition": "not ansible_facts.keys() | list | intersect(network_test_required_facts) == network_test_required_facts", "skip_reason": "Conditional result was False" } TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_type6_0sc7l7/tests/tasks/el_repo_setup.yml:17 Thursday 11 January 2024 02:08:50 +0000 (0:00:00.016) 0:00:00.903 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_type6_0sc7l7/tests/tasks/el_repo_setup.yml:22 Thursday 11 January 2024 02:08:50 +0000 (0:00:00.258) 0:00:01.161 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_type6_0sc7l7/tests/tasks/el_repo_setup.yml:26 Thursday 11 January 2024 02:08:50 +0000 (0:00:00.013) 0:00:01.174 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == 'CentOS'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_type6_0sc7l7/tests/tasks/el_repo_setup.yml:51 Thursday 11 January 2024 02:08:50 +0000 (0:00:00.008) 0:00:01.183 ****** included: /WORKDIR/git-route_type6_0sc7l7/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 38] ********************************************************** task path: /WORKDIR/git-route_type6_0sc7l7/tests/tasks/enable_epel.yml:8 Thursday 11 January 2024 02:08:50 +0000 (0:00:00.021) 0:00:01.205 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-route_type6_0sc7l7/tests/tasks/enable_epel.yml:24 Thursday 11 January 2024 02:08:50 +0000 (0:00:00.007) 0:00:01.213 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-route_type6_0sc7l7/tests/tasks/enable_epel.yml:30 Thursday 11 January 2024 02:08:50 +0000 (0:00:00.007) 0:00:01.220 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_type6_0sc7l7/tests/tasks/enable_epel.yml:35 Thursday 11 January 2024 02:08:50 +0000 (0:00:00.007) 0:00:01.227 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_type6_0sc7l7/tests/tasks/enable_epel.yml:40 Thursday 11 January 2024 02:08:50 +0000 (0:00:00.007) 0:00:01.235 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-route_type6_0sc7l7/tests/tests_auto_gateway_nm.yml:11 Thursday 11 January 2024 02:08:50 +0000 (0:00:00.007) 0:00:01.242 ****** ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing auto_gateway setting] *********************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_type6_0sc7l7/tests/playbooks/tests_auto_gateway.yml:3 Thursday 11 January 2024 02:08:50 +0000 (0:00:00.015) 0:00:01.257 ****** ok: [sut] TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_type6_0sc7l7/tests/playbooks/tests_auto_gateway.yml:9 Thursday 11 January 2024 02:08:51 +0000 (0:00:00.718) 0:00:01.976 ****** included: /WORKDIR/git-route_type6_0sc7l7/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type6_0sc7l7/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 02:08:51 +0000 (0:00:00.022) 0:00:01.998 ****** included: /WORKDIR/git-route_type6_0sc7l7/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type6_0sc7l7/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 02:08:51 +0000 (0:00:00.010) 0:00:02.009 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003718", "end": "2024-01-11 02:08:51.731043", "rc": 0, "start": "2024-01-11 02:08:51.727325" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type6_0sc7l7/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 02:08:51 +0000 (0:00:00.285) 0:00:02.295 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type6_0sc7l7/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 02:08:51 +0000 (0:00:00.012) 0:00:02.307 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_type6_0sc7l7/tests/playbooks/tests_auto_gateway.yml:11 Thursday 11 January 2024 02:08:51 +0000 (0:00:00.010) 0:00:02.318 ****** included: /WORKDIR/git-route_type6_0sc7l7/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_type6_0sc7l7/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 11 January 2024 02:08:51 +0000 (0:00:00.025) 0:00:02.343 ****** 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_type6_0sc7l7/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 11 January 2024 02:08:51 +0000 (0:00:00.044) 0:00:02.387 ****** 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_type6_0sc7l7/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 11 January 2024 02:08:51 +0000 (0:00:00.010) 0:00:02.398 ****** included: /WORKDIR/git-route_type6_0sc7l7/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type6_0sc7l7/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 02:08:51 +0000 (0:00:00.016) 0:00:02.415 ****** included: /WORKDIR/git-route_type6_0sc7l7/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type6_0sc7l7/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 02:08:51 +0000 (0:00:00.011) 0:00:02.426 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003823", "end": "2024-01-11 02:08:52.083878", "rc": 0, "start": "2024-01-11 02:08:52.080055" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type6_0sc7l7/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 02:08:52 +0000 (0:00:00.209) 0:00:02.636 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type6_0sc7l7/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 02:08:52 +0000 (0:00:00.012) 0:00:02.649 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_type6_0sc7l7/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 11 January 2024 02:08:52 +0000 (0:00:00.009) 0:00:02.658 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_type6_0sc7l7/tests/playbooks/tasks/manage_test_interface.yml:23 Thursday 11 January 2024 02:08:54 +0000 (0:00:02.361) 0:00:05.019 ****** 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.048213", "end": "2024-01-11 02:08:54.725457", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-01-11 02:08:54.677244" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004539", "end": "2024-01-11 02:08:54.991734", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-01-11 02:08:54.987195" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004143", "end": "2024-01-11 02:08:55.191423", "item": "ip link set veth0 up", "rc": 0, "start": "2024-01-11 02:08:55.187280" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_type6_0sc7l7/tests/playbooks/tasks/manage_test_interface.yml:31 Thursday 11 January 2024 02:08:55 +0000 (0:00:00.725) 0:00:05.745 ****** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.125964", "end": "2024-01-11 02:08:55.527478", "rc": 0, "start": "2024-01-11 02:08:55.401514" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_type6_0sc7l7/tests/playbooks/tasks/manage_test_interface.yml:39 Thursday 11 January 2024 02:08:55 +0000 (0:00:00.338) 0:00:06.083 ****** 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_type6_0sc7l7/tests/playbooks/tasks/manage_test_interface.yml:45 Thursday 11 January 2024 02:08:55 +0000 (0:00:00.018) 0:00:06.102 ****** 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_type6_0sc7l7/tests/playbooks/tasks/manage_test_interface.yml:50 Thursday 11 January 2024 02:08:55 +0000 (0:00:00.019) 0:00:06.121 ****** 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_type6_0sc7l7/tests/playbooks/tasks/manage_test_interface.yml:56 Thursday 11 January 2024 02:08:55 +0000 (0:00:00.015) 0:00:06.136 ****** 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_type6_0sc7l7/tests/playbooks/tasks/manage_test_interface.yml:61 Thursday 11 January 2024 02:08:55 +0000 (0:00:00.018) 0:00:06.155 ****** 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_type6_0sc7l7/tests/playbooks/tests_auto_gateway.yml:15 Thursday 11 January 2024 02:08:55 +0000 (0:00:00.009) 0:00:06.164 ****** included: /WORKDIR/git-route_type6_0sc7l7/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type6_0sc7l7/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 11 January 2024 02:08:55 +0000 (0:00:00.031) 0:00:06.195 ****** included: /WORKDIR/git-route_type6_0sc7l7/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_type6_0sc7l7/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 02:08:55 +0000 (0:00:00.017) 0:00:06.213 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704938934.7215667, "block_size": 4096, "blocks": 0, "ctime": 1704938934.7215667, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26338, "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": 1704938934.7215667, "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_type6_0sc7l7/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 11 January 2024 02:08:55 +0000 (0:00:00.207) 0:00:06.421 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /WORKDIR/git-route_type6_0sc7l7/tests/playbooks/tests_auto_gateway.yml:17 Thursday 11 January 2024 02:08:55 +0000 (0:00:00.011) 0:00:06.433 ****** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type6_0sc7l7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 11 January 2024 02:08:55 +0000 (0:00:00.014) 0:00:06.447 ****** included: /WORKDIR/git-route_type6_0sc7l7/.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_type6_0sc7l7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:08:55 +0000 (0:00:00.017) 0:00:06.465 ****** 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_type6_0sc7l7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 11 January 2024 02:08:55 +0000 (0:00:00.024) 0:00:06.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 : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-route_type6_0sc7l7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 11 January 2024 02:08:55 +0000 (0:00:00.013) 0:00:06.503 ****** 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_type6_0sc7l7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 11 January 2024 02:08:55 +0000 (0:00:00.023) 0:00:06.526 ****** 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_type6_0sc7l7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 11 January 2024 02:08:58 +0000 (0:00:02.296) 0:00:08.823 ****** 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_type6_0sc7l7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 11 January 2024 02:08:59 +0000 (0:00:00.938) 0:00:09.761 ****** 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_type6_0sc7l7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 11 January 2024 02:08:59 +0000 (0:00:00.023) 0:00:09.784 ****** 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_type6_0sc7l7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 11 January 2024 02:08:59 +0000 (0:00:00.029) 0:00:09.814 ****** 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_type6_0sc7l7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 11 January 2024 02:08:59 +0000 (0:00:00.022) 0:00:09.837 ****** 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_type6_0sc7l7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 11 January 2024 02:08:59 +0000 (0:00:00.059) 0:00:09.896 ****** 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_type6_0sc7l7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 11 January 2024 02:08:59 +0000 (0:00:00.045) 0:00:09.941 ****** 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_type6_0sc7l7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 11 January 2024 02:08:59 +0000 (0:00:00.031) 0:00:09.973 ****** 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_type6_0sc7l7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 11 January 2024 02:08:59 +0000 (0:00:00.036) 0:00:10.009 ****** 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_type6_0sc7l7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 11 January 2024 02:09:00 +0000 (0:00:00.591) 0:00:10.601 ****** 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_type6_0sc7l7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 11 January 2024 02:09:00 +0000 (0:00:00.037) 0:00:10.638 ****** 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_type6_0sc7l7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 11 January 2024 02:09:00 +0000 (0:00:00.021) 0:00:10.660 ****** 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_type6_0sc7l7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 11 January 2024 02:09:00 +0000 (0:00:00.023) 0:00:10.683 ****** 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, d77c53c4-45b8-41d3-9c82-75a387492575 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, d77c53c4-45b8-41d3-9c82-75a387492575 (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_type6_0sc7l7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 11 January 2024 02:09:00 +0000 (0:00:00.811) 0:00:11.494 ****** 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_type6_0sc7l7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 11 January 2024 02:09:00 +0000 (0:00:00.022) 0:00:11.516 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, d77c53c4-45b8-41d3-9c82-75a387492575", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, d77c53c4-45b8-41d3-9c82-75a387492575 (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type6_0sc7l7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 11 January 2024 02:09:01 +0000 (0:00:00.020) 0:00:11.537 ****** 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, d77c53c4-45b8-41d3-9c82-75a387492575\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, d77c53c4-45b8-41d3-9c82-75a387492575 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, d77c53c4-45b8-41d3-9c82-75a387492575", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, d77c53c4-45b8-41d3-9c82-75a387492575 (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type6_0sc7l7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 11 January 2024 02:09:01 +0000 (0:00:00.020) 0:00:11.558 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type6_0sc7l7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 11 January 2024 02:09:01 +0000 (0:00:00.021) 0:00:11.579 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_type6_0sc7l7/tests/playbooks/tests_auto_gateway.yml:42 Thursday 11 January 2024 02:09:01 +0000 (0:00:00.311) 0:00:11.890 ****** included: /WORKDIR/git-route_type6_0sc7l7/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type6_0sc7l7/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 11 January 2024 02:09:01 +0000 (0:00:00.043) 0:00:11.934 ****** included: /WORKDIR/git-route_type6_0sc7l7/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_type6_0sc7l7/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 02:09:01 +0000 (0:00:00.059) 0:00:11.994 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704938934.7215667, "block_size": 4096, "blocks": 0, "ctime": 1704938934.7215667, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26338, "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": 1704938934.7215667, "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_type6_0sc7l7/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 11 January 2024 02:09:01 +0000 (0:00:00.246) 0:00:12.240 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-route_type6_0sc7l7/tests/playbooks/tests_auto_gateway.yml:44 Thursday 11 January 2024 02:09:01 +0000 (0:00:00.021) 0:00:12.262 ****** included: /WORKDIR/git-route_type6_0sc7l7/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type6_0sc7l7/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 11 January 2024 02:09:01 +0000 (0:00:00.066) 0:00:12.328 ****** included: /WORKDIR/git-route_type6_0sc7l7/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type6_0sc7l7/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 11 January 2024 02:09:01 +0000 (0:00:00.034) 0:00:12.362 ****** 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_type6_0sc7l7/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 11 January 2024 02:09:01 +0000 (0:00:00.022) 0:00:12.384 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type6_0sc7l7/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 11 January 2024 02:09:02 +0000 (0:00:00.226) 0:00:12.611 ****** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type6_0sc7l7/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 11 January 2024 02:09:02 +0000 (0:00:00.018) 0:00:12.629 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.078662", "end": "2024-01-11 02:09:02.358820", "rc": 0, "start": "2024-01-11 02:09:02.280158" } STDOUT: veth0 /etc/NetworkManager/system-connections/veth0.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_type6_0sc7l7/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 11 January 2024 02:09:02 +0000 (0:00:00.296) 0:00:12.926 ****** 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_type6_0sc7l7/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 11 January 2024 02:09:02 +0000 (0:00:00.024) 0:00:12.950 ****** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-route_type6_0sc7l7/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 11 January 2024 02:09:02 +0000 (0:00:00.019) 0:00:12.970 ****** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-route_type6_0sc7l7/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 11 January 2024 02:09:02 +0000 (0:00:00.019) 0:00:12.990 ****** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-route_type6_0sc7l7/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 11 January 2024 02:09:02 +0000 (0:00:00.025) 0:00:13.015 ****** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-route_type6_0sc7l7/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 11 January 2024 02:09:02 +0000 (0:00:00.026) 0:00:13.041 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-route_type6_0sc7l7/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 11 January 2024 02:09:02 +0000 (0:00:00.063) 0:00:13.105 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-route_type6_0sc7l7/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 11 January 2024 02:09:02 +0000 (0:00:00.026) 0:00:13.131 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-route_type6_0sc7l7/tests/playbooks/tests_auto_gateway.yml:48 Thursday 11 January 2024 02:09:02 +0000 (0:00:00.024) 0:00:13.156 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003936", "end": "2024-01-11 02:09:02.826665", "rc": 0, "start": "2024-01-11 02:09:02.822729" } STDOUT: default via 10.31.40.1 dev eth0 proto dhcp src 10.31.41.203 metric 100 default via 203.0.113.1 dev veth0 proto static metric 65535 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.41.203 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_type6_0sc7l7/tests/playbooks/tests_auto_gateway.yml:52 Thursday 11 January 2024 02:09:02 +0000 (0:00:00.235) 0:00:13.392 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-route_type6_0sc7l7/tests/playbooks/tests_auto_gateway.yml:58 Thursday 11 January 2024 02:09:02 +0000 (0:00:00.022) 0:00:13.415 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003955", "end": "2024-01-11 02:09:03.075505", "rc": 0, "start": "2024-01-11 02:09:03.071550" } STDOUT: 2001:db8::/64 dev veth0 proto kernel metric 101 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 1024 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_type6_0sc7l7/tests/playbooks/tests_auto_gateway.yml:62 Thursday 11 January 2024 02:09:03 +0000 (0:00:00.223) 0:00:13.638 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-route_type6_0sc7l7/tests/playbooks/tests_auto_gateway.yml:69 Thursday 11 January 2024 02:09:03 +0000 (0:00:00.022) 0:00:13.660 ****** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type6_0sc7l7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 11 January 2024 02:09:03 +0000 (0:00:00.022) 0:00:13.683 ****** included: /WORKDIR/git-route_type6_0sc7l7/.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_type6_0sc7l7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:09:03 +0000 (0:00:00.036) 0:00:13.719 ****** 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_type6_0sc7l7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 11 January 2024 02:09:03 +0000 (0:00:00.033) 0:00:13.753 ****** 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_type6_0sc7l7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 11 January 2024 02:09:03 +0000 (0:00:00.026) 0:00:13.779 ****** 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_type6_0sc7l7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 11 January 2024 02:09:03 +0000 (0:00:00.027) 0:00:13.807 ****** 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_type6_0sc7l7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 11 January 2024 02:09:05 +0000 (0:00:02.241) 0:00:16.048 ****** 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_type6_0sc7l7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 11 January 2024 02:09:06 +0000 (0:00:00.838) 0:00:16.886 ****** 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_type6_0sc7l7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 11 January 2024 02:09:06 +0000 (0:00:00.026) 0:00:16.913 ****** 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_type6_0sc7l7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 11 January 2024 02:09:06 +0000 (0:00:00.022) 0:00:16.935 ****** 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_type6_0sc7l7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 11 January 2024 02:09:06 +0000 (0:00:00.020) 0:00:16.956 ****** 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_type6_0sc7l7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 11 January 2024 02:09:06 +0000 (0:00:00.051) 0:00:17.008 ****** 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_type6_0sc7l7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 11 January 2024 02:09:06 +0000 (0:00:00.023) 0:00:17.032 ****** 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_type6_0sc7l7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 11 January 2024 02:09:06 +0000 (0:00:00.022) 0:00:17.054 ****** 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_type6_0sc7l7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 11 January 2024 02:09:06 +0000 (0:00:00.033) 0:00:17.088 ****** 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_type6_0sc7l7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 11 January 2024 02:09:06 +0000 (0:00:00.420) 0:00:17.508 ****** 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_type6_0sc7l7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 11 January 2024 02:09:07 +0000 (0:00:00.033) 0:00:17.542 ****** 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_type6_0sc7l7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 11 January 2024 02:09:07 +0000 (0:00:00.019) 0:00:17.561 ****** 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_type6_0sc7l7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 11 January 2024 02:09:07 +0000 (0:00:00.018) 0:00:17.580 ****** 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_type6_0sc7l7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 11 January 2024 02:09:07 +0000 (0:00:00.509) 0:00:18.090 ****** 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_type6_0sc7l7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 11 January 2024 02:09:07 +0000 (0:00:00.022) 0:00:18.113 ****** 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_type6_0sc7l7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 11 January 2024 02:09:07 +0000 (0:00:00.021) 0:00:18.135 ****** 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_type6_0sc7l7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 11 January 2024 02:09:07 +0000 (0:00:00.021) 0:00:18.156 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type6_0sc7l7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 11 January 2024 02:09:07 +0000 (0:00:00.049) 0:00:18.205 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_type6_0sc7l7/tests/playbooks/tests_auto_gateway.yml:81 Thursday 11 January 2024 02:09:07 +0000 (0:00:00.219) 0:00:18.425 ****** included: /WORKDIR/git-route_type6_0sc7l7/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_type6_0sc7l7/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 11 January 2024 02:09:07 +0000 (0:00:00.045) 0:00:18.471 ****** 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_type6_0sc7l7/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 11 January 2024 02:09:07 +0000 (0:00:00.018) 0:00:18.489 ****** 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_type6_0sc7l7/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 11 January 2024 02:09:07 +0000 (0:00:00.018) 0:00:18.508 ****** included: /WORKDIR/git-route_type6_0sc7l7/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type6_0sc7l7/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 02:09:08 +0000 (0:00:00.030) 0:00:18.538 ****** included: /WORKDIR/git-route_type6_0sc7l7/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type6_0sc7l7/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 02:09:08 +0000 (0:00:00.030) 0:00:18.568 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003755", "end": "2024-01-11 02:09:08.247435", "rc": 0, "start": "2024-01-11 02:09:08.243680" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type6_0sc7l7/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 02:09:08 +0000 (0:00:00.239) 0:00:18.808 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type6_0sc7l7/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 02:09:08 +0000 (0:00:00.021) 0:00:18.829 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_type6_0sc7l7/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 11 January 2024 02:09:08 +0000 (0:00:00.022) 0:00:18.852 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_type6_0sc7l7/tests/playbooks/tasks/manage_test_interface.yml:23 Thursday 11 January 2024 02:09:10 +0000 (0:00:02.195) 0:00:21.047 ****** 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_type6_0sc7l7/tests/playbooks/tasks/manage_test_interface.yml:31 Thursday 11 January 2024 02:09:10 +0000 (0:00:00.026) 0:00:21.074 ****** 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_type6_0sc7l7/tests/playbooks/tasks/manage_test_interface.yml:39 Thursday 11 January 2024 02:09:10 +0000 (0:00:00.047) 0:00:21.121 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.009195", "end": "2024-01-11 02:09:10.781649", "rc": 0, "start": "2024-01-11 02:09:10.772454" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_type6_0sc7l7/tests/playbooks/tasks/manage_test_interface.yml:45 Thursday 11 January 2024 02:09:10 +0000 (0:00:00.232) 0:00:21.353 ****** 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_type6_0sc7l7/tests/playbooks/tasks/manage_test_interface.yml:50 Thursday 11 January 2024 02:09:10 +0000 (0:00:00.019) 0:00:21.373 ****** 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_type6_0sc7l7/tests/playbooks/tasks/manage_test_interface.yml:56 Thursday 11 January 2024 02:09:10 +0000 (0:00:00.020) 0:00:21.393 ****** 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_type6_0sc7l7/tests/playbooks/tasks/manage_test_interface.yml:61 Thursday 11 January 2024 02:09:10 +0000 (0:00:00.019) 0:00:21.412 ****** 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_type6_0sc7l7/tests/playbooks/tests_auto_gateway.yml:85 Thursday 11 January 2024 02:09:10 +0000 (0:00:00.019) 0:00:21.432 ****** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_type6_0sc7l7/tests/playbooks/tests_auto_gateway.yml:89 Thursday 11 January 2024 02:09:10 +0000 (0:00:00.020) 0:00:21.452 ****** included: /WORKDIR/git-route_type6_0sc7l7/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_type6_0sc7l7/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 11 January 2024 02:09:10 +0000 (0:00:00.045) 0:00:21.497 ****** 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_type6_0sc7l7/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 11 January 2024 02:09:10 +0000 (0:00:00.018) 0:00:21.516 ****** 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_type6_0sc7l7/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 11 January 2024 02:09:11 +0000 (0:00:00.018) 0:00:21.535 ****** included: /WORKDIR/git-route_type6_0sc7l7/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type6_0sc7l7/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 02:09:11 +0000 (0:00:00.030) 0:00:21.565 ****** included: /WORKDIR/git-route_type6_0sc7l7/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type6_0sc7l7/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 02:09:11 +0000 (0:00:00.031) 0:00:21.597 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003735", "end": "2024-01-11 02:09:11.265043", "rc": 0, "start": "2024-01-11 02:09:11.261308" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type6_0sc7l7/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 02:09:11 +0000 (0:00:00.228) 0:00:21.826 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type6_0sc7l7/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 02:09:11 +0000 (0:00:00.047) 0:00:21.873 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_type6_0sc7l7/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 11 January 2024 02:09:11 +0000 (0:00:00.020) 0:00:21.894 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_type6_0sc7l7/tests/playbooks/tasks/manage_test_interface.yml:23 Thursday 11 January 2024 02:09:13 +0000 (0:00:02.195) 0:00:24.089 ****** 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.009239", "end": "2024-01-11 02:09:13.827427", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-01-11 02:09:13.818188" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004024", "end": "2024-01-11 02:09:14.082378", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-01-11 02:09:14.078354" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004194", "end": "2024-01-11 02:09:14.285582", "item": "ip link set veth0 up", "rc": 0, "start": "2024-01-11 02:09:14.281388" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_type6_0sc7l7/tests/playbooks/tasks/manage_test_interface.yml:31 Thursday 11 January 2024 02:09:14 +0000 (0:00:00.762) 0:00:24.851 ****** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.021876", "end": "2024-01-11 02:09:14.533719", "rc": 0, "start": "2024-01-11 02:09:14.511843" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_type6_0sc7l7/tests/playbooks/tasks/manage_test_interface.yml:39 Thursday 11 January 2024 02:09:14 +0000 (0:00:00.247) 0:00:25.099 ****** 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_type6_0sc7l7/tests/playbooks/tasks/manage_test_interface.yml:45 Thursday 11 January 2024 02:09:14 +0000 (0:00:00.025) 0:00:25.125 ****** 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_type6_0sc7l7/tests/playbooks/tasks/manage_test_interface.yml:50 Thursday 11 January 2024 02:09:14 +0000 (0:00:00.020) 0:00:25.145 ****** 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_type6_0sc7l7/tests/playbooks/tasks/manage_test_interface.yml:56 Thursday 11 January 2024 02:09:14 +0000 (0:00:00.020) 0:00:25.166 ****** 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_type6_0sc7l7/tests/playbooks/tasks/manage_test_interface.yml:61 Thursday 11 January 2024 02:09:14 +0000 (0:00:00.022) 0:00:25.189 ****** 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_type6_0sc7l7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 11 January 2024 02:09:14 +0000 (0:00:00.023) 0:00:25.213 ****** included: /WORKDIR/git-route_type6_0sc7l7/.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_type6_0sc7l7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:09:14 +0000 (0:00:00.037) 0:00:25.250 ****** 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_type6_0sc7l7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 11 January 2024 02:09:14 +0000 (0:00:00.036) 0:00:25.286 ****** 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_type6_0sc7l7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 11 January 2024 02:09:14 +0000 (0:00:00.023) 0:00:25.310 ****** 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_type6_0sc7l7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 11 January 2024 02:09:14 +0000 (0:00:00.034) 0:00:25.345 ****** 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_type6_0sc7l7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 11 January 2024 02:09:17 +0000 (0:00:02.204) 0:00:27.549 ****** 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_type6_0sc7l7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 11 January 2024 02:09:17 +0000 (0:00:00.821) 0:00:28.371 ****** 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_type6_0sc7l7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 11 January 2024 02:09:17 +0000 (0:00:00.023) 0:00:28.394 ****** 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_type6_0sc7l7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 11 January 2024 02:09:17 +0000 (0:00:00.022) 0:00:28.417 ****** 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_type6_0sc7l7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 11 January 2024 02:09:17 +0000 (0:00:00.022) 0:00:28.439 ****** 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_type6_0sc7l7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 11 January 2024 02:09:17 +0000 (0:00:00.053) 0:00:28.492 ****** 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_type6_0sc7l7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 11 January 2024 02:09:17 +0000 (0:00:00.022) 0:00:28.515 ****** 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_type6_0sc7l7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 11 January 2024 02:09:18 +0000 (0:00:00.024) 0:00:28.539 ****** 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_type6_0sc7l7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 11 January 2024 02:09:18 +0000 (0:00:00.037) 0:00:28.577 ****** 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_type6_0sc7l7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 11 January 2024 02:09:18 +0000 (0:00:00.425) 0:00:29.002 ****** 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_type6_0sc7l7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 11 January 2024 02:09:18 +0000 (0:00:00.045) 0:00:29.048 ****** 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_type6_0sc7l7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 11 January 2024 02:09:18 +0000 (0:00:00.021) 0:00:29.069 ****** 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_type6_0sc7l7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 11 January 2024 02:09:18 +0000 (0:00:00.023) 0:00:29.092 ****** 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, df396ef3-e0ae-45fc-9e62-49cf1d00b256 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, df396ef3-e0ae-45fc-9e62-49cf1d00b256 (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_type6_0sc7l7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 11 January 2024 02:09:19 +0000 (0:00:00.447) 0:00:29.540 ****** 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_type6_0sc7l7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 11 January 2024 02:09:19 +0000 (0:00:00.022) 0:00:29.562 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, df396ef3-e0ae-45fc-9e62-49cf1d00b256", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, df396ef3-e0ae-45fc-9e62-49cf1d00b256 (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type6_0sc7l7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 11 January 2024 02:09:19 +0000 (0:00:00.052) 0:00:29.615 ****** 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, df396ef3-e0ae-45fc-9e62-49cf1d00b256\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, df396ef3-e0ae-45fc-9e62-49cf1d00b256 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, df396ef3-e0ae-45fc-9e62-49cf1d00b256", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, df396ef3-e0ae-45fc-9e62-49cf1d00b256 (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type6_0sc7l7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 11 January 2024 02:09:19 +0000 (0:00:00.024) 0:00:29.639 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type6_0sc7l7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 11 January 2024 02:09:19 +0000 (0:00:00.023) 0:00:29.662 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_type6_0sc7l7/tests/playbooks/tests_auto_gateway.yml:110 Thursday 11 January 2024 02:09:19 +0000 (0:00:00.225) 0:00:29.888 ****** included: /WORKDIR/git-route_type6_0sc7l7/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type6_0sc7l7/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 11 January 2024 02:09:19 +0000 (0:00:00.047) 0:00:29.935 ****** included: /WORKDIR/git-route_type6_0sc7l7/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_type6_0sc7l7/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 02:09:19 +0000 (0:00:00.029) 0:00:29.965 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704938953.8232696, "block_size": 4096, "blocks": 0, "ctime": 1704938953.8232696, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26924, "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": 1704938953.8232696, "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_type6_0sc7l7/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 11 January 2024 02:09:19 +0000 (0:00:00.212) 0:00:30.177 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-route_type6_0sc7l7/tests/playbooks/tests_auto_gateway.yml:112 Thursday 11 January 2024 02:09:19 +0000 (0:00:00.022) 0:00:30.200 ****** included: /WORKDIR/git-route_type6_0sc7l7/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type6_0sc7l7/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 11 January 2024 02:09:19 +0000 (0:00:00.047) 0:00:30.247 ****** included: /WORKDIR/git-route_type6_0sc7l7/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type6_0sc7l7/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 11 January 2024 02:09:19 +0000 (0:00:00.047) 0:00:30.294 ****** 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_type6_0sc7l7/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 11 January 2024 02:09:19 +0000 (0:00:00.040) 0:00:30.335 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type6_0sc7l7/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 11 January 2024 02:09:20 +0000 (0:00:00.263) 0:00:30.598 ****** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type6_0sc7l7/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 11 January 2024 02:09:20 +0000 (0:00:00.018) 0:00:30.617 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.022422", "end": "2024-01-11 02:09:20.292439", "rc": 0, "start": "2024-01-11 02:09:20.270017" } STDOUT: veth0 /etc/NetworkManager/system-connections/veth0.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_type6_0sc7l7/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 11 January 2024 02:09:20 +0000 (0:00:00.238) 0:00:30.855 ****** 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_type6_0sc7l7/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 11 January 2024 02:09:20 +0000 (0:00:00.022) 0:00:30.877 ****** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-route_type6_0sc7l7/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 11 January 2024 02:09:20 +0000 (0:00:00.018) 0:00:30.896 ****** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-route_type6_0sc7l7/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 11 January 2024 02:09:20 +0000 (0:00:00.019) 0:00:30.916 ****** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-route_type6_0sc7l7/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 11 January 2024 02:09:20 +0000 (0:00:00.019) 0:00:30.935 ****** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-route_type6_0sc7l7/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 11 January 2024 02:09:20 +0000 (0:00:00.018) 0:00:30.954 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-route_type6_0sc7l7/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 11 January 2024 02:09:20 +0000 (0:00:00.021) 0:00:30.976 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-route_type6_0sc7l7/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 11 January 2024 02:09:20 +0000 (0:00:00.022) 0:00:30.998 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-route_type6_0sc7l7/tests/playbooks/tests_auto_gateway.yml:116 Thursday 11 January 2024 02:09:20 +0000 (0:00:00.020) 0:00:31.019 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.004222", "end": "2024-01-11 02:09:20.677032", "rc": 0, "start": "2024-01-11 02:09:20.672810" } STDOUT: default via 10.31.40.1 dev eth0 proto dhcp src 10.31.41.203 metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.41.203 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_type6_0sc7l7/tests/playbooks/tests_auto_gateway.yml:120 Thursday 11 January 2024 02:09:20 +0000 (0:00:00.220) 0:00:31.239 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-route_type6_0sc7l7/tests/playbooks/tests_auto_gateway.yml:126 Thursday 11 January 2024 02:09:20 +0000 (0:00:00.023) 0:00:31.262 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003966", "end": "2024-01-11 02:09:20.922199", "rc": 0, "start": "2024-01-11 02:09:20.918233" } STDOUT: 2001:db8::/64 dev veth0 proto kernel metric 101 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 1024 pref medium fe80::/64 dev veth0 proto kernel metric 1024 pref medium TASK [Assert default ipv6 route is absent] ************************************* task path: /WORKDIR/git-route_type6_0sc7l7/tests/playbooks/tests_auto_gateway.yml:130 Thursday 11 January 2024 02:09:20 +0000 (0:00:00.224) 0:00:31.486 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-route_type6_0sc7l7/tests/playbooks/tests_auto_gateway.yml:137 Thursday 11 January 2024 02:09:20 +0000 (0:00:00.024) 0:00:31.511 ****** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type6_0sc7l7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 11 January 2024 02:09:21 +0000 (0:00:00.020) 0:00:31.531 ****** included: /WORKDIR/git-route_type6_0sc7l7/.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_type6_0sc7l7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:09:21 +0000 (0:00:00.065) 0:00:31.597 ****** 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_type6_0sc7l7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 11 January 2024 02:09:21 +0000 (0:00:00.039) 0:00:31.637 ****** 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_type6_0sc7l7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 11 January 2024 02:09:21 +0000 (0:00:00.022) 0:00:31.659 ****** 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_type6_0sc7l7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 11 January 2024 02:09:21 +0000 (0:00:00.022) 0:00:31.681 ****** 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_type6_0sc7l7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 11 January 2024 02:09:23 +0000 (0:00:02.163) 0:00:33.845 ****** 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_type6_0sc7l7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 11 January 2024 02:09:24 +0000 (0:00:00.755) 0:00:34.600 ****** 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_type6_0sc7l7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 11 January 2024 02:09:24 +0000 (0:00:00.023) 0:00:34.623 ****** 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_type6_0sc7l7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 11 January 2024 02:09:24 +0000 (0:00:00.025) 0:00:34.649 ****** 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_type6_0sc7l7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 11 January 2024 02:09:24 +0000 (0:00:00.026) 0:00:34.675 ****** 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_type6_0sc7l7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 11 January 2024 02:09:24 +0000 (0:00:00.062) 0:00:34.738 ****** 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_type6_0sc7l7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 11 January 2024 02:09:24 +0000 (0:00:00.028) 0:00:34.766 ****** 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_type6_0sc7l7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 11 January 2024 02:09:24 +0000 (0:00:00.026) 0:00:34.793 ****** 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_type6_0sc7l7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 11 January 2024 02:09:24 +0000 (0:00:00.045) 0:00:34.838 ****** 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_type6_0sc7l7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 11 January 2024 02:09:24 +0000 (0:00:00.454) 0:00:35.292 ****** 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_type6_0sc7l7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 11 January 2024 02:09:24 +0000 (0:00:00.037) 0:00:35.329 ****** 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_type6_0sc7l7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 11 January 2024 02:09:24 +0000 (0:00:00.024) 0:00:35.354 ****** 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_type6_0sc7l7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 11 January 2024 02:09:24 +0000 (0:00:00.021) 0:00:35.375 ****** 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_type6_0sc7l7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 11 January 2024 02:09:25 +0000 (0:00:00.521) 0:00:35.897 ****** 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_type6_0sc7l7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 11 January 2024 02:09:25 +0000 (0:00:00.044) 0:00:35.942 ****** 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_type6_0sc7l7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 11 January 2024 02:09:25 +0000 (0:00:00.027) 0:00:35.969 ****** 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_type6_0sc7l7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 11 January 2024 02:09:25 +0000 (0:00:00.029) 0:00:35.999 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type6_0sc7l7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 11 January 2024 02:09:25 +0000 (0:00:00.024) 0:00:36.023 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_type6_0sc7l7/tests/playbooks/tests_auto_gateway.yml:149 Thursday 11 January 2024 02:09:25 +0000 (0:00:00.237) 0:00:36.260 ****** included: /WORKDIR/git-route_type6_0sc7l7/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_type6_0sc7l7/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 11 January 2024 02:09:25 +0000 (0:00:00.051) 0:00:36.312 ****** 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_type6_0sc7l7/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 11 January 2024 02:09:25 +0000 (0:00:00.031) 0:00:36.343 ****** 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_type6_0sc7l7/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 11 January 2024 02:09:25 +0000 (0:00:00.019) 0:00:36.363 ****** included: /WORKDIR/git-route_type6_0sc7l7/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type6_0sc7l7/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 02:09:25 +0000 (0:00:00.034) 0:00:36.397 ****** included: /WORKDIR/git-route_type6_0sc7l7/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type6_0sc7l7/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 02:09:25 +0000 (0:00:00.073) 0:00:36.470 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003803", "end": "2024-01-11 02:09:26.146275", "rc": 0, "start": "2024-01-11 02:09:26.142472" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type6_0sc7l7/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 02:09:26 +0000 (0:00:00.245) 0:00:36.716 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type6_0sc7l7/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 02:09:26 +0000 (0:00:00.022) 0:00:36.738 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_type6_0sc7l7/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 11 January 2024 02:09:26 +0000 (0:00:00.028) 0:00:36.766 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_type6_0sc7l7/tests/playbooks/tasks/manage_test_interface.yml:23 Thursday 11 January 2024 02:09:28 +0000 (0:00:02.215) 0:00:38.982 ****** 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_type6_0sc7l7/tests/playbooks/tasks/manage_test_interface.yml:31 Thursday 11 January 2024 02:09:28 +0000 (0:00:00.032) 0:00:39.015 ****** 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_type6_0sc7l7/tests/playbooks/tasks/manage_test_interface.yml:39 Thursday 11 January 2024 02:09:28 +0000 (0:00:00.021) 0:00:39.036 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.011971", "end": "2024-01-11 02:09:28.700423", "rc": 0, "start": "2024-01-11 02:09:28.688452" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_type6_0sc7l7/tests/playbooks/tasks/manage_test_interface.yml:45 Thursday 11 January 2024 02:09:28 +0000 (0:00:00.242) 0:00:39.279 ****** 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_type6_0sc7l7/tests/playbooks/tasks/manage_test_interface.yml:50 Thursday 11 January 2024 02:09:28 +0000 (0:00:00.030) 0:00:39.310 ****** 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_type6_0sc7l7/tests/playbooks/tasks/manage_test_interface.yml:56 Thursday 11 January 2024 02:09:28 +0000 (0:00:00.030) 0:00:39.340 ****** 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_type6_0sc7l7/tests/playbooks/tasks/manage_test_interface.yml:61 Thursday 11 January 2024 02:09:28 +0000 (0:00:00.025) 0:00:39.366 ****** 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=124 changed=4 unreachable=0 failed=0 skipped=103 rescued=0 ignored=0 Thursday 11 January 2024 02:09:28 +0000 (0:00:00.069) 0:00:39.435 ****** =============================================================================== Install iproute --------------------------------------------------------- 2.36s /WORKDIR/git-route_type6_0sc7l7/tests/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Check which services are running ---- 2.30s /WORKDIR/git-route_type6_0sc7l7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.24s /WORKDIR/git-route_type6_0sc7l7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Install iproute --------------------------------------------------------- 2.22s /WORKDIR/git-route_type6_0sc7l7/tests/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Check which services are running ---- 2.20s /WORKDIR/git-route_type6_0sc7l7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Install iproute --------------------------------------------------------- 2.20s /WORKDIR/git-route_type6_0sc7l7/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.20s /WORKDIR/git-route_type6_0sc7l7/tests/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Check which services are running ---- 2.16s /WORKDIR/git-route_type6_0sc7l7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 0.94s /WORKDIR/git-route_type6_0sc7l7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gathering Facts --------------------------------------------------------- 0.86s /WORKDIR/git-route_type6_0sc7l7/tests/tests_auto_gateway_nm.yml:6 ------------- fedora.linux_system_roles.network : Check which packages are installed --- 0.84s /WORKDIR/git-route_type6_0sc7l7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 0.82s /WORKDIR/git-route_type6_0sc7l7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.81s /WORKDIR/git-route_type6_0sc7l7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Create veth interface veth0 --------------------------------------------- 0.76s /WORKDIR/git-route_type6_0sc7l7/tests/playbooks/tasks/manage_test_interface.yml:23 fedora.linux_system_roles.network : Check which packages are installed --- 0.76s /WORKDIR/git-route_type6_0sc7l7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Create veth interface veth0 --------------------------------------------- 0.73s /WORKDIR/git-route_type6_0sc7l7/tests/playbooks/tasks/manage_test_interface.yml:23 Gathering Facts --------------------------------------------------------- 0.72s /WORKDIR/git-route_type6_0sc7l7/tests/playbooks/tests_auto_gateway.yml:3 ------ fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.59s /WORKDIR/git-route_type6_0sc7l7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.52s /WORKDIR/git-route_type6_0sc7l7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.51s /WORKDIR/git-route_type6_0sc7l7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---