# 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-wifi_fix_yti6074/.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-wifi_fix_yti6074/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-wifi_fix_yti6074/tests/tests_auto_gateway_nm.yml:5 Thursday 21 December 2023 23:50:14 +0000 (0:00:00.011) 0:00:00.011 ***** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-wifi_fix_yti6074/tests/tests_auto_gateway_nm.yml:9 Thursday 21 December 2023 23:50:15 +0000 (0:00:00.924) 0:00:00.935 ***** included: /WORKDIR/git-wifi_fix_yti6074/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-wifi_fix_yti6074/tests/tasks/el_repo_setup.yml:3 Thursday 21 December 2023 23:50:15 +0000 (0:00:00.019) 0:00:00.954 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-wifi_fix_yti6074/tests/tasks/el_repo_setup.yml:17 Thursday 21 December 2023 23:50:15 +0000 (0:00:00.382) 0:00:01.337 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-wifi_fix_yti6074/tests/tasks/el_repo_setup.yml:22 Thursday 21 December 2023 23:50:15 +0000 (0:00:00.266) 0:00:01.603 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-wifi_fix_yti6074/tests/tasks/el_repo_setup.yml:26 Thursday 21 December 2023 23:50:15 +0000 (0:00:00.015) 0:00:01.619 ***** 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-wifi_fix_yti6074/tests/tasks/el_repo_setup.yml:51 Thursday 21 December 2023 23:50:15 +0000 (0:00:00.017) 0:00:01.636 ***** included: /WORKDIR/git-wifi_fix_yti6074/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 38] ********************************************************** task path: /WORKDIR/git-wifi_fix_yti6074/tests/tasks/enable_epel.yml:8 Thursday 21 December 2023 23:50:15 +0000 (0:00:00.023) 0:00:01.659 ***** 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-wifi_fix_yti6074/tests/tasks/enable_epel.yml:24 Thursday 21 December 2023 23:50:15 +0000 (0:00:00.012) 0:00:01.671 ***** 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-wifi_fix_yti6074/tests/tasks/enable_epel.yml:30 Thursday 21 December 2023 23:50:16 +0000 (0:00:00.013) 0:00:01.685 ***** 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-wifi_fix_yti6074/tests/tasks/enable_epel.yml:35 Thursday 21 December 2023 23:50:16 +0000 (0:00:00.008) 0:00:01.694 ***** 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-wifi_fix_yti6074/tests/tasks/enable_epel.yml:40 Thursday 21 December 2023 23:50:16 +0000 (0:00:00.013) 0:00:01.707 ***** 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-wifi_fix_yti6074/tests/tests_auto_gateway_nm.yml:11 Thursday 21 December 2023 23:50:16 +0000 (0:00:00.015) 0:00:01.723 ***** ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing auto_gateway setting] *********************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-wifi_fix_yti6074/tests/playbooks/tests_auto_gateway.yml:3 Thursday 21 December 2023 23:50:16 +0000 (0:00:00.025) 0:00:01.748 ***** ok: [sut] TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-wifi_fix_yti6074/tests/playbooks/tests_auto_gateway.yml:9 Thursday 21 December 2023 23:50:16 +0000 (0:00:00.709) 0:00:02.458 ***** included: /WORKDIR/git-wifi_fix_yti6074/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-wifi_fix_yti6074/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 23:50:16 +0000 (0:00:00.023) 0:00:02.481 ***** included: /WORKDIR/git-wifi_fix_yti6074/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-wifi_fix_yti6074/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 23:50:16 +0000 (0:00:00.010) 0:00:02.492 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003678", "end": "2023-12-21 23:50:17.054746", "rc": 0, "start": "2023-12-21 23:50:17.051068" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-wifi_fix_yti6074/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 23:50:17 +0000 (0:00:00.264) 0:00:02.756 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-wifi_fix_yti6074/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 23:50:17 +0000 (0:00:00.011) 0:00:02.768 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-wifi_fix_yti6074/tests/playbooks/tests_auto_gateway.yml:11 Thursday 21 December 2023 23:50:17 +0000 (0:00:00.012) 0:00:02.781 ***** included: /WORKDIR/git-wifi_fix_yti6074/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-wifi_fix_yti6074/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 21 December 2023 23:50:17 +0000 (0:00:00.026) 0:00:02.807 ***** 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-wifi_fix_yti6074/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 21 December 2023 23:50:17 +0000 (0:00:00.007) 0:00:02.815 ***** 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-wifi_fix_yti6074/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 21 December 2023 23:50:17 +0000 (0:00:00.008) 0:00:02.823 ***** included: /WORKDIR/git-wifi_fix_yti6074/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-wifi_fix_yti6074/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 23:50:17 +0000 (0:00:00.011) 0:00:02.835 ***** included: /WORKDIR/git-wifi_fix_yti6074/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-wifi_fix_yti6074/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 23:50:17 +0000 (0:00:00.009) 0:00:02.845 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003754", "end": "2023-12-21 23:50:17.347983", "rc": 0, "start": "2023-12-21 23:50:17.344229" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-wifi_fix_yti6074/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 23:50:17 +0000 (0:00:00.204) 0:00:03.049 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-wifi_fix_yti6074/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 23:50:17 +0000 (0:00:00.012) 0:00:03.061 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-wifi_fix_yti6074/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 21 December 2023 23:50:17 +0000 (0:00:00.009) 0:00:03.071 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-wifi_fix_yti6074/tests/playbooks/tasks/manage_test_interface.yml:23 Thursday 21 December 2023 23:50:19 +0000 (0:00:02.307) 0:00:05.379 ***** 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.041045", "end": "2023-12-21 23:50:19.922574", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2023-12-21 23:50:19.881529" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004136", "end": "2023-12-21 23:50:20.182367", "item": "ip link set peerveth0 up", "rc": 0, "start": "2023-12-21 23:50:20.178231" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004319", "end": "2023-12-21 23:50:20.381438", "item": "ip link set veth0 up", "rc": 0, "start": "2023-12-21 23:50:20.377119" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-wifi_fix_yti6074/tests/playbooks/tasks/manage_test_interface.yml:31 Thursday 21 December 2023 23:50:20 +0000 (0:00:00.706) 0:00:06.085 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.181528", "end": "2023-12-21 23:50:20.773222", "rc": 0, "start": "2023-12-21 23:50:20.591694" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-wifi_fix_yti6074/tests/playbooks/tasks/manage_test_interface.yml:39 Thursday 21 December 2023 23:50:20 +0000 (0:00:00.395) 0:00:06.480 ***** 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-wifi_fix_yti6074/tests/playbooks/tasks/manage_test_interface.yml:45 Thursday 21 December 2023 23:50:20 +0000 (0:00:00.009) 0:00:06.490 ***** 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-wifi_fix_yti6074/tests/playbooks/tasks/manage_test_interface.yml:50 Thursday 21 December 2023 23:50:20 +0000 (0:00:00.044) 0:00:06.534 ***** 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-wifi_fix_yti6074/tests/playbooks/tasks/manage_test_interface.yml:56 Thursday 21 December 2023 23:50:20 +0000 (0:00:00.020) 0:00:06.555 ***** 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-wifi_fix_yti6074/tests/playbooks/tasks/manage_test_interface.yml:61 Thursday 21 December 2023 23:50:20 +0000 (0:00:00.022) 0:00:06.577 ***** skipping: [sut] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-wifi_fix_yti6074/tests/playbooks/tests_auto_gateway.yml:15 Thursday 21 December 2023 23:50:20 +0000 (0:00:00.021) 0:00:06.599 ***** included: /WORKDIR/git-wifi_fix_yti6074/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-wifi_fix_yti6074/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 21 December 2023 23:50:20 +0000 (0:00:00.028) 0:00:06.627 ***** included: /WORKDIR/git-wifi_fix_yti6074/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-wifi_fix_yti6074/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 21 December 2023 23:50:20 +0000 (0:00:00.012) 0:00:06.640 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1703202619.9187124, "block_size": 4096, "blocks": 0, "ctime": 1703202619.9187124, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26298, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/veth0", "lnk_target": "../../devices/virtual/net/veth0", "mode": "0777", "mtime": 1703202619.9187124, "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-wifi_fix_yti6074/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 21 December 2023 23:50:21 +0000 (0:00:00.229) 0:00:06.870 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /WORKDIR/git-wifi_fix_yti6074/tests/playbooks/tests_auto_gateway.yml:17 Thursday 21 December 2023 23:50:21 +0000 (0:00:00.010) 0:00:06.881 ***** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-wifi_fix_yti6074/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 21 December 2023 23:50:21 +0000 (0:00:00.009) 0:00:06.890 ***** included: /WORKDIR/git-wifi_fix_yti6074/.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-wifi_fix_yti6074/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 21 December 2023 23:50:21 +0000 (0:00:00.015) 0:00:06.906 ***** 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-wifi_fix_yti6074/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 21 December 2023 23:50:21 +0000 (0:00:00.020) 0:00:06.927 ***** 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-wifi_fix_yti6074/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 21 December 2023 23:50:21 +0000 (0:00:00.012) 0:00:06.940 ***** 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-wifi_fix_yti6074/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 21 December 2023 23:50:21 +0000 (0:00:00.011) 0:00:06.952 ***** 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-wifi_fix_yti6074/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 21 December 2023 23:50:23 +0000 (0:00:02.266) 0:00:09.218 ***** 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-wifi_fix_yti6074/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 21 December 2023 23:50:24 +0000 (0:00:00.939) 0:00:10.158 ***** 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-wifi_fix_yti6074/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 21 December 2023 23:50:24 +0000 (0:00:00.020) 0:00:10.179 ***** 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-wifi_fix_yti6074/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 21 December 2023 23:50:24 +0000 (0:00:00.020) 0:00:10.200 ***** 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-wifi_fix_yti6074/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 21 December 2023 23:50:24 +0000 (0:00:00.020) 0:00:10.220 ***** 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-wifi_fix_yti6074/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 21 December 2023 23:50:24 +0000 (0:00:00.051) 0:00:10.272 ***** 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-wifi_fix_yti6074/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 21 December 2023 23:50:24 +0000 (0:00:00.041) 0:00:10.313 ***** 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-wifi_fix_yti6074/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 21 December 2023 23:50:24 +0000 (0:00:00.022) 0:00:10.335 ***** 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-wifi_fix_yti6074/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 21 December 2023 23:50:24 +0000 (0:00:00.033) 0:00:10.369 ***** 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-wifi_fix_yti6074/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 21 December 2023 23:50:25 +0000 (0:00:00.570) 0:00:10.939 ***** 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-wifi_fix_yti6074/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 21 December 2023 23:50:25 +0000 (0:00:00.037) 0:00:10.976 ***** 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-wifi_fix_yti6074/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 21 December 2023 23:50:25 +0000 (0:00:00.019) 0:00:10.996 ***** 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-wifi_fix_yti6074/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 21 December 2023 23:50:25 +0000 (0:00:00.021) 0:00:11.017 ***** 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, 3f22c425-f6b7-4f62-bdb2-f9b55606e660 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 3f22c425-f6b7-4f62-bdb2-f9b55606e660 (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-wifi_fix_yti6074/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 21 December 2023 23:50:26 +0000 (0:00:00.726) 0:00:11.744 ***** 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-wifi_fix_yti6074/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 21 December 2023 23:50:26 +0000 (0:00:00.023) 0:00:11.768 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 3f22c425-f6b7-4f62-bdb2-f9b55606e660", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 3f22c425-f6b7-4f62-bdb2-f9b55606e660 (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-wifi_fix_yti6074/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 21 December 2023 23:50:26 +0000 (0:00:00.034) 0:00:11.803 ***** 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, 3f22c425-f6b7-4f62-bdb2-f9b55606e660\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 3f22c425-f6b7-4f62-bdb2-f9b55606e660 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 3f22c425-f6b7-4f62-bdb2-f9b55606e660", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 3f22c425-f6b7-4f62-bdb2-f9b55606e660 (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-wifi_fix_yti6074/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 21 December 2023 23:50:26 +0000 (0:00:00.033) 0:00:11.836 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-wifi_fix_yti6074/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 21 December 2023 23:50:26 +0000 (0:00:00.026) 0:00:11.863 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-wifi_fix_yti6074/tests/playbooks/tests_auto_gateway.yml:42 Thursday 21 December 2023 23:50:26 +0000 (0:00:00.346) 0:00:12.209 ***** included: /WORKDIR/git-wifi_fix_yti6074/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-wifi_fix_yti6074/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 21 December 2023 23:50:26 +0000 (0:00:00.045) 0:00:12.254 ***** included: /WORKDIR/git-wifi_fix_yti6074/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-wifi_fix_yti6074/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 21 December 2023 23:50:26 +0000 (0:00:00.073) 0:00:12.328 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1703202619.9187124, "block_size": 4096, "blocks": 0, "ctime": 1703202619.9187124, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26298, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/veth0", "lnk_target": "../../devices/virtual/net/veth0", "mode": "0777", "mtime": 1703202619.9187124, "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-wifi_fix_yti6074/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 21 December 2023 23:50:26 +0000 (0:00:00.249) 0:00:12.577 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-wifi_fix_yti6074/tests/playbooks/tests_auto_gateway.yml:44 Thursday 21 December 2023 23:50:26 +0000 (0:00:00.038) 0:00:12.616 ***** included: /WORKDIR/git-wifi_fix_yti6074/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-wifi_fix_yti6074/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 21 December 2023 23:50:26 +0000 (0:00:00.056) 0:00:12.672 ***** included: /WORKDIR/git-wifi_fix_yti6074/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-wifi_fix_yti6074/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 21 December 2023 23:50:27 +0000 (0:00:00.031) 0:00:12.704 ***** 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-wifi_fix_yti6074/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 21 December 2023 23:50:27 +0000 (0:00:00.020) 0:00:12.724 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-wifi_fix_yti6074/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 21 December 2023 23:50:27 +0000 (0:00:00.212) 0:00:12.936 ***** 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-wifi_fix_yti6074/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 21 December 2023 23:50:27 +0000 (0:00:00.018) 0:00:12.955 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.058150", "end": "2023-12-21 23:50:27.513690", "rc": 0, "start": "2023-12-21 23:50:27.455540" } 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-wifi_fix_yti6074/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 21 December 2023 23:50:27 +0000 (0:00:00.274) 0:00:13.230 ***** 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-wifi_fix_yti6074/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 21 December 2023 23:50:27 +0000 (0:00:00.023) 0:00:13.253 ***** 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-wifi_fix_yti6074/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 21 December 2023 23:50:27 +0000 (0:00:00.019) 0:00:13.272 ***** 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-wifi_fix_yti6074/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 21 December 2023 23:50:27 +0000 (0:00:00.019) 0:00:13.292 ***** 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-wifi_fix_yti6074/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 21 December 2023 23:50:27 +0000 (0:00:00.020) 0:00:13.312 ***** 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-wifi_fix_yti6074/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 21 December 2023 23:50:27 +0000 (0:00:00.018) 0:00:13.331 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-wifi_fix_yti6074/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 21 December 2023 23:50:27 +0000 (0:00:00.063) 0:00:13.394 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-wifi_fix_yti6074/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 21 December 2023 23:50:27 +0000 (0:00:00.023) 0:00:13.417 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-wifi_fix_yti6074/tests/playbooks/tests_auto_gateway.yml:48 Thursday 21 December 2023 23:50:27 +0000 (0:00:00.021) 0:00:13.438 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003905", "end": "2023-12-21 23:50:27.962648", "rc": 0, "start": "2023-12-21 23:50:27.958743" } STDOUT: default via 10.31.44.1 dev eth0 proto dhcp src 10.31.46.14 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.46.14 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-wifi_fix_yti6074/tests/playbooks/tests_auto_gateway.yml:52 Thursday 21 December 2023 23:50:27 +0000 (0:00:00.237) 0:00:13.675 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-wifi_fix_yti6074/tests/playbooks/tests_auto_gateway.yml:58 Thursday 21 December 2023 23:50:28 +0000 (0:00:00.022) 0:00:13.698 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003842", "end": "2023-12-21 23:50:28.202822", "rc": 0, "start": "2023-12-21 23:50:28.198980" } 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-wifi_fix_yti6074/tests/playbooks/tests_auto_gateway.yml:62 Thursday 21 December 2023 23:50:28 +0000 (0:00:00.217) 0:00:13.916 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-wifi_fix_yti6074/tests/playbooks/tests_auto_gateway.yml:69 Thursday 21 December 2023 23:50:28 +0000 (0:00:00.021) 0:00:13.938 ***** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-wifi_fix_yti6074/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 21 December 2023 23:50:28 +0000 (0:00:00.021) 0:00:13.959 ***** included: /WORKDIR/git-wifi_fix_yti6074/.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-wifi_fix_yti6074/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 21 December 2023 23:50:28 +0000 (0:00:00.037) 0:00:13.997 ***** 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-wifi_fix_yti6074/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 21 December 2023 23:50:28 +0000 (0:00:00.034) 0:00:14.032 ***** 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-wifi_fix_yti6074/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 21 December 2023 23:50:28 +0000 (0:00:00.024) 0:00:14.056 ***** 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-wifi_fix_yti6074/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 21 December 2023 23:50:28 +0000 (0:00:00.022) 0:00:14.079 ***** 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-wifi_fix_yti6074/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 21 December 2023 23:50:30 +0000 (0:00:02.170) 0:00:16.249 ***** 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-wifi_fix_yti6074/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 21 December 2023 23:50:31 +0000 (0:00:00.811) 0:00:17.060 ***** 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-wifi_fix_yti6074/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 21 December 2023 23:50:31 +0000 (0:00:00.022) 0:00:17.083 ***** 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-wifi_fix_yti6074/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 21 December 2023 23:50:31 +0000 (0:00:00.023) 0:00:17.106 ***** 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-wifi_fix_yti6074/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 21 December 2023 23:50:31 +0000 (0:00:00.034) 0:00:17.140 ***** 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-wifi_fix_yti6074/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 21 December 2023 23:50:31 +0000 (0:00:00.074) 0:00:17.215 ***** 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-wifi_fix_yti6074/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 21 December 2023 23:50:31 +0000 (0:00:00.033) 0:00:17.248 ***** 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-wifi_fix_yti6074/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 21 December 2023 23:50:31 +0000 (0:00:00.025) 0:00:17.274 ***** 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-wifi_fix_yti6074/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 21 December 2023 23:50:31 +0000 (0:00:00.037) 0:00:17.311 ***** 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-wifi_fix_yti6074/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 21 December 2023 23:50:32 +0000 (0:00:00.415) 0:00:17.727 ***** 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-wifi_fix_yti6074/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 21 December 2023 23:50:32 +0000 (0:00:00.034) 0:00:17.762 ***** 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-wifi_fix_yti6074/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 21 December 2023 23:50:32 +0000 (0:00:00.019) 0:00:17.781 ***** 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-wifi_fix_yti6074/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 21 December 2023 23:50:32 +0000 (0:00:00.019) 0:00:17.801 ***** 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-wifi_fix_yti6074/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 21 December 2023 23:50:32 +0000 (0:00:00.470) 0:00:18.271 ***** 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-wifi_fix_yti6074/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 21 December 2023 23:50:32 +0000 (0:00:00.029) 0:00:18.301 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-wifi_fix_yti6074/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 21 December 2023 23:50:32 +0000 (0:00:00.022) 0:00:18.323 ***** 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-wifi_fix_yti6074/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 21 December 2023 23:50:32 +0000 (0:00:00.021) 0:00:18.345 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-wifi_fix_yti6074/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 21 December 2023 23:50:32 +0000 (0:00:00.048) 0:00:18.394 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-wifi_fix_yti6074/tests/playbooks/tests_auto_gateway.yml:81 Thursday 21 December 2023 23:50:32 +0000 (0:00:00.232) 0:00:18.626 ***** included: /WORKDIR/git-wifi_fix_yti6074/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-wifi_fix_yti6074/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 21 December 2023 23:50:33 +0000 (0:00:00.063) 0:00:18.690 ***** 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-wifi_fix_yti6074/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 21 December 2023 23:50:33 +0000 (0:00:00.021) 0:00:18.711 ***** 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-wifi_fix_yti6074/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 21 December 2023 23:50:33 +0000 (0:00:00.020) 0:00:18.732 ***** included: /WORKDIR/git-wifi_fix_yti6074/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-wifi_fix_yti6074/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 23:50:33 +0000 (0:00:00.054) 0:00:18.786 ***** included: /WORKDIR/git-wifi_fix_yti6074/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-wifi_fix_yti6074/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 23:50:33 +0000 (0:00:00.073) 0:00:18.860 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003660", "end": "2023-12-21 23:50:33.368884", "rc": 0, "start": "2023-12-21 23:50:33.365224" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-wifi_fix_yti6074/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 23:50:33 +0000 (0:00:00.223) 0:00:19.083 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-wifi_fix_yti6074/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 23:50:33 +0000 (0:00:00.023) 0:00:19.106 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-wifi_fix_yti6074/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 21 December 2023 23:50:33 +0000 (0:00:00.032) 0:00:19.138 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-wifi_fix_yti6074/tests/playbooks/tasks/manage_test_interface.yml:23 Thursday 21 December 2023 23:50:35 +0000 (0:00:02.254) 0:00:21.393 ***** 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-wifi_fix_yti6074/tests/playbooks/tasks/manage_test_interface.yml:31 Thursday 21 December 2023 23:50:35 +0000 (0:00:00.035) 0:00:21.428 ***** 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-wifi_fix_yti6074/tests/playbooks/tasks/manage_test_interface.yml:39 Thursday 21 December 2023 23:50:35 +0000 (0:00:00.058) 0:00:21.487 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.009325", "end": "2023-12-21 23:50:36.025758", "rc": 0, "start": "2023-12-21 23:50:36.016433" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-wifi_fix_yti6074/tests/playbooks/tasks/manage_test_interface.yml:45 Thursday 21 December 2023 23:50:36 +0000 (0:00:00.276) 0:00:21.763 ***** 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-wifi_fix_yti6074/tests/playbooks/tasks/manage_test_interface.yml:50 Thursday 21 December 2023 23:50:36 +0000 (0:00:00.043) 0:00:21.806 ***** 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-wifi_fix_yti6074/tests/playbooks/tasks/manage_test_interface.yml:56 Thursday 21 December 2023 23:50:36 +0000 (0:00:00.050) 0:00:21.857 ***** 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-wifi_fix_yti6074/tests/playbooks/tasks/manage_test_interface.yml:61 Thursday 21 December 2023 23:50:36 +0000 (0:00:00.030) 0:00:21.888 ***** 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-wifi_fix_yti6074/tests/playbooks/tests_auto_gateway.yml:85 Thursday 21 December 2023 23:50:36 +0000 (0:00:00.021) 0:00:21.909 ***** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-wifi_fix_yti6074/tests/playbooks/tests_auto_gateway.yml:89 Thursday 21 December 2023 23:50:36 +0000 (0:00:00.029) 0:00:21.939 ***** included: /WORKDIR/git-wifi_fix_yti6074/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-wifi_fix_yti6074/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 21 December 2023 23:50:36 +0000 (0:00:00.054) 0:00:21.993 ***** 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-wifi_fix_yti6074/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 21 December 2023 23:50:36 +0000 (0:00:00.021) 0:00:22.015 ***** 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-wifi_fix_yti6074/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 21 December 2023 23:50:36 +0000 (0:00:00.023) 0:00:22.039 ***** included: /WORKDIR/git-wifi_fix_yti6074/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-wifi_fix_yti6074/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 23:50:36 +0000 (0:00:00.032) 0:00:22.071 ***** included: /WORKDIR/git-wifi_fix_yti6074/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-wifi_fix_yti6074/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 23:50:36 +0000 (0:00:00.031) 0:00:22.103 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003782", "end": "2023-12-21 23:50:36.610772", "rc": 0, "start": "2023-12-21 23:50:36.606990" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-wifi_fix_yti6074/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 23:50:36 +0000 (0:00:00.221) 0:00:22.325 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-wifi_fix_yti6074/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 23:50:36 +0000 (0:00:00.061) 0:00:22.387 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-wifi_fix_yti6074/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 21 December 2023 23:50:36 +0000 (0:00:00.039) 0:00:22.426 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-wifi_fix_yti6074/tests/playbooks/tasks/manage_test_interface.yml:23 Thursday 21 December 2023 23:50:39 +0000 (0:00:02.298) 0:00:24.724 ***** 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.007160", "end": "2023-12-21 23:50:39.236111", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2023-12-21 23:50:39.228951" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004036", "end": "2023-12-21 23:50:39.490566", "item": "ip link set peerveth0 up", "rc": 0, "start": "2023-12-21 23:50:39.486530" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004285", "end": "2023-12-21 23:50:39.690666", "item": "ip link set veth0 up", "rc": 0, "start": "2023-12-21 23:50:39.686381" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-wifi_fix_yti6074/tests/playbooks/tasks/manage_test_interface.yml:31 Thursday 21 December 2023 23:50:39 +0000 (0:00:00.681) 0:00:25.405 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.020442", "end": "2023-12-21 23:50:39.930617", "rc": 0, "start": "2023-12-21 23:50:39.910175" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-wifi_fix_yti6074/tests/playbooks/tasks/manage_test_interface.yml:39 Thursday 21 December 2023 23:50:39 +0000 (0:00:00.240) 0:00:25.645 ***** 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-wifi_fix_yti6074/tests/playbooks/tasks/manage_test_interface.yml:45 Thursday 21 December 2023 23:50:39 +0000 (0:00:00.020) 0:00:25.666 ***** 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-wifi_fix_yti6074/tests/playbooks/tasks/manage_test_interface.yml:50 Thursday 21 December 2023 23:50:40 +0000 (0:00:00.020) 0:00:25.686 ***** skipping: [sut] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-wifi_fix_yti6074/tests/playbooks/tasks/manage_test_interface.yml:56 Thursday 21 December 2023 23:50:40 +0000 (0:00:00.022) 0:00:25.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-wifi_fix_yti6074/tests/playbooks/tasks/manage_test_interface.yml:61 Thursday 21 December 2023 23:50:40 +0000 (0:00:00.024) 0:00:25.732 ***** skipping: [sut] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-wifi_fix_yti6074/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 21 December 2023 23:50:40 +0000 (0:00:00.020) 0:00:25.753 ***** included: /WORKDIR/git-wifi_fix_yti6074/.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-wifi_fix_yti6074/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 21 December 2023 23:50:40 +0000 (0:00:00.038) 0:00:25.792 ***** 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-wifi_fix_yti6074/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 21 December 2023 23:50:40 +0000 (0:00:00.035) 0:00:25.827 ***** 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-wifi_fix_yti6074/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 21 December 2023 23:50:40 +0000 (0:00:00.022) 0:00:25.850 ***** 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-wifi_fix_yti6074/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 21 December 2023 23:50:40 +0000 (0:00:00.023) 0:00:25.873 ***** 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-wifi_fix_yti6074/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 21 December 2023 23:50:42 +0000 (0:00:02.163) 0:00:28.037 ***** 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-wifi_fix_yti6074/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 21 December 2023 23:50:43 +0000 (0:00:00.853) 0:00:28.891 ***** 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-wifi_fix_yti6074/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 21 December 2023 23:50:43 +0000 (0:00:00.023) 0:00:28.914 ***** 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-wifi_fix_yti6074/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 21 December 2023 23:50:43 +0000 (0:00:00.024) 0:00:28.939 ***** 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-wifi_fix_yti6074/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 21 December 2023 23:50:43 +0000 (0:00:00.026) 0:00:28.965 ***** 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-wifi_fix_yti6074/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 21 December 2023 23:50:43 +0000 (0:00:00.064) 0:00:29.030 ***** 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-wifi_fix_yti6074/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 21 December 2023 23:50:43 +0000 (0:00:00.023) 0:00:29.054 ***** 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-wifi_fix_yti6074/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 21 December 2023 23:50:43 +0000 (0:00:00.024) 0:00:29.079 ***** 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-wifi_fix_yti6074/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 21 December 2023 23:50:43 +0000 (0:00:00.034) 0:00:29.113 ***** 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-wifi_fix_yti6074/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 21 December 2023 23:50:43 +0000 (0:00:00.445) 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-wifi_fix_yti6074/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 21 December 2023 23:50:43 +0000 (0:00:00.053) 0:00:29.612 ***** 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-wifi_fix_yti6074/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 21 December 2023 23:50:43 +0000 (0:00:00.023) 0:00:29.636 ***** 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-wifi_fix_yti6074/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 21 December 2023 23:50:43 +0000 (0:00:00.025) 0:00:29.662 ***** 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, 3702469b-066f-48ce-ac49-63a31c34a5c6 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 3702469b-066f-48ce-ac49-63a31c34a5c6 (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-wifi_fix_yti6074/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 21 December 2023 23:50:44 +0000 (0:00:00.489) 0:00:30.152 ***** 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-wifi_fix_yti6074/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 21 December 2023 23:50:44 +0000 (0:00:00.024) 0:00:30.176 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 3702469b-066f-48ce-ac49-63a31c34a5c6", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 3702469b-066f-48ce-ac49-63a31c34a5c6 (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-wifi_fix_yti6074/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 21 December 2023 23:50:44 +0000 (0:00:00.057) 0:00:30.234 ***** 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, 3702469b-066f-48ce-ac49-63a31c34a5c6\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 3702469b-066f-48ce-ac49-63a31c34a5c6 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 3702469b-066f-48ce-ac49-63a31c34a5c6", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 3702469b-066f-48ce-ac49-63a31c34a5c6 (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-wifi_fix_yti6074/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 21 December 2023 23:50:44 +0000 (0:00:00.023) 0:00:30.257 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-wifi_fix_yti6074/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 21 December 2023 23:50:44 +0000 (0:00:00.024) 0:00:30.282 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-wifi_fix_yti6074/tests/playbooks/tests_auto_gateway.yml:110 Thursday 21 December 2023 23:50:44 +0000 (0:00:00.251) 0:00:30.534 ***** included: /WORKDIR/git-wifi_fix_yti6074/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-wifi_fix_yti6074/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 21 December 2023 23:50:44 +0000 (0:00:00.051) 0:00:30.586 ***** included: /WORKDIR/git-wifi_fix_yti6074/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-wifi_fix_yti6074/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 21 December 2023 23:50:44 +0000 (0:00:00.035) 0:00:30.621 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1703202639.2329545, "block_size": 4096, "blocks": 0, "ctime": 1703202639.2329545, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26884, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/veth0", "lnk_target": "../../devices/virtual/net/veth0", "mode": "0777", "mtime": 1703202639.2329545, "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-wifi_fix_yti6074/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 21 December 2023 23:50:45 +0000 (0:00:00.217) 0:00:30.838 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-wifi_fix_yti6074/tests/playbooks/tests_auto_gateway.yml:112 Thursday 21 December 2023 23:50:45 +0000 (0:00:00.020) 0:00:30.859 ***** included: /WORKDIR/git-wifi_fix_yti6074/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-wifi_fix_yti6074/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 21 December 2023 23:50:45 +0000 (0:00:00.047) 0:00:30.907 ***** included: /WORKDIR/git-wifi_fix_yti6074/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-wifi_fix_yti6074/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 21 December 2023 23:50:45 +0000 (0:00:00.033) 0:00:30.941 ***** 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-wifi_fix_yti6074/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 21 December 2023 23:50:45 +0000 (0:00:00.024) 0:00:30.965 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-wifi_fix_yti6074/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 21 December 2023 23:50:45 +0000 (0:00:00.252) 0:00:31.217 ***** 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-wifi_fix_yti6074/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 21 December 2023 23:50:45 +0000 (0:00:00.020) 0:00:31.238 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.022021", "end": "2023-12-21 23:50:45.764355", "rc": 0, "start": "2023-12-21 23:50:45.742334" } 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-wifi_fix_yti6074/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 21 December 2023 23:50:45 +0000 (0:00:00.239) 0:00:31.477 ***** 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-wifi_fix_yti6074/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 21 December 2023 23:50:45 +0000 (0:00:00.022) 0:00:31.500 ***** 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-wifi_fix_yti6074/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 21 December 2023 23:50:45 +0000 (0:00:00.022) 0:00:31.522 ***** 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-wifi_fix_yti6074/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 21 December 2023 23:50:45 +0000 (0:00:00.028) 0:00:31.551 ***** 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-wifi_fix_yti6074/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 21 December 2023 23:50:45 +0000 (0:00:00.031) 0:00:31.583 ***** 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-wifi_fix_yti6074/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 21 December 2023 23:50:45 +0000 (0:00:00.023) 0:00:31.606 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-wifi_fix_yti6074/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 21 December 2023 23:50:45 +0000 (0:00:00.026) 0:00:31.632 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-wifi_fix_yti6074/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 21 December 2023 23:50:45 +0000 (0:00:00.041) 0:00:31.674 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-wifi_fix_yti6074/tests/playbooks/tests_auto_gateway.yml:116 Thursday 21 December 2023 23:50:46 +0000 (0:00:00.023) 0:00:31.697 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003899", "end": "2023-12-21 23:50:46.235075", "rc": 0, "start": "2023-12-21 23:50:46.231176" } STDOUT: default via 10.31.44.1 dev eth0 proto dhcp src 10.31.46.14 metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.46.14 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-wifi_fix_yti6074/tests/playbooks/tests_auto_gateway.yml:120 Thursday 21 December 2023 23:50:46 +0000 (0:00:00.250) 0:00:31.947 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-wifi_fix_yti6074/tests/playbooks/tests_auto_gateway.yml:126 Thursday 21 December 2023 23:50:46 +0000 (0:00:00.021) 0:00:31.969 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003970", "end": "2023-12-21 23:50:46.475358", "rc": 0, "start": "2023-12-21 23:50:46.471388" } 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-wifi_fix_yti6074/tests/playbooks/tests_auto_gateway.yml:130 Thursday 21 December 2023 23:50:46 +0000 (0:00:00.217) 0:00:32.187 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-wifi_fix_yti6074/tests/playbooks/tests_auto_gateway.yml:137 Thursday 21 December 2023 23:50:46 +0000 (0:00:00.021) 0:00:32.209 ***** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-wifi_fix_yti6074/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 21 December 2023 23:50:46 +0000 (0:00:00.020) 0:00:32.229 ***** included: /WORKDIR/git-wifi_fix_yti6074/.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-wifi_fix_yti6074/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 21 December 2023 23:50:46 +0000 (0:00:00.065) 0:00:32.295 ***** 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-wifi_fix_yti6074/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 21 December 2023 23:50:46 +0000 (0:00:00.034) 0:00:32.329 ***** 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-wifi_fix_yti6074/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 21 December 2023 23:50:46 +0000 (0:00:00.022) 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-wifi_fix_yti6074/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 21 December 2023 23:50:46 +0000 (0:00:00.023) 0:00:32.375 ***** 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-wifi_fix_yti6074/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 21 December 2023 23:50:48 +0000 (0:00:02.245) 0:00:34.620 ***** 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-wifi_fix_yti6074/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 21 December 2023 23:50:49 +0000 (0:00:00.771) 0:00:35.391 ***** 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-wifi_fix_yti6074/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 21 December 2023 23:50:49 +0000 (0:00:00.046) 0:00:35.438 ***** 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-wifi_fix_yti6074/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 21 December 2023 23:50:49 +0000 (0:00:00.027) 0:00:35.465 ***** 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-wifi_fix_yti6074/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 21 December 2023 23:50:49 +0000 (0:00:00.035) 0:00:35.501 ***** 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-wifi_fix_yti6074/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 21 December 2023 23:50:49 +0000 (0:00:00.068) 0:00:35.570 ***** 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-wifi_fix_yti6074/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 21 December 2023 23:50:49 +0000 (0:00:00.033) 0:00:35.603 ***** 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-wifi_fix_yti6074/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 21 December 2023 23:50:49 +0000 (0:00:00.028) 0:00:35.632 ***** 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-wifi_fix_yti6074/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 21 December 2023 23:50:49 +0000 (0:00:00.045) 0:00:35.678 ***** 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-wifi_fix_yti6074/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 21 December 2023 23:50:50 +0000 (0:00:00.444) 0:00:36.122 ***** 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-wifi_fix_yti6074/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 21 December 2023 23:50:50 +0000 (0:00:00.035) 0:00:36.157 ***** 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-wifi_fix_yti6074/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 21 December 2023 23:50:50 +0000 (0:00:00.019) 0:00:36.177 ***** 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-wifi_fix_yti6074/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 21 December 2023 23:50:50 +0000 (0:00:00.021) 0:00:36.198 ***** 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-wifi_fix_yti6074/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 21 December 2023 23:50:50 +0000 (0:00:00.453) 0:00:36.652 ***** 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-wifi_fix_yti6074/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 21 December 2023 23:50:50 +0000 (0:00:00.024) 0:00:36.676 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-wifi_fix_yti6074/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 21 December 2023 23:50:51 +0000 (0:00:00.022) 0:00:36.699 ***** 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-wifi_fix_yti6074/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 21 December 2023 23:50:51 +0000 (0:00:00.022) 0:00:36.722 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-wifi_fix_yti6074/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 21 December 2023 23:50:51 +0000 (0:00:00.022) 0:00:36.745 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-wifi_fix_yti6074/tests/playbooks/tests_auto_gateway.yml:149 Thursday 21 December 2023 23:50:51 +0000 (0:00:00.224) 0:00:36.969 ***** included: /WORKDIR/git-wifi_fix_yti6074/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-wifi_fix_yti6074/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 21 December 2023 23:50:51 +0000 (0:00:00.054) 0:00:37.024 ***** 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-wifi_fix_yti6074/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 21 December 2023 23:50:51 +0000 (0:00:00.030) 0:00:37.054 ***** 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-wifi_fix_yti6074/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 21 December 2023 23:50:51 +0000 (0:00:00.032) 0:00:37.086 ***** included: /WORKDIR/git-wifi_fix_yti6074/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-wifi_fix_yti6074/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 23:50:51 +0000 (0:00:00.034) 0:00:37.120 ***** included: /WORKDIR/git-wifi_fix_yti6074/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-wifi_fix_yti6074/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 23:50:51 +0000 (0:00:00.060) 0:00:37.181 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003722", "end": "2023-12-21 23:50:51.686926", "rc": 0, "start": "2023-12-21 23:50:51.683204" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-wifi_fix_yti6074/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 23:50:51 +0000 (0:00:00.219) 0:00:37.400 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-wifi_fix_yti6074/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 23:50:51 +0000 (0:00:00.039) 0:00:37.440 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-wifi_fix_yti6074/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 21 December 2023 23:50:51 +0000 (0:00:00.024) 0:00:37.465 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-wifi_fix_yti6074/tests/playbooks/tasks/manage_test_interface.yml:23 Thursday 21 December 2023 23:50:54 +0000 (0:00:02.220) 0:00:39.685 ***** 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-wifi_fix_yti6074/tests/playbooks/tasks/manage_test_interface.yml:31 Thursday 21 December 2023 23:50:54 +0000 (0:00:00.031) 0:00:39.717 ***** 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-wifi_fix_yti6074/tests/playbooks/tasks/manage_test_interface.yml:39 Thursday 21 December 2023 23:50:54 +0000 (0:00:00.025) 0:00:39.742 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.020307", "end": "2023-12-21 23:50:54.265873", "rc": 0, "start": "2023-12-21 23:50:54.245566" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-wifi_fix_yti6074/tests/playbooks/tasks/manage_test_interface.yml:45 Thursday 21 December 2023 23:50:54 +0000 (0:00:00.239) 0:00:39.982 ***** 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-wifi_fix_yti6074/tests/playbooks/tasks/manage_test_interface.yml:50 Thursday 21 December 2023 23:50:54 +0000 (0:00:00.023) 0:00:40.005 ***** 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-wifi_fix_yti6074/tests/playbooks/tasks/manage_test_interface.yml:56 Thursday 21 December 2023 23:50:54 +0000 (0:00:00.027) 0:00:40.033 ***** 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-wifi_fix_yti6074/tests/playbooks/tasks/manage_test_interface.yml:61 Thursday 21 December 2023 23:50:54 +0000 (0:00:00.029) 0:00:40.062 ***** skipping: [sut] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } PLAY RECAP ********************************************************************* sut : ok=125 changed=4 unreachable=0 failed=0 skipped=102 rescued=0 ignored=0 Thursday 21 December 2023 23:50:54 +0000 (0:00:00.069) 0:00:40.132 ***** =============================================================================== Install iproute --------------------------------------------------------- 2.31s /WORKDIR/git-wifi_fix_yti6074/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.30s /WORKDIR/git-wifi_fix_yti6074/tests/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Check which services are running ---- 2.27s /WORKDIR/git-wifi_fix_yti6074/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Install iproute --------------------------------------------------------- 2.25s /WORKDIR/git-wifi_fix_yti6074/tests/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Check which services are running ---- 2.25s /WORKDIR/git-wifi_fix_yti6074/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Install iproute --------------------------------------------------------- 2.22s /WORKDIR/git-wifi_fix_yti6074/tests/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Check which services are running ---- 2.17s /WORKDIR/git-wifi_fix_yti6074/.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.16s /WORKDIR/git-wifi_fix_yti6074/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 0.94s /WORKDIR/git-wifi_fix_yti6074/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gathering Facts --------------------------------------------------------- 0.92s /WORKDIR/git-wifi_fix_yti6074/tests/tests_auto_gateway_nm.yml:5 --------------- fedora.linux_system_roles.network : Check which packages are installed --- 0.85s /WORKDIR/git-wifi_fix_yti6074/.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.81s /WORKDIR/git-wifi_fix_yti6074/.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.77s /WORKDIR/git-wifi_fix_yti6074/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.73s /WORKDIR/git-wifi_fix_yti6074/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Gathering Facts --------------------------------------------------------- 0.71s /WORKDIR/git-wifi_fix_yti6074/tests/playbooks/tests_auto_gateway.yml:3 -------- Create veth interface veth0 --------------------------------------------- 0.71s /WORKDIR/git-wifi_fix_yti6074/tests/playbooks/tasks/manage_test_interface.yml:23 Create veth interface veth0 --------------------------------------------- 0.68s /WORKDIR/git-wifi_fix_yti6074/tests/playbooks/tasks/manage_test_interface.yml:23 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.57s /WORKDIR/git-wifi_fix_yti6074/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.49s /WORKDIR/git-wifi_fix_yti6074/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.47s /WORKDIR/git-wifi_fix_yti6074/.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. ---^---^---^---^---^---