# STDOUT: ---v---v---v---v---v--- ansible-playbook 2.9.27 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.9/lib/python3.9/site-packages/ansible executable location = /opt/ansible-2.9/bin/ansible-playbook python version = 3.9.18 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] Using /etc/ansible/ansible.cfg as config file Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_auto_gateway_nm.yml ******************************************** 2 plays in /WORKDIR/git-skip_initscriptsyy0h4na4/tests/tests_auto_gateway_nm.yml PLAY [Run playbook 'playbooks/tests_auto_gateway.yml' with nm as provider] ***** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/tests_auto_gateway_nm.yml:5 Wednesday 20 December 2023 20:28:35 +0000 (0:00:00.012) 0:00:00.012 **** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/tests_auto_gateway_nm.yml:9 Wednesday 20 December 2023 20:28:36 +0000 (0:00:00.753) 0:00:00.766 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/tasks/el_repo_setup.yml for sut TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/tasks/el_repo_setup.yml:3 Wednesday 20 December 2023 20:28:36 +0000 (0:00:00.046) 0:00:00.812 **** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/tasks/el_repo_setup.yml:19 Wednesday 20 December 2023 20:28:36 +0000 (0:00:00.349) 0:00:01.161 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/tasks/el_repo_setup.yml:24 Wednesday 20 December 2023 20:28:37 +0000 (0:00:00.376) 0:00:01.538 **** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/tasks/el_repo_setup.yml:28 Wednesday 20 December 2023 20:28:37 +0000 (0:00:00.051) 0:00:01.589 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/tasks/el_repo_setup.yml:53 Wednesday 20 December 2023 20:28:37 +0000 (0:00:00.066) 0:00:01.655 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/tasks/enable_epel.yml:8 Wednesday 20 December 2023 20:28:37 +0000 (0:00:00.061) 0:00:01.717 **** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "rc": 0 } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/tasks/enable_epel.yml:24 Wednesday 20 December 2023 20:28:37 +0000 (0:00:00.398) 0:00:02.115 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/tasks/enable_epel.yml:30 Wednesday 20 December 2023 20:28:37 +0000 (0:00:00.019) 0:00:02.134 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/tasks/enable_epel.yml:35 Wednesday 20 December 2023 20:28:37 +0000 (0:00:00.028) 0:00:02.163 **** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.242925", "end": "2023-12-20 20:28:38.312722", "rc": 0, "start": "2023-12-20 20:28:38.069797" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/tasks/enable_epel.yml:40 Wednesday 20 December 2023 20:28:38 +0000 (0:00:00.507) 0:00:02.670 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/tests_auto_gateway_nm.yml:11 Wednesday 20 December 2023 20:28:38 +0000 (0:00:00.055) 0:00:02.726 **** ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for testing auto_gateway setting] *********************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tests_auto_gateway.yml:3 Wednesday 20 December 2023 20:28:38 +0000 (0:00:00.091) 0:00:02.818 **** ok: [sut] META: ran handlers TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tests_auto_gateway.yml:9 Wednesday 20 December 2023 20:28:39 +0000 (0:00:00.561) 0:00:03.379 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 20:28:39 +0000 (0:00:00.023) 0:00:03.402 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 20:28:39 +0000 (0:00:00.014) 0:00:03.416 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003401", "end": "2023-12-20 20:28:39.280892", "rc": 0, "start": "2023-12-20 20:28:39.277491" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 20:28:39 +0000 (0:00:00.187) 0:00:03.604 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 20:28:39 +0000 (0:00:00.014) 0:00:03.618 **** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tests_auto_gateway.yml:11 Wednesday 20 December 2023 20:28:39 +0000 (0:00:00.013) 0:00:03.632 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 20 December 2023 20:28:39 +0000 (0:00:00.030) 0:00:03.662 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 20 December 2023 20:28:39 +0000 (0:00:00.011) 0:00:03.673 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 20 December 2023 20:28:39 +0000 (0:00:00.011) 0:00:03.685 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 20:28:39 +0000 (0:00:00.021) 0:00:03.707 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 20:28:39 +0000 (0:00:00.015) 0:00:03.722 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003079", "end": "2023-12-20 20:28:39.607942", "rc": 0, "start": "2023-12-20 20:28:39.604863" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 20:28:39 +0000 (0:00:00.232) 0:00:03.954 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 20:28:39 +0000 (0:00:00.015) 0:00:03.970 **** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 20 December 2023 20:28:39 +0000 (0:00:00.018) 0:00:03.988 **** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/manage_test_interface.yml:24 Wednesday 20 December 2023 20:28:42 +0000 (0:00:03.200) 0:00:07.189 **** 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.008347", "end": "2023-12-20 20:28:43.061244", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2023-12-20 20:28:43.052897" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003649", "end": "2023-12-20 20:28:43.280884", "item": "ip link set peerveth0 up", "rc": 0, "start": "2023-12-20 20:28:43.277235" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.003967", "end": "2023-12-20 20:28:43.464305", "item": "ip link set veth0 up", "rc": 0, "start": "2023-12-20 20:28:43.460338" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/manage_test_interface.yml:33 Wednesday 20 December 2023 20:28:43 +0000 (0:00:00.599) 0:00:07.788 **** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.177169", "end": "2023-12-20 20:28:43.828346", "rc": 0, "start": "2023-12-20 20:28:43.651177" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/manage_test_interface.yml:41 Wednesday 20 December 2023 20:28:43 +0000 (0:00:00.377) 0:00:08.165 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/manage_test_interface.yml:48 Wednesday 20 December 2023 20:28:43 +0000 (0:00:00.013) 0:00:08.178 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/manage_test_interface.yml:54 Wednesday 20 December 2023 20:28:43 +0000 (0:00:00.022) 0:00:08.201 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/manage_test_interface.yml:61 Wednesday 20 December 2023 20:28:43 +0000 (0:00:00.016) 0:00:08.218 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/manage_test_interface.yml:67 Wednesday 20 December 2023 20:28:43 +0000 (0:00:00.043) 0:00:08.261 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tests_auto_gateway.yml:15 Wednesday 20 December 2023 20:28:44 +0000 (0:00:00.054) 0:00:08.316 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 20 December 2023 20:28:44 +0000 (0:00:00.099) 0:00:08.415 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 20 December 2023 20:28:44 +0000 (0:00:00.016) 0:00:08.431 **** ok: [sut] => { "changed": false, "stat": { "atime": 1703104123.0560403, "block_size": 4096, "blocks": 0, "ctime": 1703104123.0560403, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 23396, "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": 1703104123.0560403, "nlink": 1, "path": "/sys/class/net/veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that the interface is present - 'veth0'] ************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 20 December 2023 20:28:44 +0000 (0:00:00.203) 0:00:08.635 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tests_auto_gateway.yml:17 Wednesday 20 December 2023 20:28:44 +0000 (0:00:00.014) 0:00:08.650 **** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 20 December 2023 20:28:44 +0000 (0:00:00.011) 0:00:08.661 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 20 December 2023 20:28:44 +0000 (0:00:00.069) 0:00:08.730 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 20 December 2023 20:28:44 +0000 (0:00:00.013) 0:00:08.744 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 20 December 2023 20:28:44 +0000 (0:00:00.011) 0:00:08.755 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 20 December 2023 20:28:44 +0000 (0:00:00.011) 0:00:08.766 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 20 December 2023 20:28:46 +0000 (0:00:01.544) 0:00:10.311 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 20 December 2023 20:28:47 +0000 (0:00:01.501) 0:00:11.812 **** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 20 December 2023 20:28:47 +0000 (0:00:00.022) 0:00:11.835 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 20 December 2023 20:28:47 +0000 (0:00:00.038) 0:00:11.874 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 20 December 2023 20:28:47 +0000 (0:00:00.023) 0:00:11.897 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 20 December 2023 20:28:47 +0000 (0:00:00.042) 0:00:11.939 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 20 December 2023 20:28:47 +0000 (0:00:00.020) 0:00:11.960 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 20 December 2023 20:28:47 +0000 (0:00:00.020) 0:00:11.981 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 20 December 2023 20:28:47 +0000 (0:00:00.024) 0:00:12.006 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 20 December 2023 20:28:48 +0000 (0:00:00.474) 0:00:12.480 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 20 December 2023 20:28:48 +0000 (0:00:00.026) 0:00:12.506 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 20 December 2023 20:28:48 +0000 (0:00:00.022) 0:00:12.529 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 20 December 2023 20:28:48 +0000 (0:00:00.021) 0:00:12.550 **** 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, 314a33d3-1e5c-467f-a668-729c56b4f393 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 314a33d3-1e5c-467f-a668-729c56b4f393 (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 20 December 2023 20:28:48 +0000 (0:00:00.490) 0:00:13.040 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 20 December 2023 20:28:48 +0000 (0:00:00.021) 0:00:13.062 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 314a33d3-1e5c-467f-a668-729c56b4f393", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 314a33d3-1e5c-467f-a668-729c56b4f393 (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 20 December 2023 20:28:48 +0000 (0:00:00.022) 0:00:13.085 **** 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, 314a33d3-1e5c-467f-a668-729c56b4f393\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 314a33d3-1e5c-467f-a668-729c56b4f393 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 314a33d3-1e5c-467f-a668-729c56b4f393", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 314a33d3-1e5c-467f-a668-729c56b4f393 (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 20 December 2023 20:28:48 +0000 (0:00:00.045) 0:00:13.130 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 20 December 2023 20:28:48 +0000 (0:00:00.021) 0:00:13.152 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tests_auto_gateway.yml:42 Wednesday 20 December 2023 20:28:49 +0000 (0:00:00.235) 0:00:13.387 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 20 December 2023 20:28:49 +0000 (0:00:00.048) 0:00:13.436 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 20 December 2023 20:28:49 +0000 (0:00:00.034) 0:00:13.470 **** ok: [sut] => { "changed": false, "stat": { "atime": 1703104123.0560403, "block_size": 4096, "blocks": 0, "ctime": 1703104123.0560403, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 23396, "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": 1703104123.0560403, "nlink": 1, "path": "/sys/class/net/veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that the interface is present - 'veth0'] ************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 20 December 2023 20:28:49 +0000 (0:00:00.202) 0:00:13.673 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tests_auto_gateway.yml:44 Wednesday 20 December 2023 20:28:49 +0000 (0:00:00.028) 0:00:13.702 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 20 December 2023 20:28:49 +0000 (0:00:00.070) 0:00:13.772 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 20 December 2023 20:28:49 +0000 (0:00:00.058) 0:00:13.830 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 20 December 2023 20:28:49 +0000 (0:00:00.026) 0:00:13.857 **** ok: [sut] => { "changed": false, "stat": { "atime": 1703104128.6905491, "block_size": 4096, "blocks": 8, "ctime": 1703104128.649551, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5533376, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1703104128.649551, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 396, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 20 December 2023 20:28:49 +0000 (0:00:00.228) 0:00:14.086 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 20 December 2023 20:28:49 +0000 (0:00:00.024) 0:00:14.110 **** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.021158", "end": "2023-12-20 20:28:49.994094", "rc": 0, "start": "2023-12-20 20:28:49.972936" } STDOUT: veth0 /etc/sysconfig/network-scripts/ifcfg-veth0 TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 20 December 2023 20:28:50 +0000 (0:00:00.218) 0:00:14.328 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 20 December 2023 20:28:50 +0000 (0:00:00.028) 0:00:14.356 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 20 December 2023 20:28:50 +0000 (0:00:00.027) 0:00:14.384 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 20 December 2023 20:28:50 +0000 (0:00:00.027) 0:00:14.411 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 20 December 2023 20:28:50 +0000 (0:00:00.038) 0:00:14.449 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 20 December 2023 20:28:50 +0000 (0:00:00.030) 0:00:14.480 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 20 December 2023 20:28:50 +0000 (0:00:00.040) 0:00:14.520 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 20 December 2023 20:28:50 +0000 (0:00:00.033) 0:00:14.554 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tests_auto_gateway.yml:48 Wednesday 20 December 2023 20:28:50 +0000 (0:00:00.046) 0:00:14.601 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003594", "end": "2023-12-20 20:28:50.510159", "rc": 0, "start": "2023-12-20 20:28:50.506565" } STDOUT: default via 10.31.40.1 dev eth0 proto dhcp src 10.31.40.219 metric 100 default via 203.0.113.1 dev veth0 proto static metric 65535 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.40.219 metric 100 203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 metric 65535 TASK [Assert default ipv4 route is present] ************************************ task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tests_auto_gateway.yml:52 Wednesday 20 December 2023 20:28:50 +0000 (0:00:00.260) 0:00:14.861 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tests_auto_gateway.yml:58 Wednesday 20 December 2023 20:28:50 +0000 (0:00:00.042) 0:00:14.903 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003470", "end": "2023-12-20 20:28:50.767228", "rc": 0, "start": "2023-12-20 20:28:50.763758" } 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-skip_initscriptsyy0h4na4/tests/playbooks/tests_auto_gateway.yml:62 Wednesday 20 December 2023 20:28:50 +0000 (0:00:00.198) 0:00:15.102 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tests_auto_gateway.yml:69 Wednesday 20 December 2023 20:28:50 +0000 (0:00:00.083) 0:00:15.186 **** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 20 December 2023 20:28:50 +0000 (0:00:00.024) 0:00:15.210 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 20 December 2023 20:28:50 +0000 (0:00:00.051) 0:00:15.262 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 20 December 2023 20:28:51 +0000 (0:00:00.068) 0:00:15.330 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 20 December 2023 20:28:51 +0000 (0:00:00.036) 0:00:15.366 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 20 December 2023 20:28:51 +0000 (0:00:00.037) 0:00:15.404 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 20 December 2023 20:28:52 +0000 (0:00:01.531) 0:00:16.936 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 20 December 2023 20:28:53 +0000 (0:00:01.361) 0:00:18.298 **** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 20 December 2023 20:28:54 +0000 (0:00:00.045) 0:00:18.343 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 20 December 2023 20:28:54 +0000 (0:00:00.052) 0:00:18.395 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 20 December 2023 20:28:54 +0000 (0:00:00.030) 0:00:18.426 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 20 December 2023 20:28:54 +0000 (0:00:00.048) 0:00:18.474 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 20 December 2023 20:28:54 +0000 (0:00:00.023) 0:00:18.498 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 20 December 2023 20:28:54 +0000 (0:00:00.022) 0:00:18.521 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 20 December 2023 20:28:54 +0000 (0:00:00.068) 0:00:18.589 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 20 December 2023 20:28:54 +0000 (0:00:00.408) 0:00:18.998 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 20 December 2023 20:28:54 +0000 (0:00:00.065) 0:00:19.063 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 20 December 2023 20:28:54 +0000 (0:00:00.048) 0:00:19.111 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 20 December 2023 20:28:54 +0000 (0:00:00.049) 0:00:19.160 **** 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 [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 20 December 2023 20:28:55 +0000 (0:00:00.448) 0:00:19.609 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 20 December 2023 20:28:55 +0000 (0:00:00.028) 0:00:19.637 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 20 December 2023 20:28:55 +0000 (0:00:00.025) 0:00:19.662 **** 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 [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 20 December 2023 20:28:55 +0000 (0:00:00.024) 0:00:19.687 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 20 December 2023 20:28:55 +0000 (0:00:00.023) 0:00:19.711 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tests_auto_gateway.yml:81 Wednesday 20 December 2023 20:28:55 +0000 (0:00:00.206) 0:00:19.917 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 20 December 2023 20:28:55 +0000 (0:00:00.055) 0:00:19.973 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 20 December 2023 20:28:55 +0000 (0:00:00.039) 0:00:20.012 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 20 December 2023 20:28:55 +0000 (0:00:00.028) 0:00:20.041 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 20:28:55 +0000 (0:00:00.056) 0:00:20.098 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 20:28:55 +0000 (0:00:00.076) 0:00:20.174 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002881", "end": "2023-12-20 20:28:56.071644", "rc": 0, "start": "2023-12-20 20:28:56.068763" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 20:28:56 +0000 (0:00:00.293) 0:00:20.467 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 20:28:56 +0000 (0:00:00.026) 0:00:20.494 **** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 20 December 2023 20:28:56 +0000 (0:00:00.025) 0:00:20.519 **** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/manage_test_interface.yml:24 Wednesday 20 December 2023 20:28:59 +0000 (0:00:02.957) 0:00:23.476 **** skipping: [sut] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "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, "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, "item": "ip link set veth0 up", "skip_reason": "Conditional result was False" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/manage_test_interface.yml:33 Wednesday 20 December 2023 20:28:59 +0000 (0:00:00.048) 0:00:23.525 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/manage_test_interface.yml:41 Wednesday 20 December 2023 20:28:59 +0000 (0:00:00.031) 0:00:23.557 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.008423", "end": "2023-12-20 20:28:59.432438", "rc": 0, "start": "2023-12-20 20:28:59.424015" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/manage_test_interface.yml:48 Wednesday 20 December 2023 20:28:59 +0000 (0:00:00.228) 0:00:23.785 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/manage_test_interface.yml:54 Wednesday 20 December 2023 20:28:59 +0000 (0:00:00.110) 0:00:23.896 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/manage_test_interface.yml:61 Wednesday 20 December 2023 20:28:59 +0000 (0:00:00.031) 0:00:23.927 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/manage_test_interface.yml:67 Wednesday 20 December 2023 20:28:59 +0000 (0:00:00.025) 0:00:23.952 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEST: I can configure an interface with auto_gateway disabled] *********** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tests_auto_gateway.yml:85 Wednesday 20 December 2023 20:28:59 +0000 (0:00:00.024) 0:00:23.976 **** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tests_auto_gateway.yml:89 Wednesday 20 December 2023 20:28:59 +0000 (0:00:00.025) 0:00:24.002 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 20 December 2023 20:28:59 +0000 (0:00:00.057) 0:00:24.059 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 20 December 2023 20:28:59 +0000 (0:00:00.023) 0:00:24.082 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 20 December 2023 20:28:59 +0000 (0:00:00.043) 0:00:24.125 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 20:28:59 +0000 (0:00:00.063) 0:00:24.188 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 20:28:59 +0000 (0:00:00.054) 0:00:24.243 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003195", "end": "2023-12-20 20:29:00.158409", "rc": 0, "start": "2023-12-20 20:29:00.155214" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 20:29:00 +0000 (0:00:00.278) 0:00:24.522 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 20:29:00 +0000 (0:00:00.056) 0:00:24.578 **** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 20 December 2023 20:29:00 +0000 (0:00:00.093) 0:00:24.672 **** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/manage_test_interface.yml:24 Wednesday 20 December 2023 20:29:03 +0000 (0:00:02.979) 0:00:27.652 **** 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.011260", "end": "2023-12-20 20:29:03.528925", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2023-12-20 20:29:03.517665" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003984", "end": "2023-12-20 20:29:03.773554", "item": "ip link set peerveth0 up", "rc": 0, "start": "2023-12-20 20:29:03.769570" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004307", "end": "2023-12-20 20:29:03.973827", "item": "ip link set veth0 up", "rc": 0, "start": "2023-12-20 20:29:03.969520" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/manage_test_interface.yml:33 Wednesday 20 December 2023 20:29:04 +0000 (0:00:00.666) 0:00:28.319 **** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.022904", "end": "2023-12-20 20:29:04.210181", "rc": 0, "start": "2023-12-20 20:29:04.187277" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/manage_test_interface.yml:41 Wednesday 20 December 2023 20:29:04 +0000 (0:00:00.234) 0:00:28.554 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/manage_test_interface.yml:48 Wednesday 20 December 2023 20:29:04 +0000 (0:00:00.043) 0:00:28.597 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/manage_test_interface.yml:54 Wednesday 20 December 2023 20:29:04 +0000 (0:00:00.030) 0:00:28.628 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/manage_test_interface.yml:61 Wednesday 20 December 2023 20:29:04 +0000 (0:00:00.054) 0:00:28.683 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/manage_test_interface.yml:67 Wednesday 20 December 2023 20:29:04 +0000 (0:00:00.223) 0:00:28.907 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 20 December 2023 20:29:04 +0000 (0:00:00.033) 0:00:28.940 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 20 December 2023 20:29:04 +0000 (0:00:00.076) 0:00:29.017 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 20 December 2023 20:29:04 +0000 (0:00:00.151) 0:00:29.168 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 20 December 2023 20:29:04 +0000 (0:00:00.054) 0:00:29.223 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 20 December 2023 20:29:04 +0000 (0:00:00.067) 0:00:29.291 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 20 December 2023 20:29:06 +0000 (0:00:01.463) 0:00:30.754 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 20 December 2023 20:29:07 +0000 (0:00:01.365) 0:00:32.119 **** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 20 December 2023 20:29:07 +0000 (0:00:00.025) 0:00:32.144 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 20 December 2023 20:29:07 +0000 (0:00:00.035) 0:00:32.180 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 20 December 2023 20:29:07 +0000 (0:00:00.029) 0:00:32.210 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 20 December 2023 20:29:07 +0000 (0:00:00.059) 0:00:32.269 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 20 December 2023 20:29:07 +0000 (0:00:00.027) 0:00:32.297 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 20 December 2023 20:29:08 +0000 (0:00:00.027) 0:00:32.324 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 20 December 2023 20:29:08 +0000 (0:00:00.031) 0:00:32.356 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 20 December 2023 20:29:08 +0000 (0:00:00.357) 0:00:32.713 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 20 December 2023 20:29:08 +0000 (0:00:00.028) 0:00:32.742 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 20 December 2023 20:29:08 +0000 (0:00:00.023) 0:00:32.765 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 20 December 2023 20:29:08 +0000 (0:00:00.022) 0:00:32.788 **** 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, 26b16fdb-86cb-4453-b6e6-1be39e7b0574 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 26b16fdb-86cb-4453-b6e6-1be39e7b0574 (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 20 December 2023 20:29:08 +0000 (0:00:00.426) 0:00:33.214 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 20 December 2023 20:29:08 +0000 (0:00:00.029) 0:00:33.244 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 26b16fdb-86cb-4453-b6e6-1be39e7b0574", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 26b16fdb-86cb-4453-b6e6-1be39e7b0574 (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 20 December 2023 20:29:08 +0000 (0:00:00.027) 0:00:33.271 **** 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, 26b16fdb-86cb-4453-b6e6-1be39e7b0574\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 26b16fdb-86cb-4453-b6e6-1be39e7b0574 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 26b16fdb-86cb-4453-b6e6-1be39e7b0574", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 26b16fdb-86cb-4453-b6e6-1be39e7b0574 (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 20 December 2023 20:29:08 +0000 (0:00:00.028) 0:00:33.300 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 20 December 2023 20:29:09 +0000 (0:00:00.023) 0:00:33.324 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tests_auto_gateway.yml:110 Wednesday 20 December 2023 20:29:09 +0000 (0:00:00.198) 0:00:33.522 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 20 December 2023 20:29:09 +0000 (0:00:00.054) 0:00:33.577 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 20 December 2023 20:29:09 +0000 (0:00:00.038) 0:00:33.616 **** ok: [sut] => { "changed": false, "stat": { "atime": 1703104143.520922, "block_size": 4096, "blocks": 0, "ctime": 1703104143.520922, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 23982, "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": 1703104143.520922, "nlink": 1, "path": "/sys/class/net/veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that the interface is present - 'veth0'] ************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 20 December 2023 20:29:09 +0000 (0:00:00.223) 0:00:33.840 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tests_auto_gateway.yml:112 Wednesday 20 December 2023 20:29:09 +0000 (0:00:00.030) 0:00:33.870 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 20 December 2023 20:29:09 +0000 (0:00:00.096) 0:00:33.966 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 20 December 2023 20:29:09 +0000 (0:00:00.039) 0:00:34.006 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 20 December 2023 20:29:09 +0000 (0:00:00.025) 0:00:34.031 **** ok: [sut] => { "changed": false, "stat": { "atime": 1703104148.8507054, "block_size": 4096, "blocks": 8, "ctime": 1703104148.812707, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5533376, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1703104148.812707, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 323, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 20 December 2023 20:29:09 +0000 (0:00:00.196) 0:00:34.228 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 20 December 2023 20:29:09 +0000 (0:00:00.028) 0:00:34.257 **** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.020842", "end": "2023-12-20 20:29:10.158385", "rc": 0, "start": "2023-12-20 20:29:10.137543" } STDOUT: veth0 /etc/sysconfig/network-scripts/ifcfg-veth0 TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 20 December 2023 20:29:10 +0000 (0:00:00.253) 0:00:34.510 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 20 December 2023 20:29:10 +0000 (0:00:00.057) 0:00:34.568 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 20 December 2023 20:29:10 +0000 (0:00:00.042) 0:00:34.610 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 20 December 2023 20:29:10 +0000 (0:00:00.035) 0:00:34.645 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 20 December 2023 20:29:10 +0000 (0:00:00.041) 0:00:34.686 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 20 December 2023 20:29:10 +0000 (0:00:00.042) 0:00:34.729 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 20 December 2023 20:29:10 +0000 (0:00:00.038) 0:00:34.767 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 20 December 2023 20:29:10 +0000 (0:00:00.031) 0:00:34.799 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tests_auto_gateway.yml:116 Wednesday 20 December 2023 20:29:10 +0000 (0:00:00.108) 0:00:34.907 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003400", "end": "2023-12-20 20:29:10.799543", "rc": 0, "start": "2023-12-20 20:29:10.796143" } STDOUT: default via 10.31.40.1 dev eth0 proto dhcp src 10.31.40.219 metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.40.219 metric 100 203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 metric 101 TASK [Assert default ipv4 route is absent] ************************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tests_auto_gateway.yml:120 Wednesday 20 December 2023 20:29:10 +0000 (0:00:00.237) 0:00:35.145 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tests_auto_gateway.yml:126 Wednesday 20 December 2023 20:29:10 +0000 (0:00:00.059) 0:00:35.204 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003359", "end": "2023-12-20 20:29:11.096922", "rc": 0, "start": "2023-12-20 20:29:11.093563" } 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-skip_initscriptsyy0h4na4/tests/playbooks/tests_auto_gateway.yml:130 Wednesday 20 December 2023 20:29:11 +0000 (0:00:00.244) 0:00:35.449 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tests_auto_gateway.yml:137 Wednesday 20 December 2023 20:29:11 +0000 (0:00:00.033) 0:00:35.482 **** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 20 December 2023 20:29:11 +0000 (0:00:00.035) 0:00:35.518 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 20 December 2023 20:29:11 +0000 (0:00:00.042) 0:00:35.560 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 20 December 2023 20:29:11 +0000 (0:00:00.048) 0:00:35.609 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 20 December 2023 20:29:11 +0000 (0:00:00.037) 0:00:35.647 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 20 December 2023 20:29:11 +0000 (0:00:00.039) 0:00:35.687 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 20 December 2023 20:29:12 +0000 (0:00:01.512) 0:00:37.199 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 20 December 2023 20:29:14 +0000 (0:00:01.297) 0:00:38.497 **** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 20 December 2023 20:29:14 +0000 (0:00:00.024) 0:00:38.521 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 20 December 2023 20:29:14 +0000 (0:00:00.023) 0:00:38.545 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 20 December 2023 20:29:14 +0000 (0:00:00.032) 0:00:38.578 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 20 December 2023 20:29:14 +0000 (0:00:00.068) 0:00:38.646 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 20 December 2023 20:29:14 +0000 (0:00:00.034) 0:00:38.680 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 20 December 2023 20:29:14 +0000 (0:00:00.032) 0:00:38.713 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 20 December 2023 20:29:14 +0000 (0:00:00.032) 0:00:38.746 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 20 December 2023 20:29:14 +0000 (0:00:00.353) 0:00:39.099 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 20 December 2023 20:29:14 +0000 (0:00:00.077) 0:00:39.176 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 20 December 2023 20:29:14 +0000 (0:00:00.029) 0:00:39.205 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 20 December 2023 20:29:14 +0000 (0:00:00.025) 0:00:39.231 **** 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 [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 20 December 2023 20:29:15 +0000 (0:00:00.415) 0:00:39.646 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 20 December 2023 20:29:15 +0000 (0:00:00.040) 0:00:39.687 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 20 December 2023 20:29:15 +0000 (0:00:00.024) 0:00:39.711 **** 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 [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 20 December 2023 20:29:15 +0000 (0:00:00.022) 0:00:39.734 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 20 December 2023 20:29:15 +0000 (0:00:00.021) 0:00:39.755 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tests_auto_gateway.yml:149 Wednesday 20 December 2023 20:29:15 +0000 (0:00:00.192) 0:00:39.947 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 20 December 2023 20:29:15 +0000 (0:00:00.057) 0:00:40.005 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 20 December 2023 20:29:15 +0000 (0:00:00.022) 0:00:40.028 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 20 December 2023 20:29:15 +0000 (0:00:00.022) 0:00:40.051 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 20:29:15 +0000 (0:00:00.076) 0:00:40.127 **** included: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 20:29:15 +0000 (0:00:00.051) 0:00:40.178 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002965", "end": "2023-12-20 20:29:16.053455", "rc": 0, "start": "2023-12-20 20:29:16.050490" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 20:29:16 +0000 (0:00:00.233) 0:00:40.412 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 20:29:16 +0000 (0:00:00.040) 0:00:40.453 **** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 20 December 2023 20:29:16 +0000 (0:00:00.024) 0:00:40.477 **** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/manage_test_interface.yml:24 Wednesday 20 December 2023 20:29:19 +0000 (0:00:02.976) 0:00:43.454 **** skipping: [sut] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "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, "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, "item": "ip link set veth0 up", "skip_reason": "Conditional result was False" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/manage_test_interface.yml:33 Wednesday 20 December 2023 20:29:19 +0000 (0:00:00.036) 0:00:43.491 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/manage_test_interface.yml:41 Wednesday 20 December 2023 20:29:19 +0000 (0:00:00.085) 0:00:43.576 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.010888", "end": "2023-12-20 20:29:19.453761", "rc": 0, "start": "2023-12-20 20:29:19.442873" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/manage_test_interface.yml:48 Wednesday 20 December 2023 20:29:19 +0000 (0:00:00.216) 0:00:43.793 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/manage_test_interface.yml:54 Wednesday 20 December 2023 20:29:19 +0000 (0:00:00.028) 0:00:43.821 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/manage_test_interface.yml:61 Wednesday 20 December 2023 20:29:19 +0000 (0:00:00.024) 0:00:43.845 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/manage_test_interface.yml:67 Wednesday 20 December 2023 20:29:19 +0000 (0:00:00.024) 0:00:43.870 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=129 changed=4 unreachable=0 failed=0 skipped=98 rescued=0 ignored=0 Wednesday 20 December 2023 20:29:19 +0000 (0:00:00.009) 0:00:43.880 **** =============================================================================== Install iproute --------------------------------------------------------- 3.20s /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.98s /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.98s /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.96s /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Check which services are running ----------- 1.54s /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.53s /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.51s /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.50s /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which services are running ----------- 1.46s /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.37s /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.36s /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.30s /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Configure networking connection profiles --- 0.86s /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable and start NetworkManager ------------ 0.76s /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:85 Gathering Facts --------------------------------------------------------- 0.75s /WORKDIR/git-skip_initscriptsyy0h4na4/tests/tests_auto_gateway_nm.yml:5 ------- Create veth interface veth0 --------------------------------------------- 0.67s /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/manage_test_interface.yml:24 Create veth interface veth0 --------------------------------------------- 0.60s /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tasks/manage_test_interface.yml:24 Gathering Facts --------------------------------------------------------- 0.56s /WORKDIR/git-skip_initscriptsyy0h4na4/tests/playbooks/tests_auto_gateway.yml:3 Enable EPEL 8 ----------------------------------------------------------- 0.51s /WORKDIR/git-skip_initscriptsyy0h4na4/tests/tasks/enable_epel.yml:35 ---------- linux-system-roles.network : Configure networking connection profiles --- 0.49s /WORKDIR/git-skip_initscriptsyy0h4na4/tests/roles/linux-system-roles.network/tasks/main.yml:122 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the dnf module rather than running 'dnf'. If you need to use command because dnf is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ---^---^---^---^---^---