# 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_type7zbxtb50/.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_type7zbxtb50/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_type7zbxtb50/tests/tests_auto_gateway_nm.yml:6 Tuesday 09 January 2024 20:06:05 +0000 (0:00:00.015) 0:00:00.015 ******* ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_type7zbxtb50/tests/tests_auto_gateway_nm.yml:9 Tuesday 09 January 2024 20:06:06 +0000 (0:00:01.037) 0:00:01.052 ******* included: /WORKDIR/git-route_type7zbxtb50/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_type7zbxtb50/tests/tasks/el_repo_setup.yml:3 Tuesday 09 January 2024 20:06:06 +0000 (0:00:00.022) 0:00:01.074 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_type7zbxtb50/tests/tasks/el_repo_setup.yml:17 Tuesday 09 January 2024 20:06:06 +0000 (0:00:00.418) 0:00:01.493 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_type7zbxtb50/tests/tasks/el_repo_setup.yml:22 Tuesday 09 January 2024 20:06:06 +0000 (0:00:00.282) 0:00:01.776 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_type7zbxtb50/tests/tasks/el_repo_setup.yml:26 Tuesday 09 January 2024 20:06:06 +0000 (0:00:00.013) 0:00:01.789 ******* 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_type7zbxtb50/tests/tasks/el_repo_setup.yml:51 Tuesday 09 January 2024 20:06:06 +0000 (0:00:00.008) 0:00:01.798 ******* included: /WORKDIR/git-route_type7zbxtb50/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 39] ********************************************************** task path: /WORKDIR/git-route_type7zbxtb50/tests/tasks/enable_epel.yml:8 Tuesday 09 January 2024 20:06:06 +0000 (0:00:00.020) 0:00:01.818 ******* 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_type7zbxtb50/tests/tasks/enable_epel.yml:24 Tuesday 09 January 2024 20:06:06 +0000 (0:00:00.007) 0:00:01.826 ******* 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_type7zbxtb50/tests/tasks/enable_epel.yml:30 Tuesday 09 January 2024 20:06:06 +0000 (0:00:00.007) 0:00:01.833 ******* 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_type7zbxtb50/tests/tasks/enable_epel.yml:35 Tuesday 09 January 2024 20:06:06 +0000 (0:00:00.007) 0:00:01.840 ******* 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_type7zbxtb50/tests/tasks/enable_epel.yml:40 Tuesday 09 January 2024 20:06:06 +0000 (0:00:00.008) 0:00:01.848 ******* 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_type7zbxtb50/tests/tests_auto_gateway_nm.yml:11 Tuesday 09 January 2024 20:06:06 +0000 (0:00:00.016) 0:00:01.865 ******* ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing auto_gateway setting] *********************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_type7zbxtb50/tests/playbooks/tests_auto_gateway.yml:3 Tuesday 09 January 2024 20:06:06 +0000 (0:00:00.020) 0:00:01.885 ******* ok: [sut] TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_type7zbxtb50/tests/playbooks/tests_auto_gateway.yml:9 Tuesday 09 January 2024 20:06:07 +0000 (0:00:00.779) 0:00:02.664 ******* included: /WORKDIR/git-route_type7zbxtb50/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type7zbxtb50/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 20:06:07 +0000 (0:00:00.025) 0:00:02.690 ******* included: /WORKDIR/git-route_type7zbxtb50/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type7zbxtb50/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 20:06:07 +0000 (0:00:00.011) 0:00:02.701 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003693", "end": "2024-01-09 20:06:08.041323", "rc": 0, "start": "2024-01-09 20:06:08.037630" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type7zbxtb50/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 20:06:08 +0000 (0:00:00.295) 0:00:02.996 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type7zbxtb50/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 20:06:08 +0000 (0:00:00.012) 0:00:03.009 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_type7zbxtb50/tests/playbooks/tests_auto_gateway.yml:11 Tuesday 09 January 2024 20:06:08 +0000 (0:00:00.010) 0:00:03.019 ******* included: /WORKDIR/git-route_type7zbxtb50/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_type7zbxtb50/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 09 January 2024 20:06:08 +0000 (0:00:00.029) 0:00:03.048 ******* 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_type7zbxtb50/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 09 January 2024 20:06:08 +0000 (0:00:00.008) 0:00:03.056 ******* 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_type7zbxtb50/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 09 January 2024 20:06:08 +0000 (0:00:00.008) 0:00:03.065 ******* included: /WORKDIR/git-route_type7zbxtb50/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type7zbxtb50/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 20:06:08 +0000 (0:00:00.011) 0:00:03.076 ******* included: /WORKDIR/git-route_type7zbxtb50/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type7zbxtb50/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 20:06:08 +0000 (0:00:00.015) 0:00:03.091 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003768", "end": "2024-01-09 20:06:08.384586", "rc": 0, "start": "2024-01-09 20:06:08.380818" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type7zbxtb50/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 20:06:08 +0000 (0:00:00.246) 0:00:03.338 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type7zbxtb50/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 20:06:08 +0000 (0:00:00.013) 0:00:03.352 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_type7zbxtb50/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 09 January 2024 20:06:08 +0000 (0:00:00.009) 0:00:03.362 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_type7zbxtb50/tests/playbooks/tasks/manage_test_interface.yml:23 Tuesday 09 January 2024 20:06:10 +0000 (0:00:01.986) 0:00:05.348 ******* 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.107937", "end": "2024-01-09 20:06:10.734915", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-01-09 20:06:10.626978" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004229", "end": "2024-01-09 20:06:11.020989", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-01-09 20:06:11.016760" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004123", "end": "2024-01-09 20:06:11.248676", "item": "ip link set veth0 up", "rc": 0, "start": "2024-01-09 20:06:11.244553" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_type7zbxtb50/tests/playbooks/tasks/manage_test_interface.yml:31 Tuesday 09 January 2024 20:06:11 +0000 (0:00:00.854) 0:00:06.203 ******* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.227595", "end": "2024-01-09 20:06:11.707839", "rc": 0, "start": "2024-01-09 20:06:11.480244" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_type7zbxtb50/tests/playbooks/tasks/manage_test_interface.yml:39 Tuesday 09 January 2024 20:06:11 +0000 (0:00:00.470) 0:00:06.673 ******* 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_type7zbxtb50/tests/playbooks/tasks/manage_test_interface.yml:45 Tuesday 09 January 2024 20:06:11 +0000 (0:00:00.020) 0:00:06.693 ******* 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_type7zbxtb50/tests/playbooks/tasks/manage_test_interface.yml:50 Tuesday 09 January 2024 20:06:11 +0000 (0:00:00.009) 0:00:06.703 ******* 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_type7zbxtb50/tests/playbooks/tasks/manage_test_interface.yml:56 Tuesday 09 January 2024 20:06:11 +0000 (0:00:00.010) 0:00:06.713 ******* 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_type7zbxtb50/tests/playbooks/tasks/manage_test_interface.yml:61 Tuesday 09 January 2024 20:06:11 +0000 (0:00:00.015) 0:00:06.728 ******* 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_type7zbxtb50/tests/playbooks/tests_auto_gateway.yml:15 Tuesday 09 January 2024 20:06:11 +0000 (0:00:00.010) 0:00:06.739 ******* included: /WORKDIR/git-route_type7zbxtb50/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type7zbxtb50/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 20:06:11 +0000 (0:00:00.024) 0:00:06.763 ******* included: /WORKDIR/git-route_type7zbxtb50/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_type7zbxtb50/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 20:06:11 +0000 (0:00:00.011) 0:00:06.774 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704830770.7312982, "block_size": 4096, "blocks": 0, "ctime": 1704830770.7312982, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26298, "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": 1704830770.7312982, "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_type7zbxtb50/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 20:06:12 +0000 (0:00:00.240) 0:00:07.015 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /WORKDIR/git-route_type7zbxtb50/tests/playbooks/tests_auto_gateway.yml:17 Tuesday 09 January 2024 20:06:12 +0000 (0:00:00.011) 0:00:07.027 ******* ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type7zbxtb50/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 09 January 2024 20:06:12 +0000 (0:00:00.010) 0:00:07.037 ******* included: /WORKDIR/git-route_type7zbxtb50/.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_type7zbxtb50/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:06:12 +0000 (0:00:00.015) 0:00:07.053 ******* 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_type7zbxtb50/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 09 January 2024 20:06:12 +0000 (0:00:00.021) 0:00:07.074 ******* 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_type7zbxtb50/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 09 January 2024 20:06:12 +0000 (0:00:00.012) 0:00:07.087 ******* 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_type7zbxtb50/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 09 January 2024 20:06:12 +0000 (0:00:00.013) 0:00:07.100 ******* 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_type7zbxtb50/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 09 January 2024 20:06:14 +0000 (0:00:02.305) 0:00:09.406 ******* 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_type7zbxtb50/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 09 January 2024 20:06:15 +0000 (0:00:01.012) 0:00:10.418 ******* 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_type7zbxtb50/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 09 January 2024 20:06:15 +0000 (0:00:00.021) 0:00:10.439 ******* 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_type7zbxtb50/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 09 January 2024 20:06:15 +0000 (0:00:00.020) 0:00:10.460 ******* 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_type7zbxtb50/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 09 January 2024 20:06:15 +0000 (0:00:00.020) 0:00:10.481 ******* 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_type7zbxtb50/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 09 January 2024 20:06:15 +0000 (0:00:00.051) 0:00:10.532 ******* 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_type7zbxtb50/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 09 January 2024 20:06:15 +0000 (0:00:00.045) 0:00:10.577 ******* 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_type7zbxtb50/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 09 January 2024 20:06:15 +0000 (0:00:00.022) 0:00:10.600 ******* 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_type7zbxtb50/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 09 January 2024 20:06:15 +0000 (0:00:00.033) 0:00:10.633 ******* 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_type7zbxtb50/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 09 January 2024 20:06:16 +0000 (0:00:00.629) 0:00:11.263 ******* 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_type7zbxtb50/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 09 January 2024 20:06:16 +0000 (0:00:00.032) 0:00:11.296 ******* 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_type7zbxtb50/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 09 January 2024 20:06:16 +0000 (0:00:00.018) 0:00:11.315 ******* 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_type7zbxtb50/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 09 January 2024 20:06:16 +0000 (0:00:00.019) 0:00:11.334 ******* 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, d9a05cbd-79ae-4973-b97f-dde081168bc7 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, d9a05cbd-79ae-4973-b97f-dde081168bc7 (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_type7zbxtb50/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 09 January 2024 20:06:17 +0000 (0:00:00.962) 0:00:12.297 ******* 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_type7zbxtb50/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 09 January 2024 20:06:17 +0000 (0:00:00.023) 0:00:12.320 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, d9a05cbd-79ae-4973-b97f-dde081168bc7", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, d9a05cbd-79ae-4973-b97f-dde081168bc7 (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type7zbxtb50/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 09 January 2024 20:06:17 +0000 (0:00:00.031) 0:00:12.351 ******* 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, d9a05cbd-79ae-4973-b97f-dde081168bc7\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, d9a05cbd-79ae-4973-b97f-dde081168bc7 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, d9a05cbd-79ae-4973-b97f-dde081168bc7", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, d9a05cbd-79ae-4973-b97f-dde081168bc7 (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type7zbxtb50/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 09 January 2024 20:06:17 +0000 (0:00:00.024) 0:00:12.376 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type7zbxtb50/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 09 January 2024 20:06:17 +0000 (0:00:00.024) 0:00:12.400 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_type7zbxtb50/tests/playbooks/tests_auto_gateway.yml:42 Tuesday 09 January 2024 20:06:17 +0000 (0:00:00.388) 0:00:12.789 ******* included: /WORKDIR/git-route_type7zbxtb50/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type7zbxtb50/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 20:06:17 +0000 (0:00:00.044) 0:00:12.833 ******* included: /WORKDIR/git-route_type7zbxtb50/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_type7zbxtb50/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 20:06:17 +0000 (0:00:00.068) 0:00:12.901 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704830770.7312982, "block_size": 4096, "blocks": 0, "ctime": 1704830770.7312982, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26298, "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": 1704830770.7312982, "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_type7zbxtb50/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 20:06:18 +0000 (0:00:00.251) 0:00:13.153 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-route_type7zbxtb50/tests/playbooks/tests_auto_gateway.yml:44 Tuesday 09 January 2024 20:06:18 +0000 (0:00:00.024) 0:00:13.177 ******* included: /WORKDIR/git-route_type7zbxtb50/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type7zbxtb50/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 20:06:18 +0000 (0:00:00.044) 0:00:13.222 ******* included: /WORKDIR/git-route_type7zbxtb50/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type7zbxtb50/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 20:06:18 +0000 (0:00:00.031) 0:00:13.253 ******* 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_type7zbxtb50/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 20:06:18 +0000 (0:00:00.024) 0:00:13.278 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type7zbxtb50/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 20:06:18 +0000 (0:00:00.270) 0:00:13.549 ******* 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_type7zbxtb50/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 20:06:18 +0000 (0:00:00.028) 0:00:13.577 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.102880", "end": "2024-01-09 20:06:18.968687", "rc": 0, "start": "2024-01-09 20:06:18.865807" } 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_type7zbxtb50/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 20:06:19 +0000 (0:00:00.356) 0:00:13.934 ******* 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_type7zbxtb50/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 20:06:19 +0000 (0:00:00.022) 0:00:13.956 ******* 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_type7zbxtb50/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 20:06:19 +0000 (0:00:00.018) 0:00:13.975 ******* 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_type7zbxtb50/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 20:06:19 +0000 (0:00:00.019) 0:00:13.994 ******* 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_type7zbxtb50/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 20:06:19 +0000 (0:00:00.019) 0:00:14.013 ******* 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_type7zbxtb50/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 20:06:19 +0000 (0:00:00.018) 0:00:14.032 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-route_type7zbxtb50/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 20:06:19 +0000 (0:00:00.046) 0:00:14.079 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-route_type7zbxtb50/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 20:06:19 +0000 (0:00:00.022) 0:00:14.102 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-route_type7zbxtb50/tests/playbooks/tests_auto_gateway.yml:48 Tuesday 09 January 2024 20:06:19 +0000 (0:00:00.020) 0:00:14.122 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003958", "end": "2024-01-09 20:06:19.403922", "rc": 0, "start": "2024-01-09 20:06:19.399964" } STDOUT: default via 10.31.44.1 dev eth0 proto dhcp src 10.31.44.176 metric 100 default via 203.0.113.1 dev veth0 proto static metric 65535 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.44.176 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_type7zbxtb50/tests/playbooks/tests_auto_gateway.yml:52 Tuesday 09 January 2024 20:06:19 +0000 (0:00:00.245) 0:00:14.368 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-route_type7zbxtb50/tests/playbooks/tests_auto_gateway.yml:58 Tuesday 09 January 2024 20:06:19 +0000 (0:00:00.020) 0:00:14.389 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003917", "end": "2024-01-09 20:06:19.671503", "rc": 0, "start": "2024-01-09 20:06:19.667586" } 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_type7zbxtb50/tests/playbooks/tests_auto_gateway.yml:62 Tuesday 09 January 2024 20:06:19 +0000 (0:00:00.246) 0:00:14.636 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-route_type7zbxtb50/tests/playbooks/tests_auto_gateway.yml:69 Tuesday 09 January 2024 20:06:19 +0000 (0:00:00.021) 0:00:14.658 ******* ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type7zbxtb50/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 09 January 2024 20:06:19 +0000 (0:00:00.020) 0:00:14.679 ******* included: /WORKDIR/git-route_type7zbxtb50/.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_type7zbxtb50/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:06:19 +0000 (0:00:00.039) 0:00:14.718 ******* 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_type7zbxtb50/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 09 January 2024 20:06:19 +0000 (0:00:00.033) 0:00:14.752 ******* 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_type7zbxtb50/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 09 January 2024 20:06:19 +0000 (0:00:00.023) 0:00:14.775 ******* 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_type7zbxtb50/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 09 January 2024 20:06:19 +0000 (0:00:00.022) 0:00:14.798 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-route_type7zbxtb50/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 09 January 2024 20:06:22 +0000 (0:00:02.135) 0:00:16.933 ******* 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_type7zbxtb50/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 09 January 2024 20:06:22 +0000 (0:00:00.916) 0:00:17.849 ******* 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_type7zbxtb50/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 09 January 2024 20:06:22 +0000 (0:00:00.025) 0:00:17.875 ******* 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_type7zbxtb50/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 09 January 2024 20:06:22 +0000 (0:00:00.027) 0:00:17.903 ******* 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_type7zbxtb50/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 09 January 2024 20:06:22 +0000 (0:00:00.022) 0:00:17.925 ******* 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_type7zbxtb50/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 09 January 2024 20:06:23 +0000 (0:00:00.055) 0:00:17.981 ******* 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_type7zbxtb50/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 09 January 2024 20:06:23 +0000 (0:00:00.022) 0:00:18.004 ******* 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_type7zbxtb50/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 09 January 2024 20:06:23 +0000 (0:00:00.023) 0:00:18.027 ******* 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_type7zbxtb50/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 09 January 2024 20:06:23 +0000 (0:00:00.035) 0:00:18.063 ******* 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_type7zbxtb50/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 09 January 2024 20:06:23 +0000 (0:00:00.471) 0:00:18.534 ******* 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_type7zbxtb50/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 09 January 2024 20:06:23 +0000 (0:00:00.033) 0:00:18.568 ******* 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_type7zbxtb50/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 09 January 2024 20:06:23 +0000 (0:00:00.018) 0:00:18.586 ******* 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_type7zbxtb50/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 09 January 2024 20:06:23 +0000 (0:00:00.018) 0:00:18.605 ******* 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_type7zbxtb50/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 09 January 2024 20:06:24 +0000 (0:00:00.576) 0:00:19.181 ******* 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_type7zbxtb50/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 09 January 2024 20:06:24 +0000 (0:00:00.022) 0:00:19.204 ******* 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_type7zbxtb50/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 09 January 2024 20:06:24 +0000 (0:00:00.021) 0:00:19.225 ******* 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_type7zbxtb50/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 09 January 2024 20:06:24 +0000 (0:00:00.021) 0:00:19.247 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type7zbxtb50/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 09 January 2024 20:06:24 +0000 (0:00:00.053) 0:00:19.300 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_type7zbxtb50/tests/playbooks/tests_auto_gateway.yml:81 Tuesday 09 January 2024 20:06:24 +0000 (0:00:00.251) 0:00:19.552 ******* included: /WORKDIR/git-route_type7zbxtb50/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_type7zbxtb50/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 09 January 2024 20:06:24 +0000 (0:00:00.046) 0:00:19.598 ******* 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_type7zbxtb50/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 09 January 2024 20:06:24 +0000 (0:00:00.019) 0:00:19.618 ******* 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_type7zbxtb50/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 09 January 2024 20:06:24 +0000 (0:00:00.021) 0:00:19.639 ******* included: /WORKDIR/git-route_type7zbxtb50/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type7zbxtb50/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 20:06:24 +0000 (0:00:00.031) 0:00:19.671 ******* included: /WORKDIR/git-route_type7zbxtb50/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type7zbxtb50/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 20:06:24 +0000 (0:00:00.031) 0:00:19.702 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003658", "end": "2024-01-09 20:06:24.984093", "rc": 0, "start": "2024-01-09 20:06:24.980435" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type7zbxtb50/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 20:06:25 +0000 (0:00:00.248) 0:00:19.950 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type7zbxtb50/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 20:06:25 +0000 (0:00:00.022) 0:00:19.972 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_type7zbxtb50/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 09 January 2024 20:06:25 +0000 (0:00:00.022) 0:00:19.995 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_type7zbxtb50/tests/playbooks/tasks/manage_test_interface.yml:23 Tuesday 09 January 2024 20:06:26 +0000 (0:00:01.866) 0:00:21.861 ******* 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_type7zbxtb50/tests/playbooks/tasks/manage_test_interface.yml:31 Tuesday 09 January 2024 20:06:26 +0000 (0:00:00.027) 0:00:21.889 ******* 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_type7zbxtb50/tests/playbooks/tasks/manage_test_interface.yml:39 Tuesday 09 January 2024 20:06:27 +0000 (0:00:00.046) 0:00:21.935 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.022076", "end": "2024-01-09 20:06:27.239945", "rc": 0, "start": "2024-01-09 20:06:27.217869" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_type7zbxtb50/tests/playbooks/tasks/manage_test_interface.yml:45 Tuesday 09 January 2024 20:06:27 +0000 (0:00:00.270) 0:00:22.206 ******* 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_type7zbxtb50/tests/playbooks/tasks/manage_test_interface.yml:50 Tuesday 09 January 2024 20:06:27 +0000 (0:00:00.019) 0:00:22.225 ******* 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_type7zbxtb50/tests/playbooks/tasks/manage_test_interface.yml:56 Tuesday 09 January 2024 20:06:27 +0000 (0:00:00.019) 0:00:22.245 ******* 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_type7zbxtb50/tests/playbooks/tasks/manage_test_interface.yml:61 Tuesday 09 January 2024 20:06:27 +0000 (0:00:00.018) 0:00:22.263 ******* 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_type7zbxtb50/tests/playbooks/tests_auto_gateway.yml:85 Tuesday 09 January 2024 20:06:27 +0000 (0:00:00.018) 0:00:22.282 ******* ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_type7zbxtb50/tests/playbooks/tests_auto_gateway.yml:89 Tuesday 09 January 2024 20:06:27 +0000 (0:00:00.019) 0:00:22.302 ******* included: /WORKDIR/git-route_type7zbxtb50/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_type7zbxtb50/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 09 January 2024 20:06:27 +0000 (0:00:00.045) 0:00:22.347 ******* 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_type7zbxtb50/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 09 January 2024 20:06:27 +0000 (0:00:00.020) 0:00:22.368 ******* 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_type7zbxtb50/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 09 January 2024 20:06:27 +0000 (0:00:00.018) 0:00:22.386 ******* included: /WORKDIR/git-route_type7zbxtb50/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type7zbxtb50/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 20:06:27 +0000 (0:00:00.030) 0:00:22.417 ******* included: /WORKDIR/git-route_type7zbxtb50/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type7zbxtb50/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 20:06:27 +0000 (0:00:00.028) 0:00:22.445 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003684", "end": "2024-01-09 20:06:27.727228", "rc": 0, "start": "2024-01-09 20:06:27.723544" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type7zbxtb50/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 20:06:27 +0000 (0:00:00.246) 0:00:22.691 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type7zbxtb50/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 20:06:27 +0000 (0:00:00.051) 0:00:22.743 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_type7zbxtb50/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 09 January 2024 20:06:27 +0000 (0:00:00.025) 0:00:22.769 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_type7zbxtb50/tests/playbooks/tasks/manage_test_interface.yml:23 Tuesday 09 January 2024 20:06:29 +0000 (0:00:01.899) 0:00:24.668 ******* 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.008777", "end": "2024-01-09 20:06:29.961150", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-01-09 20:06:29.952373" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004007", "end": "2024-01-09 20:06:30.230043", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-01-09 20:06:30.226036" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.003875", "end": "2024-01-09 20:06:30.453997", "item": "ip link set veth0 up", "rc": 0, "start": "2024-01-09 20:06:30.450122" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_type7zbxtb50/tests/playbooks/tasks/manage_test_interface.yml:31 Tuesday 09 January 2024 20:06:30 +0000 (0:00:00.751) 0:00:25.420 ******* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.022807", "end": "2024-01-09 20:06:30.717941", "rc": 0, "start": "2024-01-09 20:06:30.695134" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_type7zbxtb50/tests/playbooks/tasks/manage_test_interface.yml:39 Tuesday 09 January 2024 20:06:30 +0000 (0:00:00.262) 0:00:25.683 ******* 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_type7zbxtb50/tests/playbooks/tasks/manage_test_interface.yml:45 Tuesday 09 January 2024 20:06:30 +0000 (0:00:00.020) 0:00:25.704 ******* 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_type7zbxtb50/tests/playbooks/tasks/manage_test_interface.yml:50 Tuesday 09 January 2024 20:06:30 +0000 (0:00:00.020) 0:00:25.724 ******* 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_type7zbxtb50/tests/playbooks/tasks/manage_test_interface.yml:56 Tuesday 09 January 2024 20:06:30 +0000 (0:00:00.018) 0:00:25.743 ******* 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_type7zbxtb50/tests/playbooks/tasks/manage_test_interface.yml:61 Tuesday 09 January 2024 20:06:30 +0000 (0:00:00.019) 0:00:25.762 ******* 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_type7zbxtb50/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 09 January 2024 20:06:30 +0000 (0:00:00.019) 0:00:25.781 ******* included: /WORKDIR/git-route_type7zbxtb50/.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_type7zbxtb50/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:06:30 +0000 (0:00:00.033) 0:00:25.815 ******* 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_type7zbxtb50/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 09 January 2024 20:06:30 +0000 (0:00:00.032) 0:00:25.847 ******* 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_type7zbxtb50/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 09 January 2024 20:06:30 +0000 (0:00:00.021) 0:00:25.869 ******* 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_type7zbxtb50/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 09 January 2024 20:06:30 +0000 (0:00:00.022) 0:00:25.892 ******* 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_type7zbxtb50/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 09 January 2024 20:06:33 +0000 (0:00:02.117) 0:00:28.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 : Print network provider] ************** task path: /WORKDIR/git-route_type7zbxtb50/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 09 January 2024 20:06:33 +0000 (0:00:00.882) 0:00:28.892 ******* 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_type7zbxtb50/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 09 January 2024 20:06:33 +0000 (0:00:00.022) 0:00:28.915 ******* 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_type7zbxtb50/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 09 January 2024 20:06:34 +0000 (0:00:00.021) 0:00:28.937 ******* 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_type7zbxtb50/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 09 January 2024 20:06:34 +0000 (0:00:00.023) 0:00:28.960 ******* 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_type7zbxtb50/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 09 January 2024 20:06:34 +0000 (0:00:00.061) 0:00:29.022 ******* 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_type7zbxtb50/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 09 January 2024 20:06:34 +0000 (0:00:00.038) 0:00:29.060 ******* 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_type7zbxtb50/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 09 January 2024 20:06:34 +0000 (0:00:00.032) 0:00:29.093 ******* 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_type7zbxtb50/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 09 January 2024 20:06:34 +0000 (0:00:00.043) 0:00:29.136 ******* 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_type7zbxtb50/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 09 January 2024 20:06:34 +0000 (0:00:00.468) 0:00:29.605 ******* 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_type7zbxtb50/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 09 January 2024 20:06:34 +0000 (0:00:00.036) 0:00:29.641 ******* 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_type7zbxtb50/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 09 January 2024 20:06:34 +0000 (0:00:00.020) 0:00:29.662 ******* 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_type7zbxtb50/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 09 January 2024 20:06:34 +0000 (0:00:00.023) 0:00:29.685 ******* 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, a690a723-174d-4754-a7d0-dc5f8a51d0e8 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, a690a723-174d-4754-a7d0-dc5f8a51d0e8 (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_type7zbxtb50/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 09 January 2024 20:06:35 +0000 (0:00:00.504) 0:00:30.189 ******* 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_type7zbxtb50/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 09 January 2024 20:06:35 +0000 (0:00:00.023) 0:00:30.213 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, a690a723-174d-4754-a7d0-dc5f8a51d0e8", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, a690a723-174d-4754-a7d0-dc5f8a51d0e8 (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type7zbxtb50/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 09 January 2024 20:06:35 +0000 (0:00:00.028) 0:00:30.241 ******* 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, a690a723-174d-4754-a7d0-dc5f8a51d0e8\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, a690a723-174d-4754-a7d0-dc5f8a51d0e8 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, a690a723-174d-4754-a7d0-dc5f8a51d0e8", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, a690a723-174d-4754-a7d0-dc5f8a51d0e8 (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type7zbxtb50/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 09 January 2024 20:06:35 +0000 (0:00:00.058) 0:00:30.300 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type7zbxtb50/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 09 January 2024 20:06:35 +0000 (0:00:00.026) 0:00:30.327 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_type7zbxtb50/tests/playbooks/tests_auto_gateway.yml:110 Tuesday 09 January 2024 20:06:35 +0000 (0:00:00.250) 0:00:30.578 ******* included: /WORKDIR/git-route_type7zbxtb50/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type7zbxtb50/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 20:06:35 +0000 (0:00:00.049) 0:00:30.628 ******* included: /WORKDIR/git-route_type7zbxtb50/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_type7zbxtb50/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 20:06:35 +0000 (0:00:00.031) 0:00:30.659 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704830789.9562325, "block_size": 4096, "blocks": 0, "ctime": 1704830789.9562325, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26884, "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": 1704830789.9562325, "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_type7zbxtb50/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 20:06:35 +0000 (0:00:00.239) 0:00:30.899 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-route_type7zbxtb50/tests/playbooks/tests_auto_gateway.yml:112 Tuesday 09 January 2024 20:06:35 +0000 (0:00:00.020) 0:00:30.919 ******* included: /WORKDIR/git-route_type7zbxtb50/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type7zbxtb50/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 20:06:36 +0000 (0:00:00.046) 0:00:30.966 ******* included: /WORKDIR/git-route_type7zbxtb50/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type7zbxtb50/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 20:06:36 +0000 (0:00:00.030) 0:00:30.997 ******* 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_type7zbxtb50/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 20:06:36 +0000 (0:00:00.019) 0:00:31.016 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type7zbxtb50/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 20:06:36 +0000 (0:00:00.266) 0:00:31.283 ******* 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_type7zbxtb50/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 20:06:36 +0000 (0:00:00.019) 0:00:31.302 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.021847", "end": "2024-01-09 20:06:36.598717", "rc": 0, "start": "2024-01-09 20:06:36.576870" } 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_type7zbxtb50/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 20:06:36 +0000 (0:00:00.260) 0:00:31.563 ******* 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_type7zbxtb50/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 20:06:36 +0000 (0:00:00.021) 0:00:31.585 ******* 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_type7zbxtb50/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 20:06:36 +0000 (0:00:00.019) 0:00:31.604 ******* 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_type7zbxtb50/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 20:06:36 +0000 (0:00:00.019) 0:00:31.624 ******* 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_type7zbxtb50/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 20:06:36 +0000 (0:00:00.019) 0:00:31.644 ******* 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_type7zbxtb50/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 20:06:36 +0000 (0:00:00.019) 0:00:31.663 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-route_type7zbxtb50/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 20:06:36 +0000 (0:00:00.027) 0:00:31.690 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-route_type7zbxtb50/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 20:06:36 +0000 (0:00:00.023) 0:00:31.714 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-route_type7zbxtb50/tests/playbooks/tests_auto_gateway.yml:116 Tuesday 09 January 2024 20:06:36 +0000 (0:00:00.021) 0:00:31.736 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003739", "end": "2024-01-09 20:06:37.012829", "rc": 0, "start": "2024-01-09 20:06:37.009090" } STDOUT: default via 10.31.44.1 dev eth0 proto dhcp src 10.31.44.176 metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.44.176 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_type7zbxtb50/tests/playbooks/tests_auto_gateway.yml:120 Tuesday 09 January 2024 20:06:37 +0000 (0:00:00.241) 0:00:31.977 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-route_type7zbxtb50/tests/playbooks/tests_auto_gateway.yml:126 Tuesday 09 January 2024 20:06:37 +0000 (0:00:00.023) 0:00:32.000 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003899", "end": "2024-01-09 20:06:37.281222", "rc": 0, "start": "2024-01-09 20:06:37.277323" } 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_type7zbxtb50/tests/playbooks/tests_auto_gateway.yml:130 Tuesday 09 January 2024 20:06:37 +0000 (0:00:00.245) 0:00:32.245 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-route_type7zbxtb50/tests/playbooks/tests_auto_gateway.yml:137 Tuesday 09 January 2024 20:06:37 +0000 (0:00:00.023) 0:00:32.268 ******* ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type7zbxtb50/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 09 January 2024 20:06:37 +0000 (0:00:00.025) 0:00:32.294 ******* included: /WORKDIR/git-route_type7zbxtb50/.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_type7zbxtb50/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:06:37 +0000 (0:00:00.071) 0:00:32.366 ******* 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_type7zbxtb50/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 09 January 2024 20:06:37 +0000 (0:00:00.034) 0:00:32.401 ******* 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_type7zbxtb50/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 09 January 2024 20:06:37 +0000 (0:00:00.022) 0:00:32.423 ******* 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_type7zbxtb50/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 09 January 2024 20:06:37 +0000 (0:00:00.022) 0:00:32.446 ******* 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_type7zbxtb50/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 09 January 2024 20:06:39 +0000 (0:00:02.123) 0:00:34.570 ******* 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_type7zbxtb50/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 09 January 2024 20:06:40 +0000 (0:00:00.813) 0:00:35.384 ******* 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_type7zbxtb50/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 09 January 2024 20:06:40 +0000 (0:00:00.024) 0:00:35.409 ******* 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_type7zbxtb50/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 09 January 2024 20:06:40 +0000 (0:00:00.023) 0:00:35.432 ******* 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_type7zbxtb50/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 09 January 2024 20:06:40 +0000 (0:00:00.024) 0:00:35.456 ******* 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_type7zbxtb50/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 09 January 2024 20:06:40 +0000 (0:00:00.053) 0:00:35.510 ******* 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_type7zbxtb50/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 09 January 2024 20:06:40 +0000 (0:00:00.022) 0:00:35.532 ******* 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_type7zbxtb50/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 09 January 2024 20:06:40 +0000 (0:00:00.029) 0:00:35.562 ******* 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_type7zbxtb50/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 09 January 2024 20:06:40 +0000 (0:00:00.036) 0:00:35.599 ******* 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_type7zbxtb50/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 09 January 2024 20:06:41 +0000 (0:00:00.469) 0:00:36.069 ******* 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_type7zbxtb50/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 09 January 2024 20:06:41 +0000 (0:00:00.125) 0:00:36.194 ******* 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_type7zbxtb50/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 09 January 2024 20:06:41 +0000 (0:00:00.027) 0:00:36.222 ******* 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_type7zbxtb50/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 09 January 2024 20:06:41 +0000 (0:00:00.019) 0:00:36.241 ******* 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_type7zbxtb50/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 09 January 2024 20:06:41 +0000 (0:00:00.510) 0:00:36.751 ******* 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_type7zbxtb50/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 09 January 2024 20:06:41 +0000 (0:00:00.032) 0:00:36.784 ******* 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_type7zbxtb50/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 09 January 2024 20:06:41 +0000 (0:00:00.028) 0:00:36.813 ******* 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_type7zbxtb50/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 09 January 2024 20:06:41 +0000 (0:00:00.024) 0:00:36.837 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type7zbxtb50/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 09 January 2024 20:06:41 +0000 (0:00:00.023) 0:00:36.861 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_type7zbxtb50/tests/playbooks/tests_auto_gateway.yml:149 Tuesday 09 January 2024 20:06:42 +0000 (0:00:00.245) 0:00:37.106 ******* included: /WORKDIR/git-route_type7zbxtb50/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_type7zbxtb50/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 09 January 2024 20:06:42 +0000 (0:00:00.050) 0:00:37.157 ******* 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_type7zbxtb50/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 09 January 2024 20:06:42 +0000 (0:00:00.018) 0:00:37.176 ******* 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_type7zbxtb50/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 09 January 2024 20:06:42 +0000 (0:00:00.020) 0:00:37.196 ******* included: /WORKDIR/git-route_type7zbxtb50/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type7zbxtb50/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 20:06:42 +0000 (0:00:00.032) 0:00:37.229 ******* included: /WORKDIR/git-route_type7zbxtb50/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type7zbxtb50/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 20:06:42 +0000 (0:00:00.064) 0:00:37.293 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003640", "end": "2024-01-09 20:06:42.572027", "rc": 0, "start": "2024-01-09 20:06:42.568387" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type7zbxtb50/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 20:06:42 +0000 (0:00:00.243) 0:00:37.537 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type7zbxtb50/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 20:06:42 +0000 (0:00:00.043) 0:00:37.580 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_type7zbxtb50/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 09 January 2024 20:06:42 +0000 (0:00:00.021) 0:00:37.602 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_type7zbxtb50/tests/playbooks/tasks/manage_test_interface.yml:23 Tuesday 09 January 2024 20:06:44 +0000 (0:00:01.857) 0:00:39.459 ******* 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_type7zbxtb50/tests/playbooks/tasks/manage_test_interface.yml:31 Tuesday 09 January 2024 20:06:44 +0000 (0:00:00.034) 0:00:39.493 ******* 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_type7zbxtb50/tests/playbooks/tasks/manage_test_interface.yml:39 Tuesday 09 January 2024 20:06:44 +0000 (0:00:00.022) 0:00:39.516 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.020374", "end": "2024-01-09 20:06:44.829132", "rc": 0, "start": "2024-01-09 20:06:44.808758" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_type7zbxtb50/tests/playbooks/tasks/manage_test_interface.yml:45 Tuesday 09 January 2024 20:06:44 +0000 (0:00:00.278) 0:00:39.794 ******* 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_type7zbxtb50/tests/playbooks/tasks/manage_test_interface.yml:50 Tuesday 09 January 2024 20:06:44 +0000 (0:00:00.022) 0:00:39.817 ******* 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_type7zbxtb50/tests/playbooks/tasks/manage_test_interface.yml:56 Tuesday 09 January 2024 20:06:44 +0000 (0:00:00.020) 0:00:39.838 ******* 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_type7zbxtb50/tests/playbooks/tasks/manage_test_interface.yml:61 Tuesday 09 January 2024 20:06:44 +0000 (0:00:00.020) 0:00:39.858 ******* 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=125 changed=4 unreachable=0 failed=0 skipped=102 rescued=0 ignored=0 Tuesday 09 January 2024 20:06:44 +0000 (0:00:00.063) 0:00:39.922 ******* =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 2.31s /WORKDIR/git-route_type7zbxtb50/.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.14s /WORKDIR/git-route_type7zbxtb50/.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.12s /WORKDIR/git-route_type7zbxtb50/.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.12s /WORKDIR/git-route_type7zbxtb50/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Install iproute --------------------------------------------------------- 1.99s /WORKDIR/git-route_type7zbxtb50/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 1.90s /WORKDIR/git-route_type7zbxtb50/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 1.87s /WORKDIR/git-route_type7zbxtb50/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 1.86s /WORKDIR/git-route_type7zbxtb50/tests/playbooks/tasks/manage_test_interface.yml:16 Gathering Facts --------------------------------------------------------- 1.04s /WORKDIR/git-route_type7zbxtb50/tests/tests_auto_gateway_nm.yml:6 ------------- fedora.linux_system_roles.network : Check which packages are installed --- 1.01s /WORKDIR/git-route_type7zbxtb50/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.96s /WORKDIR/git-route_type7zbxtb50/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 fedora.linux_system_roles.network : Check which packages are installed --- 0.92s /WORKDIR/git-route_type7zbxtb50/.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.88s /WORKDIR/git-route_type7zbxtb50/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Create veth interface veth0 --------------------------------------------- 0.85s /WORKDIR/git-route_type7zbxtb50/tests/playbooks/tasks/manage_test_interface.yml:23 fedora.linux_system_roles.network : Check which packages are installed --- 0.81s /WORKDIR/git-route_type7zbxtb50/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gathering Facts --------------------------------------------------------- 0.78s /WORKDIR/git-route_type7zbxtb50/tests/playbooks/tests_auto_gateway.yml:3 ------ Create veth interface veth0 --------------------------------------------- 0.75s /WORKDIR/git-route_type7zbxtb50/tests/playbooks/tasks/manage_test_interface.yml:23 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.63s /WORKDIR/git-route_type7zbxtb50/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.58s /WORKDIR/git-route_type7zbxtb50/.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_type7zbxtb50/.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. ---^---^---^---^---^---