# 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_refactorzgikvbhc/.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_refactorzgikvbhc/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_refactorzgikvbhc/tests/tests_auto_gateway_nm.yml:5 Thursday 30 November 2023 17:00:32 +0000 (0:00:00.017) 0:00:00.017 ***** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-code_refactorzgikvbhc/tests/tests_auto_gateway_nm.yml:9 Thursday 30 November 2023 17:00:33 +0000 (0:00:00.855) 0:00:00.872 ***** included: /WORKDIR/git-code_refactorzgikvbhc/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_refactorzgikvbhc/tests/tasks/el_repo_setup.yml:3 Thursday 30 November 2023 17:00:33 +0000 (0:00:00.017) 0:00:00.890 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-code_refactorzgikvbhc/tests/tasks/el_repo_setup.yml:17 Thursday 30 November 2023 17:00:33 +0000 (0:00:00.353) 0:00:01.244 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-code_refactorzgikvbhc/tests/tasks/el_repo_setup.yml:22 Thursday 30 November 2023 17:00:34 +0000 (0:00:00.304) 0:00:01.549 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-code_refactorzgikvbhc/tests/tasks/el_repo_setup.yml:26 Thursday 30 November 2023 17:00:34 +0000 (0:00:00.021) 0:00:01.570 ***** 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_refactorzgikvbhc/tests/tasks/el_repo_setup.yml:51 Thursday 30 November 2023 17:00:34 +0000 (0:00:00.012) 0:00:01.583 ***** included: /WORKDIR/git-code_refactorzgikvbhc/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 9] *********************************************************** task path: /WORKDIR/git-code_refactorzgikvbhc/tests/tasks/enable_epel.yml:8 Thursday 30 November 2023 17:00:34 +0000 (0:00:00.033) 0:00:01.616 ***** 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_refactorzgikvbhc/tests/tasks/enable_epel.yml:24 Thursday 30 November 2023 17:00:34 +0000 (0:00:00.013) 0:00:01.630 ***** 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_refactorzgikvbhc/tests/tasks/enable_epel.yml:30 Thursday 30 November 2023 17:00:34 +0000 (0:00:00.012) 0:00:01.643 ***** 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_refactorzgikvbhc/tests/tasks/enable_epel.yml:35 Thursday 30 November 2023 17:00:34 +0000 (0:00:00.012) 0:00:01.655 ***** 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_refactorzgikvbhc/tests/tasks/enable_epel.yml:40 Thursday 30 November 2023 17:00:34 +0000 (0:00:00.012) 0:00:01.668 ***** 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_refactorzgikvbhc/tests/tests_auto_gateway_nm.yml:11 Thursday 30 November 2023 17:00:34 +0000 (0:00:00.012) 0:00:01.681 ***** ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing auto_gateway setting] *********************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-code_refactorzgikvbhc/tests/playbooks/tests_auto_gateway.yml:3 Thursday 30 November 2023 17:00:34 +0000 (0:00:00.032) 0:00:01.713 ***** ok: [sut] TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-code_refactorzgikvbhc/tests/playbooks/tests_auto_gateway.yml:9 Thursday 30 November 2023 17:00:34 +0000 (0:00:00.670) 0:00:02.384 ***** included: /WORKDIR/git-code_refactorzgikvbhc/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-code_refactorzgikvbhc/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 30 November 2023 17:00:34 +0000 (0:00:00.034) 0:00:02.419 ***** included: /WORKDIR/git-code_refactorzgikvbhc/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-code_refactorzgikvbhc/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 30 November 2023 17:00:34 +0000 (0:00:00.015) 0:00:02.434 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003301", "end": "2023-11-30 17:00:35.148747", "rc": 0, "start": "2023-11-30 17:00:35.145446" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-code_refactorzgikvbhc/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 30 November 2023 17:00:35 +0000 (0:00:00.277) 0:00:02.711 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-code_refactorzgikvbhc/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 30 November 2023 17:00:35 +0000 (0:00:00.016) 0:00:02.728 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-code_refactorzgikvbhc/tests/playbooks/tests_auto_gateway.yml:11 Thursday 30 November 2023 17:00:35 +0000 (0:00:00.017) 0:00:02.745 ***** included: /WORKDIR/git-code_refactorzgikvbhc/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-code_refactorzgikvbhc/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 30 November 2023 17:00:35 +0000 (0:00:00.035) 0:00:02.780 ***** 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_refactorzgikvbhc/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 30 November 2023 17:00:35 +0000 (0:00:00.010) 0:00:02.791 ***** 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_refactorzgikvbhc/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 30 November 2023 17:00:35 +0000 (0:00:00.017) 0:00:02.808 ***** included: /WORKDIR/git-code_refactorzgikvbhc/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-code_refactorzgikvbhc/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 30 November 2023 17:00:35 +0000 (0:00:00.021) 0:00:02.829 ***** included: /WORKDIR/git-code_refactorzgikvbhc/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-code_refactorzgikvbhc/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 30 November 2023 17:00:35 +0000 (0:00:00.015) 0:00:02.845 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003403", "end": "2023-11-30 17:00:35.478877", "rc": 0, "start": "2023-11-30 17:00:35.475474" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-code_refactorzgikvbhc/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 30 November 2023 17:00:35 +0000 (0:00:00.195) 0:00:03.040 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-code_refactorzgikvbhc/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 30 November 2023 17:00:35 +0000 (0:00:00.015) 0:00:03.056 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-code_refactorzgikvbhc/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 30 November 2023 17:00:35 +0000 (0:00:00.021) 0:00:03.077 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-code_refactorzgikvbhc/tests/playbooks/tasks/manage_test_interface.yml:23 Thursday 30 November 2023 17:00:36 +0000 (0:00:00.972) 0:00:04.049 ***** 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.106469", "end": "2023-11-30 17:00:36.796140", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2023-11-30 17:00:36.689671" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003697", "end": "2023-11-30 17:00:37.027466", "item": "ip link set peerveth0 up", "rc": 0, "start": "2023-11-30 17:00:37.023769" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.005604", "end": "2023-11-30 17:00:37.217830", "item": "ip link set veth0 up", "rc": 0, "start": "2023-11-30 17:00:37.212226" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-code_refactorzgikvbhc/tests/playbooks/tasks/manage_test_interface.yml:31 Thursday 30 November 2023 17:00:37 +0000 (0:00:00.733) 0:00:04.783 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.088008", "end": "2023-11-30 17:00:37.518629", "rc": 0, "start": "2023-11-30 17:00:37.430621" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-code_refactorzgikvbhc/tests/playbooks/tasks/manage_test_interface.yml:39 Thursday 30 November 2023 17:00:37 +0000 (0:00:00.297) 0:00:05.080 ***** 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_refactorzgikvbhc/tests/playbooks/tasks/manage_test_interface.yml:45 Thursday 30 November 2023 17:00:37 +0000 (0:00:00.013) 0:00:05.093 ***** 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_refactorzgikvbhc/tests/playbooks/tasks/manage_test_interface.yml:50 Thursday 30 November 2023 17:00:37 +0000 (0:00:00.014) 0:00:05.108 ***** 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_refactorzgikvbhc/tests/playbooks/tasks/manage_test_interface.yml:56 Thursday 30 November 2023 17:00:37 +0000 (0:00:00.015) 0:00:05.123 ***** 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_refactorzgikvbhc/tests/playbooks/tasks/manage_test_interface.yml:61 Thursday 30 November 2023 17:00:37 +0000 (0:00:00.016) 0:00:05.140 ***** 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_refactorzgikvbhc/tests/playbooks/tests_auto_gateway.yml:15 Thursday 30 November 2023 17:00:37 +0000 (0:00:00.016) 0:00:05.156 ***** included: /WORKDIR/git-code_refactorzgikvbhc/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-code_refactorzgikvbhc/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 30 November 2023 17:00:37 +0000 (0:00:00.044) 0:00:05.201 ***** included: /WORKDIR/git-code_refactorzgikvbhc/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-code_refactorzgikvbhc/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 30 November 2023 17:00:37 +0000 (0:00:00.020) 0:00:05.221 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701363636.7890449, "block_size": 4096, "blocks": 0, "ctime": 1701363636.7890449, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 23200, "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": 1701363636.7890449, "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_refactorzgikvbhc/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 30 November 2023 17:00:37 +0000 (0:00:00.196) 0:00:05.418 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /WORKDIR/git-code_refactorzgikvbhc/tests/playbooks/tests_auto_gateway.yml:17 Thursday 30 November 2023 17:00:37 +0000 (0:00:00.017) 0:00:05.435 ***** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-code_refactorzgikvbhc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 30 November 2023 17:00:37 +0000 (0:00:00.016) 0:00:05.452 ***** included: /WORKDIR/git-code_refactorzgikvbhc/.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_refactorzgikvbhc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 30 November 2023 17:00:37 +0000 (0:00:00.030) 0:00:05.482 ***** 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_refactorzgikvbhc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 30 November 2023 17:00:37 +0000 (0:00:00.026) 0:00:05.509 ***** 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_refactorzgikvbhc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 30 November 2023 17:00:37 +0000 (0:00:00.023) 0:00:05.532 ***** 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_refactorzgikvbhc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 30 November 2023 17:00:38 +0000 (0:00:00.021) 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_refactorzgikvbhc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 30 November 2023 17:00:39 +0000 (0:00:01.801) 0:00:07.355 ***** 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_refactorzgikvbhc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 30 November 2023 17:00:40 +0000 (0:00:01.018) 0:00:08.373 ***** 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_refactorzgikvbhc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 30 November 2023 17:00:40 +0000 (0:00:00.027) 0:00:08.401 ***** 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_refactorzgikvbhc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 30 November 2023 17:00:40 +0000 (0:00:00.027) 0:00:08.428 ***** 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_refactorzgikvbhc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 30 November 2023 17:00:40 +0000 (0:00:00.025) 0:00:08.454 ***** 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_refactorzgikvbhc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 30 November 2023 17:00:40 +0000 (0:00:00.069) 0:00:08.523 ***** 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_refactorzgikvbhc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 30 November 2023 17:00:41 +0000 (0:00:00.028) 0:00:08.552 ***** 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_refactorzgikvbhc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 30 November 2023 17:00:41 +0000 (0:00:00.050) 0:00:08.603 ***** 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_refactorzgikvbhc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 30 November 2023 17:00:41 +0000 (0:00:00.040) 0:00:08.643 ***** 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_refactorzgikvbhc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 30 November 2023 17:00:41 +0000 (0:00:00.587) 0:00:09.230 ***** 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_refactorzgikvbhc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 30 November 2023 17:00:41 +0000 (0:00:00.042) 0:00:09.273 ***** 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_refactorzgikvbhc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 30 November 2023 17:00:41 +0000 (0:00:00.023) 0:00:09.296 ***** 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_refactorzgikvbhc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 30 November 2023 17:00:41 +0000 (0:00:00.029) 0:00:09.326 ***** 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, 9af09143-779b-4db8-a1d5-6e5cf5bd90c9 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 9af09143-779b-4db8-a1d5-6e5cf5bd90c9 (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-code_refactorzgikvbhc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 30 November 2023 17:00:42 +0000 (0:00:00.642) 0:00:09.969 ***** 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_refactorzgikvbhc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 30 November 2023 17:00:42 +0000 (0:00:00.028) 0:00:09.998 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 9af09143-779b-4db8-a1d5-6e5cf5bd90c9", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 9af09143-779b-4db8-a1d5-6e5cf5bd90c9 (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-code_refactorzgikvbhc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 30 November 2023 17:00:42 +0000 (0:00:00.038) 0:00:10.036 ***** 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, 9af09143-779b-4db8-a1d5-6e5cf5bd90c9\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 9af09143-779b-4db8-a1d5-6e5cf5bd90c9 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 9af09143-779b-4db8-a1d5-6e5cf5bd90c9", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 9af09143-779b-4db8-a1d5-6e5cf5bd90c9 (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-code_refactorzgikvbhc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 30 November 2023 17:00:42 +0000 (0:00:00.037) 0:00:10.074 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-code_refactorzgikvbhc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 30 November 2023 17:00:42 +0000 (0:00:00.035) 0:00:10.110 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-code_refactorzgikvbhc/tests/playbooks/tests_auto_gateway.yml:42 Thursday 30 November 2023 17:00:42 +0000 (0:00:00.324) 0:00:10.434 ***** included: /WORKDIR/git-code_refactorzgikvbhc/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-code_refactorzgikvbhc/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 30 November 2023 17:00:42 +0000 (0:00:00.058) 0:00:10.493 ***** included: /WORKDIR/git-code_refactorzgikvbhc/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-code_refactorzgikvbhc/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 30 November 2023 17:00:42 +0000 (0:00:00.043) 0:00:10.537 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701363636.7890449, "block_size": 4096, "blocks": 0, "ctime": 1701363636.7890449, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 23200, "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": 1701363636.7890449, "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_refactorzgikvbhc/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 30 November 2023 17:00:43 +0000 (0:00:00.204) 0:00:10.741 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-code_refactorzgikvbhc/tests/playbooks/tests_auto_gateway.yml:44 Thursday 30 November 2023 17:00:43 +0000 (0:00:00.065) 0:00:10.807 ***** included: /WORKDIR/git-code_refactorzgikvbhc/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-code_refactorzgikvbhc/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 30 November 2023 17:00:43 +0000 (0:00:00.059) 0:00:10.867 ***** included: /WORKDIR/git-code_refactorzgikvbhc/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-code_refactorzgikvbhc/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 30 November 2023 17:00:43 +0000 (0:00:00.043) 0:00:10.911 ***** 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_refactorzgikvbhc/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 30 November 2023 17:00:43 +0000 (0:00:00.023) 0:00:10.934 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-code_refactorzgikvbhc/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 30 November 2023 17:00:43 +0000 (0:00:00.207) 0:00:11.141 ***** 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_refactorzgikvbhc/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 30 November 2023 17:00:43 +0000 (0:00:00.026) 0:00:11.168 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.021304", "end": "2023-11-30 17:00:43.817064", "rc": 0, "start": "2023-11-30 17:00:43.795760" } 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_refactorzgikvbhc/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 30 November 2023 17:00:43 +0000 (0:00:00.231) 0:00:11.399 ***** 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_refactorzgikvbhc/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 30 November 2023 17:00:43 +0000 (0:00:00.031) 0:00:11.430 ***** 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_refactorzgikvbhc/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 30 November 2023 17:00:43 +0000 (0:00:00.025) 0:00:11.456 ***** 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_refactorzgikvbhc/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 30 November 2023 17:00:43 +0000 (0:00:00.024) 0:00:11.481 ***** 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_refactorzgikvbhc/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 30 November 2023 17:00:43 +0000 (0:00:00.025) 0:00:11.507 ***** 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_refactorzgikvbhc/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 30 November 2023 17:00:43 +0000 (0:00:00.022) 0:00:11.530 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-code_refactorzgikvbhc/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 30 November 2023 17:00:44 +0000 (0:00:00.027) 0:00:11.557 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-code_refactorzgikvbhc/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 30 November 2023 17:00:44 +0000 (0:00:00.026) 0:00:11.584 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-code_refactorzgikvbhc/tests/playbooks/tests_auto_gateway.yml:48 Thursday 30 November 2023 17:00:44 +0000 (0:00:00.026) 0:00:11.610 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003456", "end": "2023-11-30 17:00:44.239528", "rc": 0, "start": "2023-11-30 17:00:44.236072" } STDOUT: default via 10.31.44.1 dev eth0 proto dhcp src 10.31.44.150 metric 100 default via 203.0.113.1 dev veth0 proto static metric 65535 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.44.150 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_refactorzgikvbhc/tests/playbooks/tests_auto_gateway.yml:52 Thursday 30 November 2023 17:00:44 +0000 (0:00:00.203) 0:00:11.814 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-code_refactorzgikvbhc/tests/playbooks/tests_auto_gateway.yml:58 Thursday 30 November 2023 17:00:44 +0000 (0:00:00.054) 0:00:11.869 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003645", "end": "2023-11-30 17:00:44.499803", "rc": 0, "start": "2023-11-30 17:00:44.496158" } 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_refactorzgikvbhc/tests/playbooks/tests_auto_gateway.yml:62 Thursday 30 November 2023 17:00:44 +0000 (0:00:00.202) 0:00:12.071 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-code_refactorzgikvbhc/tests/playbooks/tests_auto_gateway.yml:69 Thursday 30 November 2023 17:00:44 +0000 (0:00:00.033) 0:00:12.104 ***** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-code_refactorzgikvbhc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 30 November 2023 17:00:44 +0000 (0:00:00.031) 0:00:12.136 ***** included: /WORKDIR/git-code_refactorzgikvbhc/.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_refactorzgikvbhc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 30 November 2023 17:00:44 +0000 (0:00:00.060) 0:00:12.196 ***** 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_refactorzgikvbhc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 30 November 2023 17:00:44 +0000 (0:00:00.045) 0:00:12.241 ***** 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_refactorzgikvbhc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 30 November 2023 17:00:44 +0000 (0:00:00.036) 0:00:12.277 ***** 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_refactorzgikvbhc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 30 November 2023 17:00:44 +0000 (0:00:00.032) 0:00:12.310 ***** 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_refactorzgikvbhc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 30 November 2023 17:00:46 +0000 (0:00:01.608) 0:00:13.918 ***** 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_refactorzgikvbhc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 30 November 2023 17:00:47 +0000 (0:00:00.773) 0:00:14.692 ***** 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_refactorzgikvbhc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 30 November 2023 17:00:47 +0000 (0:00:00.039) 0:00:14.732 ***** 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_refactorzgikvbhc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 30 November 2023 17:00:47 +0000 (0:00:00.038) 0:00:14.770 ***** 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_refactorzgikvbhc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 30 November 2023 17:00:47 +0000 (0:00:00.038) 0:00:14.809 ***** 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_refactorzgikvbhc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 30 November 2023 17:00:47 +0000 (0:00:00.077) 0:00:14.886 ***** 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_refactorzgikvbhc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 30 November 2023 17:00:47 +0000 (0:00:00.072) 0:00:14.958 ***** 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_refactorzgikvbhc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 30 November 2023 17:00:47 +0000 (0:00:00.028) 0:00:14.987 ***** 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_refactorzgikvbhc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 30 November 2023 17:00:47 +0000 (0:00:00.047) 0:00:15.034 ***** 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_refactorzgikvbhc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 30 November 2023 17:00:47 +0000 (0:00:00.405) 0:00:15.439 ***** 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_refactorzgikvbhc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 30 November 2023 17:00:47 +0000 (0:00:00.044) 0:00:15.484 ***** 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_refactorzgikvbhc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 30 November 2023 17:00:47 +0000 (0:00:00.023) 0:00:15.508 ***** 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_refactorzgikvbhc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 30 November 2023 17:00:47 +0000 (0:00:00.022) 0:00:15.530 ***** 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_refactorzgikvbhc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 30 November 2023 17:00:48 +0000 (0:00:00.443) 0:00:15.974 ***** 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_refactorzgikvbhc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 30 November 2023 17:00:48 +0000 (0:00:00.039) 0:00:16.013 ***** 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_refactorzgikvbhc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 30 November 2023 17:00:48 +0000 (0:00:00.037) 0:00:16.050 ***** 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_refactorzgikvbhc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 30 November 2023 17:00:48 +0000 (0:00:00.038) 0:00:16.089 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-code_refactorzgikvbhc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 30 November 2023 17:00:48 +0000 (0:00:00.029) 0:00:16.118 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-code_refactorzgikvbhc/tests/playbooks/tests_auto_gateway.yml:81 Thursday 30 November 2023 17:00:48 +0000 (0:00:00.209) 0:00:16.328 ***** included: /WORKDIR/git-code_refactorzgikvbhc/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-code_refactorzgikvbhc/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 30 November 2023 17:00:48 +0000 (0:00:00.070) 0:00:16.398 ***** 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_refactorzgikvbhc/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 30 November 2023 17:00:48 +0000 (0:00:00.027) 0:00:16.425 ***** 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_refactorzgikvbhc/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 30 November 2023 17:00:48 +0000 (0:00:00.025) 0:00:16.451 ***** included: /WORKDIR/git-code_refactorzgikvbhc/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-code_refactorzgikvbhc/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 30 November 2023 17:00:48 +0000 (0:00:00.082) 0:00:16.533 ***** included: /WORKDIR/git-code_refactorzgikvbhc/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-code_refactorzgikvbhc/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 30 November 2023 17:00:49 +0000 (0:00:00.050) 0:00:16.584 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003328", "end": "2023-11-30 17:00:49.217707", "rc": 0, "start": "2023-11-30 17:00:49.214379" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-code_refactorzgikvbhc/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 30 November 2023 17:00:49 +0000 (0:00:00.206) 0:00:16.790 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-code_refactorzgikvbhc/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 30 November 2023 17:00:49 +0000 (0:00:00.027) 0:00:16.817 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-code_refactorzgikvbhc/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 30 November 2023 17:00:49 +0000 (0:00:00.025) 0:00:16.843 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-code_refactorzgikvbhc/tests/playbooks/tasks/manage_test_interface.yml:23 Thursday 30 November 2023 17:00:50 +0000 (0:00:00.767) 0:00:17.610 ***** 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_refactorzgikvbhc/tests/playbooks/tasks/manage_test_interface.yml:31 Thursday 30 November 2023 17:00:50 +0000 (0:00:00.032) 0:00:17.643 ***** 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_refactorzgikvbhc/tests/playbooks/tasks/manage_test_interface.yml:39 Thursday 30 November 2023 17:00:50 +0000 (0:00:00.023) 0:00:17.666 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.019258", "end": "2023-11-30 17:00:50.315211", "rc": 0, "start": "2023-11-30 17:00:50.295953" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-code_refactorzgikvbhc/tests/playbooks/tasks/manage_test_interface.yml:45 Thursday 30 November 2023 17:00:50 +0000 (0:00:00.225) 0:00:17.891 ***** 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_refactorzgikvbhc/tests/playbooks/tasks/manage_test_interface.yml:50 Thursday 30 November 2023 17:00:50 +0000 (0:00:00.024) 0:00:17.916 ***** 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_refactorzgikvbhc/tests/playbooks/tasks/manage_test_interface.yml:56 Thursday 30 November 2023 17:00:50 +0000 (0:00:00.025) 0:00:17.941 ***** 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_refactorzgikvbhc/tests/playbooks/tasks/manage_test_interface.yml:61 Thursday 30 November 2023 17:00:50 +0000 (0:00:00.024) 0:00:17.966 ***** 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_refactorzgikvbhc/tests/playbooks/tests_auto_gateway.yml:85 Thursday 30 November 2023 17:00:50 +0000 (0:00:00.024) 0:00:17.990 ***** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-code_refactorzgikvbhc/tests/playbooks/tests_auto_gateway.yml:89 Thursday 30 November 2023 17:00:50 +0000 (0:00:00.028) 0:00:18.019 ***** included: /WORKDIR/git-code_refactorzgikvbhc/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-code_refactorzgikvbhc/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 30 November 2023 17:00:50 +0000 (0:00:00.061) 0:00:18.080 ***** 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_refactorzgikvbhc/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 30 November 2023 17:00:50 +0000 (0:00:00.055) 0:00:18.135 ***** 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_refactorzgikvbhc/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 30 November 2023 17:00:50 +0000 (0:00:00.022) 0:00:18.158 ***** included: /WORKDIR/git-code_refactorzgikvbhc/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-code_refactorzgikvbhc/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 30 November 2023 17:00:50 +0000 (0:00:00.038) 0:00:18.197 ***** included: /WORKDIR/git-code_refactorzgikvbhc/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-code_refactorzgikvbhc/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 30 November 2023 17:00:50 +0000 (0:00:00.038) 0:00:18.236 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003189", "end": "2023-11-30 17:00:50.868745", "rc": 0, "start": "2023-11-30 17:00:50.865556" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-code_refactorzgikvbhc/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 30 November 2023 17:00:50 +0000 (0:00:00.208) 0:00:18.444 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-code_refactorzgikvbhc/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 30 November 2023 17:00:50 +0000 (0:00:00.037) 0:00:18.481 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-code_refactorzgikvbhc/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 30 November 2023 17:00:50 +0000 (0:00:00.025) 0:00:18.507 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-code_refactorzgikvbhc/tests/playbooks/tasks/manage_test_interface.yml:23 Thursday 30 November 2023 17:00:51 +0000 (0:00:00.769) 0:00:19.276 ***** 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.011237", "end": "2023-11-30 17:00:51.919693", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2023-11-30 17:00:51.908456" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003386", "end": "2023-11-30 17:00:52.134513", "item": "ip link set peerveth0 up", "rc": 0, "start": "2023-11-30 17:00:52.131127" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.003478", "end": "2023-11-30 17:00:52.317178", "item": "ip link set veth0 up", "rc": 0, "start": "2023-11-30 17:00:52.313700" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-code_refactorzgikvbhc/tests/playbooks/tasks/manage_test_interface.yml:31 Thursday 30 November 2023 17:00:52 +0000 (0:00:00.627) 0:00:19.904 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.021505", "end": "2023-11-30 17:00:52.557076", "rc": 0, "start": "2023-11-30 17:00:52.535571" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-code_refactorzgikvbhc/tests/playbooks/tasks/manage_test_interface.yml:39 Thursday 30 November 2023 17:00:52 +0000 (0:00:00.226) 0:00:20.130 ***** 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_refactorzgikvbhc/tests/playbooks/tasks/manage_test_interface.yml:45 Thursday 30 November 2023 17:00:52 +0000 (0:00:00.024) 0:00:20.155 ***** 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_refactorzgikvbhc/tests/playbooks/tasks/manage_test_interface.yml:50 Thursday 30 November 2023 17:00:52 +0000 (0:00:00.024) 0:00:20.180 ***** 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_refactorzgikvbhc/tests/playbooks/tasks/manage_test_interface.yml:56 Thursday 30 November 2023 17:00:52 +0000 (0:00:00.023) 0:00:20.203 ***** 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_refactorzgikvbhc/tests/playbooks/tasks/manage_test_interface.yml:61 Thursday 30 November 2023 17:00:52 +0000 (0:00:00.036) 0:00:20.239 ***** 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_refactorzgikvbhc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 30 November 2023 17:00:52 +0000 (0:00:00.035) 0:00:20.275 ***** included: /WORKDIR/git-code_refactorzgikvbhc/.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_refactorzgikvbhc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 30 November 2023 17:00:52 +0000 (0:00:00.071) 0:00:20.347 ***** 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_refactorzgikvbhc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 30 November 2023 17:00:52 +0000 (0:00:00.144) 0:00:20.491 ***** 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_refactorzgikvbhc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 30 November 2023 17:00:52 +0000 (0:00:00.046) 0:00:20.537 ***** 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_refactorzgikvbhc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 30 November 2023 17:00:53 +0000 (0:00:00.039) 0:00:20.576 ***** 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_refactorzgikvbhc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 30 November 2023 17:00:54 +0000 (0:00:01.599) 0:00:22.176 ***** 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_refactorzgikvbhc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 30 November 2023 17:00:55 +0000 (0:00:00.775) 0:00:22.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_refactorzgikvbhc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 30 November 2023 17:00:55 +0000 (0:00:00.035) 0:00:22.987 ***** 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_refactorzgikvbhc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 30 November 2023 17:00:55 +0000 (0:00:00.031) 0:00:23.019 ***** 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_refactorzgikvbhc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 30 November 2023 17:00:55 +0000 (0:00:00.030) 0:00:23.050 ***** 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_refactorzgikvbhc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 30 November 2023 17:00:55 +0000 (0:00:00.069) 0:00:23.119 ***** 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_refactorzgikvbhc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 30 November 2023 17:00:55 +0000 (0:00:00.036) 0:00:23.155 ***** 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_refactorzgikvbhc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 30 November 2023 17:00:55 +0000 (0:00:00.028) 0:00:23.184 ***** 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_refactorzgikvbhc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 30 November 2023 17:00:55 +0000 (0:00:00.042) 0:00:23.226 ***** 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_refactorzgikvbhc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 30 November 2023 17:00:56 +0000 (0:00:00.402) 0:00:23.628 ***** 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_refactorzgikvbhc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 30 November 2023 17:00:56 +0000 (0:00:00.042) 0:00:23.671 ***** 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_refactorzgikvbhc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 30 November 2023 17:00:56 +0000 (0:00:00.022) 0:00:23.694 ***** 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_refactorzgikvbhc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 30 November 2023 17:00:56 +0000 (0:00:00.055) 0:00:23.749 ***** 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, 893ec1f5-9392-43a8-ab75-db858f044906 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 893ec1f5-9392-43a8-ab75-db858f044906 (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-code_refactorzgikvbhc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 30 November 2023 17:00:56 +0000 (0:00:00.416) 0:00:24.165 ***** 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_refactorzgikvbhc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 30 November 2023 17:00:56 +0000 (0:00:00.030) 0:00:24.196 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 893ec1f5-9392-43a8-ab75-db858f044906", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 893ec1f5-9392-43a8-ab75-db858f044906 (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-code_refactorzgikvbhc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 30 November 2023 17:00:56 +0000 (0:00:00.029) 0:00:24.225 ***** 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, 893ec1f5-9392-43a8-ab75-db858f044906\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 893ec1f5-9392-43a8-ab75-db858f044906 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 893ec1f5-9392-43a8-ab75-db858f044906", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 893ec1f5-9392-43a8-ab75-db858f044906 (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-code_refactorzgikvbhc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 30 November 2023 17:00:56 +0000 (0:00:00.026) 0:00:24.252 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-code_refactorzgikvbhc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 30 November 2023 17:00:56 +0000 (0:00:00.027) 0:00:24.280 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-code_refactorzgikvbhc/tests/playbooks/tests_auto_gateway.yml:110 Thursday 30 November 2023 17:00:56 +0000 (0:00:00.219) 0:00:24.499 ***** included: /WORKDIR/git-code_refactorzgikvbhc/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-code_refactorzgikvbhc/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 30 November 2023 17:00:57 +0000 (0:00:00.061) 0:00:24.561 ***** included: /WORKDIR/git-code_refactorzgikvbhc/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-code_refactorzgikvbhc/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 30 November 2023 17:00:57 +0000 (0:00:00.038) 0:00:24.599 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701363651.9129875, "block_size": 4096, "blocks": 0, "ctime": 1701363651.9129875, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 23786, "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": 1701363651.9129875, "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_refactorzgikvbhc/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 30 November 2023 17:00:57 +0000 (0:00:00.210) 0:00:24.810 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-code_refactorzgikvbhc/tests/playbooks/tests_auto_gateway.yml:112 Thursday 30 November 2023 17:00:57 +0000 (0:00:00.041) 0:00:24.852 ***** included: /WORKDIR/git-code_refactorzgikvbhc/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-code_refactorzgikvbhc/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 30 November 2023 17:00:57 +0000 (0:00:00.072) 0:00:24.924 ***** included: /WORKDIR/git-code_refactorzgikvbhc/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-code_refactorzgikvbhc/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 30 November 2023 17:00:57 +0000 (0:00:00.044) 0:00:24.969 ***** 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_refactorzgikvbhc/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 30 November 2023 17:00:57 +0000 (0:00:00.076) 0:00:25.046 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-code_refactorzgikvbhc/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 30 November 2023 17:00:57 +0000 (0:00:00.198) 0:00:25.244 ***** 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_refactorzgikvbhc/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 30 November 2023 17:00:57 +0000 (0:00:00.023) 0:00:25.268 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.020582", "end": "2023-11-30 17:00:57.917745", "rc": 0, "start": "2023-11-30 17:00:57.897163" } 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_refactorzgikvbhc/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 30 November 2023 17:00:57 +0000 (0:00:00.222) 0:00:25.491 ***** 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_refactorzgikvbhc/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 30 November 2023 17:00:57 +0000 (0:00:00.027) 0:00:25.518 ***** 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_refactorzgikvbhc/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 30 November 2023 17:00:58 +0000 (0:00:00.026) 0:00:25.544 ***** 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_refactorzgikvbhc/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 30 November 2023 17:00:58 +0000 (0:00:00.032) 0:00:25.577 ***** 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_refactorzgikvbhc/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 30 November 2023 17:00:58 +0000 (0:00:00.027) 0:00:25.605 ***** 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_refactorzgikvbhc/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 30 November 2023 17:00:58 +0000 (0:00:00.029) 0:00:25.634 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-code_refactorzgikvbhc/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 30 November 2023 17:00:58 +0000 (0:00:00.036) 0:00:25.670 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-code_refactorzgikvbhc/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 30 November 2023 17:00:58 +0000 (0:00:00.047) 0:00:25.718 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-code_refactorzgikvbhc/tests/playbooks/tests_auto_gateway.yml:116 Thursday 30 November 2023 17:00:58 +0000 (0:00:00.038) 0:00:25.757 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003644", "end": "2023-11-30 17:00:58.391612", "rc": 0, "start": "2023-11-30 17:00:58.387968" } STDOUT: default via 10.31.44.1 dev eth0 proto dhcp src 10.31.44.150 metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.44.150 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_refactorzgikvbhc/tests/playbooks/tests_auto_gateway.yml:120 Thursday 30 November 2023 17:00:58 +0000 (0:00:00.221) 0:00:25.978 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-code_refactorzgikvbhc/tests/playbooks/tests_auto_gateway.yml:126 Thursday 30 November 2023 17:00:58 +0000 (0:00:00.032) 0:00:26.010 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003638", "end": "2023-11-30 17:00:58.641763", "rc": 0, "start": "2023-11-30 17:00:58.638125" } 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_refactorzgikvbhc/tests/playbooks/tests_auto_gateway.yml:130 Thursday 30 November 2023 17:00:58 +0000 (0:00:00.205) 0:00:26.216 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-code_refactorzgikvbhc/tests/playbooks/tests_auto_gateway.yml:137 Thursday 30 November 2023 17:00:58 +0000 (0:00:00.029) 0:00:26.246 ***** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-code_refactorzgikvbhc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 30 November 2023 17:00:58 +0000 (0:00:00.028) 0:00:26.275 ***** included: /WORKDIR/git-code_refactorzgikvbhc/.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_refactorzgikvbhc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 30 November 2023 17:00:58 +0000 (0:00:00.103) 0:00:26.379 ***** 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_refactorzgikvbhc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 30 November 2023 17:00:58 +0000 (0:00:00.050) 0:00:26.429 ***** 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_refactorzgikvbhc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 30 November 2023 17:00:58 +0000 (0:00:00.042) 0:00:26.471 ***** 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_refactorzgikvbhc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 30 November 2023 17:00:58 +0000 (0:00:00.041) 0:00:26.513 ***** 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_refactorzgikvbhc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 30 November 2023 17:01:00 +0000 (0:00:01.586) 0:00:28.099 ***** 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_refactorzgikvbhc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 30 November 2023 17:01:01 +0000 (0:00:00.774) 0:00:28.874 ***** 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_refactorzgikvbhc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 30 November 2023 17:01:01 +0000 (0:00:00.033) 0:00:28.907 ***** 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_refactorzgikvbhc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 30 November 2023 17:01:01 +0000 (0:00:00.034) 0:00:28.942 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-code_refactorzgikvbhc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 30 November 2023 17:01:01 +0000 (0:00:00.037) 0:00:28.979 ***** 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_refactorzgikvbhc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 30 November 2023 17:01:01 +0000 (0:00:00.082) 0:00:29.062 ***** 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_refactorzgikvbhc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 30 November 2023 17:01:01 +0000 (0:00:00.028) 0:00:29.091 ***** 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_refactorzgikvbhc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 30 November 2023 17:01:01 +0000 (0:00:00.027) 0:00:29.119 ***** 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_refactorzgikvbhc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 30 November 2023 17:01:01 +0000 (0:00:00.042) 0:00:29.161 ***** 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_refactorzgikvbhc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 30 November 2023 17:01:02 +0000 (0:00:00.400) 0:00:29.562 ***** 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_refactorzgikvbhc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 30 November 2023 17:01:02 +0000 (0:00:00.043) 0:00:29.605 ***** 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_refactorzgikvbhc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 30 November 2023 17:01:02 +0000 (0:00:00.060) 0:00:29.666 ***** 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_refactorzgikvbhc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 30 November 2023 17:01:02 +0000 (0:00:00.026) 0:00:29.692 ***** 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_refactorzgikvbhc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 30 November 2023 17:01:02 +0000 (0:00:00.461) 0:00:30.154 ***** 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_refactorzgikvbhc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 30 November 2023 17:01:02 +0000 (0:00:00.027) 0:00:30.182 ***** 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_refactorzgikvbhc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 30 November 2023 17:01:02 +0000 (0:00:00.028) 0:00:30.210 ***** 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_refactorzgikvbhc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 30 November 2023 17:01:02 +0000 (0:00:00.029) 0:00:30.240 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-code_refactorzgikvbhc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 30 November 2023 17:01:02 +0000 (0:00:00.035) 0:00:30.275 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-code_refactorzgikvbhc/tests/playbooks/tests_auto_gateway.yml:149 Thursday 30 November 2023 17:01:02 +0000 (0:00:00.211) 0:00:30.486 ***** included: /WORKDIR/git-code_refactorzgikvbhc/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-code_refactorzgikvbhc/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 30 November 2023 17:01:03 +0000 (0:00:00.064) 0:00:30.551 ***** 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_refactorzgikvbhc/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 30 November 2023 17:01:03 +0000 (0:00:00.024) 0:00:30.575 ***** 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_refactorzgikvbhc/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 30 November 2023 17:01:03 +0000 (0:00:00.026) 0:00:30.602 ***** included: /WORKDIR/git-code_refactorzgikvbhc/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-code_refactorzgikvbhc/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 30 November 2023 17:01:03 +0000 (0:00:00.041) 0:00:30.644 ***** included: /WORKDIR/git-code_refactorzgikvbhc/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-code_refactorzgikvbhc/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 30 November 2023 17:01:03 +0000 (0:00:00.047) 0:00:30.691 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003227", "end": "2023-11-30 17:01:03.327061", "rc": 0, "start": "2023-11-30 17:01:03.323834" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-code_refactorzgikvbhc/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 30 November 2023 17:01:03 +0000 (0:00:00.210) 0:00:30.902 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-code_refactorzgikvbhc/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 30 November 2023 17:01:03 +0000 (0:00:00.085) 0:00:30.987 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-code_refactorzgikvbhc/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 30 November 2023 17:01:03 +0000 (0:00:00.029) 0:00:31.016 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-code_refactorzgikvbhc/tests/playbooks/tasks/manage_test_interface.yml:23 Thursday 30 November 2023 17:01:04 +0000 (0:00:00.783) 0:00:31.799 ***** 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_refactorzgikvbhc/tests/playbooks/tasks/manage_test_interface.yml:31 Thursday 30 November 2023 17:01:04 +0000 (0:00:00.036) 0:00:31.836 ***** 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_refactorzgikvbhc/tests/playbooks/tasks/manage_test_interface.yml:39 Thursday 30 November 2023 17:01:04 +0000 (0:00:00.027) 0:00:31.864 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.012343", "end": "2023-11-30 17:01:04.504776", "rc": 0, "start": "2023-11-30 17:01:04.492433" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-code_refactorzgikvbhc/tests/playbooks/tasks/manage_test_interface.yml:45 Thursday 30 November 2023 17:01:04 +0000 (0:00:00.228) 0:00:32.092 ***** 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_refactorzgikvbhc/tests/playbooks/tasks/manage_test_interface.yml:50 Thursday 30 November 2023 17:01:04 +0000 (0:00:00.025) 0:00:32.118 ***** 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_refactorzgikvbhc/tests/playbooks/tasks/manage_test_interface.yml:56 Thursday 30 November 2023 17:01:04 +0000 (0:00:00.029) 0:00:32.147 ***** 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_refactorzgikvbhc/tests/playbooks/tasks/manage_test_interface.yml:61 Thursday 30 November 2023 17:01:04 +0000 (0:00:00.027) 0:00:32.175 ***** 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 17:01:04 +0000 (0:00:00.077) 0:00:32.252 ***** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 1.80s /WORKDIR/git-code_refactorzgikvbhc/.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.61s /WORKDIR/git-code_refactorzgikvbhc/.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.60s /WORKDIR/git-code_refactorzgikvbhc/.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.59s /WORKDIR/git-code_refactorzgikvbhc/.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.02s /WORKDIR/git-code_refactorzgikvbhc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Install iproute --------------------------------------------------------- 0.97s /WORKDIR/git-code_refactorzgikvbhc/tests/playbooks/tasks/manage_test_interface.yml:16 Gathering Facts --------------------------------------------------------- 0.86s /WORKDIR/git-code_refactorzgikvbhc/tests/tests_auto_gateway_nm.yml:5 ---------- Install iproute --------------------------------------------------------- 0.78s /WORKDIR/git-code_refactorzgikvbhc/tests/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Check which packages are installed --- 0.78s /WORKDIR/git-code_refactorzgikvbhc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 0.77s /WORKDIR/git-code_refactorzgikvbhc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 0.77s /WORKDIR/git-code_refactorzgikvbhc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Install iproute --------------------------------------------------------- 0.77s /WORKDIR/git-code_refactorzgikvbhc/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.77s /WORKDIR/git-code_refactorzgikvbhc/tests/playbooks/tasks/manage_test_interface.yml:16 Create veth interface veth0 --------------------------------------------- 0.73s /WORKDIR/git-code_refactorzgikvbhc/tests/playbooks/tasks/manage_test_interface.yml:23 Gathering Facts --------------------------------------------------------- 0.67s /WORKDIR/git-code_refactorzgikvbhc/tests/playbooks/tests_auto_gateway.yml:3 --- fedora.linux_system_roles.network : Configure networking connection profiles --- 0.64s /WORKDIR/git-code_refactorzgikvbhc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Create veth interface veth0 --------------------------------------------- 0.63s /WORKDIR/git-code_refactorzgikvbhc/tests/playbooks/tasks/manage_test_interface.yml:23 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.59s /WORKDIR/git-code_refactorzgikvbhc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.46s /WORKDIR/git-code_refactorzgikvbhc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.44s /WORKDIR/git-code_refactorzgikvbhc/.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. ---^---^---^---^---^---