# 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-skip_initscriptszxv6f4a4/.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-skip_initscriptszxv6f4a4/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-skip_initscriptszxv6f4a4/tests/tests_auto_gateway_nm.yml:5 Wednesday 20 December 2023 20:24:53 +0000 (0:00:00.012) 0:00:00.012 **** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-skip_initscriptszxv6f4a4/tests/tests_auto_gateway_nm.yml:9 Wednesday 20 December 2023 20:24:53 +0000 (0:00:00.895) 0:00:00.907 **** included: /WORKDIR/git-skip_initscriptszxv6f4a4/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-skip_initscriptszxv6f4a4/tests/tasks/el_repo_setup.yml:3 Wednesday 20 December 2023 20:24:53 +0000 (0:00:00.013) 0:00:00.921 **** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-skip_initscriptszxv6f4a4/tests/tasks/el_repo_setup.yml:17 Wednesday 20 December 2023 20:24:54 +0000 (0:00:00.359) 0:00:01.280 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-skip_initscriptszxv6f4a4/tests/tasks/el_repo_setup.yml:22 Wednesday 20 December 2023 20:24:54 +0000 (0:00:00.262) 0:00:01.542 **** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-skip_initscriptszxv6f4a4/tests/tasks/el_repo_setup.yml:26 Wednesday 20 December 2023 20:24:54 +0000 (0:00:00.014) 0:00:01.557 **** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == 'CentOS'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-skip_initscriptszxv6f4a4/tests/tasks/el_repo_setup.yml:51 Wednesday 20 December 2023 20:24:54 +0000 (0:00:00.008) 0:00:01.565 **** included: /WORKDIR/git-skip_initscriptszxv6f4a4/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 38] ********************************************************** task path: /WORKDIR/git-skip_initscriptszxv6f4a4/tests/tasks/enable_epel.yml:8 Wednesday 20 December 2023 20:24:54 +0000 (0:00:00.022) 0:00:01.588 **** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-skip_initscriptszxv6f4a4/tests/tasks/enable_epel.yml:24 Wednesday 20 December 2023 20:24:54 +0000 (0:00:00.007) 0:00:01.596 **** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-skip_initscriptszxv6f4a4/tests/tasks/enable_epel.yml:30 Wednesday 20 December 2023 20:24:54 +0000 (0:00:00.007) 0:00:01.603 **** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-skip_initscriptszxv6f4a4/tests/tasks/enable_epel.yml:35 Wednesday 20 December 2023 20:24:54 +0000 (0:00:00.007) 0:00:01.611 **** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-skip_initscriptszxv6f4a4/tests/tasks/enable_epel.yml:40 Wednesday 20 December 2023 20:24:54 +0000 (0:00:00.007) 0:00:01.618 **** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-skip_initscriptszxv6f4a4/tests/tests_auto_gateway_nm.yml:11 Wednesday 20 December 2023 20:24:54 +0000 (0:00:00.007) 0:00:01.626 **** ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing auto_gateway setting] *********************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-skip_initscriptszxv6f4a4/tests/playbooks/tests_auto_gateway.yml:3 Wednesday 20 December 2023 20:24:54 +0000 (0:00:00.015) 0:00:01.642 **** ok: [sut] TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-skip_initscriptszxv6f4a4/tests/playbooks/tests_auto_gateway.yml:9 Wednesday 20 December 2023 20:24:55 +0000 (0:00:00.707) 0:00:02.350 **** included: /WORKDIR/git-skip_initscriptszxv6f4a4/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-skip_initscriptszxv6f4a4/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 20:24:55 +0000 (0:00:00.023) 0:00:02.373 **** included: /WORKDIR/git-skip_initscriptszxv6f4a4/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-skip_initscriptszxv6f4a4/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 20:24:55 +0000 (0:00:00.010) 0:00:02.383 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003803", "end": "2023-12-20 20:24:55.668481", "rc": 0, "start": "2023-12-20 20:24:55.664678" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-skip_initscriptszxv6f4a4/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 20:24:55 +0000 (0:00:00.265) 0:00:02.649 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-skip_initscriptszxv6f4a4/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 20:24:55 +0000 (0:00:00.011) 0:00:02.661 **** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-skip_initscriptszxv6f4a4/tests/playbooks/tests_auto_gateway.yml:11 Wednesday 20 December 2023 20:24:55 +0000 (0:00:00.009) 0:00:02.671 **** included: /WORKDIR/git-skip_initscriptszxv6f4a4/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-skip_initscriptszxv6f4a4/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 20 December 2023 20:24:55 +0000 (0:00:00.024) 0:00:02.695 **** 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-skip_initscriptszxv6f4a4/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 20 December 2023 20:24:55 +0000 (0:00:00.007) 0:00:02.703 **** 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-skip_initscriptszxv6f4a4/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 20 December 2023 20:24:55 +0000 (0:00:00.007) 0:00:02.711 **** included: /WORKDIR/git-skip_initscriptszxv6f4a4/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-skip_initscriptszxv6f4a4/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 20:24:55 +0000 (0:00:00.011) 0:00:02.722 **** included: /WORKDIR/git-skip_initscriptszxv6f4a4/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-skip_initscriptszxv6f4a4/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 20:24:55 +0000 (0:00:00.010) 0:00:02.732 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003842", "end": "2023-12-20 20:24:55.957973", "rc": 0, "start": "2023-12-20 20:24:55.954131" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-skip_initscriptszxv6f4a4/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 20:24:55 +0000 (0:00:00.207) 0:00:02.939 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-skip_initscriptszxv6f4a4/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 20:24:55 +0000 (0:00:00.010) 0:00:02.950 **** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-skip_initscriptszxv6f4a4/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 20 December 2023 20:24:56 +0000 (0:00:00.011) 0:00:02.961 **** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-skip_initscriptszxv6f4a4/tests/playbooks/tasks/manage_test_interface.yml:23 Wednesday 20 December 2023 20:24:58 +0000 (0:00:02.273) 0:00:05.234 **** 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.037199", "end": "2023-12-20 20:24:58.498338", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2023-12-20 20:24:58.461139" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004176", "end": "2023-12-20 20:24:58.761015", "item": "ip link set peerveth0 up", "rc": 0, "start": "2023-12-20 20:24:58.756839" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004273", "end": "2023-12-20 20:24:58.963559", "item": "ip link set veth0 up", "rc": 0, "start": "2023-12-20 20:24:58.959286" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-skip_initscriptszxv6f4a4/tests/playbooks/tasks/manage_test_interface.yml:31 Wednesday 20 December 2023 20:24:58 +0000 (0:00:00.717) 0:00:05.952 **** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.207149", "end": "2023-12-20 20:24:59.386177", "rc": 0, "start": "2023-12-20 20:24:59.179028" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-skip_initscriptszxv6f4a4/tests/playbooks/tasks/manage_test_interface.yml:39 Wednesday 20 December 2023 20:24:59 +0000 (0:00:00.416) 0:00:06.369 **** 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-skip_initscriptszxv6f4a4/tests/playbooks/tasks/manage_test_interface.yml:45 Wednesday 20 December 2023 20:24:59 +0000 (0:00:00.009) 0:00:06.379 **** 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-skip_initscriptszxv6f4a4/tests/playbooks/tasks/manage_test_interface.yml:50 Wednesday 20 December 2023 20:24:59 +0000 (0:00:00.010) 0:00:06.390 **** 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-skip_initscriptszxv6f4a4/tests/playbooks/tasks/manage_test_interface.yml:56 Wednesday 20 December 2023 20:24:59 +0000 (0:00:00.009) 0:00:06.399 **** 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-skip_initscriptszxv6f4a4/tests/playbooks/tasks/manage_test_interface.yml:61 Wednesday 20 December 2023 20:24:59 +0000 (0:00:00.009) 0:00:06.408 **** 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-skip_initscriptszxv6f4a4/tests/playbooks/tests_auto_gateway.yml:15 Wednesday 20 December 2023 20:24:59 +0000 (0:00:00.008) 0:00:06.417 **** included: /WORKDIR/git-skip_initscriptszxv6f4a4/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-skip_initscriptszxv6f4a4/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 20 December 2023 20:24:59 +0000 (0:00:00.023) 0:00:06.440 **** included: /WORKDIR/git-skip_initscriptszxv6f4a4/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-skip_initscriptszxv6f4a4/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 20 December 2023 20:24:59 +0000 (0:00:00.011) 0:00:06.451 **** ok: [sut] => { "changed": false, "stat": { "atime": 1703103898.4970315, "block_size": 4096, "blocks": 0, "ctime": 1703103898.4970315, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26394, "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": 1703103898.4970315, "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-skip_initscriptszxv6f4a4/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 20 December 2023 20:24:59 +0000 (0:00:00.209) 0:00:06.661 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /WORKDIR/git-skip_initscriptszxv6f4a4/tests/playbooks/tests_auto_gateway.yml:17 Wednesday 20 December 2023 20:24:59 +0000 (0:00:00.010) 0:00:06.672 **** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-skip_initscriptszxv6f4a4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 20 December 2023 20:24:59 +0000 (0:00:00.010) 0:00:06.682 **** included: /WORKDIR/git-skip_initscriptszxv6f4a4/.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-skip_initscriptszxv6f4a4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 20 December 2023 20:24:59 +0000 (0:00:00.015) 0:00:06.698 **** 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-skip_initscriptszxv6f4a4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 20 December 2023 20:24:59 +0000 (0:00:00.020) 0:00:06.718 **** 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-skip_initscriptszxv6f4a4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 20 December 2023 20:24:59 +0000 (0:00:00.011) 0:00:06.730 **** 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-skip_initscriptszxv6f4a4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 20 December 2023 20:24:59 +0000 (0:00:00.011) 0:00:06.742 **** 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-skip_initscriptszxv6f4a4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 20 December 2023 20:25:02 +0000 (0:00:02.331) 0:00:09.073 **** 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-skip_initscriptszxv6f4a4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 20 December 2023 20:25:03 +0000 (0:00:01.012) 0:00:10.085 **** 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-skip_initscriptszxv6f4a4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 20 December 2023 20:25:03 +0000 (0:00:00.022) 0:00:10.108 **** 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-skip_initscriptszxv6f4a4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 20 December 2023 20:25:03 +0000 (0:00:00.024) 0:00:10.132 **** 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-skip_initscriptszxv6f4a4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 20 December 2023 20:25:03 +0000 (0:00:00.024) 0:00:10.157 **** 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-skip_initscriptszxv6f4a4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 20 December 2023 20:25:03 +0000 (0:00:00.060) 0:00:10.217 **** 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-skip_initscriptszxv6f4a4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Wednesday 20 December 2023 20:25:03 +0000 (0:00:00.050) 0:00:10.268 **** 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-skip_initscriptszxv6f4a4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Wednesday 20 December 2023 20:25:03 +0000 (0:00:00.024) 0:00:10.292 **** 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-skip_initscriptszxv6f4a4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Wednesday 20 December 2023 20:25:03 +0000 (0:00:00.041) 0:00:10.334 **** 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-skip_initscriptszxv6f4a4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Wednesday 20 December 2023 20:25:03 +0000 (0:00:00.597) 0:00:10.931 **** 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-skip_initscriptszxv6f4a4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Wednesday 20 December 2023 20:25:04 +0000 (0:00:00.037) 0:00:10.969 **** 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-skip_initscriptszxv6f4a4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Wednesday 20 December 2023 20:25:04 +0000 (0:00:00.022) 0:00:10.991 **** 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-skip_initscriptszxv6f4a4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 20 December 2023 20:25:04 +0000 (0:00:00.020) 0:00:11.012 **** 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, 884e556e-d4a6-4e4b-8c16-54bd1565a3cc [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 884e556e-d4a6-4e4b-8c16-54bd1565a3cc (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-skip_initscriptszxv6f4a4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Wednesday 20 December 2023 20:25:04 +0000 (0:00:00.747) 0:00:11.760 **** 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-skip_initscriptszxv6f4a4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Wednesday 20 December 2023 20:25:04 +0000 (0:00:00.024) 0:00:11.785 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 884e556e-d4a6-4e4b-8c16-54bd1565a3cc", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 884e556e-d4a6-4e4b-8c16-54bd1565a3cc (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-skip_initscriptszxv6f4a4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Wednesday 20 December 2023 20:25:04 +0000 (0:00:00.025) 0:00:11.810 **** 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, 884e556e-d4a6-4e4b-8c16-54bd1565a3cc\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 884e556e-d4a6-4e4b-8c16-54bd1565a3cc (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 884e556e-d4a6-4e4b-8c16-54bd1565a3cc", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 884e556e-d4a6-4e4b-8c16-54bd1565a3cc (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-skip_initscriptszxv6f4a4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Wednesday 20 December 2023 20:25:04 +0000 (0:00:00.024) 0:00:11.834 **** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-skip_initscriptszxv6f4a4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 20 December 2023 20:25:04 +0000 (0:00:00.029) 0:00:11.864 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-skip_initscriptszxv6f4a4/tests/playbooks/tests_auto_gateway.yml:42 Wednesday 20 December 2023 20:25:05 +0000 (0:00:00.348) 0:00:12.212 **** included: /WORKDIR/git-skip_initscriptszxv6f4a4/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-skip_initscriptszxv6f4a4/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 20 December 2023 20:25:05 +0000 (0:00:00.055) 0:00:12.268 **** included: /WORKDIR/git-skip_initscriptszxv6f4a4/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-skip_initscriptszxv6f4a4/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 20 December 2023 20:25:05 +0000 (0:00:00.065) 0:00:12.334 **** ok: [sut] => { "changed": false, "stat": { "atime": 1703103898.4970315, "block_size": 4096, "blocks": 0, "ctime": 1703103898.4970315, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26394, "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": 1703103898.4970315, "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-skip_initscriptszxv6f4a4/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 20 December 2023 20:25:05 +0000 (0:00:00.217) 0:00:12.551 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-skip_initscriptszxv6f4a4/tests/playbooks/tests_auto_gateway.yml:44 Wednesday 20 December 2023 20:25:05 +0000 (0:00:00.022) 0:00:12.573 **** included: /WORKDIR/git-skip_initscriptszxv6f4a4/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-skip_initscriptszxv6f4a4/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 20 December 2023 20:25:05 +0000 (0:00:00.047) 0:00:12.621 **** included: /WORKDIR/git-skip_initscriptszxv6f4a4/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-skip_initscriptszxv6f4a4/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 20 December 2023 20:25:05 +0000 (0:00:00.034) 0:00:12.656 **** 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-skip_initscriptszxv6f4a4/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 20 December 2023 20:25:05 +0000 (0:00:00.022) 0:00:12.678 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-skip_initscriptszxv6f4a4/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 20 December 2023 20:25:05 +0000 (0:00:00.216) 0:00:12.895 **** 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-skip_initscriptszxv6f4a4/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 20 December 2023 20:25:05 +0000 (0:00:00.021) 0:00:12.916 **** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.112735", "end": "2023-12-20 20:25:06.267436", "rc": 0, "start": "2023-12-20 20:25:06.154701" } 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-skip_initscriptszxv6f4a4/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 20 December 2023 20:25:06 +0000 (0:00:00.345) 0:00:13.262 **** 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-skip_initscriptszxv6f4a4/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 20 December 2023 20:25:06 +0000 (0:00:00.025) 0:00:13.288 **** 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-skip_initscriptszxv6f4a4/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 20 December 2023 20:25:06 +0000 (0:00:00.021) 0:00:13.309 **** 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-skip_initscriptszxv6f4a4/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 20 December 2023 20:25:06 +0000 (0:00:00.023) 0:00:13.333 **** 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-skip_initscriptszxv6f4a4/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 20 December 2023 20:25:06 +0000 (0:00:00.022) 0:00:13.355 **** 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-skip_initscriptszxv6f4a4/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 20 December 2023 20:25:06 +0000 (0:00:00.021) 0:00:13.376 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-skip_initscriptszxv6f4a4/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 20 December 2023 20:25:06 +0000 (0:00:00.065) 0:00:13.442 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-skip_initscriptszxv6f4a4/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 20 December 2023 20:25:06 +0000 (0:00:00.026) 0:00:13.468 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-skip_initscriptszxv6f4a4/tests/playbooks/tests_auto_gateway.yml:48 Wednesday 20 December 2023 20:25:06 +0000 (0:00:00.025) 0:00:13.493 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003998", "end": "2023-12-20 20:25:06.721495", "rc": 0, "start": "2023-12-20 20:25:06.717497" } STDOUT: default via 10.31.40.1 dev eth0 proto dhcp src 10.31.40.211 metric 100 default via 203.0.113.1 dev veth0 proto static metric 65535 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.40.211 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-skip_initscriptszxv6f4a4/tests/playbooks/tests_auto_gateway.yml:52 Wednesday 20 December 2023 20:25:06 +0000 (0:00:00.221) 0:00:13.715 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-skip_initscriptszxv6f4a4/tests/playbooks/tests_auto_gateway.yml:58 Wednesday 20 December 2023 20:25:06 +0000 (0:00:00.024) 0:00:13.740 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003933", "end": "2023-12-20 20:25:06.965480", "rc": 0, "start": "2023-12-20 20:25:06.961547" } STDOUT: 2001:db8::/64 dev veth0 proto kernel metric 101 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 1024 pref medium fe80::/64 dev veth0 proto kernel metric 1024 pref medium default via 2001:db8::1 dev veth0 proto static metric 101 pref medium TASK [Assert default ipv6 route is present] ************************************ task path: /WORKDIR/git-skip_initscriptszxv6f4a4/tests/playbooks/tests_auto_gateway.yml:62 Wednesday 20 December 2023 20:25:06 +0000 (0:00:00.216) 0:00:13.956 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-skip_initscriptszxv6f4a4/tests/playbooks/tests_auto_gateway.yml:69 Wednesday 20 December 2023 20:25:07 +0000 (0:00:00.029) 0:00:13.986 **** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-skip_initscriptszxv6f4a4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 20 December 2023 20:25:07 +0000 (0:00:00.024) 0:00:14.010 **** included: /WORKDIR/git-skip_initscriptszxv6f4a4/.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-skip_initscriptszxv6f4a4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 20 December 2023 20:25:07 +0000 (0:00:00.050) 0:00:14.060 **** 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-skip_initscriptszxv6f4a4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 20 December 2023 20:25:07 +0000 (0:00:00.047) 0:00:14.107 **** 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-skip_initscriptszxv6f4a4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 20 December 2023 20:25:07 +0000 (0:00:00.023) 0:00:14.130 **** 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-skip_initscriptszxv6f4a4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 20 December 2023 20:25:07 +0000 (0:00:00.024) 0:00:14.155 **** 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-skip_initscriptszxv6f4a4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 20 December 2023 20:25:09 +0000 (0:00:02.200) 0:00:16.356 **** 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-skip_initscriptszxv6f4a4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 20 December 2023 20:25:10 +0000 (0:00:00.915) 0:00:17.272 **** 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-skip_initscriptszxv6f4a4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 20 December 2023 20:25:10 +0000 (0:00:00.040) 0:00:17.313 **** 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-skip_initscriptszxv6f4a4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 20 December 2023 20:25:10 +0000 (0:00:00.032) 0:00:17.345 **** 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-skip_initscriptszxv6f4a4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 20 December 2023 20:25:10 +0000 (0:00:00.028) 0:00:17.374 **** 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-skip_initscriptszxv6f4a4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 20 December 2023 20:25:10 +0000 (0:00:00.065) 0:00:17.439 **** 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-skip_initscriptszxv6f4a4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Wednesday 20 December 2023 20:25:10 +0000 (0:00:00.024) 0:00:17.464 **** 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-skip_initscriptszxv6f4a4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Wednesday 20 December 2023 20:25:10 +0000 (0:00:00.029) 0:00:17.493 **** 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-skip_initscriptszxv6f4a4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Wednesday 20 December 2023 20:25:10 +0000 (0:00:00.037) 0:00:17.531 **** 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-skip_initscriptszxv6f4a4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Wednesday 20 December 2023 20:25:10 +0000 (0:00:00.421) 0:00:17.953 **** 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-skip_initscriptszxv6f4a4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Wednesday 20 December 2023 20:25:11 +0000 (0:00:00.033) 0:00:17.986 **** 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-skip_initscriptszxv6f4a4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Wednesday 20 December 2023 20:25:11 +0000 (0:00:00.021) 0:00:18.008 **** 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-skip_initscriptszxv6f4a4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 20 December 2023 20:25:11 +0000 (0:00:00.020) 0:00:18.028 **** 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-skip_initscriptszxv6f4a4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Wednesday 20 December 2023 20:25:11 +0000 (0:00:00.477) 0:00:18.505 **** 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-skip_initscriptszxv6f4a4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Wednesday 20 December 2023 20:25:11 +0000 (0:00:00.025) 0:00:18.531 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-skip_initscriptszxv6f4a4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Wednesday 20 December 2023 20:25:11 +0000 (0:00:00.022) 0:00:18.553 **** 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-skip_initscriptszxv6f4a4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Wednesday 20 December 2023 20:25:11 +0000 (0:00:00.022) 0:00:18.576 **** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-skip_initscriptszxv6f4a4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 20 December 2023 20:25:11 +0000 (0:00:00.054) 0:00:18.630 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-skip_initscriptszxv6f4a4/tests/playbooks/tests_auto_gateway.yml:81 Wednesday 20 December 2023 20:25:11 +0000 (0:00:00.224) 0:00:18.854 **** included: /WORKDIR/git-skip_initscriptszxv6f4a4/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-skip_initscriptszxv6f4a4/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 20 December 2023 20:25:11 +0000 (0:00:00.046) 0:00:18.900 **** 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-skip_initscriptszxv6f4a4/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 20 December 2023 20:25:11 +0000 (0:00:00.018) 0:00:18.919 **** 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-skip_initscriptszxv6f4a4/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 20 December 2023 20:25:11 +0000 (0:00:00.018) 0:00:18.937 **** included: /WORKDIR/git-skip_initscriptszxv6f4a4/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-skip_initscriptszxv6f4a4/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 20:25:12 +0000 (0:00:00.030) 0:00:18.968 **** included: /WORKDIR/git-skip_initscriptszxv6f4a4/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-skip_initscriptszxv6f4a4/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 20:25:12 +0000 (0:00:00.029) 0:00:18.997 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003780", "end": "2023-12-20 20:25:12.223857", "rc": 0, "start": "2023-12-20 20:25:12.220077" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-skip_initscriptszxv6f4a4/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 20:25:12 +0000 (0:00:00.218) 0:00:19.216 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-skip_initscriptszxv6f4a4/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 20:25:12 +0000 (0:00:00.021) 0:00:19.237 **** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-skip_initscriptszxv6f4a4/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 20 December 2023 20:25:12 +0000 (0:00:00.021) 0:00:19.258 **** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-skip_initscriptszxv6f4a4/tests/playbooks/tasks/manage_test_interface.yml:23 Wednesday 20 December 2023 20:25:14 +0000 (0:00:02.192) 0:00:21.450 **** 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-skip_initscriptszxv6f4a4/tests/playbooks/tasks/manage_test_interface.yml:31 Wednesday 20 December 2023 20:25:14 +0000 (0:00:00.025) 0:00:21.476 **** 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-skip_initscriptszxv6f4a4/tests/playbooks/tasks/manage_test_interface.yml:39 Wednesday 20 December 2023 20:25:14 +0000 (0:00:00.044) 0:00:21.520 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.021528", "end": "2023-12-20 20:25:14.764557", "rc": 0, "start": "2023-12-20 20:25:14.743029" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-skip_initscriptszxv6f4a4/tests/playbooks/tasks/manage_test_interface.yml:45 Wednesday 20 December 2023 20:25:14 +0000 (0:00:00.235) 0:00:21.756 **** 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-skip_initscriptszxv6f4a4/tests/playbooks/tasks/manage_test_interface.yml:50 Wednesday 20 December 2023 20:25:14 +0000 (0:00:00.019) 0:00:21.776 **** 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-skip_initscriptszxv6f4a4/tests/playbooks/tasks/manage_test_interface.yml:56 Wednesday 20 December 2023 20:25:14 +0000 (0:00:00.019) 0:00:21.795 **** 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-skip_initscriptszxv6f4a4/tests/playbooks/tasks/manage_test_interface.yml:61 Wednesday 20 December 2023 20:25:14 +0000 (0:00:00.018) 0:00:21.814 **** 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-skip_initscriptszxv6f4a4/tests/playbooks/tests_auto_gateway.yml:85 Wednesday 20 December 2023 20:25:14 +0000 (0:00:00.018) 0:00:21.833 **** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-skip_initscriptszxv6f4a4/tests/playbooks/tests_auto_gateway.yml:89 Wednesday 20 December 2023 20:25:14 +0000 (0:00:00.020) 0:00:21.853 **** included: /WORKDIR/git-skip_initscriptszxv6f4a4/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-skip_initscriptszxv6f4a4/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 20 December 2023 20:25:14 +0000 (0:00:00.047) 0:00:21.901 **** 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-skip_initscriptszxv6f4a4/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 20 December 2023 20:25:14 +0000 (0:00:00.020) 0:00:21.921 **** 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-skip_initscriptszxv6f4a4/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 20 December 2023 20:25:14 +0000 (0:00:00.019) 0:00:21.940 **** included: /WORKDIR/git-skip_initscriptszxv6f4a4/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-skip_initscriptszxv6f4a4/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 20:25:15 +0000 (0:00:00.031) 0:00:21.972 **** included: /WORKDIR/git-skip_initscriptszxv6f4a4/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-skip_initscriptszxv6f4a4/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 20:25:15 +0000 (0:00:00.030) 0:00:22.002 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003970", "end": "2023-12-20 20:25:15.230820", "rc": 0, "start": "2023-12-20 20:25:15.226850" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-skip_initscriptszxv6f4a4/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 20:25:15 +0000 (0:00:00.219) 0:00:22.222 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-skip_initscriptszxv6f4a4/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 20:25:15 +0000 (0:00:00.051) 0:00:22.273 **** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-skip_initscriptszxv6f4a4/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 20 December 2023 20:25:15 +0000 (0:00:00.020) 0:00:22.294 **** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-skip_initscriptszxv6f4a4/tests/playbooks/tasks/manage_test_interface.yml:23 Wednesday 20 December 2023 20:25:17 +0000 (0:00:02.189) 0:00:24.484 **** 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.006617", "end": "2023-12-20 20:25:17.716797", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2023-12-20 20:25:17.710180" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003987", "end": "2023-12-20 20:25:17.990500", "item": "ip link set peerveth0 up", "rc": 0, "start": "2023-12-20 20:25:17.986513" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.003981", "end": "2023-12-20 20:25:18.192107", "item": "ip link set veth0 up", "rc": 0, "start": "2023-12-20 20:25:18.188126" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-skip_initscriptszxv6f4a4/tests/playbooks/tasks/manage_test_interface.yml:31 Wednesday 20 December 2023 20:25:18 +0000 (0:00:00.702) 0:00:25.186 **** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.022548", "end": "2023-12-20 20:25:18.432038", "rc": 0, "start": "2023-12-20 20:25:18.409490" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-skip_initscriptszxv6f4a4/tests/playbooks/tasks/manage_test_interface.yml:39 Wednesday 20 December 2023 20:25:18 +0000 (0:00:00.237) 0:00:25.424 **** 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-skip_initscriptszxv6f4a4/tests/playbooks/tasks/manage_test_interface.yml:45 Wednesday 20 December 2023 20:25:18 +0000 (0:00:00.019) 0:00:25.444 **** 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-skip_initscriptszxv6f4a4/tests/playbooks/tasks/manage_test_interface.yml:50 Wednesday 20 December 2023 20:25:18 +0000 (0:00:00.019) 0:00:25.464 **** 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-skip_initscriptszxv6f4a4/tests/playbooks/tasks/manage_test_interface.yml:56 Wednesday 20 December 2023 20:25:18 +0000 (0:00:00.018) 0:00:25.482 **** 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-skip_initscriptszxv6f4a4/tests/playbooks/tasks/manage_test_interface.yml:61 Wednesday 20 December 2023 20:25:18 +0000 (0:00:00.026) 0:00:25.509 **** 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-skip_initscriptszxv6f4a4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 20 December 2023 20:25:18 +0000 (0:00:00.024) 0:00:25.534 **** included: /WORKDIR/git-skip_initscriptszxv6f4a4/.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-skip_initscriptszxv6f4a4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 20 December 2023 20:25:18 +0000 (0:00:00.043) 0:00:25.577 **** 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-skip_initscriptszxv6f4a4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 20 December 2023 20:25:18 +0000 (0:00:00.044) 0:00:25.622 **** 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-skip_initscriptszxv6f4a4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 20 December 2023 20:25:18 +0000 (0:00:00.026) 0:00:25.649 **** 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-skip_initscriptszxv6f4a4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 20 December 2023 20:25:18 +0000 (0:00:00.028) 0:00:25.677 **** 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-skip_initscriptszxv6f4a4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 20 December 2023 20:25:20 +0000 (0:00:02.177) 0:00:27.855 **** 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-skip_initscriptszxv6f4a4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 20 December 2023 20:25:21 +0000 (0:00:00.835) 0:00:28.690 **** 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-skip_initscriptszxv6f4a4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 20 December 2023 20:25:21 +0000 (0:00:00.049) 0:00:28.740 **** 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-skip_initscriptszxv6f4a4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 20 December 2023 20:25:21 +0000 (0:00:00.025) 0:00:28.765 **** 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-skip_initscriptszxv6f4a4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 20 December 2023 20:25:21 +0000 (0:00:00.022) 0:00:28.788 **** 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-skip_initscriptszxv6f4a4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 20 December 2023 20:25:21 +0000 (0:00:00.055) 0:00:28.843 **** 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-skip_initscriptszxv6f4a4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Wednesday 20 December 2023 20:25:21 +0000 (0:00:00.024) 0:00:28.868 **** 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-skip_initscriptszxv6f4a4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Wednesday 20 December 2023 20:25:21 +0000 (0:00:00.022) 0:00:28.890 **** 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-skip_initscriptszxv6f4a4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Wednesday 20 December 2023 20:25:21 +0000 (0:00:00.035) 0:00:28.926 **** 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-skip_initscriptszxv6f4a4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Wednesday 20 December 2023 20:25:22 +0000 (0:00:00.411) 0:00:29.338 **** 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-skip_initscriptszxv6f4a4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Wednesday 20 December 2023 20:25:22 +0000 (0:00:00.035) 0:00:29.374 **** 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-skip_initscriptszxv6f4a4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Wednesday 20 December 2023 20:25:22 +0000 (0:00:00.019) 0:00:29.393 **** 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-skip_initscriptszxv6f4a4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 20 December 2023 20:25:22 +0000 (0:00:00.019) 0:00:29.413 **** 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, 76a42dd3-caea-4054-ac54-1ed22f539569 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 76a42dd3-caea-4054-ac54-1ed22f539569 (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-skip_initscriptszxv6f4a4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Wednesday 20 December 2023 20:25:22 +0000 (0:00:00.456) 0:00:29.870 **** 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-skip_initscriptszxv6f4a4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Wednesday 20 December 2023 20:25:22 +0000 (0:00:00.029) 0:00:29.900 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 76a42dd3-caea-4054-ac54-1ed22f539569", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 76a42dd3-caea-4054-ac54-1ed22f539569 (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-skip_initscriptszxv6f4a4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Wednesday 20 December 2023 20:25:22 +0000 (0:00:00.058) 0:00:29.958 **** 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, 76a42dd3-caea-4054-ac54-1ed22f539569\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 76a42dd3-caea-4054-ac54-1ed22f539569 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 76a42dd3-caea-4054-ac54-1ed22f539569", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 76a42dd3-caea-4054-ac54-1ed22f539569 (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-skip_initscriptszxv6f4a4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Wednesday 20 December 2023 20:25:23 +0000 (0:00:00.025) 0:00:29.983 **** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-skip_initscriptszxv6f4a4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 20 December 2023 20:25:23 +0000 (0:00:00.023) 0:00:30.007 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-skip_initscriptszxv6f4a4/tests/playbooks/tests_auto_gateway.yml:110 Wednesday 20 December 2023 20:25:23 +0000 (0:00:00.226) 0:00:30.234 **** included: /WORKDIR/git-skip_initscriptszxv6f4a4/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-skip_initscriptszxv6f4a4/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 20 December 2023 20:25:23 +0000 (0:00:00.049) 0:00:30.283 **** included: /WORKDIR/git-skip_initscriptszxv6f4a4/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-skip_initscriptszxv6f4a4/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 20 December 2023 20:25:23 +0000 (0:00:00.032) 0:00:30.315 **** ok: [sut] => { "changed": false, "stat": { "atime": 1703103917.7141285, "block_size": 4096, "blocks": 0, "ctime": 1703103917.7141285, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26980, "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": 1703103917.7141285, "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-skip_initscriptszxv6f4a4/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 20 December 2023 20:25:23 +0000 (0:00:00.220) 0:00:30.535 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-skip_initscriptszxv6f4a4/tests/playbooks/tests_auto_gateway.yml:112 Wednesday 20 December 2023 20:25:23 +0000 (0:00:00.021) 0:00:30.557 **** included: /WORKDIR/git-skip_initscriptszxv6f4a4/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-skip_initscriptszxv6f4a4/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 20 December 2023 20:25:23 +0000 (0:00:00.050) 0:00:30.607 **** included: /WORKDIR/git-skip_initscriptszxv6f4a4/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-skip_initscriptszxv6f4a4/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 20 December 2023 20:25:23 +0000 (0:00:00.032) 0:00:30.639 **** 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-skip_initscriptszxv6f4a4/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 20 December 2023 20:25:23 +0000 (0:00:00.020) 0:00:30.660 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-skip_initscriptszxv6f4a4/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 20 December 2023 20:25:23 +0000 (0:00:00.254) 0:00:30.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-skip_initscriptszxv6f4a4/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 20 December 2023 20:25:23 +0000 (0:00:00.022) 0:00:30.937 **** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.022486", "end": "2023-12-20 20:25:24.196817", "rc": 0, "start": "2023-12-20 20:25:24.174331" } 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-skip_initscriptszxv6f4a4/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 20 December 2023 20:25:24 +0000 (0:00:00.251) 0:00:31.189 **** 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-skip_initscriptszxv6f4a4/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 20 December 2023 20:25:24 +0000 (0:00:00.024) 0:00:31.213 **** 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-skip_initscriptszxv6f4a4/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 20 December 2023 20:25:24 +0000 (0:00:00.020) 0:00:31.234 **** 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-skip_initscriptszxv6f4a4/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 20 December 2023 20:25:24 +0000 (0:00:00.021) 0:00:31.256 **** 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-skip_initscriptszxv6f4a4/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 20 December 2023 20:25:24 +0000 (0:00:00.021) 0:00:31.277 **** 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-skip_initscriptszxv6f4a4/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 20 December 2023 20:25:24 +0000 (0:00:00.020) 0:00:31.298 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-skip_initscriptszxv6f4a4/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 20 December 2023 20:25:24 +0000 (0:00:00.024) 0:00:31.322 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-skip_initscriptszxv6f4a4/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 20 December 2023 20:25:24 +0000 (0:00:00.026) 0:00:31.348 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-skip_initscriptszxv6f4a4/tests/playbooks/tests_auto_gateway.yml:116 Wednesday 20 December 2023 20:25:24 +0000 (0:00:00.022) 0:00:31.371 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.004015", "end": "2023-12-20 20:25:24.599178", "rc": 0, "start": "2023-12-20 20:25:24.595163" } STDOUT: default via 10.31.40.1 dev eth0 proto dhcp src 10.31.40.211 metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.40.211 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-skip_initscriptszxv6f4a4/tests/playbooks/tests_auto_gateway.yml:120 Wednesday 20 December 2023 20:25:24 +0000 (0:00:00.222) 0:00:31.593 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-skip_initscriptszxv6f4a4/tests/playbooks/tests_auto_gateway.yml:126 Wednesday 20 December 2023 20:25:24 +0000 (0:00:00.022) 0:00:31.615 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.004279", "end": "2023-12-20 20:25:24.842014", "rc": 0, "start": "2023-12-20 20:25:24.837735" } STDOUT: 2001:db8::/64 dev veth0 proto kernel metric 101 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 1024 pref medium fe80::/64 dev veth0 proto kernel metric 1024 pref medium TASK [Assert default ipv6 route is absent] ************************************* task path: /WORKDIR/git-skip_initscriptszxv6f4a4/tests/playbooks/tests_auto_gateway.yml:130 Wednesday 20 December 2023 20:25:24 +0000 (0:00:00.216) 0:00:31.832 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-skip_initscriptszxv6f4a4/tests/playbooks/tests_auto_gateway.yml:137 Wednesday 20 December 2023 20:25:24 +0000 (0:00:00.022) 0:00:31.854 **** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-skip_initscriptszxv6f4a4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 20 December 2023 20:25:24 +0000 (0:00:00.020) 0:00:31.875 **** included: /WORKDIR/git-skip_initscriptszxv6f4a4/.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-skip_initscriptszxv6f4a4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 20 December 2023 20:25:24 +0000 (0:00:00.083) 0:00:31.958 **** 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-skip_initscriptszxv6f4a4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 20 December 2023 20:25:25 +0000 (0:00:00.039) 0:00:31.997 **** 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-skip_initscriptszxv6f4a4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 20 December 2023 20:25:25 +0000 (0:00:00.022) 0:00:32.020 **** 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-skip_initscriptszxv6f4a4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 20 December 2023 20:25:25 +0000 (0:00:00.022) 0:00:32.043 **** 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-skip_initscriptszxv6f4a4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 20 December 2023 20:25:27 +0000 (0:00:02.176) 0:00:34.220 **** 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-skip_initscriptszxv6f4a4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 20 December 2023 20:25:28 +0000 (0:00:00.756) 0:00:34.976 **** 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-skip_initscriptszxv6f4a4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 20 December 2023 20:25:28 +0000 (0:00:00.023) 0:00:34.999 **** 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-skip_initscriptszxv6f4a4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 20 December 2023 20:25:28 +0000 (0:00:00.023) 0:00:35.023 **** 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-skip_initscriptszxv6f4a4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 20 December 2023 20:25:28 +0000 (0:00:00.022) 0:00:35.046 **** 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-skip_initscriptszxv6f4a4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 20 December 2023 20:25:28 +0000 (0:00:00.052) 0:00:35.098 **** 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-skip_initscriptszxv6f4a4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Wednesday 20 December 2023 20:25:28 +0000 (0:00:00.022) 0:00:35.121 **** 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-skip_initscriptszxv6f4a4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Wednesday 20 December 2023 20:25:28 +0000 (0:00:00.022) 0:00:35.143 **** 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-skip_initscriptszxv6f4a4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Wednesday 20 December 2023 20:25:28 +0000 (0:00:00.034) 0:00:35.178 **** 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-skip_initscriptszxv6f4a4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Wednesday 20 December 2023 20:25:28 +0000 (0:00:00.454) 0:00:35.633 **** 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-skip_initscriptszxv6f4a4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Wednesday 20 December 2023 20:25:28 +0000 (0:00:00.046) 0:00:35.679 **** 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-skip_initscriptszxv6f4a4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Wednesday 20 December 2023 20:25:28 +0000 (0:00:00.021) 0:00:35.701 **** 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-skip_initscriptszxv6f4a4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 20 December 2023 20:25:28 +0000 (0:00:00.039) 0:00:35.740 **** 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-skip_initscriptszxv6f4a4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Wednesday 20 December 2023 20:25:29 +0000 (0:00:00.452) 0:00:36.193 **** 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-skip_initscriptszxv6f4a4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Wednesday 20 December 2023 20:25:29 +0000 (0:00:00.022) 0:00:36.216 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-skip_initscriptszxv6f4a4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Wednesday 20 December 2023 20:25:29 +0000 (0:00:00.022) 0:00:36.238 **** 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-skip_initscriptszxv6f4a4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Wednesday 20 December 2023 20:25:29 +0000 (0:00:00.022) 0:00:36.261 **** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-skip_initscriptszxv6f4a4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 20 December 2023 20:25:29 +0000 (0:00:00.023) 0:00:36.284 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-skip_initscriptszxv6f4a4/tests/playbooks/tests_auto_gateway.yml:149 Wednesday 20 December 2023 20:25:29 +0000 (0:00:00.240) 0:00:36.525 **** included: /WORKDIR/git-skip_initscriptszxv6f4a4/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-skip_initscriptszxv6f4a4/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 20 December 2023 20:25:29 +0000 (0:00:00.051) 0:00:36.577 **** 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-skip_initscriptszxv6f4a4/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 20 December 2023 20:25:29 +0000 (0:00:00.021) 0:00:36.598 **** 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-skip_initscriptszxv6f4a4/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 20 December 2023 20:25:29 +0000 (0:00:00.018) 0:00:36.616 **** included: /WORKDIR/git-skip_initscriptszxv6f4a4/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-skip_initscriptszxv6f4a4/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 20:25:29 +0000 (0:00:00.031) 0:00:36.648 **** included: /WORKDIR/git-skip_initscriptszxv6f4a4/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-skip_initscriptszxv6f4a4/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 20:25:29 +0000 (0:00:00.059) 0:00:36.707 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003883", "end": "2023-12-20 20:25:29.934833", "rc": 0, "start": "2023-12-20 20:25:29.930950" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-skip_initscriptszxv6f4a4/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 20:25:29 +0000 (0:00:00.218) 0:00:36.926 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-skip_initscriptszxv6f4a4/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 20:25:29 +0000 (0:00:00.021) 0:00:36.947 **** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-skip_initscriptszxv6f4a4/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 20 December 2023 20:25:30 +0000 (0:00:00.020) 0:00:36.968 **** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-skip_initscriptszxv6f4a4/tests/playbooks/tasks/manage_test_interface.yml:23 Wednesday 20 December 2023 20:25:32 +0000 (0:00:02.182) 0:00:39.151 **** 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-skip_initscriptszxv6f4a4/tests/playbooks/tasks/manage_test_interface.yml:31 Wednesday 20 December 2023 20:25:32 +0000 (0:00:00.027) 0:00:39.178 **** 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-skip_initscriptszxv6f4a4/tests/playbooks/tasks/manage_test_interface.yml:39 Wednesday 20 December 2023 20:25:32 +0000 (0:00:00.020) 0:00:39.198 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.021033", "end": "2023-12-20 20:25:32.446039", "rc": 0, "start": "2023-12-20 20:25:32.425006" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-skip_initscriptszxv6f4a4/tests/playbooks/tasks/manage_test_interface.yml:45 Wednesday 20 December 2023 20:25:32 +0000 (0:00:00.244) 0:00:39.442 **** 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-skip_initscriptszxv6f4a4/tests/playbooks/tasks/manage_test_interface.yml:50 Wednesday 20 December 2023 20:25:32 +0000 (0:00:00.023) 0:00:39.466 **** 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-skip_initscriptszxv6f4a4/tests/playbooks/tasks/manage_test_interface.yml:56 Wednesday 20 December 2023 20:25:32 +0000 (0:00:00.022) 0:00:39.488 **** 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-skip_initscriptszxv6f4a4/tests/playbooks/tasks/manage_test_interface.yml:61 Wednesday 20 December 2023 20:25:32 +0000 (0:00:00.022) 0:00:39.511 **** 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 Wednesday 20 December 2023 20:25:32 +0000 (0:00:00.060) 0:00:39.571 **** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 2.33s /WORKDIR/git-skip_initscriptszxv6f4a4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Install iproute --------------------------------------------------------- 2.27s /WORKDIR/git-skip_initscriptszxv6f4a4/tests/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Check which services are running ---- 2.20s /WORKDIR/git-skip_initscriptszxv6f4a4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Install iproute --------------------------------------------------------- 2.19s /WORKDIR/git-skip_initscriptszxv6f4a4/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.19s /WORKDIR/git-skip_initscriptszxv6f4a4/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.18s /WORKDIR/git-skip_initscriptszxv6f4a4/tests/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Check which services are running ---- 2.18s /WORKDIR/git-skip_initscriptszxv6f4a4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.18s /WORKDIR/git-skip_initscriptszxv6f4a4/.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.01s /WORKDIR/git-skip_initscriptszxv6f4a4/.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-skip_initscriptszxv6f4a4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gathering Facts --------------------------------------------------------- 0.90s /WORKDIR/git-skip_initscriptszxv6f4a4/tests/tests_auto_gateway_nm.yml:5 ------- fedora.linux_system_roles.network : Check which packages are installed --- 0.84s /WORKDIR/git-skip_initscriptszxv6f4a4/.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.76s /WORKDIR/git-skip_initscriptszxv6f4a4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.75s /WORKDIR/git-skip_initscriptszxv6f4a4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Create veth interface veth0 --------------------------------------------- 0.72s /WORKDIR/git-skip_initscriptszxv6f4a4/tests/playbooks/tasks/manage_test_interface.yml:23 Gathering Facts --------------------------------------------------------- 0.71s /WORKDIR/git-skip_initscriptszxv6f4a4/tests/playbooks/tests_auto_gateway.yml:3 Create veth interface veth0 --------------------------------------------- 0.70s /WORKDIR/git-skip_initscriptszxv6f4a4/tests/playbooks/tasks/manage_test_interface.yml:23 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.60s /WORKDIR/git-skip_initscriptszxv6f4a4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.48s /WORKDIR/git-skip_initscriptszxv6f4a4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.46s /WORKDIR/git-skip_initscriptszxv6f4a4/.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. ---^---^---^---^---^---