# 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_typetogog5_d/.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_typetogog5_d/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_typetogog5_d/tests/tests_auto_gateway_nm.yml:5 Thursday 21 December 2023 16:49:10 +0000 (0:00:00.039) 0:00:00.039 ***** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_typetogog5_d/tests/tests_auto_gateway_nm.yml:9 Thursday 21 December 2023 16:49:10 +0000 (0:00:00.877) 0:00:00.916 ***** included: /WORKDIR/git-route_typetogog5_d/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_typetogog5_d/tests/tasks/el_repo_setup.yml:3 Thursday 21 December 2023 16:49:10 +0000 (0:00:00.031) 0:00:00.947 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_typetogog5_d/tests/tasks/el_repo_setup.yml:17 Thursday 21 December 2023 16:49:11 +0000 (0:00:00.403) 0:00:01.351 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_typetogog5_d/tests/tasks/el_repo_setup.yml:22 Thursday 21 December 2023 16:49:11 +0000 (0:00:00.272) 0:00:01.623 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_typetogog5_d/tests/tasks/el_repo_setup.yml:26 Thursday 21 December 2023 16:49:11 +0000 (0:00:00.026) 0:00:01.650 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_typetogog5_d/tests/tasks/el_repo_setup.yml:51 Thursday 21 December 2023 16:49:11 +0000 (0:00:00.024) 0:00:01.675 ***** included: /WORKDIR/git-route_typetogog5_d/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 9] *********************************************************** task path: /WORKDIR/git-route_typetogog5_d/tests/tasks/enable_epel.yml:8 Thursday 21 December 2023 16:49:11 +0000 (0:00:00.023) 0:00:01.698 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-route_typetogog5_d/tests/tasks/enable_epel.yml:24 Thursday 21 December 2023 16:49:11 +0000 (0:00:00.016) 0:00:01.715 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-route_typetogog5_d/tests/tasks/enable_epel.yml:30 Thursday 21 December 2023 16:49:11 +0000 (0:00:00.009) 0:00:01.724 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_typetogog5_d/tests/tasks/enable_epel.yml:35 Thursday 21 December 2023 16:49:11 +0000 (0:00:00.019) 0:00:01.744 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_typetogog5_d/tests/tasks/enable_epel.yml:40 Thursday 21 December 2023 16:49:11 +0000 (0:00:00.009) 0:00:01.753 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-route_typetogog5_d/tests/tests_auto_gateway_nm.yml:11 Thursday 21 December 2023 16:49:11 +0000 (0:00:00.008) 0:00:01.762 ***** ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing auto_gateway setting] *********************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typetogog5_d/tests/playbooks/tests_auto_gateway.yml:3 Thursday 21 December 2023 16:49:11 +0000 (0:00:00.018) 0:00:01.780 ***** ok: [sut] TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typetogog5_d/tests/playbooks/tests_auto_gateway.yml:9 Thursday 21 December 2023 16:49:12 +0000 (0:00:00.614) 0:00:02.394 ***** included: /WORKDIR/git-route_typetogog5_d/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typetogog5_d/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 16:49:12 +0000 (0:00:00.022) 0:00:02.417 ***** included: /WORKDIR/git-route_typetogog5_d/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typetogog5_d/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 16:49:12 +0000 (0:00:00.010) 0:00:02.428 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003329", "end": "2023-12-21 16:49:12.668970", "rc": 0, "start": "2023-12-21 16:49:12.665641" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typetogog5_d/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 16:49:12 +0000 (0:00:00.259) 0:00:02.688 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typetogog5_d/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 16:49:12 +0000 (0:00:00.011) 0:00:02.699 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typetogog5_d/tests/playbooks/tests_auto_gateway.yml:11 Thursday 21 December 2023 16:49:12 +0000 (0:00:00.010) 0:00:02.709 ***** included: /WORKDIR/git-route_typetogog5_d/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typetogog5_d/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 21 December 2023 16:49:12 +0000 (0:00:00.025) 0:00:02.734 ***** 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_typetogog5_d/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 21 December 2023 16:49:12 +0000 (0:00:00.009) 0:00:02.744 ***** 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_typetogog5_d/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 21 December 2023 16:49:12 +0000 (0:00:00.008) 0:00:02.753 ***** included: /WORKDIR/git-route_typetogog5_d/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typetogog5_d/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 16:49:12 +0000 (0:00:00.011) 0:00:02.764 ***** included: /WORKDIR/git-route_typetogog5_d/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typetogog5_d/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 16:49:12 +0000 (0:00:00.010) 0:00:02.774 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003395", "end": "2023-12-21 16:49:12.945881", "rc": 0, "start": "2023-12-21 16:49:12.942486" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typetogog5_d/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 16:49:12 +0000 (0:00:00.192) 0:00:02.967 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typetogog5_d/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 16:49:12 +0000 (0:00:00.011) 0:00:02.978 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typetogog5_d/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 21 December 2023 16:49:12 +0000 (0:00:00.010) 0:00:02.989 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typetogog5_d/tests/playbooks/tasks/manage_test_interface.yml:23 Thursday 21 December 2023 16:49:14 +0000 (0:00:01.936) 0:00:04.925 ***** 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.019506", "end": "2023-12-21 16:49:15.124462", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2023-12-21 16:49:15.104956" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003688", "end": "2023-12-21 16:49:15.345297", "item": "ip link set peerveth0 up", "rc": 0, "start": "2023-12-21 16:49:15.341609" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.003976", "end": "2023-12-21 16:49:15.527839", "item": "ip link set veth0 up", "rc": 0, "start": "2023-12-21 16:49:15.523863" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_typetogog5_d/tests/playbooks/tasks/manage_test_interface.yml:31 Thursday 21 December 2023 16:49:15 +0000 (0:00:00.623) 0:00:05.548 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.140254", "end": "2023-12-21 16:49:15.859642", "rc": 0, "start": "2023-12-21 16:49:15.719388" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typetogog5_d/tests/playbooks/tasks/manage_test_interface.yml:39 Thursday 21 December 2023 16:49:15 +0000 (0:00:00.331) 0:00:05.879 ***** 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_typetogog5_d/tests/playbooks/tasks/manage_test_interface.yml:45 Thursday 21 December 2023 16:49:15 +0000 (0:00:00.010) 0:00:05.890 ***** 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_typetogog5_d/tests/playbooks/tasks/manage_test_interface.yml:50 Thursday 21 December 2023 16:49:15 +0000 (0:00:00.010) 0:00:05.901 ***** 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_typetogog5_d/tests/playbooks/tasks/manage_test_interface.yml:56 Thursday 21 December 2023 16:49:15 +0000 (0:00:00.010) 0:00:05.912 ***** 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_typetogog5_d/tests/playbooks/tasks/manage_test_interface.yml:61 Thursday 21 December 2023 16:49:15 +0000 (0:00:00.010) 0:00:05.923 ***** 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_typetogog5_d/tests/playbooks/tests_auto_gateway.yml:15 Thursday 21 December 2023 16:49:15 +0000 (0:00:00.008) 0:00:05.931 ***** included: /WORKDIR/git-route_typetogog5_d/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typetogog5_d/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 21 December 2023 16:49:15 +0000 (0:00:00.031) 0:00:05.963 ***** included: /WORKDIR/git-route_typetogog5_d/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_typetogog5_d/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 21 December 2023 16:49:15 +0000 (0:00:00.012) 0:00:05.975 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1703177355.1189344, "block_size": 4096, "blocks": 0, "ctime": 1703177355.1189344, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 23016, "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": 1703177355.1189344, "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_typetogog5_d/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 21 December 2023 16:49:16 +0000 (0:00:00.191) 0:00:06.166 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /WORKDIR/git-route_typetogog5_d/tests/playbooks/tests_auto_gateway.yml:17 Thursday 21 December 2023 16:49:16 +0000 (0:00:00.011) 0:00:06.177 ***** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typetogog5_d/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 21 December 2023 16:49:16 +0000 (0:00:00.009) 0:00:06.187 ***** included: /WORKDIR/git-route_typetogog5_d/.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_typetogog5_d/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 21 December 2023 16:49:16 +0000 (0:00:00.015) 0:00:06.203 ***** 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_typetogog5_d/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 21 December 2023 16:49:16 +0000 (0:00:00.018) 0:00:06.222 ***** 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_typetogog5_d/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 21 December 2023 16:49:16 +0000 (0:00:00.017) 0:00:06.239 ***** 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_typetogog5_d/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 21 December 2023 16:49:16 +0000 (0:00:00.012) 0:00:06.252 ***** 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_typetogog5_d/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 21 December 2023 16:49:17 +0000 (0:00:01.505) 0:00:07.758 ***** 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_typetogog5_d/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 21 December 2023 16:49:18 +0000 (0:00:01.154) 0:00:08.912 ***** 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_typetogog5_d/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 21 December 2023 16:49:18 +0000 (0:00:00.021) 0:00:08.934 ***** 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_typetogog5_d/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 21 December 2023 16:49:18 +0000 (0:00:00.024) 0:00:08.958 ***** 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_typetogog5_d/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 21 December 2023 16:49:18 +0000 (0:00:00.022) 0:00:08.980 ***** 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_typetogog5_d/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 21 December 2023 16:49:19 +0000 (0:00:00.051) 0:00:09.032 ***** 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_typetogog5_d/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 21 December 2023 16:49:19 +0000 (0:00:00.022) 0:00:09.055 ***** 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_typetogog5_d/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 21 December 2023 16:49:19 +0000 (0:00:00.022) 0:00:09.077 ***** 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_typetogog5_d/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 21 December 2023 16:49:19 +0000 (0:00:00.062) 0:00:09.140 ***** 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_typetogog5_d/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 21 December 2023 16:49:19 +0000 (0:00:00.570) 0:00:09.710 ***** 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_typetogog5_d/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 21 December 2023 16:49:19 +0000 (0:00:00.034) 0:00:09.744 ***** 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_typetogog5_d/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 21 December 2023 16:49:19 +0000 (0:00:00.018) 0:00:09.763 ***** 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_typetogog5_d/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 21 December 2023 16:49:19 +0000 (0:00:00.018) 0:00:09.782 ***** 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, c417c22f-cfdd-43d5-abbb-18b1d758f075 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, c417c22f-cfdd-43d5-abbb-18b1d758f075 (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_typetogog5_d/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 21 December 2023 16:49:20 +0000 (0:00:00.903) 0:00:10.685 ***** 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_typetogog5_d/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 21 December 2023 16:49:20 +0000 (0:00:00.028) 0:00:10.713 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, c417c22f-cfdd-43d5-abbb-18b1d758f075", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, c417c22f-cfdd-43d5-abbb-18b1d758f075 (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typetogog5_d/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 21 December 2023 16:49:20 +0000 (0:00:00.023) 0:00:10.737 ***** 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, c417c22f-cfdd-43d5-abbb-18b1d758f075\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, c417c22f-cfdd-43d5-abbb-18b1d758f075 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, c417c22f-cfdd-43d5-abbb-18b1d758f075", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, c417c22f-cfdd-43d5-abbb-18b1d758f075 (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typetogog5_d/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 21 December 2023 16:49:20 +0000 (0:00:00.026) 0:00:10.763 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typetogog5_d/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 21 December 2023 16:49:20 +0000 (0:00:00.024) 0:00:10.787 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_typetogog5_d/tests/playbooks/tests_auto_gateway.yml:42 Thursday 21 December 2023 16:49:21 +0000 (0:00:00.364) 0:00:11.152 ***** included: /WORKDIR/git-route_typetogog5_d/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typetogog5_d/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 21 December 2023 16:49:21 +0000 (0:00:00.045) 0:00:11.198 ***** included: /WORKDIR/git-route_typetogog5_d/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_typetogog5_d/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 21 December 2023 16:49:21 +0000 (0:00:00.030) 0:00:11.229 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1703177355.1189344, "block_size": 4096, "blocks": 0, "ctime": 1703177355.1189344, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 23016, "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": 1703177355.1189344, "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_typetogog5_d/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 21 December 2023 16:49:21 +0000 (0:00:00.204) 0:00:11.434 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-route_typetogog5_d/tests/playbooks/tests_auto_gateway.yml:44 Thursday 21 December 2023 16:49:21 +0000 (0:00:00.021) 0:00:11.455 ***** included: /WORKDIR/git-route_typetogog5_d/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typetogog5_d/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 21 December 2023 16:49:21 +0000 (0:00:00.080) 0:00:11.536 ***** included: /WORKDIR/git-route_typetogog5_d/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typetogog5_d/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 21 December 2023 16:49:21 +0000 (0:00:00.036) 0:00:11.572 ***** 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_typetogog5_d/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 21 December 2023 16:49:21 +0000 (0:00:00.023) 0:00:11.596 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typetogog5_d/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 21 December 2023 16:49:21 +0000 (0:00:00.220) 0:00:11.816 ***** 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_typetogog5_d/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 21 December 2023 16:49:21 +0000 (0:00:00.018) 0:00:11.835 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.121737", "end": "2023-12-21 16:49:22.123720", "rc": 0, "start": "2023-12-21 16:49:22.001983" } 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_typetogog5_d/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 21 December 2023 16:49:22 +0000 (0:00:00.320) 0:00:12.155 ***** 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_typetogog5_d/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 21 December 2023 16:49:22 +0000 (0:00:00.025) 0:00:12.180 ***** 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_typetogog5_d/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 21 December 2023 16:49:22 +0000 (0:00:00.020) 0:00:12.201 ***** 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_typetogog5_d/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 21 December 2023 16:49:22 +0000 (0:00:00.021) 0:00:12.222 ***** 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_typetogog5_d/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 21 December 2023 16:49:22 +0000 (0:00:00.018) 0:00:12.241 ***** 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_typetogog5_d/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 21 December 2023 16:49:22 +0000 (0:00:00.019) 0:00:12.261 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-route_typetogog5_d/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 21 December 2023 16:49:22 +0000 (0:00:00.021) 0:00:12.282 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-route_typetogog5_d/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 21 December 2023 16:49:22 +0000 (0:00:00.021) 0:00:12.304 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-route_typetogog5_d/tests/playbooks/tests_auto_gateway.yml:48 Thursday 21 December 2023 16:49:22 +0000 (0:00:00.023) 0:00:12.327 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003703", "end": "2023-12-21 16:49:22.498530", "rc": 0, "start": "2023-12-21 16:49:22.494827" } STDOUT: default via 10.31.12.1 dev eth0 proto dhcp src 10.31.15.241 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.15.241 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_typetogog5_d/tests/playbooks/tests_auto_gateway.yml:52 Thursday 21 December 2023 16:49:22 +0000 (0:00:00.200) 0:00:12.528 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-route_typetogog5_d/tests/playbooks/tests_auto_gateway.yml:58 Thursday 21 December 2023 16:49:22 +0000 (0:00:00.025) 0:00:12.554 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003418", "end": "2023-12-21 16:49:22.723179", "rc": 0, "start": "2023-12-21 16:49:22.719761" } STDOUT: ::1 dev lo proto kernel metric 256 pref medium 2001:db8::/64 dev veth0 proto kernel metric 101 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium fe80::/64 dev veth0 proto kernel metric 1024 pref medium default via 2001:db8::1 dev veth0 proto static metric 101 pref medium TASK [Assert default ipv6 route is present] ************************************ task path: /WORKDIR/git-route_typetogog5_d/tests/playbooks/tests_auto_gateway.yml:62 Thursday 21 December 2023 16:49:22 +0000 (0:00:00.197) 0:00:12.752 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-route_typetogog5_d/tests/playbooks/tests_auto_gateway.yml:69 Thursday 21 December 2023 16:49:22 +0000 (0:00:00.053) 0:00:12.805 ***** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typetogog5_d/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 21 December 2023 16:49:22 +0000 (0:00:00.020) 0:00:12.826 ***** included: /WORKDIR/git-route_typetogog5_d/.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_typetogog5_d/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 21 December 2023 16:49:22 +0000 (0:00:00.035) 0:00:12.862 ***** 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_typetogog5_d/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 21 December 2023 16:49:22 +0000 (0:00:00.033) 0:00:12.895 ***** 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_typetogog5_d/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 21 December 2023 16:49:22 +0000 (0:00:00.022) 0:00:12.917 ***** 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_typetogog5_d/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 21 December 2023 16:49:22 +0000 (0:00:00.028) 0:00:12.945 ***** 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_typetogog5_d/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 21 December 2023 16:49:24 +0000 (0:00:01.447) 0:00:14.393 ***** 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_typetogog5_d/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 21 December 2023 16:49:25 +0000 (0:00:00.943) 0:00:15.337 ***** 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_typetogog5_d/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 21 December 2023 16:49:25 +0000 (0:00:00.024) 0:00:15.362 ***** 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_typetogog5_d/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 21 December 2023 16:49:25 +0000 (0:00:00.022) 0:00:15.385 ***** 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_typetogog5_d/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 21 December 2023 16:49:25 +0000 (0:00:00.022) 0:00:15.407 ***** 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_typetogog5_d/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 21 December 2023 16:49:25 +0000 (0:00:00.053) 0:00:15.460 ***** 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_typetogog5_d/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 21 December 2023 16:49:25 +0000 (0:00:00.022) 0:00:15.482 ***** 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_typetogog5_d/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 21 December 2023 16:49:25 +0000 (0:00:00.022) 0:00:15.505 ***** 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_typetogog5_d/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 21 December 2023 16:49:25 +0000 (0:00:00.033) 0:00:15.539 ***** 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_typetogog5_d/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 21 December 2023 16:49:25 +0000 (0:00:00.450) 0:00:15.989 ***** 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_typetogog5_d/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 21 December 2023 16:49:26 +0000 (0:00:00.036) 0:00:16.025 ***** 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_typetogog5_d/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 21 December 2023 16:49:26 +0000 (0:00:00.025) 0:00:16.051 ***** 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_typetogog5_d/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 21 December 2023 16:49:26 +0000 (0:00:00.019) 0:00:16.070 ***** 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_typetogog5_d/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 21 December 2023 16:49:26 +0000 (0:00:00.434) 0:00:16.504 ***** 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_typetogog5_d/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 21 December 2023 16:49:26 +0000 (0:00:00.027) 0:00:16.532 ***** 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_typetogog5_d/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 21 December 2023 16:49:26 +0000 (0:00:00.025) 0:00:16.557 ***** 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_typetogog5_d/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 21 December 2023 16:49:26 +0000 (0:00:00.023) 0:00:16.581 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typetogog5_d/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 21 December 2023 16:49:26 +0000 (0:00:00.023) 0:00:16.605 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typetogog5_d/tests/playbooks/tests_auto_gateway.yml:81 Thursday 21 December 2023 16:49:26 +0000 (0:00:00.204) 0:00:16.809 ***** included: /WORKDIR/git-route_typetogog5_d/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typetogog5_d/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 21 December 2023 16:49:26 +0000 (0:00:00.045) 0:00:16.855 ***** 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_typetogog5_d/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 21 December 2023 16:49:26 +0000 (0:00:00.018) 0:00:16.873 ***** 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_typetogog5_d/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 21 December 2023 16:49:26 +0000 (0:00:00.017) 0:00:16.890 ***** included: /WORKDIR/git-route_typetogog5_d/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typetogog5_d/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 16:49:26 +0000 (0:00:00.029) 0:00:16.920 ***** included: /WORKDIR/git-route_typetogog5_d/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typetogog5_d/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 16:49:26 +0000 (0:00:00.062) 0:00:16.983 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003381", "end": "2023-12-21 16:49:27.155339", "rc": 0, "start": "2023-12-21 16:49:27.151958" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typetogog5_d/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 16:49:27 +0000 (0:00:00.206) 0:00:17.189 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typetogog5_d/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 16:49:27 +0000 (0:00:00.024) 0:00:17.214 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typetogog5_d/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 21 December 2023 16:49:27 +0000 (0:00:00.020) 0:00:17.234 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typetogog5_d/tests/playbooks/tasks/manage_test_interface.yml:23 Thursday 21 December 2023 16:49:28 +0000 (0:00:00.865) 0:00:18.100 ***** 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_typetogog5_d/tests/playbooks/tasks/manage_test_interface.yml:31 Thursday 21 December 2023 16:49:28 +0000 (0:00:00.027) 0:00:18.127 ***** 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_typetogog5_d/tests/playbooks/tasks/manage_test_interface.yml:39 Thursday 21 December 2023 16:49:28 +0000 (0:00:00.018) 0:00:18.146 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.016114", "end": "2023-12-21 16:49:28.333869", "rc": 0, "start": "2023-12-21 16:49:28.317755" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typetogog5_d/tests/playbooks/tasks/manage_test_interface.yml:45 Thursday 21 December 2023 16:49:28 +0000 (0:00:00.228) 0:00:18.374 ***** 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_typetogog5_d/tests/playbooks/tasks/manage_test_interface.yml:50 Thursday 21 December 2023 16:49:28 +0000 (0:00:00.027) 0:00:18.402 ***** 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_typetogog5_d/tests/playbooks/tasks/manage_test_interface.yml:56 Thursday 21 December 2023 16:49:28 +0000 (0:00:00.022) 0:00:18.425 ***** 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_typetogog5_d/tests/playbooks/tasks/manage_test_interface.yml:61 Thursday 21 December 2023 16:49:28 +0000 (0:00:00.022) 0:00:18.447 ***** 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_typetogog5_d/tests/playbooks/tests_auto_gateway.yml:85 Thursday 21 December 2023 16:49:28 +0000 (0:00:00.019) 0:00:18.466 ***** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typetogog5_d/tests/playbooks/tests_auto_gateway.yml:89 Thursday 21 December 2023 16:49:28 +0000 (0:00:00.020) 0:00:18.487 ***** included: /WORKDIR/git-route_typetogog5_d/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typetogog5_d/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 21 December 2023 16:49:28 +0000 (0:00:00.047) 0:00:18.534 ***** 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_typetogog5_d/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 21 December 2023 16:49:28 +0000 (0:00:00.026) 0:00:18.560 ***** 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_typetogog5_d/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 21 December 2023 16:49:28 +0000 (0:00:00.025) 0:00:18.586 ***** included: /WORKDIR/git-route_typetogog5_d/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typetogog5_d/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 16:49:28 +0000 (0:00:00.032) 0:00:18.618 ***** included: /WORKDIR/git-route_typetogog5_d/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typetogog5_d/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 16:49:28 +0000 (0:00:00.061) 0:00:18.679 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003234", "end": "2023-12-21 16:49:28.849194", "rc": 0, "start": "2023-12-21 16:49:28.845960" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typetogog5_d/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 16:49:28 +0000 (0:00:00.204) 0:00:18.884 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typetogog5_d/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 16:49:28 +0000 (0:00:00.026) 0:00:18.911 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typetogog5_d/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 21 December 2023 16:49:28 +0000 (0:00:00.021) 0:00:18.933 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typetogog5_d/tests/playbooks/tasks/manage_test_interface.yml:23 Thursday 21 December 2023 16:49:29 +0000 (0:00:00.855) 0:00:19.788 ***** 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.011263", "end": "2023-12-21 16:49:29.973640", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2023-12-21 16:49:29.962377" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003380", "end": "2023-12-21 16:49:30.180178", "item": "ip link set peerveth0 up", "rc": 0, "start": "2023-12-21 16:49:30.176798" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.003558", "end": "2023-12-21 16:49:30.386037", "item": "ip link set veth0 up", "rc": 0, "start": "2023-12-21 16:49:30.382479" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_typetogog5_d/tests/playbooks/tasks/manage_test_interface.yml:31 Thursday 21 December 2023 16:49:30 +0000 (0:00:00.631) 0:00:20.420 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.021268", "end": "2023-12-21 16:49:30.613188", "rc": 0, "start": "2023-12-21 16:49:30.591920" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typetogog5_d/tests/playbooks/tasks/manage_test_interface.yml:39 Thursday 21 December 2023 16:49:30 +0000 (0:00:00.222) 0:00:20.642 ***** 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_typetogog5_d/tests/playbooks/tasks/manage_test_interface.yml:45 Thursday 21 December 2023 16:49:30 +0000 (0:00:00.021) 0:00:20.664 ***** 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_typetogog5_d/tests/playbooks/tasks/manage_test_interface.yml:50 Thursday 21 December 2023 16:49:30 +0000 (0:00:00.022) 0:00:20.686 ***** 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_typetogog5_d/tests/playbooks/tasks/manage_test_interface.yml:56 Thursday 21 December 2023 16:49:30 +0000 (0:00:00.022) 0:00:20.709 ***** 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_typetogog5_d/tests/playbooks/tasks/manage_test_interface.yml:61 Thursday 21 December 2023 16:49:30 +0000 (0:00:00.022) 0:00:20.732 ***** 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_typetogog5_d/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 21 December 2023 16:49:30 +0000 (0:00:00.025) 0:00:20.757 ***** included: /WORKDIR/git-route_typetogog5_d/.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_typetogog5_d/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 21 December 2023 16:49:30 +0000 (0:00:00.039) 0:00:20.796 ***** 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_typetogog5_d/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 21 December 2023 16:49:30 +0000 (0:00:00.035) 0:00:20.832 ***** 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_typetogog5_d/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 21 December 2023 16:49:30 +0000 (0:00:00.026) 0:00:20.859 ***** 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_typetogog5_d/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 21 December 2023 16:49:30 +0000 (0:00:00.025) 0:00:20.884 ***** 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_typetogog5_d/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 21 December 2023 16:49:32 +0000 (0:00:01.448) 0:00:22.332 ***** 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_typetogog5_d/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 21 December 2023 16:49:33 +0000 (0:00:00.925) 0:00:23.258 ***** 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_typetogog5_d/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 21 December 2023 16:49:33 +0000 (0:00:00.023) 0:00:23.281 ***** 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_typetogog5_d/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 21 December 2023 16:49:33 +0000 (0:00:00.026) 0:00:23.307 ***** 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_typetogog5_d/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 21 December 2023 16:49:33 +0000 (0:00:00.024) 0:00:23.331 ***** 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_typetogog5_d/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 21 December 2023 16:49:33 +0000 (0:00:00.051) 0:00:23.383 ***** 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_typetogog5_d/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 21 December 2023 16:49:33 +0000 (0:00:00.024) 0:00:23.408 ***** 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_typetogog5_d/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 21 December 2023 16:49:33 +0000 (0:00:00.023) 0:00:23.431 ***** 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_typetogog5_d/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 21 December 2023 16:49:33 +0000 (0:00:00.034) 0:00:23.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 : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-route_typetogog5_d/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 21 December 2023 16:49:33 +0000 (0:00:00.386) 0:00:23.851 ***** 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_typetogog5_d/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 21 December 2023 16:49:33 +0000 (0:00:00.033) 0:00:23.885 ***** 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_typetogog5_d/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 21 December 2023 16:49:33 +0000 (0:00:00.019) 0:00:23.904 ***** 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_typetogog5_d/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 21 December 2023 16:49:33 +0000 (0:00:00.019) 0:00:23.924 ***** 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, 144089af-2967-4ab7-ba45-73a96707049d [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 144089af-2967-4ab7-ba45-73a96707049d (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_typetogog5_d/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 21 December 2023 16:49:34 +0000 (0:00:00.409) 0:00:24.333 ***** 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_typetogog5_d/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 21 December 2023 16:49:34 +0000 (0:00:00.024) 0:00:24.357 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 144089af-2967-4ab7-ba45-73a96707049d", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 144089af-2967-4ab7-ba45-73a96707049d (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typetogog5_d/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 21 December 2023 16:49:34 +0000 (0:00:00.024) 0:00:24.382 ***** 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, 144089af-2967-4ab7-ba45-73a96707049d\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 144089af-2967-4ab7-ba45-73a96707049d (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 144089af-2967-4ab7-ba45-73a96707049d", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 144089af-2967-4ab7-ba45-73a96707049d (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typetogog5_d/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 21 December 2023 16:49:34 +0000 (0:00:00.062) 0:00:24.445 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typetogog5_d/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 21 December 2023 16:49:34 +0000 (0:00:00.022) 0:00:24.467 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_typetogog5_d/tests/playbooks/tests_auto_gateway.yml:110 Thursday 21 December 2023 16:49:34 +0000 (0:00:00.208) 0:00:24.676 ***** included: /WORKDIR/git-route_typetogog5_d/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typetogog5_d/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 21 December 2023 16:49:34 +0000 (0:00:00.048) 0:00:24.724 ***** included: /WORKDIR/git-route_typetogog5_d/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_typetogog5_d/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 21 December 2023 16:49:34 +0000 (0:00:00.029) 0:00:24.754 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1703177369.9668436, "block_size": 4096, "blocks": 0, "ctime": 1703177369.9668436, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 23602, "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": 1703177369.9668436, "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_typetogog5_d/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 21 December 2023 16:49:34 +0000 (0:00:00.194) 0:00:24.949 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-route_typetogog5_d/tests/playbooks/tests_auto_gateway.yml:112 Thursday 21 December 2023 16:49:34 +0000 (0:00:00.021) 0:00:24.970 ***** included: /WORKDIR/git-route_typetogog5_d/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typetogog5_d/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 21 December 2023 16:49:35 +0000 (0:00:00.046) 0:00:25.016 ***** included: /WORKDIR/git-route_typetogog5_d/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typetogog5_d/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 21 December 2023 16:49:35 +0000 (0:00:00.030) 0:00:25.047 ***** 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_typetogog5_d/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 21 December 2023 16:49:35 +0000 (0:00:00.020) 0:00:25.067 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typetogog5_d/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 21 December 2023 16:49:35 +0000 (0:00:00.200) 0:00:25.267 ***** 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_typetogog5_d/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 21 December 2023 16:49:35 +0000 (0:00:00.021) 0:00:25.288 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.020977", "end": "2023-12-21 16:49:35.477503", "rc": 0, "start": "2023-12-21 16:49:35.456526" } 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_typetogog5_d/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 21 December 2023 16:49:35 +0000 (0:00:00.232) 0:00:25.521 ***** 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_typetogog5_d/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 21 December 2023 16:49:35 +0000 (0:00:00.070) 0:00:25.591 ***** 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_typetogog5_d/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 21 December 2023 16:49:35 +0000 (0:00:00.024) 0:00:25.615 ***** 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_typetogog5_d/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 21 December 2023 16:49:35 +0000 (0:00:00.023) 0:00:25.639 ***** 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_typetogog5_d/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 21 December 2023 16:49:35 +0000 (0:00:00.032) 0:00:25.672 ***** 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_typetogog5_d/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 21 December 2023 16:49:35 +0000 (0:00:00.034) 0:00:25.706 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-route_typetogog5_d/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 21 December 2023 16:49:35 +0000 (0:00:00.032) 0:00:25.738 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-route_typetogog5_d/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 21 December 2023 16:49:35 +0000 (0:00:00.045) 0:00:25.784 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-route_typetogog5_d/tests/playbooks/tests_auto_gateway.yml:116 Thursday 21 December 2023 16:49:35 +0000 (0:00:00.040) 0:00:25.825 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003453", "end": "2023-12-21 16:49:36.036163", "rc": 0, "start": "2023-12-21 16:49:36.032710" } STDOUT: default via 10.31.12.1 dev eth0 proto dhcp src 10.31.15.241 metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.15.241 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_typetogog5_d/tests/playbooks/tests_auto_gateway.yml:120 Thursday 21 December 2023 16:49:36 +0000 (0:00:00.240) 0:00:26.066 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-route_typetogog5_d/tests/playbooks/tests_auto_gateway.yml:126 Thursday 21 December 2023 16:49:36 +0000 (0:00:00.050) 0:00:26.116 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003575", "end": "2023-12-21 16:49:36.310295", "rc": 0, "start": "2023-12-21 16:49:36.306720" } STDOUT: ::1 dev lo proto kernel metric 256 pref medium 2001:db8::/64 dev veth0 proto kernel metric 101 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium fe80::/64 dev veth0 proto kernel metric 1024 pref medium TASK [Assert default ipv6 route is absent] ************************************* task path: /WORKDIR/git-route_typetogog5_d/tests/playbooks/tests_auto_gateway.yml:130 Thursday 21 December 2023 16:49:36 +0000 (0:00:00.225) 0:00:26.341 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-route_typetogog5_d/tests/playbooks/tests_auto_gateway.yml:137 Thursday 21 December 2023 16:49:36 +0000 (0:00:00.027) 0:00:26.368 ***** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typetogog5_d/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 21 December 2023 16:49:36 +0000 (0:00:00.025) 0:00:26.394 ***** included: /WORKDIR/git-route_typetogog5_d/.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_typetogog5_d/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 21 December 2023 16:49:36 +0000 (0:00:00.038) 0:00:26.433 ***** 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_typetogog5_d/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 21 December 2023 16:49:36 +0000 (0:00:00.045) 0:00:26.478 ***** 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_typetogog5_d/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 21 December 2023 16:49:36 +0000 (0:00:00.025) 0:00:26.504 ***** 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_typetogog5_d/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 21 December 2023 16:49:36 +0000 (0:00:00.024) 0:00:26.528 ***** 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_typetogog5_d/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 21 December 2023 16:49:37 +0000 (0:00:01.467) 0:00:27.996 ***** 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_typetogog5_d/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 21 December 2023 16:49:38 +0000 (0:00:00.940) 0:00:28.937 ***** 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_typetogog5_d/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 21 December 2023 16:49:38 +0000 (0:00:00.022) 0:00:28.960 ***** 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_typetogog5_d/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 21 December 2023 16:49:38 +0000 (0:00:00.021) 0:00:28.982 ***** 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_typetogog5_d/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 21 December 2023 16:49:39 +0000 (0:00:00.022) 0:00:29.005 ***** 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_typetogog5_d/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 21 December 2023 16:49:39 +0000 (0:00:00.051) 0:00:29.056 ***** 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_typetogog5_d/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 21 December 2023 16:49:39 +0000 (0:00:00.023) 0:00:29.080 ***** 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_typetogog5_d/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 21 December 2023 16:49:39 +0000 (0:00:00.022) 0:00:29.102 ***** 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_typetogog5_d/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 21 December 2023 16:49:39 +0000 (0:00:00.039) 0:00:29.142 ***** 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_typetogog5_d/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 21 December 2023 16:49:39 +0000 (0:00:00.386) 0:00:29.528 ***** 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_typetogog5_d/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 21 December 2023 16:49:39 +0000 (0:00:00.035) 0:00:29.564 ***** 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_typetogog5_d/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 21 December 2023 16:49:39 +0000 (0:00:00.020) 0:00:29.585 ***** 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_typetogog5_d/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 21 December 2023 16:49:39 +0000 (0:00:00.020) 0:00:29.605 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_typetogog5_d/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 21 December 2023 16:49:40 +0000 (0:00:00.448) 0:00:30.053 ***** 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_typetogog5_d/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 21 December 2023 16:49:40 +0000 (0:00:00.032) 0:00:30.085 ***** 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_typetogog5_d/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 21 December 2023 16:49:40 +0000 (0:00:00.033) 0:00:30.118 ***** 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_typetogog5_d/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 21 December 2023 16:49:40 +0000 (0:00:00.113) 0:00:30.232 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typetogog5_d/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 21 December 2023 16:49:40 +0000 (0:00:00.037) 0:00:30.270 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typetogog5_d/tests/playbooks/tests_auto_gateway.yml:149 Thursday 21 December 2023 16:49:40 +0000 (0:00:00.219) 0:00:30.489 ***** included: /WORKDIR/git-route_typetogog5_d/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typetogog5_d/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 21 December 2023 16:49:40 +0000 (0:00:00.056) 0:00:30.545 ***** 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_typetogog5_d/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 21 December 2023 16:49:40 +0000 (0:00:00.019) 0:00:30.565 ***** 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_typetogog5_d/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 21 December 2023 16:49:40 +0000 (0:00:00.018) 0:00:30.583 ***** included: /WORKDIR/git-route_typetogog5_d/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typetogog5_d/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 16:49:40 +0000 (0:00:00.032) 0:00:30.615 ***** included: /WORKDIR/git-route_typetogog5_d/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typetogog5_d/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 16:49:40 +0000 (0:00:00.031) 0:00:30.646 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003377", "end": "2023-12-21 16:49:40.817434", "rc": 0, "start": "2023-12-21 16:49:40.814057" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typetogog5_d/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 16:49:40 +0000 (0:00:00.198) 0:00:30.845 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typetogog5_d/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 16:49:40 +0000 (0:00:00.020) 0:00:30.866 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typetogog5_d/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 21 December 2023 16:49:40 +0000 (0:00:00.021) 0:00:30.887 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typetogog5_d/tests/playbooks/tasks/manage_test_interface.yml:23 Thursday 21 December 2023 16:49:41 +0000 (0:00:00.849) 0:00:31.737 ***** 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_typetogog5_d/tests/playbooks/tasks/manage_test_interface.yml:31 Thursday 21 December 2023 16:49:41 +0000 (0:00:00.026) 0:00:31.763 ***** 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_typetogog5_d/tests/playbooks/tasks/manage_test_interface.yml:39 Thursday 21 December 2023 16:49:41 +0000 (0:00:00.023) 0:00:31.787 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.008412", "end": "2023-12-21 16:49:41.967668", "rc": 0, "start": "2023-12-21 16:49:41.959256" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typetogog5_d/tests/playbooks/tasks/manage_test_interface.yml:45 Thursday 21 December 2023 16:49:42 +0000 (0:00:00.229) 0:00:32.017 ***** 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_typetogog5_d/tests/playbooks/tasks/manage_test_interface.yml:50 Thursday 21 December 2023 16:49:42 +0000 (0:00:00.094) 0:00:32.111 ***** 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_typetogog5_d/tests/playbooks/tasks/manage_test_interface.yml:56 Thursday 21 December 2023 16:49:42 +0000 (0:00:00.021) 0:00:32.132 ***** 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_typetogog5_d/tests/playbooks/tasks/manage_test_interface.yml:61 Thursday 21 December 2023 16:49:42 +0000 (0:00:00.022) 0:00:32.155 ***** skipping: [sut] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } PLAY RECAP ********************************************************************* sut : ok=125 changed=4 unreachable=0 failed=0 skipped=102 rescued=0 ignored=0 Thursday 21 December 2023 16:49:42 +0000 (0:00:00.054) 0:00:32.209 ***** =============================================================================== Install iproute --------------------------------------------------------- 1.94s /WORKDIR/git-route_typetogog5_d/tests/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Check which services are running ---- 1.51s /WORKDIR/git-route_typetogog5_d/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.47s /WORKDIR/git-route_typetogog5_d/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.45s /WORKDIR/git-route_typetogog5_d/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.45s /WORKDIR/git-route_typetogog5_d/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.15s /WORKDIR/git-route_typetogog5_d/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 0.94s /WORKDIR/git-route_typetogog5_d/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 0.94s /WORKDIR/git-route_typetogog5_d/.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.93s /WORKDIR/git-route_typetogog5_d/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.90s /WORKDIR/git-route_typetogog5_d/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Gathering Facts --------------------------------------------------------- 0.88s /WORKDIR/git-route_typetogog5_d/tests/tests_auto_gateway_nm.yml:5 ------------- Install iproute --------------------------------------------------------- 0.87s /WORKDIR/git-route_typetogog5_d/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.86s /WORKDIR/git-route_typetogog5_d/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.85s /WORKDIR/git-route_typetogog5_d/tests/playbooks/tasks/manage_test_interface.yml:16 Create veth interface veth0 --------------------------------------------- 0.63s /WORKDIR/git-route_typetogog5_d/tests/playbooks/tasks/manage_test_interface.yml:23 Create veth interface veth0 --------------------------------------------- 0.62s /WORKDIR/git-route_typetogog5_d/tests/playbooks/tasks/manage_test_interface.yml:23 Gathering Facts --------------------------------------------------------- 0.61s /WORKDIR/git-route_typetogog5_d/tests/playbooks/tests_auto_gateway.yml:3 ------ fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.57s /WORKDIR/git-route_typetogog5_d/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.45s /WORKDIR/git-route_typetogog5_d/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.45s /WORKDIR/git-route_typetogog5_d/.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. ---^---^---^---^---^---