# 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_typel5f8otl5/.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_typel5f8otl5/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_typel5f8otl5/tests/tests_auto_gateway_nm.yml:5 Tuesday 19 December 2023 22:57:55 +0000 (0:00:00.016) 0:00:00.016 ****** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_typel5f8otl5/tests/tests_auto_gateway_nm.yml:9 Tuesday 19 December 2023 22:57:56 +0000 (0:00:00.927) 0:00:00.944 ****** included: /WORKDIR/git-route_typel5f8otl5/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_typel5f8otl5/tests/tasks/el_repo_setup.yml:3 Tuesday 19 December 2023 22:57:56 +0000 (0:00:00.011) 0:00:00.956 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_typel5f8otl5/tests/tasks/el_repo_setup.yml:17 Tuesday 19 December 2023 22:57:57 +0000 (0:00:00.422) 0:00:01.378 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_typel5f8otl5/tests/tasks/el_repo_setup.yml:22 Tuesday 19 December 2023 22:57:57 +0000 (0:00:00.289) 0:00:01.668 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_typel5f8otl5/tests/tasks/el_repo_setup.yml:26 Tuesday 19 December 2023 22:57:57 +0000 (0:00:00.013) 0:00:01.681 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == 'CentOS'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_typel5f8otl5/tests/tasks/el_repo_setup.yml:51 Tuesday 19 December 2023 22:57:57 +0000 (0:00:00.007) 0:00:01.688 ****** included: /WORKDIR/git-route_typel5f8otl5/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 39] ********************************************************** task path: /WORKDIR/git-route_typel5f8otl5/tests/tasks/enable_epel.yml:8 Tuesday 19 December 2023 22:57:57 +0000 (0:00:00.019) 0:00:01.708 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-route_typel5f8otl5/tests/tasks/enable_epel.yml:24 Tuesday 19 December 2023 22:57:57 +0000 (0:00:00.007) 0:00:01.715 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-route_typel5f8otl5/tests/tasks/enable_epel.yml:30 Tuesday 19 December 2023 22:57:57 +0000 (0:00:00.007) 0:00:01.723 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_typel5f8otl5/tests/tasks/enable_epel.yml:35 Tuesday 19 December 2023 22:57:57 +0000 (0:00:00.007) 0:00:01.730 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_typel5f8otl5/tests/tasks/enable_epel.yml:40 Tuesday 19 December 2023 22:57:57 +0000 (0:00:00.009) 0:00:01.740 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-route_typel5f8otl5/tests/tests_auto_gateway_nm.yml:11 Tuesday 19 December 2023 22:57:57 +0000 (0:00:00.007) 0:00:01.747 ****** ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing auto_gateway setting] *********************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typel5f8otl5/tests/playbooks/tests_auto_gateway.yml:3 Tuesday 19 December 2023 22:57:57 +0000 (0:00:00.018) 0:00:01.765 ****** ok: [sut] TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typel5f8otl5/tests/playbooks/tests_auto_gateway.yml:9 Tuesday 19 December 2023 22:57:58 +0000 (0:00:00.789) 0:00:02.555 ****** included: /WORKDIR/git-route_typel5f8otl5/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typel5f8otl5/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 19 December 2023 22:57:58 +0000 (0:00:00.022) 0:00:02.577 ****** included: /WORKDIR/git-route_typel5f8otl5/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typel5f8otl5/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 19 December 2023 22:57:58 +0000 (0:00:00.010) 0:00:02.588 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003765", "end": "2023-12-19 22:57:58.749933", "rc": 0, "start": "2023-12-19 22:57:58.746168" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typel5f8otl5/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 19 December 2023 22:57:58 +0000 (0:00:00.291) 0:00:02.880 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typel5f8otl5/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 19 December 2023 22:57:58 +0000 (0:00:00.009) 0:00:02.890 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typel5f8otl5/tests/playbooks/tests_auto_gateway.yml:11 Tuesday 19 December 2023 22:57:58 +0000 (0:00:00.009) 0:00:02.899 ****** included: /WORKDIR/git-route_typel5f8otl5/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typel5f8otl5/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 19 December 2023 22:57:58 +0000 (0:00:00.023) 0:00:02.923 ****** 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_typel5f8otl5/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 19 December 2023 22:57:58 +0000 (0:00:00.007) 0:00:02.931 ****** 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_typel5f8otl5/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 19 December 2023 22:57:58 +0000 (0:00:00.008) 0:00:02.940 ****** included: /WORKDIR/git-route_typel5f8otl5/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typel5f8otl5/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 19 December 2023 22:57:58 +0000 (0:00:00.011) 0:00:02.951 ****** included: /WORKDIR/git-route_typel5f8otl5/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typel5f8otl5/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 19 December 2023 22:57:58 +0000 (0:00:00.010) 0:00:02.961 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003762", "end": "2023-12-19 22:57:59.063985", "rc": 0, "start": "2023-12-19 22:57:59.060223" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typel5f8otl5/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 19 December 2023 22:57:59 +0000 (0:00:00.235) 0:00:03.196 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typel5f8otl5/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 19 December 2023 22:57:59 +0000 (0:00:00.011) 0:00:03.207 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typel5f8otl5/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 19 December 2023 22:57:59 +0000 (0:00:00.011) 0:00:03.219 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typel5f8otl5/tests/playbooks/tasks/manage_test_interface.yml:23 Tuesday 19 December 2023 22:58:01 +0000 (0:00:02.193) 0:00:05.412 ****** 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.094441", "end": "2023-12-19 22:58:01.613412", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2023-12-19 22:58:01.518971" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004165", "end": "2023-12-19 22:58:01.906616", "item": "ip link set peerveth0 up", "rc": 0, "start": "2023-12-19 22:58:01.902451" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004504", "end": "2023-12-19 22:58:02.137160", "item": "ip link set veth0 up", "rc": 0, "start": "2023-12-19 22:58:02.132656" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_typel5f8otl5/tests/playbooks/tasks/manage_test_interface.yml:31 Tuesday 19 December 2023 22:58:02 +0000 (0:00:00.856) 0:00:06.269 ****** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.260097", "end": "2023-12-19 22:58:02.630031", "rc": 0, "start": "2023-12-19 22:58:02.369934" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typel5f8otl5/tests/playbooks/tasks/manage_test_interface.yml:39 Tuesday 19 December 2023 22:58:02 +0000 (0:00:00.493) 0:00:06.762 ****** 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_typel5f8otl5/tests/playbooks/tasks/manage_test_interface.yml:45 Tuesday 19 December 2023 22:58:02 +0000 (0:00:00.009) 0:00:06.771 ****** 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_typel5f8otl5/tests/playbooks/tasks/manage_test_interface.yml:50 Tuesday 19 December 2023 22:58:02 +0000 (0:00:00.008) 0:00:06.780 ****** 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_typel5f8otl5/tests/playbooks/tasks/manage_test_interface.yml:56 Tuesday 19 December 2023 22:58:02 +0000 (0:00:00.008) 0:00:06.788 ****** 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_typel5f8otl5/tests/playbooks/tasks/manage_test_interface.yml:61 Tuesday 19 December 2023 22:58:02 +0000 (0:00:00.008) 0:00:06.797 ****** 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_typel5f8otl5/tests/playbooks/tests_auto_gateway.yml:15 Tuesday 19 December 2023 22:58:02 +0000 (0:00:00.007) 0:00:06.805 ****** included: /WORKDIR/git-route_typel5f8otl5/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typel5f8otl5/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 19 December 2023 22:58:02 +0000 (0:00:00.022) 0:00:06.827 ****** included: /WORKDIR/git-route_typel5f8otl5/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_typel5f8otl5/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 19 December 2023 22:58:02 +0000 (0:00:00.010) 0:00:06.838 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1703026681.611579, "block_size": 4096, "blocks": 0, "ctime": 1703026681.611579, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26236, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/veth0", "lnk_target": "../../devices/virtual/net/veth0", "mode": "0777", "mtime": 1703026681.611579, "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_typel5f8otl5/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 19 December 2023 22:58:02 +0000 (0:00:00.231) 0:00:07.069 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /WORKDIR/git-route_typel5f8otl5/tests/playbooks/tests_auto_gateway.yml:17 Tuesday 19 December 2023 22:58:02 +0000 (0:00:00.010) 0:00:07.080 ****** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typel5f8otl5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 19 December 2023 22:58:02 +0000 (0:00:00.009) 0:00:07.089 ****** included: /WORKDIR/git-route_typel5f8otl5/.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_typel5f8otl5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 19 December 2023 22:58:02 +0000 (0:00:00.015) 0:00:07.104 ****** 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_typel5f8otl5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 19 December 2023 22:58:03 +0000 (0:00:00.021) 0:00:07.126 ****** 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_typel5f8otl5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 19 December 2023 22:58:03 +0000 (0:00:00.012) 0:00:07.139 ****** 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_typel5f8otl5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 19 December 2023 22:58:03 +0000 (0:00:00.013) 0:00:07.152 ****** 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_typel5f8otl5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 19 December 2023 22:58:05 +0000 (0:00:02.254) 0:00:09.406 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-route_typel5f8otl5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 19 December 2023 22:58:06 +0000 (0:00:01.002) 0:00:10.409 ****** 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_typel5f8otl5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 19 December 2023 22:58:06 +0000 (0:00:00.021) 0:00:10.430 ****** 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_typel5f8otl5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 19 December 2023 22:58:06 +0000 (0:00:00.021) 0:00:10.451 ****** 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_typel5f8otl5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 19 December 2023 22:58:06 +0000 (0:00:00.020) 0:00:10.472 ****** 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_typel5f8otl5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 19 December 2023 22:58:06 +0000 (0:00:00.053) 0:00:10.525 ****** 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_typel5f8otl5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 19 December 2023 22:58:06 +0000 (0:00:00.047) 0:00:10.572 ****** 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_typel5f8otl5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 19 December 2023 22:58:06 +0000 (0:00:00.022) 0:00:10.595 ****** 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_typel5f8otl5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 19 December 2023 22:58:06 +0000 (0:00:00.033) 0:00:10.628 ****** 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_typel5f8otl5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 19 December 2023 22:58:07 +0000 (0:00:00.640) 0:00:11.269 ****** 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_typel5f8otl5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 19 December 2023 22:58:07 +0000 (0:00:00.033) 0:00:11.302 ****** 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_typel5f8otl5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 19 December 2023 22:58:07 +0000 (0:00:00.019) 0:00:11.321 ****** 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_typel5f8otl5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 19 December 2023 22:58:07 +0000 (0:00:00.018) 0:00:11.340 ****** 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, cbaade97-a80f-4596-be43-ce1d3a581e28 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, cbaade97-a80f-4596-be43-ce1d3a581e28 (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_typel5f8otl5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 19 December 2023 22:58:08 +0000 (0:00:00.953) 0:00:12.293 ****** 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_typel5f8otl5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 19 December 2023 22:58:08 +0000 (0:00:00.023) 0:00:12.317 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, cbaade97-a80f-4596-be43-ce1d3a581e28", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, cbaade97-a80f-4596-be43-ce1d3a581e28 (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typel5f8otl5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 19 December 2023 22:58:08 +0000 (0:00:00.026) 0:00:12.343 ****** 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, cbaade97-a80f-4596-be43-ce1d3a581e28\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, cbaade97-a80f-4596-be43-ce1d3a581e28 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, cbaade97-a80f-4596-be43-ce1d3a581e28", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, cbaade97-a80f-4596-be43-ce1d3a581e28 (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typel5f8otl5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 19 December 2023 22:58:08 +0000 (0:00:00.022) 0:00:12.366 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typel5f8otl5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 19 December 2023 22:58:08 +0000 (0:00:00.021) 0:00:12.388 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_typel5f8otl5/tests/playbooks/tests_auto_gateway.yml:42 Tuesday 19 December 2023 22:58:08 +0000 (0:00:00.334) 0:00:12.722 ****** included: /WORKDIR/git-route_typel5f8otl5/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typel5f8otl5/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 19 December 2023 22:58:08 +0000 (0:00:00.044) 0:00:12.766 ****** included: /WORKDIR/git-route_typel5f8otl5/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_typel5f8otl5/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 19 December 2023 22:58:08 +0000 (0:00:00.056) 0:00:12.823 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1703026681.611579, "block_size": 4096, "blocks": 0, "ctime": 1703026681.611579, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26236, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/veth0", "lnk_target": "../../devices/virtual/net/veth0", "mode": "0777", "mtime": 1703026681.611579, "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_typel5f8otl5/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 19 December 2023 22:58:08 +0000 (0:00:00.249) 0:00:13.072 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-route_typel5f8otl5/tests/playbooks/tests_auto_gateway.yml:44 Tuesday 19 December 2023 22:58:08 +0000 (0:00:00.021) 0:00:13.094 ****** included: /WORKDIR/git-route_typel5f8otl5/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typel5f8otl5/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 19 December 2023 22:58:09 +0000 (0:00:00.043) 0:00:13.137 ****** included: /WORKDIR/git-route_typel5f8otl5/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typel5f8otl5/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 19 December 2023 22:58:09 +0000 (0:00:00.034) 0:00:13.172 ****** 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_typel5f8otl5/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 19 December 2023 22:58:09 +0000 (0:00:00.020) 0:00:13.192 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typel5f8otl5/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 19 December 2023 22:58:09 +0000 (0:00:00.240) 0:00:13.433 ****** 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_typel5f8otl5/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 19 December 2023 22:58:09 +0000 (0:00:00.019) 0:00:13.452 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.110545", "end": "2023-12-19 22:58:09.664768", "rc": 0, "start": "2023-12-19 22:58:09.554223" } 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_typel5f8otl5/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 19 December 2023 22:58:09 +0000 (0:00:00.353) 0:00:13.806 ****** 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_typel5f8otl5/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 19 December 2023 22:58:09 +0000 (0:00:00.022) 0:00:13.829 ****** 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_typel5f8otl5/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 19 December 2023 22:58:09 +0000 (0:00:00.018) 0:00:13.848 ****** 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_typel5f8otl5/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 19 December 2023 22:58:09 +0000 (0:00:00.019) 0:00:13.867 ****** 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_typel5f8otl5/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 19 December 2023 22:58:09 +0000 (0:00:00.019) 0:00:13.887 ****** 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_typel5f8otl5/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 19 December 2023 22:58:09 +0000 (0:00:00.020) 0:00:13.908 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-route_typel5f8otl5/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 19 December 2023 22:58:09 +0000 (0:00:00.050) 0:00:13.958 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-route_typel5f8otl5/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 19 December 2023 22:58:09 +0000 (0:00:00.023) 0:00:13.982 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-route_typel5f8otl5/tests/playbooks/tests_auto_gateway.yml:48 Tuesday 19 December 2023 22:58:09 +0000 (0:00:00.021) 0:00:14.003 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003781", "end": "2023-12-19 22:58:10.107645", "rc": 0, "start": "2023-12-19 22:58:10.103864" } STDOUT: default via 10.31.44.1 dev eth0 proto dhcp src 10.31.45.184 metric 100 default via 203.0.113.1 dev veth0 proto static metric 65535 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.45.184 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_typel5f8otl5/tests/playbooks/tests_auto_gateway.yml:52 Tuesday 19 December 2023 22:58:10 +0000 (0:00:00.245) 0:00:14.249 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-route_typel5f8otl5/tests/playbooks/tests_auto_gateway.yml:58 Tuesday 19 December 2023 22:58:10 +0000 (0:00:00.022) 0:00:14.271 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003870", "end": "2023-12-19 22:58:10.376522", "rc": 0, "start": "2023-12-19 22:58:10.372652" } STDOUT: 2001:db8::/64 dev veth0 proto kernel metric 101 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 1024 pref medium fe80::/64 dev veth0 proto kernel metric 1024 pref medium default via 2001:db8::1 dev veth0 proto static metric 101 pref medium TASK [Assert default ipv6 route is present] ************************************ task path: /WORKDIR/git-route_typel5f8otl5/tests/playbooks/tests_auto_gateway.yml:62 Tuesday 19 December 2023 22:58:10 +0000 (0:00:00.245) 0:00:14.517 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-route_typel5f8otl5/tests/playbooks/tests_auto_gateway.yml:69 Tuesday 19 December 2023 22:58:10 +0000 (0:00:00.021) 0:00:14.538 ****** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typel5f8otl5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 19 December 2023 22:58:10 +0000 (0:00:00.019) 0:00:14.558 ****** included: /WORKDIR/git-route_typel5f8otl5/.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_typel5f8otl5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 19 December 2023 22:58:10 +0000 (0:00:00.033) 0:00:14.591 ****** 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_typel5f8otl5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 19 December 2023 22:58:10 +0000 (0:00:00.032) 0:00:14.623 ****** 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_typel5f8otl5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 19 December 2023 22:58:10 +0000 (0:00:00.021) 0:00:14.645 ****** 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_typel5f8otl5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 19 December 2023 22:58:10 +0000 (0:00:00.021) 0:00:14.667 ****** 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_typel5f8otl5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 19 December 2023 22:58:12 +0000 (0:00:02.146) 0:00:16.813 ****** 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_typel5f8otl5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 19 December 2023 22:58:13 +0000 (0:00:00.867) 0:00:17.680 ****** 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_typel5f8otl5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 19 December 2023 22:58:13 +0000 (0:00:00.022) 0:00:17.703 ****** 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_typel5f8otl5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 19 December 2023 22:58:13 +0000 (0:00:00.021) 0:00:17.724 ****** 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_typel5f8otl5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 19 December 2023 22:58:13 +0000 (0:00:00.022) 0:00:17.747 ****** 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_typel5f8otl5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 19 December 2023 22:58:13 +0000 (0:00:00.052) 0:00:17.800 ****** 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_typel5f8otl5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 19 December 2023 22:58:13 +0000 (0:00:00.022) 0:00:17.822 ****** 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_typel5f8otl5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 19 December 2023 22:58:13 +0000 (0:00:00.024) 0:00:17.846 ****** 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_typel5f8otl5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 19 December 2023 22:58:13 +0000 (0:00:00.035) 0:00:17.881 ****** 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_typel5f8otl5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 19 December 2023 22:58:14 +0000 (0:00:00.467) 0:00:18.349 ****** 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_typel5f8otl5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 19 December 2023 22:58:14 +0000 (0:00:00.033) 0:00:18.383 ****** 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_typel5f8otl5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 19 December 2023 22:58:14 +0000 (0:00:00.018) 0:00:18.401 ****** 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_typel5f8otl5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 19 December 2023 22:58:14 +0000 (0:00:00.018) 0:00:18.420 ****** 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_typel5f8otl5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 19 December 2023 22:58:14 +0000 (0:00:00.513) 0:00:18.934 ****** 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_typel5f8otl5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 19 December 2023 22:58:14 +0000 (0:00:00.022) 0:00:18.956 ****** 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_typel5f8otl5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 19 December 2023 22:58:14 +0000 (0:00:00.021) 0:00:18.978 ****** 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_typel5f8otl5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 19 December 2023 22:58:14 +0000 (0:00:00.021) 0:00:18.999 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typel5f8otl5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 19 December 2023 22:58:14 +0000 (0:00:00.050) 0:00:19.050 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typel5f8otl5/tests/playbooks/tests_auto_gateway.yml:81 Tuesday 19 December 2023 22:58:15 +0000 (0:00:00.245) 0:00:19.295 ****** included: /WORKDIR/git-route_typel5f8otl5/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typel5f8otl5/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 19 December 2023 22:58:15 +0000 (0:00:00.046) 0:00:19.341 ****** 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_typel5f8otl5/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 19 December 2023 22:58:15 +0000 (0:00:00.018) 0:00:19.360 ****** 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_typel5f8otl5/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 19 December 2023 22:58:15 +0000 (0:00:00.019) 0:00:19.379 ****** included: /WORKDIR/git-route_typel5f8otl5/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typel5f8otl5/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 19 December 2023 22:58:15 +0000 (0:00:00.030) 0:00:19.410 ****** included: /WORKDIR/git-route_typel5f8otl5/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typel5f8otl5/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 19 December 2023 22:58:15 +0000 (0:00:00.030) 0:00:19.440 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003576", "end": "2023-12-19 22:58:15.541296", "rc": 0, "start": "2023-12-19 22:58:15.537720" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typel5f8otl5/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 19 December 2023 22:58:15 +0000 (0:00:00.240) 0:00:19.681 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typel5f8otl5/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 19 December 2023 22:58:15 +0000 (0:00:00.021) 0:00:19.703 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typel5f8otl5/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 19 December 2023 22:58:15 +0000 (0:00:00.023) 0:00:19.726 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typel5f8otl5/tests/playbooks/tasks/manage_test_interface.yml:23 Tuesday 19 December 2023 22:58:17 +0000 (0:00:01.845) 0:00:21.571 ****** 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_typel5f8otl5/tests/playbooks/tasks/manage_test_interface.yml:31 Tuesday 19 December 2023 22:58:17 +0000 (0:00:00.027) 0:00:21.599 ****** 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_typel5f8otl5/tests/playbooks/tasks/manage_test_interface.yml:39 Tuesday 19 December 2023 22:58:17 +0000 (0:00:00.047) 0:00:21.646 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.008398", "end": "2023-12-19 22:58:17.759915", "rc": 0, "start": "2023-12-19 22:58:17.751517" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typel5f8otl5/tests/playbooks/tasks/manage_test_interface.yml:45 Tuesday 19 December 2023 22:58:17 +0000 (0:00:00.267) 0:00:21.913 ****** 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_typel5f8otl5/tests/playbooks/tasks/manage_test_interface.yml:50 Tuesday 19 December 2023 22:58:17 +0000 (0:00:00.023) 0:00:21.936 ****** 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_typel5f8otl5/tests/playbooks/tasks/manage_test_interface.yml:56 Tuesday 19 December 2023 22:58:17 +0000 (0:00:00.021) 0:00:21.958 ****** 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_typel5f8otl5/tests/playbooks/tasks/manage_test_interface.yml:61 Tuesday 19 December 2023 22:58:17 +0000 (0:00:00.020) 0:00:21.978 ****** 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_typel5f8otl5/tests/playbooks/tests_auto_gateway.yml:85 Tuesday 19 December 2023 22:58:17 +0000 (0:00:00.019) 0:00:21.998 ****** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typel5f8otl5/tests/playbooks/tests_auto_gateway.yml:89 Tuesday 19 December 2023 22:58:17 +0000 (0:00:00.020) 0:00:22.018 ****** included: /WORKDIR/git-route_typel5f8otl5/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typel5f8otl5/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 19 December 2023 22:58:17 +0000 (0:00:00.047) 0:00:22.065 ****** 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_typel5f8otl5/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 19 December 2023 22:58:17 +0000 (0:00:00.020) 0:00:22.085 ****** 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_typel5f8otl5/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 19 December 2023 22:58:17 +0000 (0:00:00.018) 0:00:22.104 ****** included: /WORKDIR/git-route_typel5f8otl5/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typel5f8otl5/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 19 December 2023 22:58:18 +0000 (0:00:00.029) 0:00:22.134 ****** included: /WORKDIR/git-route_typel5f8otl5/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typel5f8otl5/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 19 December 2023 22:58:18 +0000 (0:00:00.028) 0:00:22.163 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003651", "end": "2023-12-19 22:58:18.269573", "rc": 0, "start": "2023-12-19 22:58:18.265922" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typel5f8otl5/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 19 December 2023 22:58:18 +0000 (0:00:00.248) 0:00:22.411 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typel5f8otl5/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 19 December 2023 22:58:18 +0000 (0:00:00.021) 0:00:22.433 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typel5f8otl5/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 19 December 2023 22:58:18 +0000 (0:00:00.051) 0:00:22.484 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typel5f8otl5/tests/playbooks/tasks/manage_test_interface.yml:23 Tuesday 19 December 2023 22:58:20 +0000 (0:00:02.112) 0:00:24.596 ****** 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.008330", "end": "2023-12-19 22:58:20.707682", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2023-12-19 22:58:20.699352" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003906", "end": "2023-12-19 22:58:21.010216", "item": "ip link set peerveth0 up", "rc": 0, "start": "2023-12-19 22:58:21.006310" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.003860", "end": "2023-12-19 22:58:21.234088", "item": "ip link set veth0 up", "rc": 0, "start": "2023-12-19 22:58:21.230228" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_typel5f8otl5/tests/playbooks/tasks/manage_test_interface.yml:31 Tuesday 19 December 2023 22:58:21 +0000 (0:00:00.778) 0:00:25.375 ****** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.022311", "end": "2023-12-19 22:58:21.498085", "rc": 0, "start": "2023-12-19 22:58:21.475774" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typel5f8otl5/tests/playbooks/tasks/manage_test_interface.yml:39 Tuesday 19 December 2023 22:58:21 +0000 (0:00:00.265) 0:00:25.640 ****** 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_typel5f8otl5/tests/playbooks/tasks/manage_test_interface.yml:45 Tuesday 19 December 2023 22:58:21 +0000 (0:00:00.019) 0:00:25.660 ****** 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_typel5f8otl5/tests/playbooks/tasks/manage_test_interface.yml:50 Tuesday 19 December 2023 22:58:21 +0000 (0:00:00.018) 0:00:25.679 ****** 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_typel5f8otl5/tests/playbooks/tasks/manage_test_interface.yml:56 Tuesday 19 December 2023 22:58:21 +0000 (0:00:00.018) 0:00:25.697 ****** 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_typel5f8otl5/tests/playbooks/tasks/manage_test_interface.yml:61 Tuesday 19 December 2023 22:58:21 +0000 (0:00:00.019) 0:00:25.717 ****** 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_typel5f8otl5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 19 December 2023 22:58:21 +0000 (0:00:00.018) 0:00:25.735 ****** included: /WORKDIR/git-route_typel5f8otl5/.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_typel5f8otl5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 19 December 2023 22:58:21 +0000 (0:00:00.033) 0:00:25.769 ****** 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_typel5f8otl5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 19 December 2023 22:58:21 +0000 (0:00:00.032) 0:00:25.802 ****** 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_typel5f8otl5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 19 December 2023 22:58:21 +0000 (0:00:00.021) 0:00:25.824 ****** 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_typel5f8otl5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 19 December 2023 22:58:21 +0000 (0:00:00.022) 0:00:25.846 ****** 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_typel5f8otl5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 19 December 2023 22:58:23 +0000 (0:00:02.150) 0:00:27.997 ****** 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_typel5f8otl5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 19 December 2023 22:58:24 +0000 (0:00:00.896) 0:00:28.893 ****** 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_typel5f8otl5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 19 December 2023 22:58:24 +0000 (0:00:00.023) 0:00:28.917 ****** 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_typel5f8otl5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 19 December 2023 22:58:24 +0000 (0:00:00.022) 0:00:28.940 ****** 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_typel5f8otl5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 19 December 2023 22:58:24 +0000 (0:00:00.021) 0:00:28.962 ****** 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_typel5f8otl5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 19 December 2023 22:58:24 +0000 (0:00:00.052) 0:00:29.014 ****** 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_typel5f8otl5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 19 December 2023 22:58:24 +0000 (0:00:00.022) 0:00:29.036 ****** 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_typel5f8otl5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 19 December 2023 22:58:24 +0000 (0:00:00.022) 0:00:29.059 ****** 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_typel5f8otl5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 19 December 2023 22:58:24 +0000 (0:00:00.033) 0:00:29.093 ****** 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_typel5f8otl5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 19 December 2023 22:58:25 +0000 (0:00:00.466) 0:00:29.559 ****** 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_typel5f8otl5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 19 December 2023 22:58:25 +0000 (0:00:00.038) 0:00:29.597 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typel5f8otl5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 19 December 2023 22:58:25 +0000 (0:00:00.019) 0:00:29.617 ****** 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_typel5f8otl5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 19 December 2023 22:58:25 +0000 (0:00:00.018) 0:00:29.636 ****** 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, de0362bb-3674-4a21-89ea-609b94dc5bc5 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, de0362bb-3674-4a21-89ea-609b94dc5bc5 (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_typel5f8otl5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 19 December 2023 22:58:26 +0000 (0:00:00.489) 0:00:30.126 ****** 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_typel5f8otl5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 19 December 2023 22:58:26 +0000 (0:00:00.022) 0:00:30.148 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, de0362bb-3674-4a21-89ea-609b94dc5bc5", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, de0362bb-3674-4a21-89ea-609b94dc5bc5 (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typel5f8otl5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 19 December 2023 22:58:26 +0000 (0:00:00.020) 0:00:30.169 ****** 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, de0362bb-3674-4a21-89ea-609b94dc5bc5\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, de0362bb-3674-4a21-89ea-609b94dc5bc5 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, de0362bb-3674-4a21-89ea-609b94dc5bc5", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, de0362bb-3674-4a21-89ea-609b94dc5bc5 (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typel5f8otl5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 19 December 2023 22:58:26 +0000 (0:00:00.051) 0:00:30.220 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typel5f8otl5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 19 December 2023 22:58:26 +0000 (0:00:00.022) 0:00:30.243 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_typel5f8otl5/tests/playbooks/tests_auto_gateway.yml:110 Tuesday 19 December 2023 22:58:26 +0000 (0:00:00.249) 0:00:30.492 ****** included: /WORKDIR/git-route_typel5f8otl5/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typel5f8otl5/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 19 December 2023 22:58:26 +0000 (0:00:00.046) 0:00:30.539 ****** included: /WORKDIR/git-route_typel5f8otl5/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_typel5f8otl5/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 19 December 2023 22:58:26 +0000 (0:00:00.031) 0:00:30.570 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1703026700.70335, "block_size": 4096, "blocks": 0, "ctime": 1703026700.70335, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26822, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/veth0", "lnk_target": "../../devices/virtual/net/veth0", "mode": "0777", "mtime": 1703026700.70335, "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_typel5f8otl5/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 19 December 2023 22:58:26 +0000 (0:00:00.245) 0:00:30.816 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-route_typel5f8otl5/tests/playbooks/tests_auto_gateway.yml:112 Tuesday 19 December 2023 22:58:26 +0000 (0:00:00.021) 0:00:30.837 ****** included: /WORKDIR/git-route_typel5f8otl5/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typel5f8otl5/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 19 December 2023 22:58:26 +0000 (0:00:00.047) 0:00:30.884 ****** included: /WORKDIR/git-route_typel5f8otl5/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typel5f8otl5/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 19 December 2023 22:58:26 +0000 (0:00:00.030) 0:00:30.915 ****** 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_typel5f8otl5/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 19 December 2023 22:58:26 +0000 (0:00:00.020) 0:00:30.935 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typel5f8otl5/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 19 December 2023 22:58:27 +0000 (0:00:00.238) 0:00:31.174 ****** 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_typel5f8otl5/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 19 December 2023 22:58:27 +0000 (0:00:00.050) 0:00:31.224 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.021566", "end": "2023-12-19 22:58:27.346311", "rc": 0, "start": "2023-12-19 22:58:27.324745" } 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_typel5f8otl5/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 19 December 2023 22:58:27 +0000 (0:00:00.265) 0:00:31.489 ****** 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_typel5f8otl5/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 19 December 2023 22:58:27 +0000 (0:00:00.021) 0:00:31.510 ****** 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_typel5f8otl5/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 19 December 2023 22:58:27 +0000 (0:00:00.019) 0:00:31.529 ****** 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_typel5f8otl5/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 19 December 2023 22:58:27 +0000 (0:00:00.019) 0:00:31.549 ****** 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_typel5f8otl5/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 19 December 2023 22:58:27 +0000 (0:00:00.020) 0:00:31.570 ****** 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_typel5f8otl5/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 19 December 2023 22:58:27 +0000 (0:00:00.019) 0:00:31.589 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-route_typel5f8otl5/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 19 December 2023 22:58:27 +0000 (0:00:00.021) 0:00:31.611 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-route_typel5f8otl5/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 19 December 2023 22:58:27 +0000 (0:00:00.021) 0:00:31.633 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-route_typel5f8otl5/tests/playbooks/tests_auto_gateway.yml:116 Tuesday 19 December 2023 22:58:27 +0000 (0:00:00.021) 0:00:31.654 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.004068", "end": "2023-12-19 22:58:27.759329", "rc": 0, "start": "2023-12-19 22:58:27.755261" } STDOUT: default via 10.31.44.1 dev eth0 proto dhcp src 10.31.45.184 metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.45.184 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_typel5f8otl5/tests/playbooks/tests_auto_gateway.yml:120 Tuesday 19 December 2023 22:58:27 +0000 (0:00:00.245) 0:00:31.900 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-route_typel5f8otl5/tests/playbooks/tests_auto_gateway.yml:126 Tuesday 19 December 2023 22:58:27 +0000 (0:00:00.020) 0:00:31.921 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003775", "end": "2023-12-19 22:58:28.024679", "rc": 0, "start": "2023-12-19 22:58:28.020904" } STDOUT: 2001:db8::/64 dev veth0 proto kernel metric 101 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 1024 pref medium fe80::/64 dev veth0 proto kernel metric 1024 pref medium TASK [Assert default ipv6 route is absent] ************************************* task path: /WORKDIR/git-route_typel5f8otl5/tests/playbooks/tests_auto_gateway.yml:130 Tuesday 19 December 2023 22:58:28 +0000 (0:00:00.245) 0:00:32.166 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-route_typel5f8otl5/tests/playbooks/tests_auto_gateway.yml:137 Tuesday 19 December 2023 22:58:28 +0000 (0:00:00.021) 0:00:32.188 ****** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typel5f8otl5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 19 December 2023 22:58:28 +0000 (0:00:00.022) 0:00:32.211 ****** included: /WORKDIR/git-route_typel5f8otl5/.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_typel5f8otl5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 19 December 2023 22:58:28 +0000 (0:00:00.072) 0:00:32.284 ****** 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_typel5f8otl5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 19 December 2023 22:58:28 +0000 (0:00:00.033) 0:00:32.318 ****** 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_typel5f8otl5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 19 December 2023 22:58:28 +0000 (0:00:00.033) 0:00:32.352 ****** 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_typel5f8otl5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 19 December 2023 22:58:28 +0000 (0:00:00.030) 0:00:32.383 ****** 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_typel5f8otl5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 19 December 2023 22:58:30 +0000 (0:00:02.176) 0:00:34.559 ****** 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_typel5f8otl5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 19 December 2023 22:58:31 +0000 (0:00:00.817) 0:00:35.377 ****** 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_typel5f8otl5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 19 December 2023 22:58:31 +0000 (0:00:00.023) 0:00:35.400 ****** 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_typel5f8otl5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 19 December 2023 22:58:31 +0000 (0:00:00.022) 0:00:35.423 ****** 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_typel5f8otl5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 19 December 2023 22:58:31 +0000 (0:00:00.022) 0:00:35.445 ****** 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_typel5f8otl5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 19 December 2023 22:58:31 +0000 (0:00:00.052) 0:00:35.498 ****** 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_typel5f8otl5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 19 December 2023 22:58:31 +0000 (0:00:00.022) 0:00:35.521 ****** 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_typel5f8otl5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 19 December 2023 22:58:31 +0000 (0:00:00.024) 0:00:35.546 ****** 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_typel5f8otl5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 19 December 2023 22:58:31 +0000 (0:00:00.035) 0:00:35.581 ****** 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_typel5f8otl5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 19 December 2023 22:58:31 +0000 (0:00:00.469) 0:00:36.051 ****** 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_typel5f8otl5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 19 December 2023 22:58:32 +0000 (0:00:00.103) 0:00:36.154 ****** 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_typel5f8otl5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 19 December 2023 22:58:32 +0000 (0:00:00.021) 0:00:36.176 ****** 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_typel5f8otl5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 19 December 2023 22:58:32 +0000 (0:00:00.019) 0:00:36.195 ****** 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_typel5f8otl5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 19 December 2023 22:58:32 +0000 (0:00:00.502) 0:00:36.698 ****** 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_typel5f8otl5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 19 December 2023 22:58:32 +0000 (0:00:00.025) 0:00:36.724 ****** 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_typel5f8otl5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 19 December 2023 22:58:32 +0000 (0:00:00.022) 0:00:36.747 ****** 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_typel5f8otl5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 19 December 2023 22:58:32 +0000 (0:00:00.024) 0:00:36.771 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typel5f8otl5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 19 December 2023 22:58:32 +0000 (0:00:00.023) 0:00:36.795 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typel5f8otl5/tests/playbooks/tests_auto_gateway.yml:149 Tuesday 19 December 2023 22:58:32 +0000 (0:00:00.247) 0:00:37.042 ****** included: /WORKDIR/git-route_typel5f8otl5/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typel5f8otl5/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 19 December 2023 22:58:32 +0000 (0:00:00.050) 0:00:37.093 ****** 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_typel5f8otl5/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 19 December 2023 22:58:33 +0000 (0:00:00.019) 0:00:37.112 ****** 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_typel5f8otl5/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 19 December 2023 22:58:33 +0000 (0:00:00.018) 0:00:37.131 ****** included: /WORKDIR/git-route_typel5f8otl5/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typel5f8otl5/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 19 December 2023 22:58:33 +0000 (0:00:00.029) 0:00:37.161 ****** included: /WORKDIR/git-route_typel5f8otl5/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typel5f8otl5/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 19 December 2023 22:58:33 +0000 (0:00:00.059) 0:00:37.220 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003660", "end": "2023-12-19 22:58:33.324104", "rc": 0, "start": "2023-12-19 22:58:33.320444" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typel5f8otl5/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 19 December 2023 22:58:33 +0000 (0:00:00.243) 0:00:37.464 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typel5f8otl5/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 19 December 2023 22:58:33 +0000 (0:00:00.021) 0:00:37.485 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typel5f8otl5/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 19 December 2023 22:58:33 +0000 (0:00:00.021) 0:00:37.506 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typel5f8otl5/tests/playbooks/tasks/manage_test_interface.yml:23 Tuesday 19 December 2023 22:58:35 +0000 (0:00:01.850) 0:00:39.356 ****** 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_typel5f8otl5/tests/playbooks/tasks/manage_test_interface.yml:31 Tuesday 19 December 2023 22:58:35 +0000 (0:00:00.025) 0:00:39.382 ****** 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_typel5f8otl5/tests/playbooks/tasks/manage_test_interface.yml:39 Tuesday 19 December 2023 22:58:35 +0000 (0:00:00.019) 0:00:39.402 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.010144", "end": "2023-12-19 22:58:35.511676", "rc": 0, "start": "2023-12-19 22:58:35.501532" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typel5f8otl5/tests/playbooks/tasks/manage_test_interface.yml:45 Tuesday 19 December 2023 22:58:35 +0000 (0:00:00.263) 0:00:39.665 ****** 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_typel5f8otl5/tests/playbooks/tasks/manage_test_interface.yml:50 Tuesday 19 December 2023 22:58:35 +0000 (0:00:00.022) 0:00:39.687 ****** 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_typel5f8otl5/tests/playbooks/tasks/manage_test_interface.yml:56 Tuesday 19 December 2023 22:58:35 +0000 (0:00:00.020) 0:00:39.708 ****** 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_typel5f8otl5/tests/playbooks/tasks/manage_test_interface.yml:61 Tuesday 19 December 2023 22:58:35 +0000 (0:00:00.019) 0:00:39.727 ****** skipping: [sut] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } PLAY RECAP ********************************************************************* sut : ok=125 changed=4 unreachable=0 failed=0 skipped=102 rescued=0 ignored=0 Tuesday 19 December 2023 22:58:35 +0000 (0:00:00.050) 0:00:39.777 ****** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 2.25s /WORKDIR/git-route_typel5f8otl5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Install iproute --------------------------------------------------------- 2.19s /WORKDIR/git-route_typel5f8otl5/tests/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Check which services are running ---- 2.18s /WORKDIR/git-route_typel5f8otl5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.15s /WORKDIR/git-route_typel5f8otl5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.15s /WORKDIR/git-route_typel5f8otl5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Install iproute --------------------------------------------------------- 2.11s /WORKDIR/git-route_typel5f8otl5/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 1.85s /WORKDIR/git-route_typel5f8otl5/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 1.85s /WORKDIR/git-route_typel5f8otl5/tests/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Check which packages are installed --- 1.00s /WORKDIR/git-route_typel5f8otl5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.95s /WORKDIR/git-route_typel5f8otl5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Gathering Facts --------------------------------------------------------- 0.93s /WORKDIR/git-route_typel5f8otl5/tests/tests_auto_gateway_nm.yml:5 ------------- fedora.linux_system_roles.network : Check which packages are installed --- 0.90s /WORKDIR/git-route_typel5f8otl5/.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.87s /WORKDIR/git-route_typel5f8otl5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Create veth interface veth0 --------------------------------------------- 0.86s /WORKDIR/git-route_typel5f8otl5/tests/playbooks/tasks/manage_test_interface.yml:23 fedora.linux_system_roles.network : Check which packages are installed --- 0.82s /WORKDIR/git-route_typel5f8otl5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gathering Facts --------------------------------------------------------- 0.79s /WORKDIR/git-route_typel5f8otl5/tests/playbooks/tests_auto_gateway.yml:3 ------ Create veth interface veth0 --------------------------------------------- 0.78s /WORKDIR/git-route_typel5f8otl5/tests/playbooks/tasks/manage_test_interface.yml:23 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.64s /WORKDIR/git-route_typel5f8otl5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.51s /WORKDIR/git-route_typel5f8otl5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.50s /WORKDIR/git-route_typel5f8otl5/.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. ---^---^---^---^---^---