# 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_typekj0og00j/.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_typekj0og00j/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_typekj0og00j/tests/tests_auto_gateway_nm.yml:6 Thursday 11 January 2024 02:08:34 +0000 (0:00:00.011) 0:00:00.011 ****** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_typekj0og00j/tests/tests_auto_gateway_nm.yml:9 Thursday 11 January 2024 02:08:35 +0000 (0:00:00.782) 0:00:00.793 ****** included: /WORKDIR/git-route_typekj0og00j/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_typekj0og00j/tests/tasks/el_repo_setup.yml:3 Thursday 11 January 2024 02:08:35 +0000 (0:00:00.011) 0:00:00.805 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_typekj0og00j/tests/tasks/el_repo_setup.yml:17 Thursday 11 January 2024 02:08:35 +0000 (0:00:00.358) 0:00:01.164 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_typekj0og00j/tests/tasks/el_repo_setup.yml:22 Thursday 11 January 2024 02:08:35 +0000 (0:00:00.247) 0:00:01.412 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_typekj0og00j/tests/tasks/el_repo_setup.yml:26 Thursday 11 January 2024 02:08:35 +0000 (0:00:00.015) 0:00:01.427 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_typekj0og00j/tests/tasks/el_repo_setup.yml:51 Thursday 11 January 2024 02:08:35 +0000 (0:00:00.016) 0:00:01.444 ****** included: /WORKDIR/git-route_typekj0og00j/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 9] *********************************************************** task path: /WORKDIR/git-route_typekj0og00j/tests/tasks/enable_epel.yml:8 Thursday 11 January 2024 02:08:35 +0000 (0:00:00.028) 0:00:01.473 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-route_typekj0og00j/tests/tasks/enable_epel.yml:24 Thursday 11 January 2024 02:08:35 +0000 (0:00:00.015) 0:00:01.489 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-route_typekj0og00j/tests/tasks/enable_epel.yml:30 Thursday 11 January 2024 02:08:35 +0000 (0:00:00.032) 0:00:01.522 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_typekj0og00j/tests/tasks/enable_epel.yml:35 Thursday 11 January 2024 02:08:35 +0000 (0:00:00.025) 0:00:01.548 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_typekj0og00j/tests/tasks/enable_epel.yml:40 Thursday 11 January 2024 02:08:35 +0000 (0:00:00.010) 0:00:01.558 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-route_typekj0og00j/tests/tests_auto_gateway_nm.yml:11 Thursday 11 January 2024 02:08:35 +0000 (0:00:00.010) 0:00:01.569 ****** ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing auto_gateway setting] *********************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typekj0og00j/tests/playbooks/tests_auto_gateway.yml:3 Thursday 11 January 2024 02:08:35 +0000 (0:00:00.021) 0:00:01.590 ****** ok: [sut] TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typekj0og00j/tests/playbooks/tests_auto_gateway.yml:9 Thursday 11 January 2024 02:08:36 +0000 (0:00:00.669) 0:00:02.260 ****** included: /WORKDIR/git-route_typekj0og00j/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typekj0og00j/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 02:08:36 +0000 (0:00:00.045) 0:00:02.305 ****** included: /WORKDIR/git-route_typekj0og00j/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typekj0og00j/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 02:08:36 +0000 (0:00:00.011) 0:00:02.316 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003448", "end": "2024-01-11 02:08:36.918865", "rc": 0, "start": "2024-01-11 02:08:36.915417" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typekj0og00j/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 02:08:36 +0000 (0:00:00.274) 0:00:02.591 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typekj0og00j/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 02:08:36 +0000 (0:00:00.025) 0:00:02.617 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typekj0og00j/tests/playbooks/tests_auto_gateway.yml:11 Thursday 11 January 2024 02:08:36 +0000 (0:00:00.019) 0:00:02.636 ****** included: /WORKDIR/git-route_typekj0og00j/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typekj0og00j/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 11 January 2024 02:08:37 +0000 (0:00:00.062) 0:00:02.698 ****** skipping: [sut] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_typekj0og00j/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 11 January 2024 02:08:37 +0000 (0:00:00.015) 0:00:02.713 ****** 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_typekj0og00j/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 11 January 2024 02:08:37 +0000 (0:00:00.013) 0:00:02.727 ****** included: /WORKDIR/git-route_typekj0og00j/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typekj0og00j/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 02:08:37 +0000 (0:00:00.014) 0:00:02.742 ****** included: /WORKDIR/git-route_typekj0og00j/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typekj0og00j/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 02:08:37 +0000 (0:00:00.032) 0:00:02.774 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003422", "end": "2024-01-11 02:08:37.317358", "rc": 0, "start": "2024-01-11 02:08:37.313936" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typekj0og00j/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 02:08:37 +0000 (0:00:00.219) 0:00:02.993 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typekj0og00j/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 02:08:37 +0000 (0:00:00.011) 0:00:03.004 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typekj0og00j/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 11 January 2024 02:08:37 +0000 (0:00:00.019) 0:00:03.024 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typekj0og00j/tests/playbooks/tasks/manage_test_interface.yml:23 Thursday 11 January 2024 02:08:39 +0000 (0:00:01.966) 0:00:04.991 ****** 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.019083", "end": "2024-01-11 02:08:39.561131", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-01-11 02:08:39.542048" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003760", "end": "2024-01-11 02:08:39.789893", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-01-11 02:08:39.786133" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.003992", "end": "2024-01-11 02:08:39.979424", "item": "ip link set veth0 up", "rc": 0, "start": "2024-01-11 02:08:39.975432" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_typekj0og00j/tests/playbooks/tasks/manage_test_interface.yml:31 Thursday 11 January 2024 02:08:40 +0000 (0:00:00.670) 0:00:05.661 ****** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.116390", "end": "2024-01-11 02:08:40.319177", "rc": 0, "start": "2024-01-11 02:08:40.202787" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typekj0og00j/tests/playbooks/tasks/manage_test_interface.yml:39 Thursday 11 January 2024 02:08:40 +0000 (0:00:00.330) 0:00:05.991 ****** 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_typekj0og00j/tests/playbooks/tasks/manage_test_interface.yml:45 Thursday 11 January 2024 02:08:40 +0000 (0:00:00.010) 0:00:06.002 ****** 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_typekj0og00j/tests/playbooks/tasks/manage_test_interface.yml:50 Thursday 11 January 2024 02:08:40 +0000 (0:00:00.010) 0:00:06.013 ****** 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_typekj0og00j/tests/playbooks/tasks/manage_test_interface.yml:56 Thursday 11 January 2024 02:08:40 +0000 (0:00:00.014) 0:00:06.027 ****** 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_typekj0og00j/tests/playbooks/tasks/manage_test_interface.yml:61 Thursday 11 January 2024 02:08:40 +0000 (0:00:00.015) 0:00:06.042 ****** 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_typekj0og00j/tests/playbooks/tests_auto_gateway.yml:15 Thursday 11 January 2024 02:08:40 +0000 (0:00:00.010) 0:00:06.052 ****** included: /WORKDIR/git-route_typekj0og00j/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typekj0og00j/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 11 January 2024 02:08:40 +0000 (0:00:00.025) 0:00:06.078 ****** included: /WORKDIR/git-route_typekj0og00j/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_typekj0og00j/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 02:08:40 +0000 (0:00:00.022) 0:00:06.101 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704938919.5544188, "block_size": 4096, "blocks": 0, "ctime": 1704938919.5544188, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 22905, "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": 1704938919.5544188, "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_typekj0og00j/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 11 January 2024 02:08:40 +0000 (0:00:00.191) 0:00:06.292 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /WORKDIR/git-route_typekj0og00j/tests/playbooks/tests_auto_gateway.yml:17 Thursday 11 January 2024 02:08:40 +0000 (0:00:00.011) 0:00:06.303 ****** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typekj0og00j/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 11 January 2024 02:08:40 +0000 (0:00:00.010) 0:00:06.314 ****** included: /WORKDIR/git-route_typekj0og00j/.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_typekj0og00j/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:08:40 +0000 (0:00:00.020) 0:00:06.335 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-route_typekj0og00j/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 11 January 2024 02:08:40 +0000 (0:00:00.021) 0:00:06.356 ****** 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_typekj0og00j/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 11 January 2024 02:08:40 +0000 (0:00:00.015) 0:00:06.372 ****** 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_typekj0og00j/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 11 January 2024 02:08:40 +0000 (0:00:00.012) 0:00:06.385 ****** 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_typekj0og00j/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 11 January 2024 02:08:42 +0000 (0:00:01.569) 0:00:07.954 ****** 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_typekj0og00j/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 11 January 2024 02:08:43 +0000 (0:00:01.279) 0:00:09.234 ****** 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_typekj0og00j/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 11 January 2024 02:08:43 +0000 (0:00:00.029) 0:00:09.263 ****** 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_typekj0og00j/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 11 January 2024 02:08:43 +0000 (0:00:00.024) 0:00:09.287 ****** 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_typekj0og00j/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 11 January 2024 02:08:43 +0000 (0:00:00.024) 0:00:09.311 ****** 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_typekj0og00j/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 11 January 2024 02:08:43 +0000 (0:00:00.099) 0:00:09.411 ****** 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_typekj0og00j/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 11 January 2024 02:08:43 +0000 (0:00:00.023) 0:00:09.434 ****** 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_typekj0og00j/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 11 January 2024 02:08:43 +0000 (0:00:00.022) 0:00:09.457 ****** 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_typekj0og00j/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 11 January 2024 02:08:43 +0000 (0:00:00.069) 0:00:09.527 ****** 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_typekj0og00j/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 11 January 2024 02:08:44 +0000 (0:00:00.780) 0:00:10.307 ****** 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_typekj0og00j/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 11 January 2024 02:08:44 +0000 (0:00:00.073) 0:00:10.380 ****** 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_typekj0og00j/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 11 January 2024 02:08:44 +0000 (0:00:00.024) 0:00:10.404 ****** 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_typekj0og00j/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 11 January 2024 02:08:44 +0000 (0:00:00.025) 0:00:10.430 ****** 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, 78a611c6-8cad-4a5a-b3a0-97968d39a67c [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 78a611c6-8cad-4a5a-b3a0-97968d39a67c (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_typekj0og00j/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 11 January 2024 02:08:45 +0000 (0:00:00.751) 0:00:11.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_typekj0og00j/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 11 January 2024 02:08:45 +0000 (0:00:00.024) 0:00:11.206 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 78a611c6-8cad-4a5a-b3a0-97968d39a67c", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 78a611c6-8cad-4a5a-b3a0-97968d39a67c (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typekj0og00j/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 11 January 2024 02:08:45 +0000 (0:00:00.034) 0:00:11.240 ****** 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, 78a611c6-8cad-4a5a-b3a0-97968d39a67c\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 78a611c6-8cad-4a5a-b3a0-97968d39a67c (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 78a611c6-8cad-4a5a-b3a0-97968d39a67c", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 78a611c6-8cad-4a5a-b3a0-97968d39a67c (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typekj0og00j/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 11 January 2024 02:08:45 +0000 (0:00:00.029) 0:00:11.270 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typekj0og00j/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 11 January 2024 02:08:45 +0000 (0:00:00.023) 0:00:11.294 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_typekj0og00j/tests/playbooks/tests_auto_gateway.yml:42 Thursday 11 January 2024 02:08:45 +0000 (0:00:00.321) 0:00:11.615 ****** included: /WORKDIR/git-route_typekj0og00j/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typekj0og00j/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 11 January 2024 02:08:46 +0000 (0:00:00.049) 0:00:11.665 ****** included: /WORKDIR/git-route_typekj0og00j/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_typekj0og00j/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 02:08:46 +0000 (0:00:00.027) 0:00:11.693 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704938919.5544188, "block_size": 4096, "blocks": 0, "ctime": 1704938919.5544188, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 22905, "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": 1704938919.5544188, "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_typekj0og00j/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 11 January 2024 02:08:46 +0000 (0:00:00.200) 0:00:11.893 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-route_typekj0og00j/tests/playbooks/tests_auto_gateway.yml:44 Thursday 11 January 2024 02:08:46 +0000 (0:00:00.020) 0:00:11.914 ****** included: /WORKDIR/git-route_typekj0og00j/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typekj0og00j/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 11 January 2024 02:08:46 +0000 (0:00:00.071) 0:00:11.986 ****** included: /WORKDIR/git-route_typekj0og00j/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typekj0og00j/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 11 January 2024 02:08:46 +0000 (0:00:00.031) 0:00:12.017 ****** 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_typekj0og00j/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 11 January 2024 02:08:46 +0000 (0:00:00.024) 0:00:12.042 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typekj0og00j/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 11 January 2024 02:08:46 +0000 (0:00:00.200) 0:00:12.242 ****** 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_typekj0og00j/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 11 January 2024 02:08:46 +0000 (0:00:00.018) 0:00:12.260 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.072604", "end": "2024-01-11 02:08:46.853299", "rc": 0, "start": "2024-01-11 02:08:46.780695" } 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_typekj0og00j/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 11 January 2024 02:08:46 +0000 (0:00:00.274) 0:00:12.535 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /WORKDIR/git-route_typekj0og00j/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 11 January 2024 02:08:46 +0000 (0:00:00.025) 0:00:12.561 ****** 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_typekj0og00j/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 11 January 2024 02:08:46 +0000 (0:00:00.021) 0:00:12.582 ****** 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_typekj0og00j/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 11 January 2024 02:08:46 +0000 (0:00:00.029) 0:00:12.612 ****** 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_typekj0og00j/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 11 January 2024 02:08:46 +0000 (0:00:00.021) 0:00:12.633 ****** 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_typekj0og00j/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 11 January 2024 02:08:47 +0000 (0:00:00.034) 0:00:12.667 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-route_typekj0og00j/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 11 January 2024 02:08:47 +0000 (0:00:00.043) 0:00:12.711 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-route_typekj0og00j/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 11 January 2024 02:08:47 +0000 (0:00:00.027) 0:00:12.738 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-route_typekj0og00j/tests/playbooks/tests_auto_gateway.yml:48 Thursday 11 January 2024 02:08:47 +0000 (0:00:00.022) 0:00:12.761 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003670", "end": "2024-01-11 02:08:47.291795", "rc": 0, "start": "2024-01-11 02:08:47.288125" } STDOUT: default via 10.31.8.1 dev eth0 proto dhcp src 10.31.8.12 metric 100 default via 203.0.113.1 dev veth0 proto static metric 65535 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.8.12 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_typekj0og00j/tests/playbooks/tests_auto_gateway.yml:52 Thursday 11 January 2024 02:08:47 +0000 (0:00:00.211) 0:00:12.972 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-route_typekj0og00j/tests/playbooks/tests_auto_gateway.yml:58 Thursday 11 January 2024 02:08:47 +0000 (0:00:00.031) 0:00:13.004 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003651", "end": "2024-01-11 02:08:47.527171", "rc": 0, "start": "2024-01-11 02:08:47.523520" } STDOUT: ::1 dev lo proto kernel metric 256 pref medium 2001:db8::/64 dev veth0 proto kernel metric 101 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium fe80::/64 dev veth0 proto kernel metric 1024 pref medium default via 2001:db8::1 dev veth0 proto static metric 101 pref medium TASK [Assert default ipv6 route is present] ************************************ task path: /WORKDIR/git-route_typekj0og00j/tests/playbooks/tests_auto_gateway.yml:62 Thursday 11 January 2024 02:08:47 +0000 (0:00:00.204) 0:00:13.208 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-route_typekj0og00j/tests/playbooks/tests_auto_gateway.yml:69 Thursday 11 January 2024 02:08:47 +0000 (0:00:00.055) 0:00:13.264 ****** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typekj0og00j/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 11 January 2024 02:08:47 +0000 (0:00:00.022) 0:00:13.286 ****** included: /WORKDIR/git-route_typekj0og00j/.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_typekj0og00j/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:08:47 +0000 (0:00:00.033) 0:00:13.320 ****** 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_typekj0og00j/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 11 January 2024 02:08:47 +0000 (0:00:00.033) 0:00:13.354 ****** 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_typekj0og00j/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 11 January 2024 02:08:47 +0000 (0:00:00.021) 0:00:13.376 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-route_typekj0og00j/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 11 January 2024 02:08:47 +0000 (0:00:00.021) 0:00:13.397 ****** 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_typekj0og00j/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 11 January 2024 02:08:49 +0000 (0:00:01.520) 0:00:14.917 ****** 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_typekj0og00j/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 11 January 2024 02:08:50 +0000 (0:00:00.957) 0:00:15.874 ****** 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_typekj0og00j/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 11 January 2024 02:08:50 +0000 (0:00:00.021) 0:00:15.895 ****** 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_typekj0og00j/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 11 January 2024 02:08:50 +0000 (0:00:00.021) 0:00:15.917 ****** 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_typekj0og00j/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 11 January 2024 02:08:50 +0000 (0:00:00.020) 0:00:15.938 ****** 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_typekj0og00j/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 11 January 2024 02:08:50 +0000 (0:00:00.051) 0:00:15.989 ****** 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_typekj0og00j/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 11 January 2024 02:08:50 +0000 (0:00:00.021) 0:00:16.011 ****** 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_typekj0og00j/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 11 January 2024 02:08:50 +0000 (0:00:00.021) 0:00:16.032 ****** 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_typekj0og00j/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 11 January 2024 02:08:50 +0000 (0:00:00.031) 0:00:16.064 ****** 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_typekj0og00j/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 11 January 2024 02:08:50 +0000 (0:00:00.438) 0:00:16.502 ****** 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_typekj0og00j/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 11 January 2024 02:08:50 +0000 (0:00:00.039) 0:00:16.542 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typekj0og00j/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 11 January 2024 02:08:50 +0000 (0:00:00.024) 0:00:16.566 ****** 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_typekj0og00j/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 11 January 2024 02:08:50 +0000 (0:00:00.027) 0:00:16.593 ****** 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_typekj0og00j/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 11 January 2024 02:08:51 +0000 (0:00:00.472) 0:00:17.066 ****** 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_typekj0og00j/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 11 January 2024 02:08:51 +0000 (0:00:00.023) 0:00:17.090 ****** 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_typekj0og00j/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 11 January 2024 02:08:51 +0000 (0:00:00.026) 0:00:17.116 ****** 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_typekj0og00j/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 11 January 2024 02:08:51 +0000 (0:00:00.023) 0:00:17.139 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typekj0og00j/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 11 January 2024 02:08:51 +0000 (0:00:00.032) 0:00:17.172 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typekj0og00j/tests/playbooks/tests_auto_gateway.yml:81 Thursday 11 January 2024 02:08:51 +0000 (0:00:00.225) 0:00:17.397 ****** included: /WORKDIR/git-route_typekj0og00j/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typekj0og00j/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 11 January 2024 02:08:51 +0000 (0:00:00.057) 0:00:17.455 ****** 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_typekj0og00j/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 11 January 2024 02:08:51 +0000 (0:00:00.033) 0:00:17.489 ****** skipping: [sut] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typekj0og00j/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 11 January 2024 02:08:51 +0000 (0:00:00.026) 0:00:17.515 ****** included: /WORKDIR/git-route_typekj0og00j/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typekj0og00j/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 02:08:51 +0000 (0:00:00.050) 0:00:17.566 ****** included: /WORKDIR/git-route_typekj0og00j/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typekj0og00j/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 02:08:52 +0000 (0:00:00.141) 0:00:17.707 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003267", "end": "2024-01-11 02:08:52.237936", "rc": 0, "start": "2024-01-11 02:08:52.234669" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typekj0og00j/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 02:08:52 +0000 (0:00:00.209) 0:00:17.917 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typekj0og00j/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 02:08:52 +0000 (0:00:00.021) 0:00:17.939 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typekj0og00j/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 11 January 2024 02:08:52 +0000 (0:00:00.019) 0:00:17.959 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typekj0og00j/tests/playbooks/tasks/manage_test_interface.yml:23 Thursday 11 January 2024 02:08:53 +0000 (0:00:00.863) 0:00:18.822 ****** 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_typekj0og00j/tests/playbooks/tasks/manage_test_interface.yml:31 Thursday 11 January 2024 02:08:53 +0000 (0:00:00.026) 0:00:18.849 ****** 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_typekj0og00j/tests/playbooks/tasks/manage_test_interface.yml:39 Thursday 11 January 2024 02:08:53 +0000 (0:00:00.018) 0:00:18.867 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.016211", "end": "2024-01-11 02:08:53.404961", "rc": 0, "start": "2024-01-11 02:08:53.388750" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typekj0og00j/tests/playbooks/tasks/manage_test_interface.yml:45 Thursday 11 January 2024 02:08:53 +0000 (0:00:00.222) 0:00:19.090 ****** 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_typekj0og00j/tests/playbooks/tasks/manage_test_interface.yml:50 Thursday 11 January 2024 02:08:53 +0000 (0:00:00.019) 0:00:19.109 ****** 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_typekj0og00j/tests/playbooks/tasks/manage_test_interface.yml:56 Thursday 11 January 2024 02:08:53 +0000 (0:00:00.020) 0:00:19.129 ****** 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_typekj0og00j/tests/playbooks/tasks/manage_test_interface.yml:61 Thursday 11 January 2024 02:08:53 +0000 (0:00:00.018) 0:00:19.148 ****** 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_typekj0og00j/tests/playbooks/tests_auto_gateway.yml:85 Thursday 11 January 2024 02:08:53 +0000 (0:00:00.017) 0:00:19.165 ****** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typekj0og00j/tests/playbooks/tests_auto_gateway.yml:89 Thursday 11 January 2024 02:08:53 +0000 (0:00:00.022) 0:00:19.188 ****** included: /WORKDIR/git-route_typekj0og00j/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typekj0og00j/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 11 January 2024 02:08:53 +0000 (0:00:00.045) 0:00:19.234 ****** 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_typekj0og00j/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 11 January 2024 02:08:53 +0000 (0:00:00.018) 0:00:19.252 ****** 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_typekj0og00j/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 11 January 2024 02:08:53 +0000 (0:00:00.017) 0:00:19.270 ****** included: /WORKDIR/git-route_typekj0og00j/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typekj0og00j/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 02:08:53 +0000 (0:00:00.031) 0:00:19.301 ****** included: /WORKDIR/git-route_typekj0og00j/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typekj0og00j/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 02:08:53 +0000 (0:00:00.061) 0:00:19.362 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003425", "end": "2024-01-11 02:08:53.881555", "rc": 0, "start": "2024-01-11 02:08:53.878130" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typekj0og00j/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 02:08:53 +0000 (0:00:00.199) 0:00:19.561 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typekj0og00j/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 02:08:53 +0000 (0:00:00.021) 0:00:19.583 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typekj0og00j/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 11 January 2024 02:08:53 +0000 (0:00:00.022) 0:00:19.605 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typekj0og00j/tests/playbooks/tasks/manage_test_interface.yml:23 Thursday 11 January 2024 02:08:54 +0000 (0:00:00.903) 0:00:20.509 ****** 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.012236", "end": "2024-01-11 02:08:55.043642", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-01-11 02:08:55.031406" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003636", "end": "2024-01-11 02:08:55.257080", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-01-11 02:08:55.253444" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.003730", "end": "2024-01-11 02:08:55.439082", "item": "ip link set veth0 up", "rc": 0, "start": "2024-01-11 02:08:55.435352" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_typekj0og00j/tests/playbooks/tasks/manage_test_interface.yml:31 Thursday 11 January 2024 02:08:55 +0000 (0:00:00.612) 0:00:21.121 ****** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.022578", "end": "2024-01-11 02:08:55.660790", "rc": 0, "start": "2024-01-11 02:08:55.638212" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typekj0og00j/tests/playbooks/tasks/manage_test_interface.yml:39 Thursday 11 January 2024 02:08:55 +0000 (0:00:00.225) 0:00:21.347 ****** 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_typekj0og00j/tests/playbooks/tasks/manage_test_interface.yml:45 Thursday 11 January 2024 02:08:55 +0000 (0:00:00.020) 0:00:21.367 ****** 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_typekj0og00j/tests/playbooks/tasks/manage_test_interface.yml:50 Thursday 11 January 2024 02:08:55 +0000 (0:00:00.019) 0:00:21.386 ****** 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_typekj0og00j/tests/playbooks/tasks/manage_test_interface.yml:56 Thursday 11 January 2024 02:08:55 +0000 (0:00:00.019) 0:00:21.406 ****** 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_typekj0og00j/tests/playbooks/tasks/manage_test_interface.yml:61 Thursday 11 January 2024 02:08:55 +0000 (0:00:00.020) 0:00:21.426 ****** 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_typekj0og00j/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 11 January 2024 02:08:55 +0000 (0:00:00.020) 0:00:21.446 ****** included: /WORKDIR/git-route_typekj0og00j/.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_typekj0og00j/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:08:55 +0000 (0:00:00.035) 0:00:21.482 ****** 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_typekj0og00j/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 11 January 2024 02:08:55 +0000 (0:00:00.041) 0:00:21.523 ****** 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_typekj0og00j/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 11 January 2024 02:08:55 +0000 (0:00:00.037) 0:00:21.561 ****** 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_typekj0og00j/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 11 January 2024 02:08:55 +0000 (0:00:00.025) 0:00:21.587 ****** 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_typekj0og00j/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 11 January 2024 02:08:57 +0000 (0:00:01.483) 0:00:23.071 ****** 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_typekj0og00j/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 11 January 2024 02:08:58 +0000 (0:00:00.953) 0:00:24.024 ****** 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_typekj0og00j/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 11 January 2024 02:08:58 +0000 (0:00:00.043) 0:00:24.068 ****** 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_typekj0og00j/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 11 January 2024 02:08:58 +0000 (0:00:00.023) 0:00:24.091 ****** 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_typekj0og00j/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 11 January 2024 02:08:58 +0000 (0:00:00.022) 0:00:24.114 ****** 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_typekj0og00j/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 11 January 2024 02:08:58 +0000 (0:00:00.052) 0:00:24.166 ****** 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_typekj0og00j/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 11 January 2024 02:08:58 +0000 (0:00:00.024) 0:00:24.191 ****** 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_typekj0og00j/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 11 January 2024 02:08:58 +0000 (0:00:00.022) 0:00:24.214 ****** 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_typekj0og00j/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 11 January 2024 02:08:58 +0000 (0:00:00.034) 0:00:24.248 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-route_typekj0og00j/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 11 January 2024 02:08:58 +0000 (0:00:00.395) 0:00:24.644 ****** 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_typekj0og00j/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 11 January 2024 02:08:59 +0000 (0:00:00.033) 0:00:24.678 ****** 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_typekj0og00j/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 11 January 2024 02:08:59 +0000 (0:00:00.018) 0:00:24.696 ****** 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_typekj0og00j/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 11 January 2024 02:08:59 +0000 (0:00:00.018) 0:00:24.715 ****** 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, b69e197c-488d-42e1-a6db-5ed421cfb1f4 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, b69e197c-488d-42e1-a6db-5ed421cfb1f4 (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_typekj0og00j/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 11 January 2024 02:08:59 +0000 (0:00:00.409) 0:00:25.124 ****** 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_typekj0og00j/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 11 January 2024 02:08:59 +0000 (0:00:00.022) 0:00:25.147 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, b69e197c-488d-42e1-a6db-5ed421cfb1f4", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, b69e197c-488d-42e1-a6db-5ed421cfb1f4 (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typekj0og00j/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 11 January 2024 02:08:59 +0000 (0:00:00.021) 0:00:25.168 ****** 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, b69e197c-488d-42e1-a6db-5ed421cfb1f4\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, b69e197c-488d-42e1-a6db-5ed421cfb1f4 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, b69e197c-488d-42e1-a6db-5ed421cfb1f4", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, b69e197c-488d-42e1-a6db-5ed421cfb1f4 (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typekj0og00j/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 11 January 2024 02:08:59 +0000 (0:00:00.056) 0:00:25.225 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typekj0og00j/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 11 January 2024 02:08:59 +0000 (0:00:00.024) 0:00:25.249 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_typekj0og00j/tests/playbooks/tests_auto_gateway.yml:110 Thursday 11 January 2024 02:08:59 +0000 (0:00:00.208) 0:00:25.457 ****** included: /WORKDIR/git-route_typekj0og00j/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typekj0og00j/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 11 January 2024 02:08:59 +0000 (0:00:00.053) 0:00:25.511 ****** included: /WORKDIR/git-route_typekj0og00j/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_typekj0og00j/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 02:08:59 +0000 (0:00:00.043) 0:00:25.555 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704938935.0352886, "block_size": 4096, "blocks": 0, "ctime": 1704938935.0352886, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 23491, "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": 1704938935.0352886, "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_typekj0og00j/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 11 January 2024 02:09:00 +0000 (0:00:00.208) 0:00:25.763 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-route_typekj0og00j/tests/playbooks/tests_auto_gateway.yml:112 Thursday 11 January 2024 02:09:00 +0000 (0:00:00.028) 0:00:25.791 ****** included: /WORKDIR/git-route_typekj0og00j/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typekj0og00j/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 11 January 2024 02:09:00 +0000 (0:00:00.084) 0:00:25.876 ****** included: /WORKDIR/git-route_typekj0og00j/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typekj0og00j/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 11 January 2024 02:09:00 +0000 (0:00:00.043) 0:00:25.920 ****** 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_typekj0og00j/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 11 January 2024 02:09:00 +0000 (0:00:00.028) 0:00:25.949 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typekj0og00j/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 11 January 2024 02:09:00 +0000 (0:00:00.205) 0:00:26.154 ****** 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_typekj0og00j/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 11 January 2024 02:09:00 +0000 (0:00:00.022) 0:00:26.177 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.022172", "end": "2024-01-11 02:09:00.717835", "rc": 0, "start": "2024-01-11 02:09:00.695663" } 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_typekj0og00j/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 11 January 2024 02:09:00 +0000 (0:00:00.222) 0:00:26.399 ****** 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_typekj0og00j/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 11 January 2024 02:09:00 +0000 (0:00:00.062) 0:00:26.462 ****** 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_typekj0og00j/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 11 January 2024 02:09:00 +0000 (0:00:00.019) 0:00:26.481 ****** 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_typekj0og00j/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 11 January 2024 02:09:00 +0000 (0:00:00.022) 0:00:26.504 ****** 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_typekj0og00j/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 11 January 2024 02:09:00 +0000 (0:00:00.034) 0:00:26.538 ****** 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_typekj0og00j/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 11 January 2024 02:09:00 +0000 (0:00:00.020) 0:00:26.559 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-route_typekj0og00j/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 11 January 2024 02:09:00 +0000 (0:00:00.037) 0:00:26.596 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-route_typekj0og00j/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 11 January 2024 02:09:00 +0000 (0:00:00.026) 0:00:26.622 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-route_typekj0og00j/tests/playbooks/tests_auto_gateway.yml:116 Thursday 11 January 2024 02:09:01 +0000 (0:00:00.031) 0:00:26.654 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003599", "end": "2024-01-11 02:09:01.195103", "rc": 0, "start": "2024-01-11 02:09:01.191504" } STDOUT: default via 10.31.8.1 dev eth0 proto dhcp src 10.31.8.12 metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.8.12 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_typekj0og00j/tests/playbooks/tests_auto_gateway.yml:120 Thursday 11 January 2024 02:09:01 +0000 (0:00:00.224) 0:00:26.878 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-route_typekj0og00j/tests/playbooks/tests_auto_gateway.yml:126 Thursday 11 January 2024 02:09:01 +0000 (0:00:00.020) 0:00:26.899 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003770", "end": "2024-01-11 02:09:01.428363", "rc": 0, "start": "2024-01-11 02:09:01.424593" } STDOUT: ::1 dev lo proto kernel metric 256 pref medium 2001:db8::/64 dev veth0 proto kernel metric 101 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium fe80::/64 dev veth0 proto kernel metric 1024 pref medium TASK [Assert default ipv6 route is absent] ************************************* task path: /WORKDIR/git-route_typekj0og00j/tests/playbooks/tests_auto_gateway.yml:130 Thursday 11 January 2024 02:09:01 +0000 (0:00:00.215) 0:00:27.114 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-route_typekj0og00j/tests/playbooks/tests_auto_gateway.yml:137 Thursday 11 January 2024 02:09:01 +0000 (0:00:00.034) 0:00:27.149 ****** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typekj0og00j/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 11 January 2024 02:09:01 +0000 (0:00:00.022) 0:00:27.172 ****** included: /WORKDIR/git-route_typekj0og00j/.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_typekj0og00j/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:09:01 +0000 (0:00:00.038) 0:00:27.210 ****** 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_typekj0og00j/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 11 January 2024 02:09:01 +0000 (0:00:00.048) 0:00:27.259 ****** 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_typekj0og00j/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 11 January 2024 02:09:01 +0000 (0:00:00.031) 0:00:27.291 ****** 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_typekj0og00j/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 11 January 2024 02:09:01 +0000 (0:00:00.032) 0:00:27.323 ****** 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_typekj0og00j/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 11 January 2024 02:09:04 +0000 (0:00:02.485) 0:00:29.809 ****** 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_typekj0og00j/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 11 January 2024 02:09:05 +0000 (0:00:00.941) 0:00:30.750 ****** 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_typekj0og00j/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 11 January 2024 02:09:05 +0000 (0:00:00.022) 0:00:30.772 ****** 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_typekj0og00j/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 11 January 2024 02:09:05 +0000 (0:00:00.021) 0:00:30.794 ****** 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_typekj0og00j/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 11 January 2024 02:09:05 +0000 (0:00:00.022) 0:00:30.816 ****** 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_typekj0og00j/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 11 January 2024 02:09:05 +0000 (0:00:00.050) 0:00:30.867 ****** 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_typekj0og00j/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 11 January 2024 02:09:05 +0000 (0:00:00.022) 0:00:30.889 ****** 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_typekj0og00j/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 11 January 2024 02:09:05 +0000 (0:00:00.021) 0:00:30.911 ****** 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_typekj0og00j/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 11 January 2024 02:09:05 +0000 (0:00:00.035) 0:00:30.946 ****** 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_typekj0og00j/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 11 January 2024 02:09:05 +0000 (0:00:00.378) 0:00:31.325 ****** 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_typekj0og00j/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 11 January 2024 02:09:05 +0000 (0:00:00.035) 0:00:31.360 ****** 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_typekj0og00j/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 11 January 2024 02:09:05 +0000 (0:00:00.019) 0:00:31.379 ****** 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_typekj0og00j/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 11 January 2024 02:09:05 +0000 (0:00:00.017) 0:00:31.397 ****** 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_typekj0og00j/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 11 January 2024 02:09:06 +0000 (0:00:00.429) 0:00:31.826 ****** 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_typekj0og00j/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 11 January 2024 02:09:06 +0000 (0:00:00.023) 0:00:31.850 ****** 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_typekj0og00j/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 11 January 2024 02:09:06 +0000 (0:00:00.023) 0:00:31.873 ****** 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_typekj0og00j/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 11 January 2024 02:09:06 +0000 (0:00:00.055) 0:00:31.929 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typekj0og00j/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 11 January 2024 02:09:06 +0000 (0:00:00.022) 0:00:31.951 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typekj0og00j/tests/playbooks/tests_auto_gateway.yml:149 Thursday 11 January 2024 02:09:06 +0000 (0:00:00.207) 0:00:32.159 ****** included: /WORKDIR/git-route_typekj0og00j/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typekj0og00j/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 11 January 2024 02:09:06 +0000 (0:00:00.052) 0:00:32.212 ****** 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_typekj0og00j/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 11 January 2024 02:09:06 +0000 (0:00:00.019) 0:00:32.231 ****** 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_typekj0og00j/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 11 January 2024 02:09:06 +0000 (0:00:00.027) 0:00:32.259 ****** included: /WORKDIR/git-route_typekj0og00j/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typekj0og00j/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 02:09:06 +0000 (0:00:00.034) 0:00:32.294 ****** included: /WORKDIR/git-route_typekj0og00j/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typekj0og00j/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 02:09:06 +0000 (0:00:00.031) 0:00:32.326 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003507", "end": "2024-01-11 02:09:06.852852", "rc": 0, "start": "2024-01-11 02:09:06.849345" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typekj0og00j/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 02:09:06 +0000 (0:00:00.207) 0:00:32.533 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typekj0og00j/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 02:09:06 +0000 (0:00:00.021) 0:00:32.555 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typekj0og00j/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 11 January 2024 02:09:06 +0000 (0:00:00.020) 0:00:32.575 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typekj0og00j/tests/playbooks/tasks/manage_test_interface.yml:23 Thursday 11 January 2024 02:09:07 +0000 (0:00:00.857) 0:00:33.433 ****** 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_typekj0og00j/tests/playbooks/tasks/manage_test_interface.yml:31 Thursday 11 January 2024 02:09:07 +0000 (0:00:00.024) 0:00:33.458 ****** 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_typekj0og00j/tests/playbooks/tasks/manage_test_interface.yml:39 Thursday 11 January 2024 02:09:07 +0000 (0:00:00.027) 0:00:33.485 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.012809", "end": "2024-01-11 02:09:08.017768", "rc": 0, "start": "2024-01-11 02:09:08.004959" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typekj0og00j/tests/playbooks/tasks/manage_test_interface.yml:45 Thursday 11 January 2024 02:09:08 +0000 (0:00:00.218) 0:00:33.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_typekj0og00j/tests/playbooks/tasks/manage_test_interface.yml:50 Thursday 11 January 2024 02:09:08 +0000 (0:00:00.049) 0:00:33.753 ****** 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_typekj0og00j/tests/playbooks/tasks/manage_test_interface.yml:56 Thursday 11 January 2024 02:09:08 +0000 (0:00:00.026) 0:00:33.780 ****** 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_typekj0og00j/tests/playbooks/tasks/manage_test_interface.yml:61 Thursday 11 January 2024 02:09:08 +0000 (0:00:00.019) 0:00:33.800 ****** 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 Thursday 11 January 2024 02:09:08 +0000 (0:00:00.056) 0:00:33.856 ****** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 2.49s /WORKDIR/git-route_typekj0og00j/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Install iproute --------------------------------------------------------- 1.97s /WORKDIR/git-route_typekj0og00j/tests/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Check which services are running ---- 1.57s /WORKDIR/git-route_typekj0og00j/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.52s /WORKDIR/git-route_typekj0og00j/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.48s /WORKDIR/git-route_typekj0og00j/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.28s /WORKDIR/git-route_typekj0og00j/.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.96s /WORKDIR/git-route_typekj0og00j/.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.95s /WORKDIR/git-route_typekj0og00j/.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.94s /WORKDIR/git-route_typekj0og00j/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Install iproute --------------------------------------------------------- 0.90s /WORKDIR/git-route_typekj0og00j/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.86s /WORKDIR/git-route_typekj0og00j/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.86s /WORKDIR/git-route_typekj0og00j/tests/playbooks/tasks/manage_test_interface.yml:16 Gathering Facts --------------------------------------------------------- 0.78s /WORKDIR/git-route_typekj0og00j/tests/tests_auto_gateway_nm.yml:6 ------------- fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.78s /WORKDIR/git-route_typekj0og00j/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.75s /WORKDIR/git-route_typekj0og00j/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Create veth interface veth0 --------------------------------------------- 0.67s /WORKDIR/git-route_typekj0og00j/tests/playbooks/tasks/manage_test_interface.yml:23 Gathering Facts --------------------------------------------------------- 0.67s /WORKDIR/git-route_typekj0og00j/tests/playbooks/tests_auto_gateway.yml:3 ------ Create veth interface veth0 --------------------------------------------- 0.61s /WORKDIR/git-route_typekj0og00j/tests/playbooks/tasks/manage_test_interface.yml:23 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.47s /WORKDIR/git-route_typekj0og00j/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.44s /WORKDIR/git-route_typekj0og00j/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---