# 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_fixl3ndyqul/.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_fixl3ndyqul/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_fixl3ndyqul/tests/tests_auto_gateway_nm.yml:5 Thursday 21 December 2023 23:50:10 +0000 (0:00:00.023) 0:00:00.023 ***** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-wifi_fixl3ndyqul/tests/tests_auto_gateway_nm.yml:9 Thursday 21 December 2023 23:50:10 +0000 (0:00:00.779) 0:00:00.802 ***** included: /WORKDIR/git-wifi_fixl3ndyqul/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_fixl3ndyqul/tests/tasks/el_repo_setup.yml:3 Thursday 21 December 2023 23:50:10 +0000 (0:00:00.012) 0:00:00.814 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-wifi_fixl3ndyqul/tests/tasks/el_repo_setup.yml:17 Thursday 21 December 2023 23:50:11 +0000 (0:00:00.356) 0:00:01.170 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-wifi_fixl3ndyqul/tests/tasks/el_repo_setup.yml:22 Thursday 21 December 2023 23:50:11 +0000 (0:00:00.351) 0:00:01.521 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-wifi_fixl3ndyqul/tests/tasks/el_repo_setup.yml:26 Thursday 21 December 2023 23:50:11 +0000 (0:00:00.020) 0:00:01.542 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-wifi_fixl3ndyqul/tests/tasks/el_repo_setup.yml:51 Thursday 21 December 2023 23:50:11 +0000 (0:00:00.072) 0:00:01.614 ***** included: /WORKDIR/git-wifi_fixl3ndyqul/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 9] *********************************************************** task path: /WORKDIR/git-wifi_fixl3ndyqul/tests/tasks/enable_epel.yml:8 Thursday 21 December 2023 23:50:11 +0000 (0:00:00.050) 0:00:01.664 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-wifi_fixl3ndyqul/tests/tasks/enable_epel.yml:24 Thursday 21 December 2023 23:50:11 +0000 (0:00:00.012) 0:00:01.677 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-wifi_fixl3ndyqul/tests/tasks/enable_epel.yml:30 Thursday 21 December 2023 23:50:11 +0000 (0:00:00.011) 0:00:01.688 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-wifi_fixl3ndyqul/tests/tasks/enable_epel.yml:35 Thursday 21 December 2023 23:50:11 +0000 (0:00:00.011) 0:00:01.699 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-wifi_fixl3ndyqul/tests/tasks/enable_epel.yml:40 Thursday 21 December 2023 23:50:11 +0000 (0:00:00.008) 0:00:01.707 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-wifi_fixl3ndyqul/tests/tests_auto_gateway_nm.yml:11 Thursday 21 December 2023 23:50:11 +0000 (0:00:00.008) 0:00:01.716 ***** ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing auto_gateway setting] *********************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-wifi_fixl3ndyqul/tests/playbooks/tests_auto_gateway.yml:3 Thursday 21 December 2023 23:50:11 +0000 (0:00:00.021) 0:00:01.738 ***** ok: [sut] TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-wifi_fixl3ndyqul/tests/playbooks/tests_auto_gateway.yml:9 Thursday 21 December 2023 23:50:12 +0000 (0:00:00.611) 0:00:02.349 ***** included: /WORKDIR/git-wifi_fixl3ndyqul/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-wifi_fixl3ndyqul/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 23:50:12 +0000 (0:00:00.023) 0:00:02.372 ***** included: /WORKDIR/git-wifi_fixl3ndyqul/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-wifi_fixl3ndyqul/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 23:50:12 +0000 (0:00:00.016) 0:00:02.389 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003238", "end": "2023-12-21 23:50:12.702000", "rc": 0, "start": "2023-12-21 23:50:12.698762" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-wifi_fixl3ndyqul/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 23:50:12 +0000 (0:00:00.246) 0:00:02.635 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-wifi_fixl3ndyqul/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 23:50:12 +0000 (0:00:00.010) 0:00:02.645 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-wifi_fixl3ndyqul/tests/playbooks/tests_auto_gateway.yml:11 Thursday 21 December 2023 23:50:12 +0000 (0:00:00.009) 0:00:02.655 ***** included: /WORKDIR/git-wifi_fixl3ndyqul/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-wifi_fixl3ndyqul/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 21 December 2023 23:50:12 +0000 (0:00:00.024) 0:00:02.680 ***** 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_fixl3ndyqul/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 21 December 2023 23:50:12 +0000 (0:00:00.010) 0:00:02.690 ***** 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_fixl3ndyqul/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 21 December 2023 23:50:12 +0000 (0:00:00.011) 0:00:02.701 ***** included: /WORKDIR/git-wifi_fixl3ndyqul/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-wifi_fixl3ndyqul/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 23:50:12 +0000 (0:00:00.012) 0:00:02.714 ***** included: /WORKDIR/git-wifi_fixl3ndyqul/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-wifi_fixl3ndyqul/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 23:50:12 +0000 (0:00:00.012) 0:00:02.726 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003350", "end": "2023-12-21 23:50:12.981898", "rc": 0, "start": "2023-12-21 23:50:12.978548" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-wifi_fixl3ndyqul/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 23:50:12 +0000 (0:00:00.185) 0:00:02.912 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-wifi_fixl3ndyqul/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 23:50:13 +0000 (0:00:00.010) 0:00:02.922 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-wifi_fixl3ndyqul/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 21 December 2023 23:50:13 +0000 (0:00:00.014) 0:00:02.937 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-wifi_fixl3ndyqul/tests/playbooks/tasks/manage_test_interface.yml:23 Thursday 21 December 2023 23:50:14 +0000 (0:00:01.879) 0:00:04.816 ***** 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.021597", "end": "2023-12-21 23:50:15.100301", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2023-12-21 23:50:15.078704" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003501", "end": "2023-12-21 23:50:15.319989", "item": "ip link set peerveth0 up", "rc": 0, "start": "2023-12-21 23:50:15.316488" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.003810", "end": "2023-12-21 23:50:15.498552", "item": "ip link set veth0 up", "rc": 0, "start": "2023-12-21 23:50:15.494742" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-wifi_fixl3ndyqul/tests/playbooks/tasks/manage_test_interface.yml:31 Thursday 21 December 2023 23:50:15 +0000 (0:00:00.614) 0:00:05.431 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.123511", "end": "2023-12-21 23:50:15.805492", "rc": 0, "start": "2023-12-21 23:50:15.681981" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-wifi_fixl3ndyqul/tests/playbooks/tasks/manage_test_interface.yml:39 Thursday 21 December 2023 23:50:15 +0000 (0:00:00.319) 0:00:05.751 ***** 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_fixl3ndyqul/tests/playbooks/tasks/manage_test_interface.yml:45 Thursday 21 December 2023 23:50:15 +0000 (0:00:00.015) 0:00:05.766 ***** 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_fixl3ndyqul/tests/playbooks/tasks/manage_test_interface.yml:50 Thursday 21 December 2023 23:50:15 +0000 (0:00:00.011) 0:00:05.777 ***** 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_fixl3ndyqul/tests/playbooks/tasks/manage_test_interface.yml:56 Thursday 21 December 2023 23:50:15 +0000 (0:00:00.015) 0:00:05.792 ***** 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_fixl3ndyqul/tests/playbooks/tasks/manage_test_interface.yml:61 Thursday 21 December 2023 23:50:15 +0000 (0:00:00.013) 0:00:05.805 ***** 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_fixl3ndyqul/tests/playbooks/tests_auto_gateway.yml:15 Thursday 21 December 2023 23:50:15 +0000 (0:00:00.012) 0:00:05.818 ***** included: /WORKDIR/git-wifi_fixl3ndyqul/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-wifi_fixl3ndyqul/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 21 December 2023 23:50:15 +0000 (0:00:00.044) 0:00:05.863 ***** included: /WORKDIR/git-wifi_fixl3ndyqul/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-wifi_fixl3ndyqul/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 21 December 2023 23:50:15 +0000 (0:00:00.021) 0:00:05.885 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1703202615.0934305, "block_size": 4096, "blocks": 0, "ctime": 1703202615.0934305, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 23118, "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": 1703202615.0934305, "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_fixl3ndyqul/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 21 December 2023 23:50:16 +0000 (0:00:00.206) 0:00:06.092 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /WORKDIR/git-wifi_fixl3ndyqul/tests/playbooks/tests_auto_gateway.yml:17 Thursday 21 December 2023 23:50:16 +0000 (0:00:00.010) 0:00:06.103 ***** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-wifi_fixl3ndyqul/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 21 December 2023 23:50:16 +0000 (0:00:00.009) 0:00:06.112 ***** included: /WORKDIR/git-wifi_fixl3ndyqul/.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_fixl3ndyqul/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 21 December 2023 23:50:16 +0000 (0:00:00.015) 0:00:06.127 ***** 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_fixl3ndyqul/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 21 December 2023 23:50:16 +0000 (0:00:00.017) 0:00:06.144 ***** 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_fixl3ndyqul/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 21 December 2023 23:50:16 +0000 (0:00:00.010) 0:00:06.155 ***** 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_fixl3ndyqul/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 21 December 2023 23:50:16 +0000 (0:00:00.010) 0:00:06.166 ***** 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_fixl3ndyqul/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 21 December 2023 23:50:17 +0000 (0:00:01.470) 0:00:07.636 ***** 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_fixl3ndyqul/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 21 December 2023 23:50:18 +0000 (0:00:01.120) 0:00:08.757 ***** 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_fixl3ndyqul/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 21 December 2023 23:50:18 +0000 (0:00:00.020) 0:00:08.778 ***** 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_fixl3ndyqul/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 21 December 2023 23:50:18 +0000 (0:00:00.021) 0:00:08.799 ***** 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_fixl3ndyqul/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 21 December 2023 23:50:18 +0000 (0:00:00.020) 0:00:08.820 ***** 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_fixl3ndyqul/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 21 December 2023 23:50:18 +0000 (0:00:00.060) 0:00:08.880 ***** 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_fixl3ndyqul/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 21 December 2023 23:50:19 +0000 (0:00:00.035) 0:00:08.915 ***** 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_fixl3ndyqul/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 21 December 2023 23:50:19 +0000 (0:00:00.035) 0:00:08.950 ***** 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_fixl3ndyqul/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 21 December 2023 23:50:19 +0000 (0:00:00.061) 0:00:09.012 ***** 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_fixl3ndyqul/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 21 December 2023 23:50:19 +0000 (0:00:00.573) 0:00:09.586 ***** 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_fixl3ndyqul/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 21 December 2023 23:50:19 +0000 (0:00:00.032) 0:00:09.619 ***** 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_fixl3ndyqul/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 21 December 2023 23:50:19 +0000 (0:00:00.019) 0:00:09.639 ***** 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_fixl3ndyqul/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 21 December 2023 23:50:19 +0000 (0:00:00.017) 0:00:09.656 ***** 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, 8f87a16f-02e5-46fd-8e40-1e0c31a8325e [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 8f87a16f-02e5-46fd-8e40-1e0c31a8325e (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-wifi_fixl3ndyqul/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 21 December 2023 23:50:20 +0000 (0:00:00.702) 0:00:10.359 ***** 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_fixl3ndyqul/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 21 December 2023 23:50:20 +0000 (0:00:00.021) 0:00:10.380 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 8f87a16f-02e5-46fd-8e40-1e0c31a8325e", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 8f87a16f-02e5-46fd-8e40-1e0c31a8325e (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-wifi_fixl3ndyqul/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 21 December 2023 23:50:20 +0000 (0:00:00.021) 0:00:10.402 ***** 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, 8f87a16f-02e5-46fd-8e40-1e0c31a8325e\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 8f87a16f-02e5-46fd-8e40-1e0c31a8325e (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 8f87a16f-02e5-46fd-8e40-1e0c31a8325e", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 8f87a16f-02e5-46fd-8e40-1e0c31a8325e (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-wifi_fixl3ndyqul/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 21 December 2023 23:50:20 +0000 (0:00:00.022) 0:00:10.425 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-wifi_fixl3ndyqul/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 21 December 2023 23:50:20 +0000 (0:00:00.020) 0:00:10.445 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-wifi_fixl3ndyqul/tests/playbooks/tests_auto_gateway.yml:42 Thursday 21 December 2023 23:50:20 +0000 (0:00:00.294) 0:00:10.739 ***** included: /WORKDIR/git-wifi_fixl3ndyqul/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-wifi_fixl3ndyqul/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 21 December 2023 23:50:20 +0000 (0:00:00.053) 0:00:10.793 ***** included: /WORKDIR/git-wifi_fixl3ndyqul/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-wifi_fixl3ndyqul/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 21 December 2023 23:50:20 +0000 (0:00:00.031) 0:00:10.824 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1703202615.0934305, "block_size": 4096, "blocks": 0, "ctime": 1703202615.0934305, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 23118, "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": 1703202615.0934305, "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_fixl3ndyqul/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 21 December 2023 23:50:21 +0000 (0:00:00.199) 0:00:11.024 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-wifi_fixl3ndyqul/tests/playbooks/tests_auto_gateway.yml:44 Thursday 21 December 2023 23:50:21 +0000 (0:00:00.020) 0:00:11.045 ***** included: /WORKDIR/git-wifi_fixl3ndyqul/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-wifi_fixl3ndyqul/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 21 December 2023 23:50:21 +0000 (0:00:00.064) 0:00:11.109 ***** included: /WORKDIR/git-wifi_fixl3ndyqul/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-wifi_fixl3ndyqul/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 21 December 2023 23:50:21 +0000 (0:00:00.030) 0:00:11.140 ***** 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_fixl3ndyqul/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 21 December 2023 23:50:21 +0000 (0:00:00.018) 0:00:11.159 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-wifi_fixl3ndyqul/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 21 December 2023 23:50:21 +0000 (0:00:00.193) 0:00:11.352 ***** 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_fixl3ndyqul/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 21 December 2023 23:50:21 +0000 (0:00:00.018) 0:00:11.370 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.161737", "end": "2023-12-21 23:50:21.785377", "rc": 0, "start": "2023-12-21 23:50:21.623640" } 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_fixl3ndyqul/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 21 December 2023 23:50:21 +0000 (0:00:00.358) 0:00:11.729 ***** 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_fixl3ndyqul/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 21 December 2023 23:50:21 +0000 (0:00:00.024) 0:00:11.754 ***** 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_fixl3ndyqul/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 21 December 2023 23:50:21 +0000 (0:00:00.030) 0:00:11.784 ***** 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_fixl3ndyqul/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 21 December 2023 23:50:21 +0000 (0:00:00.027) 0:00:11.812 ***** 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_fixl3ndyqul/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 21 December 2023 23:50:21 +0000 (0:00:00.019) 0:00:11.831 ***** 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_fixl3ndyqul/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 21 December 2023 23:50:21 +0000 (0:00:00.027) 0:00:11.858 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-wifi_fixl3ndyqul/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 21 December 2023 23:50:21 +0000 (0:00:00.049) 0:00:11.908 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-wifi_fixl3ndyqul/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 21 December 2023 23:50:22 +0000 (0:00:00.023) 0:00:11.931 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-wifi_fixl3ndyqul/tests/playbooks/tests_auto_gateway.yml:48 Thursday 21 December 2023 23:50:22 +0000 (0:00:00.028) 0:00:11.960 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003624", "end": "2023-12-21 23:50:22.235979", "rc": 0, "start": "2023-12-21 23:50:22.232355" } STDOUT: default via 10.31.12.1 dev eth0 proto dhcp src 10.31.13.101 metric 100 default via 203.0.113.1 dev veth0 proto static metric 65535 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.13.101 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_fixl3ndyqul/tests/playbooks/tests_auto_gateway.yml:52 Thursday 21 December 2023 23:50:22 +0000 (0:00:00.236) 0:00:12.196 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-wifi_fixl3ndyqul/tests/playbooks/tests_auto_gateway.yml:58 Thursday 21 December 2023 23:50:22 +0000 (0:00:00.020) 0:00:12.217 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003385", "end": "2023-12-21 23:50:22.481346", "rc": 0, "start": "2023-12-21 23:50:22.477961" } STDOUT: ::1 dev lo proto kernel metric 256 pref medium 2001:db8::/64 dev veth0 proto kernel metric 101 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium fe80::/64 dev veth0 proto kernel metric 1024 pref medium default via 2001:db8::1 dev veth0 proto static metric 101 pref medium TASK [Assert default ipv6 route is present] ************************************ task path: /WORKDIR/git-wifi_fixl3ndyqul/tests/playbooks/tests_auto_gateway.yml:62 Thursday 21 December 2023 23:50:22 +0000 (0:00:00.203) 0:00:12.420 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-wifi_fixl3ndyqul/tests/playbooks/tests_auto_gateway.yml:69 Thursday 21 December 2023 23:50:22 +0000 (0:00:00.045) 0:00:12.465 ***** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-wifi_fixl3ndyqul/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 21 December 2023 23:50:22 +0000 (0:00:00.019) 0:00:12.485 ***** included: /WORKDIR/git-wifi_fixl3ndyqul/.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_fixl3ndyqul/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 21 December 2023 23:50:22 +0000 (0:00:00.032) 0:00:12.517 ***** 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_fixl3ndyqul/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 21 December 2023 23:50:22 +0000 (0:00:00.031) 0:00:12.549 ***** 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_fixl3ndyqul/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 21 December 2023 23:50:22 +0000 (0:00:00.023) 0:00:12.572 ***** 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_fixl3ndyqul/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 21 December 2023 23:50:22 +0000 (0:00:00.022) 0:00:12.595 ***** 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_fixl3ndyqul/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 21 December 2023 23:50:24 +0000 (0:00:01.381) 0:00:13.976 ***** 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_fixl3ndyqul/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 21 December 2023 23:50:24 +0000 (0:00:00.921) 0:00:14.897 ***** 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_fixl3ndyqul/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 21 December 2023 23:50:25 +0000 (0:00:00.022) 0:00:14.920 ***** 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_fixl3ndyqul/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 21 December 2023 23:50:25 +0000 (0:00:00.022) 0:00:14.942 ***** 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_fixl3ndyqul/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 21 December 2023 23:50:25 +0000 (0:00:00.020) 0:00:14.963 ***** 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_fixl3ndyqul/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 21 December 2023 23:50:25 +0000 (0:00:00.049) 0:00:15.013 ***** 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_fixl3ndyqul/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 21 December 2023 23:50:25 +0000 (0:00:00.020) 0:00:15.033 ***** 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_fixl3ndyqul/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 21 December 2023 23:50:25 +0000 (0:00:00.020) 0:00:15.053 ***** 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_fixl3ndyqul/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 21 December 2023 23:50:25 +0000 (0:00:00.031) 0:00:15.085 ***** 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_fixl3ndyqul/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 21 December 2023 23:50:25 +0000 (0:00:00.440) 0:00:15.525 ***** 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_fixl3ndyqul/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 21 December 2023 23:50:25 +0000 (0:00:00.034) 0:00:15.560 ***** 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_fixl3ndyqul/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 21 December 2023 23:50:25 +0000 (0:00:00.018) 0:00:15.578 ***** 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_fixl3ndyqul/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 21 December 2023 23:50:25 +0000 (0:00:00.018) 0:00:15.596 ***** 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_fixl3ndyqul/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 21 December 2023 23:50:26 +0000 (0:00:00.428) 0:00:16.025 ***** 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_fixl3ndyqul/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 21 December 2023 23:50:26 +0000 (0:00:00.035) 0:00:16.060 ***** 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_fixl3ndyqul/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 21 December 2023 23:50:26 +0000 (0:00:00.052) 0:00:16.113 ***** 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_fixl3ndyqul/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 21 December 2023 23:50:26 +0000 (0:00:00.031) 0:00:16.144 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-wifi_fixl3ndyqul/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 21 December 2023 23:50:26 +0000 (0:00:00.024) 0:00:16.168 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-wifi_fixl3ndyqul/tests/playbooks/tests_auto_gateway.yml:81 Thursday 21 December 2023 23:50:26 +0000 (0:00:00.201) 0:00:16.369 ***** included: /WORKDIR/git-wifi_fixl3ndyqul/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-wifi_fixl3ndyqul/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 21 December 2023 23:50:26 +0000 (0:00:00.043) 0:00:16.413 ***** 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_fixl3ndyqul/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 21 December 2023 23:50:26 +0000 (0:00:00.019) 0:00:16.432 ***** 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_fixl3ndyqul/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 21 December 2023 23:50:26 +0000 (0:00:00.021) 0:00:16.454 ***** included: /WORKDIR/git-wifi_fixl3ndyqul/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-wifi_fixl3ndyqul/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 23:50:26 +0000 (0:00:00.046) 0:00:16.500 ***** included: /WORKDIR/git-wifi_fixl3ndyqul/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-wifi_fixl3ndyqul/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 23:50:26 +0000 (0:00:00.076) 0:00:16.577 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003207", "end": "2023-12-21 23:50:26.834730", "rc": 0, "start": "2023-12-21 23:50:26.831523" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-wifi_fixl3ndyqul/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 23:50:26 +0000 (0:00:00.203) 0:00:16.781 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-wifi_fixl3ndyqul/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 23:50:26 +0000 (0:00:00.033) 0:00:16.814 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-wifi_fixl3ndyqul/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 21 December 2023 23:50:26 +0000 (0:00:00.021) 0:00:16.836 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-wifi_fixl3ndyqul/tests/playbooks/tasks/manage_test_interface.yml:23 Thursday 21 December 2023 23:50:27 +0000 (0:00:00.852) 0:00:17.688 ***** 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_fixl3ndyqul/tests/playbooks/tasks/manage_test_interface.yml:31 Thursday 21 December 2023 23:50:27 +0000 (0:00:00.039) 0:00:17.728 ***** 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_fixl3ndyqul/tests/playbooks/tasks/manage_test_interface.yml:39 Thursday 21 December 2023 23:50:27 +0000 (0:00:00.019) 0:00:17.748 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.019185", "end": "2023-12-21 23:50:28.033613", "rc": 0, "start": "2023-12-21 23:50:28.014428" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-wifi_fixl3ndyqul/tests/playbooks/tasks/manage_test_interface.yml:45 Thursday 21 December 2023 23:50:28 +0000 (0:00:00.228) 0:00:17.976 ***** 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_fixl3ndyqul/tests/playbooks/tasks/manage_test_interface.yml:50 Thursday 21 December 2023 23:50:28 +0000 (0:00:00.022) 0:00:17.999 ***** 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_fixl3ndyqul/tests/playbooks/tasks/manage_test_interface.yml:56 Thursday 21 December 2023 23:50:28 +0000 (0:00:00.019) 0:00:18.018 ***** 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_fixl3ndyqul/tests/playbooks/tasks/manage_test_interface.yml:61 Thursday 21 December 2023 23:50:28 +0000 (0:00:00.019) 0:00:18.038 ***** 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_fixl3ndyqul/tests/playbooks/tests_auto_gateway.yml:85 Thursday 21 December 2023 23:50:28 +0000 (0:00:00.024) 0:00:18.063 ***** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-wifi_fixl3ndyqul/tests/playbooks/tests_auto_gateway.yml:89 Thursday 21 December 2023 23:50:28 +0000 (0:00:00.026) 0:00:18.090 ***** included: /WORKDIR/git-wifi_fixl3ndyqul/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-wifi_fixl3ndyqul/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 21 December 2023 23:50:28 +0000 (0:00:00.051) 0:00:18.141 ***** 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_fixl3ndyqul/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 21 December 2023 23:50:28 +0000 (0:00:00.020) 0:00:18.162 ***** 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_fixl3ndyqul/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 21 December 2023 23:50:28 +0000 (0:00:00.019) 0:00:18.181 ***** included: /WORKDIR/git-wifi_fixl3ndyqul/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-wifi_fixl3ndyqul/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 23:50:28 +0000 (0:00:00.032) 0:00:18.213 ***** included: /WORKDIR/git-wifi_fixl3ndyqul/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-wifi_fixl3ndyqul/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 23:50:28 +0000 (0:00:00.065) 0:00:18.279 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003212", "end": "2023-12-21 23:50:28.541914", "rc": 0, "start": "2023-12-21 23:50:28.538702" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-wifi_fixl3ndyqul/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 23:50:28 +0000 (0:00:00.206) 0:00:18.486 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-wifi_fixl3ndyqul/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 23:50:28 +0000 (0:00:00.022) 0:00:18.508 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-wifi_fixl3ndyqul/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 21 December 2023 23:50:28 +0000 (0:00:00.021) 0:00:18.530 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-wifi_fixl3ndyqul/tests/playbooks/tasks/manage_test_interface.yml:23 Thursday 21 December 2023 23:50:29 +0000 (0:00:00.873) 0:00:19.403 ***** 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.016183", "end": "2023-12-21 23:50:29.722076", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2023-12-21 23:50:29.705893" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003424", "end": "2023-12-21 23:50:29.923040", "item": "ip link set peerveth0 up", "rc": 0, "start": "2023-12-21 23:50:29.919616" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.003423", "end": "2023-12-21 23:50:30.110625", "item": "ip link set veth0 up", "rc": 0, "start": "2023-12-21 23:50:30.107202" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-wifi_fixl3ndyqul/tests/playbooks/tasks/manage_test_interface.yml:31 Thursday 21 December 2023 23:50:30 +0000 (0:00:00.649) 0:00:20.053 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.020923", "end": "2023-12-21 23:50:30.327224", "rc": 0, "start": "2023-12-21 23:50:30.306301" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-wifi_fixl3ndyqul/tests/playbooks/tasks/manage_test_interface.yml:39 Thursday 21 December 2023 23:50:30 +0000 (0:00:00.215) 0:00:20.269 ***** 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_fixl3ndyqul/tests/playbooks/tasks/manage_test_interface.yml:45 Thursday 21 December 2023 23:50:30 +0000 (0:00:00.019) 0:00:20.288 ***** 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_fixl3ndyqul/tests/playbooks/tasks/manage_test_interface.yml:50 Thursday 21 December 2023 23:50:30 +0000 (0:00:00.018) 0:00:20.306 ***** 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_fixl3ndyqul/tests/playbooks/tasks/manage_test_interface.yml:56 Thursday 21 December 2023 23:50:30 +0000 (0:00:00.019) 0:00:20.326 ***** 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_fixl3ndyqul/tests/playbooks/tasks/manage_test_interface.yml:61 Thursday 21 December 2023 23:50:30 +0000 (0:00:00.018) 0:00:20.344 ***** 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_fixl3ndyqul/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 21 December 2023 23:50:30 +0000 (0:00:00.018) 0:00:20.363 ***** included: /WORKDIR/git-wifi_fixl3ndyqul/.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_fixl3ndyqul/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 21 December 2023 23:50:30 +0000 (0:00:00.034) 0:00:20.397 ***** 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_fixl3ndyqul/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 21 December 2023 23:50:30 +0000 (0:00:00.032) 0:00:20.430 ***** 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_fixl3ndyqul/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 21 December 2023 23:50:30 +0000 (0:00:00.021) 0:00:20.451 ***** 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_fixl3ndyqul/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 21 December 2023 23:50:30 +0000 (0:00:00.021) 0:00:20.472 ***** 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_fixl3ndyqul/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 21 December 2023 23:50:31 +0000 (0:00:01.430) 0:00:21.903 ***** 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_fixl3ndyqul/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 21 December 2023 23:50:32 +0000 (0:00:00.947) 0:00:22.851 ***** 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_fixl3ndyqul/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 21 December 2023 23:50:32 +0000 (0:00:00.022) 0:00:22.873 ***** 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_fixl3ndyqul/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 21 December 2023 23:50:32 +0000 (0:00:00.021) 0:00:22.895 ***** 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_fixl3ndyqul/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 21 December 2023 23:50:33 +0000 (0:00:00.024) 0:00:22.919 ***** 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_fixl3ndyqul/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 21 December 2023 23:50:33 +0000 (0:00:00.070) 0:00:22.990 ***** 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_fixl3ndyqul/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 21 December 2023 23:50:33 +0000 (0:00:00.025) 0:00:23.015 ***** 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_fixl3ndyqul/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 21 December 2023 23:50:33 +0000 (0:00:00.038) 0:00:23.054 ***** 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_fixl3ndyqul/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 21 December 2023 23:50:33 +0000 (0:00:00.075) 0:00:23.129 ***** 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_fixl3ndyqul/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 21 December 2023 23:50:33 +0000 (0:00:00.403) 0:00:23.533 ***** 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_fixl3ndyqul/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 21 December 2023 23:50:33 +0000 (0:00:00.040) 0:00:23.574 ***** 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_fixl3ndyqul/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 21 December 2023 23:50:33 +0000 (0:00:00.019) 0:00:23.593 ***** 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_fixl3ndyqul/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 21 December 2023 23:50:33 +0000 (0:00:00.019) 0:00:23.612 ***** 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, 136e1c16-763d-4e17-8c03-7d1289ec0558 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 136e1c16-763d-4e17-8c03-7d1289ec0558 (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-wifi_fixl3ndyqul/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 21 December 2023 23:50:34 +0000 (0:00:00.391) 0:00:24.004 ***** 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_fixl3ndyqul/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 21 December 2023 23:50:34 +0000 (0:00:00.029) 0:00:24.033 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 136e1c16-763d-4e17-8c03-7d1289ec0558", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 136e1c16-763d-4e17-8c03-7d1289ec0558 (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-wifi_fixl3ndyqul/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 21 December 2023 23:50:34 +0000 (0:00:00.021) 0:00:24.054 ***** 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, 136e1c16-763d-4e17-8c03-7d1289ec0558\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 136e1c16-763d-4e17-8c03-7d1289ec0558 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 136e1c16-763d-4e17-8c03-7d1289ec0558", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 136e1c16-763d-4e17-8c03-7d1289ec0558 (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-wifi_fixl3ndyqul/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 21 December 2023 23:50:34 +0000 (0:00:00.054) 0:00:24.108 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-wifi_fixl3ndyqul/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 21 December 2023 23:50:34 +0000 (0:00:00.022) 0:00:24.131 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-wifi_fixl3ndyqul/tests/playbooks/tests_auto_gateway.yml:110 Thursday 21 December 2023 23:50:34 +0000 (0:00:00.202) 0:00:24.333 ***** included: /WORKDIR/git-wifi_fixl3ndyqul/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-wifi_fixl3ndyqul/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 21 December 2023 23:50:34 +0000 (0:00:00.045) 0:00:24.379 ***** included: /WORKDIR/git-wifi_fixl3ndyqul/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-wifi_fixl3ndyqul/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 21 December 2023 23:50:34 +0000 (0:00:00.029) 0:00:24.408 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1703202629.7104032, "block_size": 4096, "blocks": 0, "ctime": 1703202629.7104032, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 23704, "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": 1703202629.7104032, "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_fixl3ndyqul/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 21 December 2023 23:50:34 +0000 (0:00:00.192) 0:00:24.601 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-wifi_fixl3ndyqul/tests/playbooks/tests_auto_gateway.yml:112 Thursday 21 December 2023 23:50:34 +0000 (0:00:00.020) 0:00:24.621 ***** included: /WORKDIR/git-wifi_fixl3ndyqul/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-wifi_fixl3ndyqul/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 21 December 2023 23:50:34 +0000 (0:00:00.045) 0:00:24.667 ***** included: /WORKDIR/git-wifi_fixl3ndyqul/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-wifi_fixl3ndyqul/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 21 December 2023 23:50:34 +0000 (0:00:00.031) 0:00:24.698 ***** 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_fixl3ndyqul/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 21 December 2023 23:50:34 +0000 (0:00:00.019) 0:00:24.718 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-wifi_fixl3ndyqul/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 21 December 2023 23:50:35 +0000 (0:00:00.196) 0:00:24.915 ***** 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_fixl3ndyqul/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 21 December 2023 23:50:35 +0000 (0:00:00.025) 0:00:24.940 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.020780", "end": "2023-12-21 23:50:35.213432", "rc": 0, "start": "2023-12-21 23:50:35.192652" } 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_fixl3ndyqul/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 21 December 2023 23:50:35 +0000 (0:00:00.216) 0:00:25.157 ***** 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_fixl3ndyqul/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 21 December 2023 23:50:35 +0000 (0:00:00.063) 0:00:25.220 ***** 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_fixl3ndyqul/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 21 December 2023 23:50:35 +0000 (0:00:00.021) 0:00:25.242 ***** 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_fixl3ndyqul/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 21 December 2023 23:50:35 +0000 (0:00:00.019) 0:00:25.262 ***** 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_fixl3ndyqul/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 21 December 2023 23:50:35 +0000 (0:00:00.020) 0:00:25.282 ***** 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_fixl3ndyqul/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 21 December 2023 23:50:35 +0000 (0:00:00.018) 0:00:25.301 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-wifi_fixl3ndyqul/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 21 December 2023 23:50:35 +0000 (0:00:00.022) 0:00:25.323 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-wifi_fixl3ndyqul/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 21 December 2023 23:50:35 +0000 (0:00:00.025) 0:00:25.349 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-wifi_fixl3ndyqul/tests/playbooks/tests_auto_gateway.yml:116 Thursday 21 December 2023 23:50:35 +0000 (0:00:00.020) 0:00:25.369 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003297", "end": "2023-12-21 23:50:35.623410", "rc": 0, "start": "2023-12-21 23:50:35.620113" } STDOUT: default via 10.31.12.1 dev eth0 proto dhcp src 10.31.13.101 metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.13.101 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_fixl3ndyqul/tests/playbooks/tests_auto_gateway.yml:120 Thursday 21 December 2023 23:50:35 +0000 (0:00:00.198) 0:00:25.568 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-wifi_fixl3ndyqul/tests/playbooks/tests_auto_gateway.yml:126 Thursday 21 December 2023 23:50:35 +0000 (0:00:00.032) 0:00:25.600 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003433", "end": "2023-12-21 23:50:35.855756", "rc": 0, "start": "2023-12-21 23:50:35.852323" } STDOUT: ::1 dev lo proto kernel metric 256 pref medium 2001:db8::/64 dev veth0 proto kernel metric 101 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium fe80::/64 dev veth0 proto kernel metric 1024 pref medium TASK [Assert default ipv6 route is absent] ************************************* task path: /WORKDIR/git-wifi_fixl3ndyqul/tests/playbooks/tests_auto_gateway.yml:130 Thursday 21 December 2023 23:50:35 +0000 (0:00:00.199) 0:00:25.799 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-wifi_fixl3ndyqul/tests/playbooks/tests_auto_gateway.yml:137 Thursday 21 December 2023 23:50:35 +0000 (0:00:00.049) 0:00:25.849 ***** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-wifi_fixl3ndyqul/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 21 December 2023 23:50:35 +0000 (0:00:00.041) 0:00:25.891 ***** included: /WORKDIR/git-wifi_fixl3ndyqul/.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_fixl3ndyqul/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 21 December 2023 23:50:36 +0000 (0:00:00.050) 0:00:25.941 ***** 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_fixl3ndyqul/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 21 December 2023 23:50:36 +0000 (0:00:00.035) 0:00:25.976 ***** 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_fixl3ndyqul/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 21 December 2023 23:50:36 +0000 (0:00:00.058) 0:00:26.035 ***** 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_fixl3ndyqul/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 21 December 2023 23:50:36 +0000 (0:00:00.038) 0:00:26.074 ***** 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_fixl3ndyqul/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 21 December 2023 23:50:37 +0000 (0:00:01.424) 0:00:27.498 ***** 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_fixl3ndyqul/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 21 December 2023 23:50:38 +0000 (0:00:00.924) 0:00:28.422 ***** 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_fixl3ndyqul/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 21 December 2023 23:50:38 +0000 (0:00:00.022) 0:00:28.445 ***** 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_fixl3ndyqul/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 21 December 2023 23:50:38 +0000 (0:00:00.021) 0:00:28.466 ***** 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_fixl3ndyqul/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 21 December 2023 23:50:38 +0000 (0:00:00.021) 0:00:28.488 ***** 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_fixl3ndyqul/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 21 December 2023 23:50:38 +0000 (0:00:00.050) 0:00:28.539 ***** 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_fixl3ndyqul/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 21 December 2023 23:50:38 +0000 (0:00:00.022) 0:00:28.561 ***** 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_fixl3ndyqul/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 21 December 2023 23:50:38 +0000 (0:00:00.021) 0:00:28.583 ***** 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_fixl3ndyqul/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 21 December 2023 23:50:38 +0000 (0:00:00.035) 0:00:28.618 ***** 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_fixl3ndyqul/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 21 December 2023 23:50:39 +0000 (0:00:00.378) 0:00:28.996 ***** 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_fixl3ndyqul/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 21 December 2023 23:50:39 +0000 (0:00:00.033) 0:00:29.030 ***** 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_fixl3ndyqul/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 21 December 2023 23:50:39 +0000 (0:00:00.018) 0:00:29.048 ***** 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_fixl3ndyqul/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 21 December 2023 23:50:39 +0000 (0:00:00.017) 0:00:29.065 ***** 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_fixl3ndyqul/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 21 December 2023 23:50:39 +0000 (0:00:00.417) 0:00:29.483 ***** 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_fixl3ndyqul/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 21 December 2023 23:50:39 +0000 (0:00:00.022) 0:00:29.506 ***** 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_fixl3ndyqul/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 21 December 2023 23:50:39 +0000 (0:00:00.022) 0:00:29.528 ***** 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_fixl3ndyqul/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 21 December 2023 23:50:39 +0000 (0:00:00.054) 0:00:29.583 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-wifi_fixl3ndyqul/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 21 December 2023 23:50:39 +0000 (0:00:00.022) 0:00:29.605 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-wifi_fixl3ndyqul/tests/playbooks/tests_auto_gateway.yml:149 Thursday 21 December 2023 23:50:39 +0000 (0:00:00.198) 0:00:29.804 ***** included: /WORKDIR/git-wifi_fixl3ndyqul/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-wifi_fixl3ndyqul/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 21 December 2023 23:50:39 +0000 (0:00:00.048) 0:00:29.852 ***** 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_fixl3ndyqul/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 21 December 2023 23:50:39 +0000 (0:00:00.018) 0:00:29.870 ***** 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_fixl3ndyqul/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 21 December 2023 23:50:39 +0000 (0:00:00.018) 0:00:29.888 ***** included: /WORKDIR/git-wifi_fixl3ndyqul/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-wifi_fixl3ndyqul/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 23:50:40 +0000 (0:00:00.030) 0:00:29.919 ***** included: /WORKDIR/git-wifi_fixl3ndyqul/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-wifi_fixl3ndyqul/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 23:50:40 +0000 (0:00:00.032) 0:00:29.951 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003255", "end": "2023-12-21 23:50:40.217571", "rc": 0, "start": "2023-12-21 23:50:40.214316" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-wifi_fixl3ndyqul/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 23:50:40 +0000 (0:00:00.208) 0:00:30.159 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-wifi_fixl3ndyqul/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 23:50:40 +0000 (0:00:00.020) 0:00:30.180 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-wifi_fixl3ndyqul/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 21 December 2023 23:50:40 +0000 (0:00:00.019) 0:00:30.200 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-wifi_fixl3ndyqul/tests/playbooks/tasks/manage_test_interface.yml:23 Thursday 21 December 2023 23:50:41 +0000 (0:00:00.833) 0:00:31.033 ***** 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_fixl3ndyqul/tests/playbooks/tasks/manage_test_interface.yml:31 Thursday 21 December 2023 23:50:41 +0000 (0:00:00.025) 0:00:31.059 ***** 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_fixl3ndyqul/tests/playbooks/tasks/manage_test_interface.yml:39 Thursday 21 December 2023 23:50:41 +0000 (0:00:00.020) 0:00:31.080 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.013949", "end": "2023-12-21 23:50:41.351683", "rc": 0, "start": "2023-12-21 23:50:41.337734" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-wifi_fixl3ndyqul/tests/playbooks/tasks/manage_test_interface.yml:45 Thursday 21 December 2023 23:50:41 +0000 (0:00:00.216) 0:00:31.297 ***** 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_fixl3ndyqul/tests/playbooks/tasks/manage_test_interface.yml:50 Thursday 21 December 2023 23:50:41 +0000 (0:00:00.051) 0:00:31.348 ***** 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_fixl3ndyqul/tests/playbooks/tasks/manage_test_interface.yml:56 Thursday 21 December 2023 23:50:41 +0000 (0:00:00.021) 0:00:31.369 ***** 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_fixl3ndyqul/tests/playbooks/tasks/manage_test_interface.yml:61 Thursday 21 December 2023 23:50:41 +0000 (0:00:00.020) 0:00:31.390 ***** 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:41 +0000 (0:00:00.050) 0:00:31.440 ***** =============================================================================== Install iproute --------------------------------------------------------- 1.88s /WORKDIR/git-wifi_fixl3ndyqul/tests/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Check which services are running ---- 1.47s /WORKDIR/git-wifi_fixl3ndyqul/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.43s /WORKDIR/git-wifi_fixl3ndyqul/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.42s /WORKDIR/git-wifi_fixl3ndyqul/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.38s /WORKDIR/git-wifi_fixl3ndyqul/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.12s /WORKDIR/git-wifi_fixl3ndyqul/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 0.95s /WORKDIR/git-wifi_fixl3ndyqul/.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.92s /WORKDIR/git-wifi_fixl3ndyqul/.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.92s /WORKDIR/git-wifi_fixl3ndyqul/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Install iproute --------------------------------------------------------- 0.87s /WORKDIR/git-wifi_fixl3ndyqul/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.85s /WORKDIR/git-wifi_fixl3ndyqul/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.83s /WORKDIR/git-wifi_fixl3ndyqul/tests/playbooks/tasks/manage_test_interface.yml:16 Gathering Facts --------------------------------------------------------- 0.78s /WORKDIR/git-wifi_fixl3ndyqul/tests/tests_auto_gateway_nm.yml:5 --------------- fedora.linux_system_roles.network : Configure networking connection profiles --- 0.70s /WORKDIR/git-wifi_fixl3ndyqul/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Create veth interface veth0 --------------------------------------------- 0.65s /WORKDIR/git-wifi_fixl3ndyqul/tests/playbooks/tasks/manage_test_interface.yml:23 Create veth interface veth0 --------------------------------------------- 0.61s /WORKDIR/git-wifi_fixl3ndyqul/tests/playbooks/tasks/manage_test_interface.yml:23 Gathering Facts --------------------------------------------------------- 0.61s /WORKDIR/git-wifi_fixl3ndyqul/tests/playbooks/tests_auto_gateway.yml:3 -------- fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.57s /WORKDIR/git-wifi_fixl3ndyqul/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.44s /WORKDIR/git-wifi_fixl3ndyqul/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.43s /WORKDIR/git-wifi_fixl3ndyqul/.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. ---^---^---^---^---^---