# 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_type7zu6ikb4/.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_type7zu6ikb4/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_type7zu6ikb4/tests/tests_auto_gateway_nm.yml:6 Tuesday 09 January 2024 02:06:51 +0000 (0:00:00.020) 0:00:00.020 ******* ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_type7zu6ikb4/tests/tests_auto_gateway_nm.yml:9 Tuesday 09 January 2024 02:06:52 +0000 (0:00:00.893) 0:00:00.914 ******* included: /WORKDIR/git-route_type7zu6ikb4/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_type7zu6ikb4/tests/tasks/el_repo_setup.yml:3 Tuesday 09 January 2024 02:06:52 +0000 (0:00:00.021) 0:00:00.935 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_type7zu6ikb4/tests/tasks/el_repo_setup.yml:17 Tuesday 09 January 2024 02:06:53 +0000 (0:00:00.357) 0:00:01.292 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_type7zu6ikb4/tests/tasks/el_repo_setup.yml:22 Tuesday 09 January 2024 02:06:53 +0000 (0:00:00.259) 0:00:01.552 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_type7zu6ikb4/tests/tasks/el_repo_setup.yml:26 Tuesday 09 January 2024 02:06:53 +0000 (0:00:00.017) 0:00:01.569 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == 'CentOS'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_type7zu6ikb4/tests/tasks/el_repo_setup.yml:51 Tuesday 09 January 2024 02:06:53 +0000 (0:00:00.009) 0:00:01.578 ******* included: /WORKDIR/git-route_type7zu6ikb4/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 38] ********************************************************** task path: /WORKDIR/git-route_type7zu6ikb4/tests/tasks/enable_epel.yml:8 Tuesday 09 January 2024 02:06:53 +0000 (0:00:00.021) 0:00:01.600 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-route_type7zu6ikb4/tests/tasks/enable_epel.yml:24 Tuesday 09 January 2024 02:06:53 +0000 (0:00:00.007) 0:00:01.608 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-route_type7zu6ikb4/tests/tasks/enable_epel.yml:30 Tuesday 09 January 2024 02:06:53 +0000 (0:00:00.008) 0:00:01.617 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_type7zu6ikb4/tests/tasks/enable_epel.yml:35 Tuesday 09 January 2024 02:06:53 +0000 (0:00:00.008) 0:00:01.625 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_type7zu6ikb4/tests/tasks/enable_epel.yml:40 Tuesday 09 January 2024 02:06:53 +0000 (0:00:00.008) 0:00:01.634 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-route_type7zu6ikb4/tests/tests_auto_gateway_nm.yml:11 Tuesday 09 January 2024 02:06:53 +0000 (0:00:00.007) 0:00:01.641 ******* ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing auto_gateway setting] *********************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_type7zu6ikb4/tests/playbooks/tests_auto_gateway.yml:3 Tuesday 09 January 2024 02:06:53 +0000 (0:00:00.015) 0:00:01.656 ******* ok: [sut] TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_type7zu6ikb4/tests/playbooks/tests_auto_gateway.yml:9 Tuesday 09 January 2024 02:06:54 +0000 (0:00:00.713) 0:00:02.370 ******* included: /WORKDIR/git-route_type7zu6ikb4/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type7zu6ikb4/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 02:06:54 +0000 (0:00:00.024) 0:00:02.394 ******* included: /WORKDIR/git-route_type7zu6ikb4/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type7zu6ikb4/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 02:06:54 +0000 (0:00:00.014) 0:00:02.408 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003909", "end": "2024-01-09 02:06:54.404340", "rc": 0, "start": "2024-01-09 02:06:54.400431" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type7zu6ikb4/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 02:06:54 +0000 (0:00:00.269) 0:00:02.678 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type7zu6ikb4/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 02:06:54 +0000 (0:00:00.010) 0:00:02.688 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_type7zu6ikb4/tests/playbooks/tests_auto_gateway.yml:11 Tuesday 09 January 2024 02:06:54 +0000 (0:00:00.009) 0:00:02.698 ******* included: /WORKDIR/git-route_type7zu6ikb4/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_type7zu6ikb4/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 09 January 2024 02:06:54 +0000 (0:00:00.024) 0:00:02.723 ******* 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_type7zu6ikb4/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 09 January 2024 02:06:54 +0000 (0:00:00.008) 0:00:02.732 ******* 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_type7zu6ikb4/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 09 January 2024 02:06:54 +0000 (0:00:00.007) 0:00:02.739 ******* included: /WORKDIR/git-route_type7zu6ikb4/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type7zu6ikb4/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 02:06:54 +0000 (0:00:00.011) 0:00:02.751 ******* included: /WORKDIR/git-route_type7zu6ikb4/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type7zu6ikb4/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 02:06:54 +0000 (0:00:00.011) 0:00:02.763 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003757", "end": "2024-01-09 02:06:54.699333", "rc": 0, "start": "2024-01-09 02:06:54.695576" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type7zu6ikb4/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 02:06:54 +0000 (0:00:00.211) 0:00:02.975 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type7zu6ikb4/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 02:06:54 +0000 (0:00:00.009) 0:00:02.984 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_type7zu6ikb4/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 09 January 2024 02:06:54 +0000 (0:00:00.009) 0:00:02.994 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_type7zu6ikb4/tests/playbooks/tasks/manage_test_interface.yml:23 Tuesday 09 January 2024 02:06:57 +0000 (0:00:02.310) 0:00:05.305 ******* 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.083916", "end": "2024-01-09 02:06:57.321360", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-01-09 02:06:57.237444" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004080", "end": "2024-01-09 02:06:57.583415", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-01-09 02:06:57.579335" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004198", "end": "2024-01-09 02:06:57.781042", "item": "ip link set veth0 up", "rc": 0, "start": "2024-01-09 02:06:57.776844" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_type7zu6ikb4/tests/playbooks/tasks/manage_test_interface.yml:31 Tuesday 09 January 2024 02:06:57 +0000 (0:00:00.755) 0:00:06.061 ******* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.255036", "end": "2024-01-09 02:06:58.243072", "rc": 0, "start": "2024-01-09 02:06:57.988036" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_type7zu6ikb4/tests/playbooks/tasks/manage_test_interface.yml:39 Tuesday 09 January 2024 02:06:58 +0000 (0:00:00.461) 0:00:06.522 ******* 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_type7zu6ikb4/tests/playbooks/tasks/manage_test_interface.yml:45 Tuesday 09 January 2024 02:06:58 +0000 (0:00:00.009) 0:00:06.531 ******* 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_type7zu6ikb4/tests/playbooks/tasks/manage_test_interface.yml:50 Tuesday 09 January 2024 02:06:58 +0000 (0:00:00.009) 0:00:06.541 ******* 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_type7zu6ikb4/tests/playbooks/tasks/manage_test_interface.yml:56 Tuesday 09 January 2024 02:06:58 +0000 (0:00:00.019) 0:00:06.560 ******* 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_type7zu6ikb4/tests/playbooks/tasks/manage_test_interface.yml:61 Tuesday 09 January 2024 02:06:58 +0000 (0:00:00.016) 0:00:06.577 ******* 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_type7zu6ikb4/tests/playbooks/tests_auto_gateway.yml:15 Tuesday 09 January 2024 02:06:58 +0000 (0:00:00.008) 0:00:06.585 ******* included: /WORKDIR/git-route_type7zu6ikb4/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type7zu6ikb4/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 02:06:58 +0000 (0:00:00.024) 0:00:06.609 ******* included: /WORKDIR/git-route_type7zu6ikb4/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_type7zu6ikb4/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 02:06:58 +0000 (0:00:00.012) 0:00:06.622 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704766017.320127, "block_size": 4096, "blocks": 0, "ctime": 1704766017.320127, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26236, "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": 1704766017.320127, "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_type7zu6ikb4/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 02:06:58 +0000 (0:00:00.202) 0:00:06.824 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /WORKDIR/git-route_type7zu6ikb4/tests/playbooks/tests_auto_gateway.yml:17 Tuesday 09 January 2024 02:06:58 +0000 (0:00:00.012) 0:00:06.837 ******* ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type7zu6ikb4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 09 January 2024 02:06:58 +0000 (0:00:00.011) 0:00:06.848 ******* included: /WORKDIR/git-route_type7zu6ikb4/.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_type7zu6ikb4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:06:58 +0000 (0:00:00.020) 0:00:06.869 ******* 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_type7zu6ikb4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 09 January 2024 02:06:58 +0000 (0:00:00.030) 0:00:06.899 ******* 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_type7zu6ikb4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 09 January 2024 02:06:58 +0000 (0:00:00.012) 0:00:06.912 ******* 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_type7zu6ikb4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 09 January 2024 02:06:58 +0000 (0:00:00.014) 0:00:06.927 ******* 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_type7zu6ikb4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 09 January 2024 02:07:00 +0000 (0:00:02.322) 0:00:09.250 ******* 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_type7zu6ikb4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 09 January 2024 02:07:01 +0000 (0:00:00.961) 0:00:10.211 ******* 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_type7zu6ikb4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 09 January 2024 02:07:01 +0000 (0:00:00.023) 0:00:10.234 ******* 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_type7zu6ikb4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 09 January 2024 02:07:02 +0000 (0:00:00.022) 0:00:10.257 ******* 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_type7zu6ikb4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 09 January 2024 02:07:02 +0000 (0:00:00.022) 0:00:10.279 ******* 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_type7zu6ikb4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 09 January 2024 02:07:02 +0000 (0:00:00.053) 0:00:10.333 ******* 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_type7zu6ikb4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 09 January 2024 02:07:02 +0000 (0:00:00.043) 0:00:10.376 ******* 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_type7zu6ikb4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 09 January 2024 02:07:02 +0000 (0:00:00.028) 0:00:10.405 ******* 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_type7zu6ikb4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 09 January 2024 02:07:02 +0000 (0:00:00.038) 0:00:10.443 ******* 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_type7zu6ikb4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 09 January 2024 02:07:02 +0000 (0:00:00.614) 0:00:11.058 ******* 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_type7zu6ikb4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 09 January 2024 02:07:02 +0000 (0:00:00.036) 0:00:11.094 ******* 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_type7zu6ikb4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 09 January 2024 02:07:02 +0000 (0:00:00.027) 0:00:11.121 ******* 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_type7zu6ikb4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 09 January 2024 02:07:02 +0000 (0:00:00.022) 0:00:11.143 ******* 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, b33b7045-ef8a-4f83-ae5a-bbe8ef84a1dd [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, b33b7045-ef8a-4f83-ae5a-bbe8ef84a1dd (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_type7zu6ikb4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 09 January 2024 02:07:03 +0000 (0:00:00.804) 0:00:11.947 ******* 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_type7zu6ikb4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 09 January 2024 02:07:03 +0000 (0:00:00.030) 0:00:11.978 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, b33b7045-ef8a-4f83-ae5a-bbe8ef84a1dd", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, b33b7045-ef8a-4f83-ae5a-bbe8ef84a1dd (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type7zu6ikb4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 09 January 2024 02:07:03 +0000 (0:00:00.031) 0:00:12.010 ******* 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, b33b7045-ef8a-4f83-ae5a-bbe8ef84a1dd\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, b33b7045-ef8a-4f83-ae5a-bbe8ef84a1dd (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, b33b7045-ef8a-4f83-ae5a-bbe8ef84a1dd", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, b33b7045-ef8a-4f83-ae5a-bbe8ef84a1dd (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type7zu6ikb4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 09 January 2024 02:07:03 +0000 (0:00:00.030) 0:00:12.041 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type7zu6ikb4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 09 January 2024 02:07:03 +0000 (0:00:00.025) 0:00:12.066 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_type7zu6ikb4/tests/playbooks/tests_auto_gateway.yml:42 Tuesday 09 January 2024 02:07:04 +0000 (0:00:00.334) 0:00:12.400 ******* included: /WORKDIR/git-route_type7zu6ikb4/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type7zu6ikb4/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 02:07:04 +0000 (0:00:00.043) 0:00:12.444 ******* included: /WORKDIR/git-route_type7zu6ikb4/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_type7zu6ikb4/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 02:07:04 +0000 (0:00:00.057) 0:00:12.501 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704766017.320127, "block_size": 4096, "blocks": 0, "ctime": 1704766017.320127, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26236, "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": 1704766017.320127, "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_type7zu6ikb4/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 02:07:04 +0000 (0:00:00.215) 0:00:12.717 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-route_type7zu6ikb4/tests/playbooks/tests_auto_gateway.yml:44 Tuesday 09 January 2024 02:07:04 +0000 (0:00:00.023) 0:00:12.740 ******* included: /WORKDIR/git-route_type7zu6ikb4/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type7zu6ikb4/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 02:07:04 +0000 (0:00:00.045) 0:00:12.786 ******* included: /WORKDIR/git-route_type7zu6ikb4/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type7zu6ikb4/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 02:07:04 +0000 (0:00:00.032) 0:00:12.818 ******* 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_type7zu6ikb4/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 02:07:04 +0000 (0:00:00.028) 0:00:12.847 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type7zu6ikb4/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 02:07:04 +0000 (0:00:00.212) 0:00:13.060 ******* 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_type7zu6ikb4/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 02:07:04 +0000 (0:00:00.020) 0:00:13.080 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.097986", "end": "2024-01-09 02:07:05.107807", "rc": 0, "start": "2024-01-09 02:07:05.009821" } 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_type7zu6ikb4/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 02:07:05 +0000 (0:00:00.326) 0:00:13.407 ******* 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_type7zu6ikb4/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 02:07:05 +0000 (0:00:00.023) 0:00:13.431 ******* 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_type7zu6ikb4/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 02:07:05 +0000 (0:00:00.024) 0:00:13.455 ******* 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_type7zu6ikb4/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 02:07:05 +0000 (0:00:00.029) 0:00:13.485 ******* 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_type7zu6ikb4/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 02:07:05 +0000 (0:00:00.020) 0:00:13.505 ******* 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_type7zu6ikb4/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 02:07:05 +0000 (0:00:00.029) 0:00:13.535 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-route_type7zu6ikb4/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 02:07:05 +0000 (0:00:00.051) 0:00:13.586 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-route_type7zu6ikb4/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 02:07:05 +0000 (0:00:00.035) 0:00:13.621 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-route_type7zu6ikb4/tests/playbooks/tests_auto_gateway.yml:48 Tuesday 09 January 2024 02:07:05 +0000 (0:00:00.025) 0:00:13.646 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.004424", "end": "2024-01-09 02:07:05.581010", "rc": 0, "start": "2024-01-09 02:07:05.576586" } STDOUT: default via 10.31.12.1 dev eth0 proto dhcp src 10.31.14.169 metric 100 default via 203.0.113.1 dev veth0 proto static metric 65535 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.14.169 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_type7zu6ikb4/tests/playbooks/tests_auto_gateway.yml:52 Tuesday 09 January 2024 02:07:05 +0000 (0:00:00.218) 0:00:13.865 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-route_type7zu6ikb4/tests/playbooks/tests_auto_gateway.yml:58 Tuesday 09 January 2024 02:07:05 +0000 (0:00:00.021) 0:00:13.886 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003980", "end": "2024-01-09 02:07:05.817722", "rc": 0, "start": "2024-01-09 02:07:05.813742" } STDOUT: 2001:db8::/64 dev veth0 proto kernel metric 101 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 1024 pref medium fe80::/64 dev veth0 proto kernel metric 1024 pref medium default via 2001:db8::1 dev veth0 proto static metric 101 pref medium TASK [Assert default ipv6 route is present] ************************************ task path: /WORKDIR/git-route_type7zu6ikb4/tests/playbooks/tests_auto_gateway.yml:62 Tuesday 09 January 2024 02:07:05 +0000 (0:00:00.215) 0:00:14.102 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-route_type7zu6ikb4/tests/playbooks/tests_auto_gateway.yml:69 Tuesday 09 January 2024 02:07:05 +0000 (0:00:00.022) 0:00:14.124 ******* ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type7zu6ikb4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 09 January 2024 02:07:05 +0000 (0:00:00.024) 0:00:14.149 ******* included: /WORKDIR/git-route_type7zu6ikb4/.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_type7zu6ikb4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:07:05 +0000 (0:00:00.037) 0:00:14.186 ******* 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_type7zu6ikb4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 09 January 2024 02:07:05 +0000 (0:00:00.034) 0:00:14.220 ******* 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_type7zu6ikb4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 09 January 2024 02:07:05 +0000 (0:00:00.023) 0:00:14.244 ******* 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_type7zu6ikb4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 09 January 2024 02:07:06 +0000 (0:00:00.022) 0:00:14.266 ******* 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_type7zu6ikb4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 09 January 2024 02:07:08 +0000 (0:00:02.198) 0:00:16.465 ******* 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_type7zu6ikb4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 09 January 2024 02:07:09 +0000 (0:00:00.816) 0:00:17.281 ******* 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_type7zu6ikb4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 09 January 2024 02:07:09 +0000 (0:00:00.023) 0:00:17.305 ******* 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_type7zu6ikb4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 09 January 2024 02:07:09 +0000 (0:00:00.025) 0:00:17.330 ******* 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_type7zu6ikb4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 09 January 2024 02:07:09 +0000 (0:00:00.022) 0:00:17.353 ******* 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_type7zu6ikb4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 09 January 2024 02:07:09 +0000 (0:00:00.052) 0:00:17.405 ******* 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_type7zu6ikb4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 09 January 2024 02:07:09 +0000 (0:00:00.023) 0:00:17.429 ******* 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_type7zu6ikb4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 09 January 2024 02:07:09 +0000 (0:00:00.022) 0:00:17.451 ******* 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_type7zu6ikb4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 09 January 2024 02:07:09 +0000 (0:00:00.034) 0:00:17.486 ******* 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_type7zu6ikb4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 09 January 2024 02:07:09 +0000 (0:00:00.407) 0:00:17.893 ******* 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_type7zu6ikb4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 09 January 2024 02:07:09 +0000 (0:00:00.036) 0:00:17.930 ******* 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_type7zu6ikb4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 09 January 2024 02:07:09 +0000 (0:00:00.020) 0:00:17.950 ******* 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_type7zu6ikb4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 09 January 2024 02:07:09 +0000 (0:00:00.022) 0:00:17.973 ******* 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_type7zu6ikb4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 09 January 2024 02:07:10 +0000 (0:00:00.481) 0:00:18.454 ******* 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_type7zu6ikb4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 09 January 2024 02:07:10 +0000 (0:00:00.037) 0:00:18.492 ******* 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_type7zu6ikb4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 09 January 2024 02:07:10 +0000 (0:00:00.024) 0:00:18.516 ******* 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_type7zu6ikb4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 09 January 2024 02:07:10 +0000 (0:00:00.024) 0:00:18.541 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type7zu6ikb4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 09 January 2024 02:07:10 +0000 (0:00:00.055) 0:00:18.596 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_type7zu6ikb4/tests/playbooks/tests_auto_gateway.yml:81 Tuesday 09 January 2024 02:07:10 +0000 (0:00:00.223) 0:00:18.820 ******* included: /WORKDIR/git-route_type7zu6ikb4/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_type7zu6ikb4/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 09 January 2024 02:07:10 +0000 (0:00:00.048) 0:00:18.869 ******* 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_type7zu6ikb4/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 09 January 2024 02:07:10 +0000 (0:00:00.020) 0:00:18.889 ******* 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_type7zu6ikb4/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 09 January 2024 02:07:10 +0000 (0:00:00.020) 0:00:18.910 ******* included: /WORKDIR/git-route_type7zu6ikb4/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type7zu6ikb4/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 02:07:10 +0000 (0:00:00.040) 0:00:18.951 ******* included: /WORKDIR/git-route_type7zu6ikb4/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type7zu6ikb4/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 02:07:10 +0000 (0:00:00.039) 0:00:18.990 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003694", "end": "2024-01-09 02:07:10.931364", "rc": 0, "start": "2024-01-09 02:07:10.927670" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type7zu6ikb4/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 02:07:10 +0000 (0:00:00.226) 0:00:19.216 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type7zu6ikb4/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 02:07:10 +0000 (0:00:00.023) 0:00:19.239 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_type7zu6ikb4/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 09 January 2024 02:07:11 +0000 (0:00:00.025) 0:00:19.265 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_type7zu6ikb4/tests/playbooks/tasks/manage_test_interface.yml:23 Tuesday 09 January 2024 02:07:13 +0000 (0:00:02.218) 0:00:21.484 ******* 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_type7zu6ikb4/tests/playbooks/tasks/manage_test_interface.yml:31 Tuesday 09 January 2024 02:07:13 +0000 (0:00:00.027) 0:00:21.511 ******* 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_type7zu6ikb4/tests/playbooks/tasks/manage_test_interface.yml:39 Tuesday 09 January 2024 02:07:13 +0000 (0:00:00.069) 0:00:21.581 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.010832", "end": "2024-01-09 02:07:13.527330", "rc": 0, "start": "2024-01-09 02:07:13.516498" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_type7zu6ikb4/tests/playbooks/tasks/manage_test_interface.yml:45 Tuesday 09 January 2024 02:07:13 +0000 (0:00:00.244) 0:00:21.826 ******* 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_type7zu6ikb4/tests/playbooks/tasks/manage_test_interface.yml:50 Tuesday 09 January 2024 02:07:13 +0000 (0:00:00.044) 0:00:21.870 ******* 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_type7zu6ikb4/tests/playbooks/tasks/manage_test_interface.yml:56 Tuesday 09 January 2024 02:07:13 +0000 (0:00:00.028) 0:00:21.899 ******* 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_type7zu6ikb4/tests/playbooks/tasks/manage_test_interface.yml:61 Tuesday 09 January 2024 02:07:13 +0000 (0:00:00.042) 0:00:21.941 ******* 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_type7zu6ikb4/tests/playbooks/tests_auto_gateway.yml:85 Tuesday 09 January 2024 02:07:13 +0000 (0:00:00.040) 0:00:21.982 ******* ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_type7zu6ikb4/tests/playbooks/tests_auto_gateway.yml:89 Tuesday 09 January 2024 02:07:13 +0000 (0:00:00.040) 0:00:22.022 ******* included: /WORKDIR/git-route_type7zu6ikb4/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_type7zu6ikb4/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 09 January 2024 02:07:13 +0000 (0:00:00.067) 0:00:22.090 ******* 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_type7zu6ikb4/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 09 January 2024 02:07:13 +0000 (0:00:00.025) 0:00:22.116 ******* 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_type7zu6ikb4/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 09 January 2024 02:07:13 +0000 (0:00:00.024) 0:00:22.140 ******* included: /WORKDIR/git-route_type7zu6ikb4/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type7zu6ikb4/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 02:07:13 +0000 (0:00:00.038) 0:00:22.179 ******* included: /WORKDIR/git-route_type7zu6ikb4/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type7zu6ikb4/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 02:07:13 +0000 (0:00:00.035) 0:00:22.214 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003889", "end": "2024-01-09 02:07:14.156894", "rc": 0, "start": "2024-01-09 02:07:14.153005" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type7zu6ikb4/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 02:07:14 +0000 (0:00:00.238) 0:00:22.453 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type7zu6ikb4/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 02:07:14 +0000 (0:00:00.135) 0:00:22.588 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_type7zu6ikb4/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 09 January 2024 02:07:14 +0000 (0:00:00.031) 0:00:22.620 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_type7zu6ikb4/tests/playbooks/tasks/manage_test_interface.yml:23 Tuesday 09 January 2024 02:07:16 +0000 (0:00:02.208) 0:00:24.828 ******* 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.006258", "end": "2024-01-09 02:07:16.766524", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-01-09 02:07:16.760266" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004099", "end": "2024-01-09 02:07:17.025868", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-01-09 02:07:17.021769" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004216", "end": "2024-01-09 02:07:17.229070", "item": "ip link set veth0 up", "rc": 0, "start": "2024-01-09 02:07:17.224854" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_type7zu6ikb4/tests/playbooks/tasks/manage_test_interface.yml:31 Tuesday 09 January 2024 02:07:17 +0000 (0:00:00.695) 0:00:25.524 ******* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.023282", "end": "2024-01-09 02:07:17.499963", "rc": 0, "start": "2024-01-09 02:07:17.476681" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_type7zu6ikb4/tests/playbooks/tasks/manage_test_interface.yml:39 Tuesday 09 January 2024 02:07:17 +0000 (0:00:00.268) 0:00:25.792 ******* 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_type7zu6ikb4/tests/playbooks/tasks/manage_test_interface.yml:45 Tuesday 09 January 2024 02:07:17 +0000 (0:00:00.025) 0:00:25.818 ******* 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_type7zu6ikb4/tests/playbooks/tasks/manage_test_interface.yml:50 Tuesday 09 January 2024 02:07:17 +0000 (0:00:00.032) 0:00:25.850 ******* 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_type7zu6ikb4/tests/playbooks/tasks/manage_test_interface.yml:56 Tuesday 09 January 2024 02:07:17 +0000 (0:00:00.026) 0:00:25.876 ******* 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_type7zu6ikb4/tests/playbooks/tasks/manage_test_interface.yml:61 Tuesday 09 January 2024 02:07:17 +0000 (0:00:00.030) 0:00:25.907 ******* 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_type7zu6ikb4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 09 January 2024 02:07:17 +0000 (0:00:00.020) 0:00:25.928 ******* included: /WORKDIR/git-route_type7zu6ikb4/.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_type7zu6ikb4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:07:17 +0000 (0:00:00.039) 0:00:25.967 ******* 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_type7zu6ikb4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 09 January 2024 02:07:17 +0000 (0:00:00.040) 0:00:26.008 ******* 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_type7zu6ikb4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 09 January 2024 02:07:17 +0000 (0:00:00.023) 0:00:26.031 ******* 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_type7zu6ikb4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 09 January 2024 02:07:17 +0000 (0:00:00.024) 0:00:26.056 ******* 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_type7zu6ikb4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 09 January 2024 02:07:20 +0000 (0:00:02.206) 0:00:28.262 ******* 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_type7zu6ikb4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 09 January 2024 02:07:20 +0000 (0:00:00.878) 0:00:29.141 ******* 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_type7zu6ikb4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 09 January 2024 02:07:20 +0000 (0:00:00.048) 0:00:29.189 ******* 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_type7zu6ikb4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 09 January 2024 02:07:20 +0000 (0:00:00.033) 0:00:29.223 ******* 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_type7zu6ikb4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 09 January 2024 02:07:21 +0000 (0:00:00.029) 0:00:29.252 ******* 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_type7zu6ikb4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 09 January 2024 02:07:21 +0000 (0:00:00.073) 0:00:29.325 ******* 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_type7zu6ikb4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 09 January 2024 02:07:21 +0000 (0:00:00.034) 0:00:29.360 ******* 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_type7zu6ikb4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 09 January 2024 02:07:21 +0000 (0:00:00.029) 0:00:29.389 ******* 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_type7zu6ikb4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 09 January 2024 02:07:21 +0000 (0:00:00.037) 0:00:29.427 ******* 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_type7zu6ikb4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 09 January 2024 02:07:21 +0000 (0:00:00.409) 0:00:29.837 ******* 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_type7zu6ikb4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 09 January 2024 02:07:21 +0000 (0:00:00.035) 0:00:29.872 ******* 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_type7zu6ikb4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 09 January 2024 02:07:21 +0000 (0:00:00.020) 0:00:29.893 ******* 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_type7zu6ikb4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 09 January 2024 02:07:21 +0000 (0:00:00.020) 0:00:29.913 ******* 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, 0a22c4fc-ae01-4599-9103-31a8f0dc782a [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 0a22c4fc-ae01-4599-9103-31a8f0dc782a (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_type7zu6ikb4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 09 January 2024 02:07:22 +0000 (0:00:00.565) 0:00:30.479 ******* 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_type7zu6ikb4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 09 January 2024 02:07:22 +0000 (0:00:00.027) 0:00:30.506 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 0a22c4fc-ae01-4599-9103-31a8f0dc782a", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 0a22c4fc-ae01-4599-9103-31a8f0dc782a (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type7zu6ikb4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 09 January 2024 02:07:22 +0000 (0:00:00.076) 0:00:30.583 ******* 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, 0a22c4fc-ae01-4599-9103-31a8f0dc782a\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 0a22c4fc-ae01-4599-9103-31a8f0dc782a (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 0a22c4fc-ae01-4599-9103-31a8f0dc782a", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 0a22c4fc-ae01-4599-9103-31a8f0dc782a (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type7zu6ikb4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 09 January 2024 02:07:22 +0000 (0:00:00.023) 0:00:30.607 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type7zu6ikb4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 09 January 2024 02:07:22 +0000 (0:00:00.024) 0:00:30.631 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_type7zu6ikb4/tests/playbooks/tests_auto_gateway.yml:110 Tuesday 09 January 2024 02:07:22 +0000 (0:00:00.243) 0:00:30.875 ******* included: /WORKDIR/git-route_type7zu6ikb4/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type7zu6ikb4/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 02:07:22 +0000 (0:00:00.088) 0:00:30.964 ******* included: /WORKDIR/git-route_type7zu6ikb4/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_type7zu6ikb4/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 02:07:22 +0000 (0:00:00.033) 0:00:30.997 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704766036.7644796, "block_size": 4096, "blocks": 0, "ctime": 1704766036.7644796, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26822, "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": 1704766036.7644796, "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_type7zu6ikb4/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 02:07:22 +0000 (0:00:00.220) 0:00:31.218 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-route_type7zu6ikb4/tests/playbooks/tests_auto_gateway.yml:112 Tuesday 09 January 2024 02:07:22 +0000 (0:00:00.020) 0:00:31.239 ******* included: /WORKDIR/git-route_type7zu6ikb4/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type7zu6ikb4/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 02:07:23 +0000 (0:00:00.046) 0:00:31.285 ******* included: /WORKDIR/git-route_type7zu6ikb4/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type7zu6ikb4/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 02:07:23 +0000 (0:00:00.031) 0:00:31.317 ******* 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_type7zu6ikb4/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 02:07:23 +0000 (0:00:00.020) 0:00:31.337 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type7zu6ikb4/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 02:07:23 +0000 (0:00:00.240) 0:00:31.577 ******* 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_type7zu6ikb4/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 02:07:23 +0000 (0:00:00.019) 0:00:31.597 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.022596", "end": "2024-01-09 02:07:23.549183", "rc": 0, "start": "2024-01-09 02:07:23.526587" } 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_type7zu6ikb4/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 02:07:23 +0000 (0:00:00.236) 0:00:31.834 ******* 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_type7zu6ikb4/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 02:07:23 +0000 (0:00:00.024) 0:00:31.858 ******* 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_type7zu6ikb4/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 02:07:23 +0000 (0:00:00.019) 0:00:31.878 ******* 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_type7zu6ikb4/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 02:07:23 +0000 (0:00:00.020) 0:00:31.899 ******* 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_type7zu6ikb4/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 02:07:23 +0000 (0:00:00.020) 0:00:31.919 ******* 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_type7zu6ikb4/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 02:07:23 +0000 (0:00:00.019) 0:00:31.938 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-route_type7zu6ikb4/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 02:07:23 +0000 (0:00:00.024) 0:00:31.963 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-route_type7zu6ikb4/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 02:07:23 +0000 (0:00:00.023) 0:00:31.986 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-route_type7zu6ikb4/tests/playbooks/tests_auto_gateway.yml:116 Tuesday 09 January 2024 02:07:23 +0000 (0:00:00.021) 0:00:32.007 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003949", "end": "2024-01-09 02:07:23.939375", "rc": 0, "start": "2024-01-09 02:07:23.935426" } STDOUT: default via 10.31.12.1 dev eth0 proto dhcp src 10.31.14.169 metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.14.169 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_type7zu6ikb4/tests/playbooks/tests_auto_gateway.yml:120 Tuesday 09 January 2024 02:07:23 +0000 (0:00:00.218) 0:00:32.225 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-route_type7zu6ikb4/tests/playbooks/tests_auto_gateway.yml:126 Tuesday 09 January 2024 02:07:23 +0000 (0:00:00.022) 0:00:32.248 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.004055", "end": "2024-01-09 02:07:24.185583", "rc": 0, "start": "2024-01-09 02:07:24.181528" } STDOUT: 2001:db8::/64 dev veth0 proto kernel metric 101 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 1024 pref medium fe80::/64 dev veth0 proto kernel metric 1024 pref medium TASK [Assert default ipv6 route is absent] ************************************* task path: /WORKDIR/git-route_type7zu6ikb4/tests/playbooks/tests_auto_gateway.yml:130 Tuesday 09 January 2024 02:07:24 +0000 (0:00:00.224) 0:00:32.472 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-route_type7zu6ikb4/tests/playbooks/tests_auto_gateway.yml:137 Tuesday 09 January 2024 02:07:24 +0000 (0:00:00.032) 0:00:32.505 ******* ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type7zu6ikb4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 09 January 2024 02:07:24 +0000 (0:00:00.031) 0:00:32.536 ******* included: /WORKDIR/git-route_type7zu6ikb4/.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_type7zu6ikb4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:07:24 +0000 (0:00:00.101) 0:00:32.638 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-route_type7zu6ikb4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 09 January 2024 02:07:24 +0000 (0:00:00.048) 0:00:32.686 ******* 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_type7zu6ikb4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 09 January 2024 02:07:24 +0000 (0:00:00.045) 0:00:32.732 ******* 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_type7zu6ikb4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 09 January 2024 02:07:24 +0000 (0:00:00.032) 0:00:32.765 ******* 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_type7zu6ikb4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 09 January 2024 02:07:26 +0000 (0:00:02.198) 0:00:34.963 ******* 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_type7zu6ikb4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 09 January 2024 02:07:27 +0000 (0:00:00.754) 0:00:35.718 ******* 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_type7zu6ikb4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 09 January 2024 02:07:27 +0000 (0:00:00.023) 0:00:35.741 ******* 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_type7zu6ikb4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 09 January 2024 02:07:27 +0000 (0:00:00.030) 0:00:35.772 ******* 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_type7zu6ikb4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 09 January 2024 02:07:27 +0000 (0:00:00.023) 0:00:35.795 ******* 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_type7zu6ikb4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 09 January 2024 02:07:27 +0000 (0:00:00.055) 0:00:35.851 ******* 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_type7zu6ikb4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 09 January 2024 02:07:27 +0000 (0:00:00.026) 0:00:35.877 ******* 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_type7zu6ikb4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 09 January 2024 02:07:27 +0000 (0:00:00.022) 0:00:35.899 ******* 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_type7zu6ikb4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 09 January 2024 02:07:27 +0000 (0:00:00.036) 0:00:35.935 ******* 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_type7zu6ikb4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 09 January 2024 02:07:28 +0000 (0:00:00.451) 0:00:36.387 ******* 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_type7zu6ikb4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 09 January 2024 02:07:28 +0000 (0:00:00.037) 0:00:36.425 ******* 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_type7zu6ikb4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 09 January 2024 02:07:28 +0000 (0:00:00.022) 0:00:36.447 ******* 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_type7zu6ikb4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 09 January 2024 02:07:28 +0000 (0:00:00.020) 0:00:36.468 ******* 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_type7zu6ikb4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 09 January 2024 02:07:28 +0000 (0:00:00.457) 0:00:36.926 ******* 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_type7zu6ikb4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 09 January 2024 02:07:28 +0000 (0:00:00.024) 0:00:36.951 ******* 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_type7zu6ikb4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 09 January 2024 02:07:28 +0000 (0:00:00.023) 0:00:36.974 ******* 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_type7zu6ikb4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 09 January 2024 02:07:28 +0000 (0:00:00.024) 0:00:36.999 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type7zu6ikb4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 09 January 2024 02:07:28 +0000 (0:00:00.026) 0:00:37.026 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_type7zu6ikb4/tests/playbooks/tests_auto_gateway.yml:149 Tuesday 09 January 2024 02:07:28 +0000 (0:00:00.225) 0:00:37.251 ******* included: /WORKDIR/git-route_type7zu6ikb4/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_type7zu6ikb4/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 09 January 2024 02:07:29 +0000 (0:00:00.049) 0:00:37.301 ******* 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_type7zu6ikb4/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 09 January 2024 02:07:29 +0000 (0:00:00.019) 0:00:37.321 ******* 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_type7zu6ikb4/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 09 January 2024 02:07:29 +0000 (0:00:00.018) 0:00:37.340 ******* included: /WORKDIR/git-route_type7zu6ikb4/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type7zu6ikb4/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 02:07:29 +0000 (0:00:00.032) 0:00:37.372 ******* included: /WORKDIR/git-route_type7zu6ikb4/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type7zu6ikb4/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 02:07:29 +0000 (0:00:00.064) 0:00:37.437 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003872", "end": "2024-01-09 02:07:29.373299", "rc": 0, "start": "2024-01-09 02:07:29.369427" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type7zu6ikb4/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 02:07:29 +0000 (0:00:00.221) 0:00:37.658 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type7zu6ikb4/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 02:07:29 +0000 (0:00:00.021) 0:00:37.679 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_type7zu6ikb4/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 09 January 2024 02:07:29 +0000 (0:00:00.021) 0:00:37.701 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_type7zu6ikb4/tests/playbooks/tasks/manage_test_interface.yml:23 Tuesday 09 January 2024 02:07:31 +0000 (0:00:02.219) 0:00:39.921 ******* 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_type7zu6ikb4/tests/playbooks/tasks/manage_test_interface.yml:31 Tuesday 09 January 2024 02:07:31 +0000 (0:00:00.027) 0:00:39.948 ******* 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_type7zu6ikb4/tests/playbooks/tasks/manage_test_interface.yml:39 Tuesday 09 January 2024 02:07:31 +0000 (0:00:00.021) 0:00:39.970 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.021668", "end": "2024-01-09 02:07:31.921780", "rc": 0, "start": "2024-01-09 02:07:31.900112" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_type7zu6ikb4/tests/playbooks/tasks/manage_test_interface.yml:45 Tuesday 09 January 2024 02:07:31 +0000 (0:00:00.256) 0:00:40.226 ******* 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_type7zu6ikb4/tests/playbooks/tasks/manage_test_interface.yml:50 Tuesday 09 January 2024 02:07:31 +0000 (0:00:00.025) 0:00:40.252 ******* 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_type7zu6ikb4/tests/playbooks/tasks/manage_test_interface.yml:56 Tuesday 09 January 2024 02:07:32 +0000 (0:00:00.022) 0:00:40.274 ******* 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_type7zu6ikb4/tests/playbooks/tasks/manage_test_interface.yml:61 Tuesday 09 January 2024 02:07:32 +0000 (0:00:00.022) 0:00:40.296 ******* skipping: [sut] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } PLAY RECAP ********************************************************************* sut : ok=125 changed=4 unreachable=0 failed=0 skipped=102 rescued=0 ignored=0 Tuesday 09 January 2024 02:07:32 +0000 (0:00:00.054) 0:00:40.351 ******* =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 2.32s /WORKDIR/git-route_type7zu6ikb4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Install iproute --------------------------------------------------------- 2.31s /WORKDIR/git-route_type7zu6ikb4/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.22s /WORKDIR/git-route_type7zu6ikb4/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.22s /WORKDIR/git-route_type7zu6ikb4/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.21s /WORKDIR/git-route_type7zu6ikb4/tests/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Check which services are running ---- 2.21s /WORKDIR/git-route_type7zu6ikb4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.20s /WORKDIR/git-route_type7zu6ikb4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.20s /WORKDIR/git-route_type7zu6ikb4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 0.96s /WORKDIR/git-route_type7zu6ikb4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gathering Facts --------------------------------------------------------- 0.89s /WORKDIR/git-route_type7zu6ikb4/tests/tests_auto_gateway_nm.yml:6 ------------- fedora.linux_system_roles.network : Check which packages are installed --- 0.88s /WORKDIR/git-route_type7zu6ikb4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 0.82s /WORKDIR/git-route_type7zu6ikb4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.80s /WORKDIR/git-route_type7zu6ikb4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Create veth interface veth0 --------------------------------------------- 0.76s /WORKDIR/git-route_type7zu6ikb4/tests/playbooks/tasks/manage_test_interface.yml:23 fedora.linux_system_roles.network : Check which packages are installed --- 0.75s /WORKDIR/git-route_type7zu6ikb4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gathering Facts --------------------------------------------------------- 0.71s /WORKDIR/git-route_type7zu6ikb4/tests/playbooks/tests_auto_gateway.yml:3 ------ Create veth interface veth0 --------------------------------------------- 0.70s /WORKDIR/git-route_type7zu6ikb4/tests/playbooks/tasks/manage_test_interface.yml:23 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.61s /WORKDIR/git-route_type7zu6ikb4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.57s /WORKDIR/git-route_type7zu6ikb4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.48s /WORKDIR/git-route_type7zu6ikb4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---