# 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-code_refactor804m60nn/.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-code_refactor804m60nn/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-code_refactor804m60nn/tests/tests_auto_gateway_nm.yml:5 Thursday 30 November 2023 18:40:20 +0000 (0:00:00.015) 0:00:00.015 ***** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-code_refactor804m60nn/tests/tests_auto_gateway_nm.yml:9 Thursday 30 November 2023 18:40:21 +0000 (0:00:00.859) 0:00:00.874 ***** included: /WORKDIR/git-code_refactor804m60nn/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-code_refactor804m60nn/tests/tasks/el_repo_setup.yml:3 Thursday 30 November 2023 18:40:21 +0000 (0:00:00.014) 0:00:00.889 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-code_refactor804m60nn/tests/tasks/el_repo_setup.yml:17 Thursday 30 November 2023 18:40:21 +0000 (0:00:00.364) 0:00:01.253 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-code_refactor804m60nn/tests/tasks/el_repo_setup.yml:22 Thursday 30 November 2023 18:40:21 +0000 (0:00:00.271) 0:00:01.525 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-code_refactor804m60nn/tests/tasks/el_repo_setup.yml:26 Thursday 30 November 2023 18:40:21 +0000 (0:00:00.020) 0:00:01.546 ***** 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-code_refactor804m60nn/tests/tasks/el_repo_setup.yml:51 Thursday 30 November 2023 18:40:21 +0000 (0:00:00.010) 0:00:01.557 ***** included: /WORKDIR/git-code_refactor804m60nn/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 9] *********************************************************** task path: /WORKDIR/git-code_refactor804m60nn/tests/tasks/enable_epel.yml:8 Thursday 30 November 2023 18:40:21 +0000 (0:00:00.027) 0:00:01.585 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-code_refactor804m60nn/tests/tasks/enable_epel.yml:24 Thursday 30 November 2023 18:40:21 +0000 (0:00:00.012) 0:00:01.598 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-code_refactor804m60nn/tests/tasks/enable_epel.yml:30 Thursday 30 November 2023 18:40:21 +0000 (0:00:00.010) 0:00:01.608 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-code_refactor804m60nn/tests/tasks/enable_epel.yml:35 Thursday 30 November 2023 18:40:21 +0000 (0:00:00.010) 0:00:01.618 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-code_refactor804m60nn/tests/tasks/enable_epel.yml:40 Thursday 30 November 2023 18:40:21 +0000 (0:00:00.009) 0:00:01.628 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-code_refactor804m60nn/tests/tests_auto_gateway_nm.yml:11 Thursday 30 November 2023 18:40:21 +0000 (0:00:00.010) 0:00:01.639 ***** ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing auto_gateway setting] *********************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-code_refactor804m60nn/tests/playbooks/tests_auto_gateway.yml:3 Thursday 30 November 2023 18:40:21 +0000 (0:00:00.023) 0:00:01.662 ***** ok: [sut] TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-code_refactor804m60nn/tests/playbooks/tests_auto_gateway.yml:9 Thursday 30 November 2023 18:40:22 +0000 (0:00:00.655) 0:00:02.317 ***** included: /WORKDIR/git-code_refactor804m60nn/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-code_refactor804m60nn/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 30 November 2023 18:40:22 +0000 (0:00:00.033) 0:00:02.351 ***** included: /WORKDIR/git-code_refactor804m60nn/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-code_refactor804m60nn/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 30 November 2023 18:40:22 +0000 (0:00:00.014) 0:00:02.366 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003380", "end": "2023-11-30 18:40:22.812615", "rc": 0, "start": "2023-11-30 18:40:22.809235" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-code_refactor804m60nn/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 30 November 2023 18:40:22 +0000 (0:00:00.286) 0:00:02.653 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-code_refactor804m60nn/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 30 November 2023 18:40:22 +0000 (0:00:00.016) 0:00:02.669 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-code_refactor804m60nn/tests/playbooks/tests_auto_gateway.yml:11 Thursday 30 November 2023 18:40:22 +0000 (0:00:00.021) 0:00:02.690 ***** included: /WORKDIR/git-code_refactor804m60nn/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-code_refactor804m60nn/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 30 November 2023 18:40:22 +0000 (0:00:00.046) 0:00:02.736 ***** 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-code_refactor804m60nn/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 30 November 2023 18:40:22 +0000 (0:00:00.011) 0:00:02.748 ***** 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-code_refactor804m60nn/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 30 November 2023 18:40:22 +0000 (0:00:00.011) 0:00:02.759 ***** included: /WORKDIR/git-code_refactor804m60nn/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-code_refactor804m60nn/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 30 November 2023 18:40:22 +0000 (0:00:00.015) 0:00:02.775 ***** included: /WORKDIR/git-code_refactor804m60nn/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-code_refactor804m60nn/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 30 November 2023 18:40:22 +0000 (0:00:00.014) 0:00:02.789 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003514", "end": "2023-11-30 18:40:23.154024", "rc": 0, "start": "2023-11-30 18:40:23.150510" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-code_refactor804m60nn/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 30 November 2023 18:40:23 +0000 (0:00:00.203) 0:00:02.993 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-code_refactor804m60nn/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 30 November 2023 18:40:23 +0000 (0:00:00.014) 0:00:03.007 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-code_refactor804m60nn/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 30 November 2023 18:40:23 +0000 (0:00:00.012) 0:00:03.020 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-code_refactor804m60nn/tests/playbooks/tasks/manage_test_interface.yml:23 Thursday 30 November 2023 18:40:24 +0000 (0:00:00.956) 0:00:03.977 ***** 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.168840", "end": "2023-11-30 18:40:24.515313", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2023-11-30 18:40:24.346473" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003756", "end": "2023-11-30 18:40:24.765050", "item": "ip link set peerveth0 up", "rc": 0, "start": "2023-11-30 18:40:24.761294" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.003517", "end": "2023-11-30 18:40:24.952404", "item": "ip link set veth0 up", "rc": 0, "start": "2023-11-30 18:40:24.948887" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-code_refactor804m60nn/tests/playbooks/tasks/manage_test_interface.yml:31 Thursday 30 November 2023 18:40:24 +0000 (0:00:00.816) 0:00:04.793 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.147611", "end": "2023-11-30 18:40:25.297228", "rc": 0, "start": "2023-11-30 18:40:25.149617" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-code_refactor804m60nn/tests/playbooks/tasks/manage_test_interface.yml:39 Thursday 30 November 2023 18:40:25 +0000 (0:00:00.342) 0:00:05.136 ***** 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-code_refactor804m60nn/tests/playbooks/tasks/manage_test_interface.yml:45 Thursday 30 November 2023 18:40:25 +0000 (0:00:00.011) 0:00:05.148 ***** 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-code_refactor804m60nn/tests/playbooks/tasks/manage_test_interface.yml:50 Thursday 30 November 2023 18:40:25 +0000 (0:00:00.012) 0:00:05.161 ***** 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-code_refactor804m60nn/tests/playbooks/tasks/manage_test_interface.yml:56 Thursday 30 November 2023 18:40:25 +0000 (0:00:00.011) 0:00:05.172 ***** 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-code_refactor804m60nn/tests/playbooks/tasks/manage_test_interface.yml:61 Thursday 30 November 2023 18:40:25 +0000 (0:00:00.013) 0:00:05.186 ***** 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-code_refactor804m60nn/tests/playbooks/tests_auto_gateway.yml:15 Thursday 30 November 2023 18:40:25 +0000 (0:00:00.011) 0:00:05.197 ***** included: /WORKDIR/git-code_refactor804m60nn/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-code_refactor804m60nn/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 30 November 2023 18:40:25 +0000 (0:00:00.034) 0:00:05.232 ***** included: /WORKDIR/git-code_refactor804m60nn/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-code_refactor804m60nn/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 30 November 2023 18:40:25 +0000 (0:00:00.016) 0:00:05.248 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701369624.5089831, "block_size": 4096, "blocks": 0, "ctime": 1701369624.5089831, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 23271, "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": 1701369624.5089831, "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-code_refactor804m60nn/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 30 November 2023 18:40:25 +0000 (0:00:00.191) 0:00:05.440 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /WORKDIR/git-code_refactor804m60nn/tests/playbooks/tests_auto_gateway.yml:17 Thursday 30 November 2023 18:40:25 +0000 (0:00:00.015) 0:00:05.456 ***** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 30 November 2023 18:40:25 +0000 (0:00:00.015) 0:00:05.472 ***** included: /WORKDIR/git-code_refactor804m60nn/.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-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 30 November 2023 18:40:25 +0000 (0:00:00.024) 0:00:05.497 ***** 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-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 30 November 2023 18:40:25 +0000 (0:00:00.024) 0:00:05.521 ***** 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-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 30 November 2023 18:40:25 +0000 (0:00:00.016) 0:00:05.538 ***** 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-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 30 November 2023 18:40:25 +0000 (0:00:00.015) 0:00:05.553 ***** 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-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 30 November 2023 18:40:27 +0000 (0:00:01.876) 0:00:07.429 ***** 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-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 30 November 2023 18:40:28 +0000 (0:00:01.001) 0:00:08.431 ***** 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-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 30 November 2023 18:40:28 +0000 (0:00:00.026) 0:00:08.457 ***** 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-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 30 November 2023 18:40:28 +0000 (0:00:00.026) 0:00:08.484 ***** 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-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 30 November 2023 18:40:28 +0000 (0:00:00.025) 0:00:08.509 ***** 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-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 30 November 2023 18:40:28 +0000 (0:00:00.070) 0:00:08.580 ***** 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-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 30 November 2023 18:40:28 +0000 (0:00:00.029) 0:00:08.609 ***** 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-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 30 November 2023 18:40:28 +0000 (0:00:00.052) 0:00:08.661 ***** 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-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 30 November 2023 18:40:28 +0000 (0:00:00.045) 0:00:08.707 ***** 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-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 30 November 2023 18:40:29 +0000 (0:00:00.641) 0:00:09.348 ***** 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-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 30 November 2023 18:40:29 +0000 (0:00:00.040) 0:00:09.389 ***** 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-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 30 November 2023 18:40:29 +0000 (0:00:00.020) 0:00:09.409 ***** 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-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 30 November 2023 18:40:29 +0000 (0:00:00.023) 0:00:09.433 ***** 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, b2b93250-2389-49d5-a831-a4e877e647b0 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, b2b93250-2389-49d5-a831-a4e877e647b0 (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 30 November 2023 18:40:30 +0000 (0:00:00.722) 0:00:10.155 ***** 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-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 30 November 2023 18:40:30 +0000 (0:00:00.026) 0:00:10.181 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, b2b93250-2389-49d5-a831-a4e877e647b0", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, b2b93250-2389-49d5-a831-a4e877e647b0 (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 30 November 2023 18:40:30 +0000 (0:00:00.026) 0:00:10.208 ***** 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, b2b93250-2389-49d5-a831-a4e877e647b0\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, b2b93250-2389-49d5-a831-a4e877e647b0 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, b2b93250-2389-49d5-a831-a4e877e647b0", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, b2b93250-2389-49d5-a831-a4e877e647b0 (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 30 November 2023 18:40:30 +0000 (0:00:00.026) 0:00:10.235 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 30 November 2023 18:40:30 +0000 (0:00:00.027) 0:00:10.262 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-code_refactor804m60nn/tests/playbooks/tests_auto_gateway.yml:42 Thursday 30 November 2023 18:40:30 +0000 (0:00:00.335) 0:00:10.597 ***** included: /WORKDIR/git-code_refactor804m60nn/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-code_refactor804m60nn/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 30 November 2023 18:40:30 +0000 (0:00:00.063) 0:00:10.661 ***** included: /WORKDIR/git-code_refactor804m60nn/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-code_refactor804m60nn/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 30 November 2023 18:40:30 +0000 (0:00:00.040) 0:00:10.701 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701369624.5089831, "block_size": 4096, "blocks": 0, "ctime": 1701369624.5089831, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 23271, "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": 1701369624.5089831, "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-code_refactor804m60nn/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 30 November 2023 18:40:31 +0000 (0:00:00.238) 0:00:10.939 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-code_refactor804m60nn/tests/playbooks/tests_auto_gateway.yml:44 Thursday 30 November 2023 18:40:31 +0000 (0:00:00.025) 0:00:10.965 ***** included: /WORKDIR/git-code_refactor804m60nn/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-code_refactor804m60nn/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 30 November 2023 18:40:31 +0000 (0:00:00.061) 0:00:11.027 ***** included: /WORKDIR/git-code_refactor804m60nn/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-code_refactor804m60nn/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 30 November 2023 18:40:31 +0000 (0:00:00.040) 0:00:11.067 ***** 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-code_refactor804m60nn/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 30 November 2023 18:40:31 +0000 (0:00:00.025) 0:00:11.093 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-code_refactor804m60nn/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 30 November 2023 18:40:31 +0000 (0:00:00.214) 0:00:11.307 ***** 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-code_refactor804m60nn/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 30 November 2023 18:40:31 +0000 (0:00:00.030) 0:00:11.337 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.023162", "end": "2023-11-30 18:40:31.725854", "rc": 0, "start": "2023-11-30 18:40:31.702692" } 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-code_refactor804m60nn/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 30 November 2023 18:40:31 +0000 (0:00:00.241) 0:00:11.578 ***** 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-code_refactor804m60nn/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 30 November 2023 18:40:31 +0000 (0:00:00.032) 0:00:11.610 ***** 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-code_refactor804m60nn/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 30 November 2023 18:40:31 +0000 (0:00:00.024) 0:00:11.635 ***** 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-code_refactor804m60nn/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 30 November 2023 18:40:31 +0000 (0:00:00.025) 0:00:11.660 ***** 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-code_refactor804m60nn/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 30 November 2023 18:40:31 +0000 (0:00:00.024) 0:00:11.684 ***** 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-code_refactor804m60nn/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 30 November 2023 18:40:31 +0000 (0:00:00.022) 0:00:11.707 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-code_refactor804m60nn/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 30 November 2023 18:40:31 +0000 (0:00:00.028) 0:00:11.735 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-code_refactor804m60nn/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 30 November 2023 18:40:31 +0000 (0:00:00.029) 0:00:11.765 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-code_refactor804m60nn/tests/playbooks/tests_auto_gateway.yml:48 Thursday 30 November 2023 18:40:31 +0000 (0:00:00.029) 0:00:11.794 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003561", "end": "2023-11-30 18:40:32.160536", "rc": 0, "start": "2023-11-30 18:40:32.156975" } STDOUT: default via 10.31.12.1 dev eth0 proto dhcp src 10.31.15.169 metric 100 default via 203.0.113.1 dev veth0 proto static metric 65535 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.15.169 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-code_refactor804m60nn/tests/playbooks/tests_auto_gateway.yml:52 Thursday 30 November 2023 18:40:32 +0000 (0:00:00.217) 0:00:12.011 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-code_refactor804m60nn/tests/playbooks/tests_auto_gateway.yml:58 Thursday 30 November 2023 18:40:32 +0000 (0:00:00.053) 0:00:12.065 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003770", "end": "2023-11-30 18:40:32.423155", "rc": 0, "start": "2023-11-30 18:40:32.419385" } STDOUT: ::1 dev lo proto kernel metric 256 pref medium 2001:db8::/64 dev veth0 proto kernel metric 101 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium fe80::/64 dev veth0 proto kernel metric 1024 pref medium default via 2001:db8::1 dev veth0 proto static metric 101 pref medium TASK [Assert default ipv6 route is present] ************************************ task path: /WORKDIR/git-code_refactor804m60nn/tests/playbooks/tests_auto_gateway.yml:62 Thursday 30 November 2023 18:40:32 +0000 (0:00:00.209) 0:00:12.274 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-code_refactor804m60nn/tests/playbooks/tests_auto_gateway.yml:69 Thursday 30 November 2023 18:40:32 +0000 (0:00:00.026) 0:00:12.300 ***** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 30 November 2023 18:40:32 +0000 (0:00:00.025) 0:00:12.326 ***** included: /WORKDIR/git-code_refactor804m60nn/.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-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 30 November 2023 18:40:32 +0000 (0:00:00.043) 0:00:12.369 ***** 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-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 30 November 2023 18:40:32 +0000 (0:00:00.040) 0:00:12.410 ***** 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-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 30 November 2023 18:40:32 +0000 (0:00:00.025) 0:00:12.436 ***** 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-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 30 November 2023 18:40:32 +0000 (0:00:00.025) 0:00:12.461 ***** 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-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 30 November 2023 18:40:34 +0000 (0:00:01.674) 0:00:14.135 ***** 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-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 30 November 2023 18:40:35 +0000 (0:00:00.816) 0:00:14.952 ***** 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-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 30 November 2023 18:40:35 +0000 (0:00:00.039) 0:00:14.992 ***** 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-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 30 November 2023 18:40:35 +0000 (0:00:00.032) 0:00:15.024 ***** 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-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 30 November 2023 18:40:35 +0000 (0:00:00.039) 0:00:15.064 ***** 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-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 30 November 2023 18:40:35 +0000 (0:00:00.080) 0:00:15.145 ***** 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-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 30 November 2023 18:40:35 +0000 (0:00:00.077) 0:00:15.222 ***** 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-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 30 November 2023 18:40:35 +0000 (0:00:00.038) 0:00:15.260 ***** 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-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 30 November 2023 18:40:35 +0000 (0:00:00.053) 0:00:15.313 ***** 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-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 30 November 2023 18:40:35 +0000 (0:00:00.397) 0:00:15.711 ***** 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-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 30 November 2023 18:40:35 +0000 (0:00:00.043) 0:00:15.754 ***** 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-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 30 November 2023 18:40:35 +0000 (0:00:00.024) 0:00:15.779 ***** 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-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 30 November 2023 18:40:35 +0000 (0:00:00.025) 0:00:15.804 ***** 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-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 30 November 2023 18:40:36 +0000 (0:00:00.447) 0:00:16.253 ***** 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-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 30 November 2023 18:40:36 +0000 (0:00:00.029) 0:00:16.282 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 30 November 2023 18:40:36 +0000 (0:00:00.026) 0:00:16.308 ***** 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-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 30 November 2023 18:40:36 +0000 (0:00:00.029) 0:00:16.337 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 30 November 2023 18:40:36 +0000 (0:00:00.027) 0:00:16.365 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-code_refactor804m60nn/tests/playbooks/tests_auto_gateway.yml:81 Thursday 30 November 2023 18:40:36 +0000 (0:00:00.224) 0:00:16.589 ***** included: /WORKDIR/git-code_refactor804m60nn/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-code_refactor804m60nn/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 30 November 2023 18:40:36 +0000 (0:00:00.061) 0:00:16.651 ***** 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-code_refactor804m60nn/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 30 November 2023 18:40:36 +0000 (0:00:00.025) 0:00:16.676 ***** 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-code_refactor804m60nn/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 30 November 2023 18:40:36 +0000 (0:00:00.021) 0:00:16.698 ***** included: /WORKDIR/git-code_refactor804m60nn/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-code_refactor804m60nn/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 30 November 2023 18:40:36 +0000 (0:00:00.068) 0:00:16.767 ***** included: /WORKDIR/git-code_refactor804m60nn/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-code_refactor804m60nn/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 30 November 2023 18:40:36 +0000 (0:00:00.038) 0:00:16.805 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003345", "end": "2023-11-30 18:40:37.162469", "rc": 0, "start": "2023-11-30 18:40:37.159124" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-code_refactor804m60nn/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 30 November 2023 18:40:37 +0000 (0:00:00.207) 0:00:17.013 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-code_refactor804m60nn/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 30 November 2023 18:40:37 +0000 (0:00:00.030) 0:00:17.043 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-code_refactor804m60nn/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 30 November 2023 18:40:37 +0000 (0:00:00.026) 0:00:17.069 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-code_refactor804m60nn/tests/playbooks/tasks/manage_test_interface.yml:23 Thursday 30 November 2023 18:40:38 +0000 (0:00:00.781) 0:00:17.851 ***** 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-code_refactor804m60nn/tests/playbooks/tasks/manage_test_interface.yml:31 Thursday 30 November 2023 18:40:38 +0000 (0:00:00.035) 0:00:17.886 ***** 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-code_refactor804m60nn/tests/playbooks/tasks/manage_test_interface.yml:39 Thursday 30 November 2023 18:40:38 +0000 (0:00:00.025) 0:00:17.911 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.017663", "end": "2023-11-30 18:40:38.284642", "rc": 0, "start": "2023-11-30 18:40:38.266979" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-code_refactor804m60nn/tests/playbooks/tasks/manage_test_interface.yml:45 Thursday 30 November 2023 18:40:38 +0000 (0:00:00.228) 0:00:18.139 ***** 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-code_refactor804m60nn/tests/playbooks/tasks/manage_test_interface.yml:50 Thursday 30 November 2023 18:40:38 +0000 (0:00:00.023) 0:00:18.163 ***** 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-code_refactor804m60nn/tests/playbooks/tasks/manage_test_interface.yml:56 Thursday 30 November 2023 18:40:38 +0000 (0:00:00.024) 0:00:18.188 ***** 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-code_refactor804m60nn/tests/playbooks/tasks/manage_test_interface.yml:61 Thursday 30 November 2023 18:40:38 +0000 (0:00:00.024) 0:00:18.212 ***** 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-code_refactor804m60nn/tests/playbooks/tests_auto_gateway.yml:85 Thursday 30 November 2023 18:40:38 +0000 (0:00:00.023) 0:00:18.235 ***** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-code_refactor804m60nn/tests/playbooks/tests_auto_gateway.yml:89 Thursday 30 November 2023 18:40:38 +0000 (0:00:00.024) 0:00:18.260 ***** included: /WORKDIR/git-code_refactor804m60nn/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-code_refactor804m60nn/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 30 November 2023 18:40:38 +0000 (0:00:00.064) 0:00:18.324 ***** 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-code_refactor804m60nn/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 30 November 2023 18:40:38 +0000 (0:00:00.053) 0:00:18.377 ***** 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-code_refactor804m60nn/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 30 November 2023 18:40:38 +0000 (0:00:00.023) 0:00:18.401 ***** included: /WORKDIR/git-code_refactor804m60nn/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-code_refactor804m60nn/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 30 November 2023 18:40:38 +0000 (0:00:00.040) 0:00:18.442 ***** included: /WORKDIR/git-code_refactor804m60nn/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-code_refactor804m60nn/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 30 November 2023 18:40:38 +0000 (0:00:00.035) 0:00:18.478 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003378", "end": "2023-11-30 18:40:38.844647", "rc": 0, "start": "2023-11-30 18:40:38.841269" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-code_refactor804m60nn/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 30 November 2023 18:40:38 +0000 (0:00:00.218) 0:00:18.696 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-code_refactor804m60nn/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 30 November 2023 18:40:38 +0000 (0:00:00.025) 0:00:18.721 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-code_refactor804m60nn/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 30 November 2023 18:40:38 +0000 (0:00:00.026) 0:00:18.748 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-code_refactor804m60nn/tests/playbooks/tasks/manage_test_interface.yml:23 Thursday 30 November 2023 18:40:39 +0000 (0:00:00.831) 0:00:19.580 ***** 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.014626", "end": "2023-11-30 18:40:39.960735", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2023-11-30 18:40:39.946109" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003286", "end": "2023-11-30 18:40:40.188362", "item": "ip link set peerveth0 up", "rc": 0, "start": "2023-11-30 18:40:40.185076" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004187", "end": "2023-11-30 18:40:40.373266", "item": "ip link set veth0 up", "rc": 0, "start": "2023-11-30 18:40:40.369079" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-code_refactor804m60nn/tests/playbooks/tasks/manage_test_interface.yml:31 Thursday 30 November 2023 18:40:40 +0000 (0:00:00.645) 0:00:20.225 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.022443", "end": "2023-11-30 18:40:40.603853", "rc": 0, "start": "2023-11-30 18:40:40.581410" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-code_refactor804m60nn/tests/playbooks/tasks/manage_test_interface.yml:39 Thursday 30 November 2023 18:40:40 +0000 (0:00:00.231) 0:00:20.457 ***** 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-code_refactor804m60nn/tests/playbooks/tasks/manage_test_interface.yml:45 Thursday 30 November 2023 18:40:40 +0000 (0:00:00.028) 0:00:20.485 ***** 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-code_refactor804m60nn/tests/playbooks/tasks/manage_test_interface.yml:50 Thursday 30 November 2023 18:40:40 +0000 (0:00:00.026) 0:00:20.512 ***** 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-code_refactor804m60nn/tests/playbooks/tasks/manage_test_interface.yml:56 Thursday 30 November 2023 18:40:40 +0000 (0:00:00.023) 0:00:20.535 ***** 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-code_refactor804m60nn/tests/playbooks/tasks/manage_test_interface.yml:61 Thursday 30 November 2023 18:40:40 +0000 (0:00:00.024) 0:00:20.559 ***** 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-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 30 November 2023 18:40:40 +0000 (0:00:00.023) 0:00:20.582 ***** included: /WORKDIR/git-code_refactor804m60nn/.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-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 30 November 2023 18:40:40 +0000 (0:00:00.075) 0:00:20.657 ***** 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-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 30 November 2023 18:40:40 +0000 (0:00:00.039) 0:00:20.696 ***** 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-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 30 November 2023 18:40:40 +0000 (0:00:00.028) 0:00:20.725 ***** 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-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 30 November 2023 18:40:40 +0000 (0:00:00.027) 0:00:20.752 ***** 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-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 30 November 2023 18:40:42 +0000 (0:00:01.668) 0:00:22.421 ***** 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-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 30 November 2023 18:40:43 +0000 (0:00:00.789) 0:00:23.210 ***** 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-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 30 November 2023 18:40:43 +0000 (0:00:00.025) 0:00:23.236 ***** 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-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 30 November 2023 18:40:43 +0000 (0:00:00.027) 0:00:23.263 ***** 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-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 30 November 2023 18:40:43 +0000 (0:00:00.026) 0:00:23.290 ***** 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-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 30 November 2023 18:40:43 +0000 (0:00:00.068) 0:00:23.358 ***** 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-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 30 November 2023 18:40:43 +0000 (0:00:00.028) 0:00:23.386 ***** 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-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 30 November 2023 18:40:43 +0000 (0:00:00.028) 0:00:23.415 ***** 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-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 30 November 2023 18:40:43 +0000 (0:00:00.043) 0:00:23.458 ***** 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-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 30 November 2023 18:40:44 +0000 (0:00:00.415) 0:00:23.874 ***** 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-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 30 November 2023 18:40:44 +0000 (0:00:00.045) 0:00:23.919 ***** 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-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 30 November 2023 18:40:44 +0000 (0:00:00.024) 0:00:23.943 ***** 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-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 30 November 2023 18:40:44 +0000 (0:00:00.058) 0:00:24.002 ***** 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, 3a4a07ae-16ee-4319-8873-98ec52328efd [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 3a4a07ae-16ee-4319-8873-98ec52328efd (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 30 November 2023 18:40:44 +0000 (0:00:00.452) 0:00:24.454 ***** 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-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 30 November 2023 18:40:44 +0000 (0:00:00.027) 0:00:24.482 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 3a4a07ae-16ee-4319-8873-98ec52328efd", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 3a4a07ae-16ee-4319-8873-98ec52328efd (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 30 November 2023 18:40:44 +0000 (0:00:00.029) 0:00:24.511 ***** 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, 3a4a07ae-16ee-4319-8873-98ec52328efd\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 3a4a07ae-16ee-4319-8873-98ec52328efd (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 3a4a07ae-16ee-4319-8873-98ec52328efd", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 3a4a07ae-16ee-4319-8873-98ec52328efd (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 30 November 2023 18:40:44 +0000 (0:00:00.029) 0:00:24.541 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 30 November 2023 18:40:44 +0000 (0:00:00.031) 0:00:24.572 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-code_refactor804m60nn/tests/playbooks/tests_auto_gateway.yml:110 Thursday 30 November 2023 18:40:44 +0000 (0:00:00.244) 0:00:24.817 ***** included: /WORKDIR/git-code_refactor804m60nn/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-code_refactor804m60nn/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 30 November 2023 18:40:45 +0000 (0:00:00.077) 0:00:24.894 ***** included: /WORKDIR/git-code_refactor804m60nn/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-code_refactor804m60nn/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 30 November 2023 18:40:45 +0000 (0:00:00.043) 0:00:24.938 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701369639.9511433, "block_size": 4096, "blocks": 0, "ctime": 1701369639.9511433, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 23857, "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": 1701369639.9511433, "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-code_refactor804m60nn/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 30 November 2023 18:40:45 +0000 (0:00:00.206) 0:00:25.144 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-code_refactor804m60nn/tests/playbooks/tests_auto_gateway.yml:112 Thursday 30 November 2023 18:40:45 +0000 (0:00:00.030) 0:00:25.174 ***** included: /WORKDIR/git-code_refactor804m60nn/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-code_refactor804m60nn/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 30 November 2023 18:40:45 +0000 (0:00:00.060) 0:00:25.235 ***** included: /WORKDIR/git-code_refactor804m60nn/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-code_refactor804m60nn/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 30 November 2023 18:40:45 +0000 (0:00:00.071) 0:00:25.306 ***** 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-code_refactor804m60nn/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 30 November 2023 18:40:45 +0000 (0:00:00.026) 0:00:25.333 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-code_refactor804m60nn/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 30 November 2023 18:40:45 +0000 (0:00:00.216) 0:00:25.550 ***** 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-code_refactor804m60nn/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 30 November 2023 18:40:45 +0000 (0:00:00.023) 0:00:25.574 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.020588", "end": "2023-11-30 18:40:45.954385", "rc": 0, "start": "2023-11-30 18:40:45.933797" } 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-code_refactor804m60nn/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 30 November 2023 18:40:45 +0000 (0:00:00.232) 0:00:25.806 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /WORKDIR/git-code_refactor804m60nn/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 30 November 2023 18:40:46 +0000 (0:00:00.032) 0:00:25.839 ***** 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-code_refactor804m60nn/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 30 November 2023 18:40:46 +0000 (0:00:00.031) 0:00:25.870 ***** 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-code_refactor804m60nn/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 30 November 2023 18:40:46 +0000 (0:00:00.026) 0:00:25.897 ***** 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-code_refactor804m60nn/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 30 November 2023 18:40:46 +0000 (0:00:00.027) 0:00:25.925 ***** 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-code_refactor804m60nn/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 30 November 2023 18:40:46 +0000 (0:00:00.037) 0:00:25.962 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-code_refactor804m60nn/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 30 November 2023 18:40:46 +0000 (0:00:00.032) 0:00:25.995 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-code_refactor804m60nn/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 30 November 2023 18:40:46 +0000 (0:00:00.032) 0:00:26.027 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-code_refactor804m60nn/tests/playbooks/tests_auto_gateway.yml:116 Thursday 30 November 2023 18:40:46 +0000 (0:00:00.029) 0:00:26.057 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003844", "end": "2023-11-30 18:40:46.415086", "rc": 0, "start": "2023-11-30 18:40:46.411242" } STDOUT: default via 10.31.12.1 dev eth0 proto dhcp src 10.31.15.169 metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.15.169 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-code_refactor804m60nn/tests/playbooks/tests_auto_gateway.yml:120 Thursday 30 November 2023 18:40:46 +0000 (0:00:00.208) 0:00:26.266 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-code_refactor804m60nn/tests/playbooks/tests_auto_gateway.yml:126 Thursday 30 November 2023 18:40:46 +0000 (0:00:00.032) 0:00:26.299 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003823", "end": "2023-11-30 18:40:46.666115", "rc": 0, "start": "2023-11-30 18:40:46.662292" } STDOUT: ::1 dev lo proto kernel metric 256 pref medium 2001:db8::/64 dev veth0 proto kernel metric 101 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium fe80::/64 dev veth0 proto kernel metric 1024 pref medium TASK [Assert default ipv6 route is absent] ************************************* task path: /WORKDIR/git-code_refactor804m60nn/tests/playbooks/tests_auto_gateway.yml:130 Thursday 30 November 2023 18:40:46 +0000 (0:00:00.217) 0:00:26.516 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-code_refactor804m60nn/tests/playbooks/tests_auto_gateway.yml:137 Thursday 30 November 2023 18:40:46 +0000 (0:00:00.024) 0:00:26.541 ***** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 30 November 2023 18:40:46 +0000 (0:00:00.025) 0:00:26.566 ***** included: /WORKDIR/git-code_refactor804m60nn/.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-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 30 November 2023 18:40:46 +0000 (0:00:00.075) 0:00:26.641 ***** 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-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 30 November 2023 18:40:46 +0000 (0:00:00.043) 0:00:26.685 ***** 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-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 30 November 2023 18:40:46 +0000 (0:00:00.028) 0:00:26.714 ***** 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-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 30 November 2023 18:40:46 +0000 (0:00:00.029) 0:00:26.744 ***** 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-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 30 November 2023 18:40:48 +0000 (0:00:01.647) 0:00:28.392 ***** 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-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 30 November 2023 18:40:49 +0000 (0:00:00.799) 0:00:29.191 ***** 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-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 30 November 2023 18:40:49 +0000 (0:00:00.030) 0:00:29.221 ***** 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-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 30 November 2023 18:40:49 +0000 (0:00:00.035) 0:00:29.257 ***** 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-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 30 November 2023 18:40:49 +0000 (0:00:00.031) 0:00:29.289 ***** 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-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 30 November 2023 18:40:49 +0000 (0:00:00.073) 0:00:29.363 ***** 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-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 30 November 2023 18:40:49 +0000 (0:00:00.028) 0:00:29.392 ***** 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-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 30 November 2023 18:40:49 +0000 (0:00:00.028) 0:00:29.420 ***** 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-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 30 November 2023 18:40:49 +0000 (0:00:00.044) 0:00:29.465 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 30 November 2023 18:40:50 +0000 (0:00:00.429) 0:00:29.894 ***** 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-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 30 November 2023 18:40:50 +0000 (0:00:00.045) 0:00:29.939 ***** 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-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 30 November 2023 18:40:50 +0000 (0:00:00.065) 0:00:30.005 ***** 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-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 30 November 2023 18:40:50 +0000 (0:00:00.025) 0:00:30.031 ***** 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-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 30 November 2023 18:40:50 +0000 (0:00:00.475) 0:00:30.507 ***** 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-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 30 November 2023 18:40:50 +0000 (0:00:00.029) 0:00:30.536 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 30 November 2023 18:40:50 +0000 (0:00:00.029) 0:00:30.566 ***** 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-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 30 November 2023 18:40:50 +0000 (0:00:00.029) 0:00:30.596 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 30 November 2023 18:40:50 +0000 (0:00:00.029) 0:00:30.626 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-code_refactor804m60nn/tests/playbooks/tests_auto_gateway.yml:149 Thursday 30 November 2023 18:40:51 +0000 (0:00:00.234) 0:00:30.860 ***** included: /WORKDIR/git-code_refactor804m60nn/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-code_refactor804m60nn/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 30 November 2023 18:40:51 +0000 (0:00:00.068) 0:00:30.928 ***** 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-code_refactor804m60nn/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 30 November 2023 18:40:51 +0000 (0:00:00.023) 0:00:30.952 ***** 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-code_refactor804m60nn/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 30 November 2023 18:40:51 +0000 (0:00:00.023) 0:00:30.976 ***** included: /WORKDIR/git-code_refactor804m60nn/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-code_refactor804m60nn/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 30 November 2023 18:40:51 +0000 (0:00:00.038) 0:00:31.014 ***** included: /WORKDIR/git-code_refactor804m60nn/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-code_refactor804m60nn/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 30 November 2023 18:40:51 +0000 (0:00:00.040) 0:00:31.054 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003353", "end": "2023-11-30 18:40:51.420538", "rc": 0, "start": "2023-11-30 18:40:51.417185" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-code_refactor804m60nn/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 30 November 2023 18:40:51 +0000 (0:00:00.219) 0:00:31.274 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-code_refactor804m60nn/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 30 November 2023 18:40:51 +0000 (0:00:00.065) 0:00:31.339 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-code_refactor804m60nn/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 30 November 2023 18:40:51 +0000 (0:00:00.026) 0:00:31.366 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-code_refactor804m60nn/tests/playbooks/tasks/manage_test_interface.yml:23 Thursday 30 November 2023 18:40:52 +0000 (0:00:00.834) 0:00:32.200 ***** 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-code_refactor804m60nn/tests/playbooks/tasks/manage_test_interface.yml:31 Thursday 30 November 2023 18:40:52 +0000 (0:00:00.032) 0:00:32.233 ***** 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-code_refactor804m60nn/tests/playbooks/tasks/manage_test_interface.yml:39 Thursday 30 November 2023 18:40:52 +0000 (0:00:00.025) 0:00:32.258 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.019164", "end": "2023-11-30 18:40:52.632586", "rc": 0, "start": "2023-11-30 18:40:52.613422" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-code_refactor804m60nn/tests/playbooks/tasks/manage_test_interface.yml:45 Thursday 30 November 2023 18:40:52 +0000 (0:00:00.227) 0:00:32.486 ***** 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-code_refactor804m60nn/tests/playbooks/tasks/manage_test_interface.yml:50 Thursday 30 November 2023 18:40:52 +0000 (0:00:00.023) 0:00:32.510 ***** 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-code_refactor804m60nn/tests/playbooks/tasks/manage_test_interface.yml:56 Thursday 30 November 2023 18:40:52 +0000 (0:00:00.024) 0:00:32.534 ***** 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-code_refactor804m60nn/tests/playbooks/tasks/manage_test_interface.yml:61 Thursday 30 November 2023 18:40:52 +0000 (0:00:00.023) 0:00:32.558 ***** skipping: [sut] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } PLAY RECAP ********************************************************************* sut : ok=125 changed=4 unreachable=0 failed=0 skipped=102 rescued=0 ignored=0 Thursday 30 November 2023 18:40:52 +0000 (0:00:00.063) 0:00:32.621 ***** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 1.88s /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.67s /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.67s /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.65s /WORKDIR/git-code_refactor804m60nn/.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.00s /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Install iproute --------------------------------------------------------- 0.96s /WORKDIR/git-code_refactor804m60nn/tests/playbooks/tasks/manage_test_interface.yml:16 Gathering Facts --------------------------------------------------------- 0.86s /WORKDIR/git-code_refactor804m60nn/tests/tests_auto_gateway_nm.yml:5 ---------- Install iproute --------------------------------------------------------- 0.83s /WORKDIR/git-code_refactor804m60nn/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.83s /WORKDIR/git-code_refactor804m60nn/tests/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Check which packages are installed --- 0.82s /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Create veth interface veth0 --------------------------------------------- 0.82s /WORKDIR/git-code_refactor804m60nn/tests/playbooks/tasks/manage_test_interface.yml:23 fedora.linux_system_roles.network : Check which packages are installed --- 0.80s /WORKDIR/git-code_refactor804m60nn/.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.79s /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Install iproute --------------------------------------------------------- 0.78s /WORKDIR/git-code_refactor804m60nn/tests/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.72s /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Gathering Facts --------------------------------------------------------- 0.66s /WORKDIR/git-code_refactor804m60nn/tests/playbooks/tests_auto_gateway.yml:3 --- Create veth interface veth0 --------------------------------------------- 0.65s /WORKDIR/git-code_refactor804m60nn/tests/playbooks/tasks/manage_test_interface.yml:23 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.64s /WORKDIR/git-code_refactor804m60nn/.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-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.45s /WORKDIR/git-code_refactor804m60nn/.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. ---^---^---^---^---^---