# 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-code_refactorpp5wg6l0/tests/tests_auto_gateway_nm.yml PLAY [Run playbook 'playbooks/tests_auto_gateway.yml' with nm as provider] ***** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/tests_auto_gateway_nm.yml:5 Thursday 30 November 2023 16:51:40 +0000 (0:00:00.016) 0:00:00.016 ***** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/tests_auto_gateway_nm.yml:9 Thursday 30 November 2023 16:51:41 +0000 (0:00:00.936) 0:00:00.952 ***** included: /WORKDIR/git-code_refactorpp5wg6l0/tests/tasks/el_repo_setup.yml for sut TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/tasks/el_repo_setup.yml:3 Thursday 30 November 2023 16:51:41 +0000 (0:00:00.016) 0:00:00.968 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/tasks/el_repo_setup.yml:19 Thursday 30 November 2023 16:51:42 +0000 (0:00:00.534) 0:00:01.503 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/tasks/el_repo_setup.yml:24 Thursday 30 November 2023 16:51:42 +0000 (0:00:00.287) 0:00:01.790 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/tasks/el_repo_setup.yml:28 Thursday 30 November 2023 16:51:42 +0000 (0:00:00.027) 0:00:01.818 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/tasks/el_repo_setup.yml:53 Thursday 30 November 2023 16:51:42 +0000 (0:00:00.022) 0:00:01.841 ***** included: /WORKDIR/git-code_refactorpp5wg6l0/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 37] ********************************************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/tasks/enable_epel.yml:8 Thursday 30 November 2023 16:51:42 +0000 (0:00:00.042) 0:00:01.884 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/tasks/enable_epel.yml:24 Thursday 30 November 2023 16:51:42 +0000 (0:00:00.012) 0:00:01.897 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/tasks/enable_epel.yml:30 Thursday 30 November 2023 16:51:42 +0000 (0:00:00.011) 0:00:01.908 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/tasks/enable_epel.yml:35 Thursday 30 November 2023 16:51:42 +0000 (0:00:00.011) 0:00:01.919 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/tasks/enable_epel.yml:40 Thursday 30 November 2023 16:51:42 +0000 (0:00:00.011) 0:00:01.931 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/tests_auto_gateway_nm.yml:11 Thursday 30 November 2023 16:51:42 +0000 (0:00:00.011) 0:00:01.942 ***** 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-code_refactorpp5wg6l0/tests/playbooks/tests_auto_gateway.yml:3 Thursday 30 November 2023 16:51:42 +0000 (0:00:00.016) 0:00:01.959 ***** ok: [sut] META: ran handlers TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tests_auto_gateway.yml:9 Thursday 30 November 2023 16:51:43 +0000 (0:00:00.771) 0:00:02.731 ***** included: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 30 November 2023 16:51:43 +0000 (0:00:00.033) 0:00:02.765 ***** included: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 30 November 2023 16:51:43 +0000 (0:00:00.019) 0:00:02.784 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003903", "end": "2023-11-30 16:51:43.892934", "rc": 0, "start": "2023-11-30 16:51:43.889031" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 30 November 2023 16:51:43 +0000 (0:00:00.299) 0:00:03.083 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 30 November 2023 16:51:43 +0000 (0:00:00.015) 0:00:03.098 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tests_auto_gateway.yml:11 Thursday 30 November 2023 16:51:43 +0000 (0:00:00.013) 0:00:03.112 ***** included: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 30 November 2023 16:51:43 +0000 (0:00:00.040) 0:00:03.153 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 30 November 2023 16:51:43 +0000 (0:00:00.013) 0:00:03.166 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 30 November 2023 16:51:44 +0000 (0:00:00.014) 0:00:03.181 ***** included: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 30 November 2023 16:51:44 +0000 (0:00:00.017) 0:00:03.199 ***** included: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 30 November 2023 16:51:44 +0000 (0:00:00.018) 0:00:03.217 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004985", "end": "2023-11-30 16:51:45.238533", "rc": 0, "start": "2023-11-30 16:51:44.233548" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 30 November 2023 16:51:45 +0000 (0:00:01.213) 0:00:04.430 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 30 November 2023 16:51:45 +0000 (0:00:00.016) 0:00:04.447 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 30 November 2023 16:51:45 +0000 (0:00:00.015) 0:00:04.463 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/manage_test_interface.yml:24 Thursday 30 November 2023 16:51:48 +0000 (0:00:02.836) 0:00:07.299 ***** 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.068965", "end": "2023-11-30 16:51:48.393953", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2023-11-30 16:51:48.324988" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004196", "end": "2023-11-30 16:51:48.653225", "item": "ip link set peerveth0 up", "rc": 0, "start": "2023-11-30 16:51:48.649029" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004181", "end": "2023-11-30 16:51:48.862635", "item": "ip link set veth0 up", "rc": 0, "start": "2023-11-30 16:51:48.858454" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/manage_test_interface.yml:33 Thursday 30 November 2023 16:51:48 +0000 (0:00:00.757) 0:00:08.057 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.249826", "end": "2023-11-30 16:51:49.326155", "rc": 0, "start": "2023-11-30 16:51:49.076329" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/manage_test_interface.yml:41 Thursday 30 November 2023 16:51:49 +0000 (0:00:00.463) 0:00:08.520 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/manage_test_interface.yml:48 Thursday 30 November 2023 16:51:49 +0000 (0:00:00.015) 0:00:08.536 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/manage_test_interface.yml:54 Thursday 30 November 2023 16:51:49 +0000 (0:00:00.015) 0:00:08.551 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/manage_test_interface.yml:61 Thursday 30 November 2023 16:51:49 +0000 (0:00:00.015) 0:00:08.566 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/manage_test_interface.yml:67 Thursday 30 November 2023 16:51:49 +0000 (0:00:00.016) 0:00:08.583 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tests_auto_gateway.yml:15 Thursday 30 November 2023 16:51:49 +0000 (0:00:00.014) 0:00:08.597 ***** included: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 30 November 2023 16:51:49 +0000 (0:00:00.036) 0:00:08.634 ***** included: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 30 November 2023 16:51:49 +0000 (0:00:00.019) 0:00:08.653 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701363108.3872802, "block_size": 4096, "blocks": 0, "ctime": 1701363108.3872802, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26099, "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": 1701363108.3872802, "nlink": 1, "path": "/sys/class/net/veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that the interface is present - 'veth0'] ************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 30 November 2023 16:51:49 +0000 (0:00:00.209) 0:00:08.863 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tests_auto_gateway.yml:17 Thursday 30 November 2023 16:51:49 +0000 (0:00:00.016) 0:00:08.880 ***** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 30 November 2023 16:51:49 +0000 (0:00:00.014) 0:00:08.894 ***** included: /WORKDIR/git-code_refactorpp5wg6l0/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-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 30 November 2023 16:51:49 +0000 (0:00:00.091) 0:00:08.985 ***** 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-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 30 November 2023 16:51:49 +0000 (0:00:00.015) 0:00:09.001 ***** 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-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 30 November 2023 16:51:49 +0000 (0:00:00.017) 0:00:09.018 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 30 November 2023 16:51:49 +0000 (0:00:00.015) 0:00:09.034 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 30 November 2023 16:51:51 +0000 (0:00:02.091) 0:00:11.125 ***** 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-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 30 November 2023 16:51:53 +0000 (0:00:01.052) 0:00:12.177 ***** 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-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 30 November 2023 16:51:53 +0000 (0:00:00.061) 0:00:12.239 ***** 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-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 30 November 2023 16:51:53 +0000 (0:00:00.031) 0:00:12.270 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 30 November 2023 16:51:53 +0000 (0:00:00.031) 0:00:12.302 ***** 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-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 30 November 2023 16:51:53 +0000 (0:00:00.063) 0:00:12.366 ***** 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-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 30 November 2023 16:51:53 +0000 (0:00:00.030) 0:00:12.396 ***** 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-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 30 November 2023 16:51:53 +0000 (0:00:00.030) 0:00:12.427 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 30 November 2023 16:51:53 +0000 (0:00:00.036) 0:00:12.464 ***** 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-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 30 November 2023 16:51:54 +0000 (0:00:00.811) 0:00:13.275 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 30 November 2023 16:51:54 +0000 (0:00:00.038) 0:00:13.313 ***** 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-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 30 November 2023 16:51:54 +0000 (0:00:00.031) 0:00:13.345 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 30 November 2023 16:51:54 +0000 (0:00:00.030) 0:00:13.376 ***** 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, 910a77fc-f754-48b5-99eb-28b0712047a6 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 910a77fc-f754-48b5-99eb-28b0712047a6 (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 30 November 2023 16:51:55 +0000 (0:00:01.266) 0:00:14.642 ***** 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-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 30 November 2023 16:51:55 +0000 (0:00:00.031) 0:00:14.674 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 910a77fc-f754-48b5-99eb-28b0712047a6", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 910a77fc-f754-48b5-99eb-28b0712047a6 (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 30 November 2023 16:51:55 +0000 (0:00:00.029) 0:00:14.704 ***** 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, 910a77fc-f754-48b5-99eb-28b0712047a6\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 910a77fc-f754-48b5-99eb-28b0712047a6 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 910a77fc-f754-48b5-99eb-28b0712047a6", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 910a77fc-f754-48b5-99eb-28b0712047a6 (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 30 November 2023 16:51:55 +0000 (0:00:00.032) 0:00:14.736 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 30 November 2023 16:51:55 +0000 (0:00:00.030) 0:00:14.767 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tests_auto_gateway.yml:42 Thursday 30 November 2023 16:51:55 +0000 (0:00:00.323) 0:00:15.091 ***** included: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 30 November 2023 16:51:55 +0000 (0:00:00.070) 0:00:15.161 ***** included: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 30 November 2023 16:51:56 +0000 (0:00:00.049) 0:00:15.210 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701363108.3872802, "block_size": 4096, "blocks": 0, "ctime": 1701363108.3872802, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26099, "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": 1701363108.3872802, "nlink": 1, "path": "/sys/class/net/veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that the interface is present - 'veth0'] ************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 30 November 2023 16:51:56 +0000 (0:00:00.233) 0:00:15.443 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tests_auto_gateway.yml:44 Thursday 30 November 2023 16:51:56 +0000 (0:00:00.089) 0:00:15.532 ***** included: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 30 November 2023 16:51:56 +0000 (0:00:00.071) 0:00:15.603 ***** included: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 30 November 2023 16:51:56 +0000 (0:00:00.053) 0:00:15.657 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 30 November 2023 16:51:56 +0000 (0:00:00.032) 0:00:15.689 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 30 November 2023 16:51:56 +0000 (0:00:00.221) 0:00:15.911 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 30 November 2023 16:51:56 +0000 (0:00:00.032) 0:00:15.944 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.153338", "end": "2023-11-30 16:51:57.115656", "rc": 0, "start": "2023-11-30 16:51:56.962318" } STDOUT: veth0 /etc/NetworkManager/system-connections/veth0.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 30 November 2023 16:51:57 +0000 (0:00:00.381) 0:00:16.325 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 30 November 2023 16:51:57 +0000 (0:00:00.036) 0:00:16.361 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 30 November 2023 16:51:57 +0000 (0:00:00.031) 0:00:16.393 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 30 November 2023 16:51:57 +0000 (0:00:00.033) 0:00:16.426 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 30 November 2023 16:51:57 +0000 (0:00:00.032) 0:00:16.458 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 30 November 2023 16:51:57 +0000 (0:00:00.071) 0:00:16.530 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 30 November 2023 16:51:57 +0000 (0:00:00.037) 0:00:16.567 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 30 November 2023 16:51:57 +0000 (0:00:00.037) 0:00:16.604 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tests_auto_gateway.yml:48 Thursday 30 November 2023 16:51:57 +0000 (0:00:00.036) 0:00:16.640 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.004241", "end": "2023-11-30 16:51:57.666242", "rc": 0, "start": "2023-11-30 16:51:57.662001" } STDOUT: default via 10.31.8.1 dev eth0 proto dhcp src 10.31.9.77 metric 100 default via 203.0.113.1 dev veth0 proto static metric 65535 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.9.77 metric 100 203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 metric 65535 TASK [Assert default ipv4 route is present] ************************************ task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tests_auto_gateway.yml:52 Thursday 30 November 2023 16:51:57 +0000 (0:00:00.232) 0:00:16.873 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tests_auto_gateway.yml:58 Thursday 30 November 2023 16:51:57 +0000 (0:00:00.033) 0:00:16.906 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003840", "end": "2023-11-30 16:51:57.924977", "rc": 0, "start": "2023-11-30 16:51:57.921137" } STDOUT: ::1 dev lo proto kernel metric 256 pref medium 2001:db8::/64 dev veth0 proto kernel metric 101 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 1024 pref medium fe80::/64 dev veth0 proto kernel metric 1024 pref medium default via 2001:db8::1 dev veth0 proto static metric 101 pref medium TASK [Assert default ipv6 route is present] ************************************ task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tests_auto_gateway.yml:62 Thursday 30 November 2023 16:51:57 +0000 (0:00:00.226) 0:00:17.133 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tests_auto_gateway.yml:69 Thursday 30 November 2023 16:51:58 +0000 (0:00:00.037) 0:00:17.170 ***** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 30 November 2023 16:51:58 +0000 (0:00:00.032) 0:00:17.203 ***** included: /WORKDIR/git-code_refactorpp5wg6l0/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-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 30 November 2023 16:51:58 +0000 (0:00:00.055) 0:00:17.258 ***** 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-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 30 November 2023 16:51:58 +0000 (0:00:00.037) 0:00:17.296 ***** 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-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 30 November 2023 16:51:58 +0000 (0:00:00.031) 0:00:17.327 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 30 November 2023 16:51:58 +0000 (0:00:00.032) 0:00:17.359 ***** 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-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 30 November 2023 16:52:00 +0000 (0:00:02.020) 0:00:19.379 ***** 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-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 30 November 2023 16:52:01 +0000 (0:00:00.842) 0:00:20.222 ***** 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-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 30 November 2023 16:52:01 +0000 (0:00:00.030) 0:00:20.253 ***** 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-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 30 November 2023 16:52:01 +0000 (0:00:00.065) 0:00:20.318 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 30 November 2023 16:52:01 +0000 (0:00:00.031) 0:00:20.350 ***** 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-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 30 November 2023 16:52:01 +0000 (0:00:00.063) 0:00:20.413 ***** 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-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 30 November 2023 16:52:01 +0000 (0:00:00.030) 0:00:20.444 ***** 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-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 30 November 2023 16:52:01 +0000 (0:00:00.030) 0:00:20.475 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 30 November 2023 16:52:01 +0000 (0:00:00.034) 0:00:20.510 ***** 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-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 30 November 2023 16:52:01 +0000 (0:00:00.610) 0:00:21.120 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 30 November 2023 16:52:02 +0000 (0:00:00.047) 0:00:21.167 ***** 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-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 30 November 2023 16:52:02 +0000 (0:00:00.030) 0:00:21.198 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 30 November 2023 16:52:02 +0000 (0:00:00.031) 0:00:21.229 ***** 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-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 30 November 2023 16:52:02 +0000 (0:00:00.489) 0:00:21.719 ***** 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-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 30 November 2023 16:52:02 +0000 (0:00:00.032) 0:00:21.751 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 30 November 2023 16:52:02 +0000 (0:00:00.074) 0:00:21.825 ***** 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-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 30 November 2023 16:52:02 +0000 (0:00:00.033) 0:00:21.859 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 30 November 2023 16:52:02 +0000 (0:00:00.035) 0:00:21.895 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tests_auto_gateway.yml:81 Thursday 30 November 2023 16:52:02 +0000 (0:00:00.222) 0:00:22.117 ***** included: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 30 November 2023 16:52:03 +0000 (0:00:00.072) 0:00:22.189 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 30 November 2023 16:52:03 +0000 (0:00:00.031) 0:00:22.220 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 30 November 2023 16:52:03 +0000 (0:00:00.030) 0:00:22.251 ***** included: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 30 November 2023 16:52:03 +0000 (0:00:00.051) 0:00:22.303 ***** included: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 30 November 2023 16:52:03 +0000 (0:00:00.046) 0:00:22.350 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003720", "end": "2023-11-30 16:52:03.368177", "rc": 0, "start": "2023-11-30 16:52:03.364457" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 30 November 2023 16:52:03 +0000 (0:00:00.224) 0:00:22.574 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 30 November 2023 16:52:03 +0000 (0:00:00.032) 0:00:22.607 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 30 November 2023 16:52:03 +0000 (0:00:00.031) 0:00:22.638 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/manage_test_interface.yml:24 Thursday 30 November 2023 16:52:06 +0000 (0:00:02.569) 0:00:25.208 ***** 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-code_refactorpp5wg6l0/tests/playbooks/tasks/manage_test_interface.yml:33 Thursday 30 November 2023 16:52:06 +0000 (0:00:00.045) 0:00:25.254 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/manage_test_interface.yml:41 Thursday 30 November 2023 16:52:06 +0000 (0:00:00.034) 0:00:25.288 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.010178", "end": "2023-11-30 16:52:06.317217", "rc": 0, "start": "2023-11-30 16:52:06.307039" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/manage_test_interface.yml:48 Thursday 30 November 2023 16:52:06 +0000 (0:00:00.252) 0:00:25.541 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/manage_test_interface.yml:54 Thursday 30 November 2023 16:52:06 +0000 (0:00:00.038) 0:00:25.580 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/manage_test_interface.yml:61 Thursday 30 November 2023 16:52:06 +0000 (0:00:00.035) 0:00:25.615 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/manage_test_interface.yml:67 Thursday 30 November 2023 16:52:06 +0000 (0:00:00.035) 0:00:25.650 ***** 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-code_refactorpp5wg6l0/tests/playbooks/tests_auto_gateway.yml:85 Thursday 30 November 2023 16:52:06 +0000 (0:00:00.089) 0:00:25.740 ***** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tests_auto_gateway.yml:89 Thursday 30 November 2023 16:52:06 +0000 (0:00:00.038) 0:00:25.778 ***** included: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 30 November 2023 16:52:06 +0000 (0:00:00.086) 0:00:25.865 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 30 November 2023 16:52:06 +0000 (0:00:00.030) 0:00:25.895 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 30 November 2023 16:52:06 +0000 (0:00:00.033) 0:00:25.928 ***** included: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 30 November 2023 16:52:06 +0000 (0:00:00.051) 0:00:25.980 ***** included: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 30 November 2023 16:52:06 +0000 (0:00:00.054) 0:00:26.034 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004891", "end": "2023-11-30 16:52:08.055463", "rc": 0, "start": "2023-11-30 16:52:07.050572" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 30 November 2023 16:52:08 +0000 (0:00:01.230) 0:00:27.264 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 30 November 2023 16:52:08 +0000 (0:00:00.076) 0:00:27.341 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 30 November 2023 16:52:08 +0000 (0:00:00.035) 0:00:27.376 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/manage_test_interface.yml:24 Thursday 30 November 2023 16:52:10 +0000 (0:00:02.562) 0:00:29.939 ***** 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.008030", "end": "2023-11-30 16:52:10.969063", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2023-11-30 16:52:10.961033" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004104", "end": "2023-11-30 16:52:11.211415", "item": "ip link set peerveth0 up", "rc": 0, "start": "2023-11-30 16:52:11.207311" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004099", "end": "2023-11-30 16:52:11.416859", "item": "ip link set veth0 up", "rc": 0, "start": "2023-11-30 16:52:11.412760" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/manage_test_interface.yml:33 Thursday 30 November 2023 16:52:11 +0000 (0:00:00.685) 0:00:30.625 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.022838", "end": "2023-11-30 16:52:11.667994", "rc": 0, "start": "2023-11-30 16:52:11.645156" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/manage_test_interface.yml:41 Thursday 30 November 2023 16:52:11 +0000 (0:00:00.252) 0:00:30.877 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/manage_test_interface.yml:48 Thursday 30 November 2023 16:52:11 +0000 (0:00:00.073) 0:00:30.951 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/manage_test_interface.yml:54 Thursday 30 November 2023 16:52:11 +0000 (0:00:00.034) 0:00:30.985 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/manage_test_interface.yml:61 Thursday 30 November 2023 16:52:11 +0000 (0:00:00.034) 0:00:31.020 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/manage_test_interface.yml:67 Thursday 30 November 2023 16:52:11 +0000 (0:00:00.033) 0:00:31.053 ***** 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-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 30 November 2023 16:52:11 +0000 (0:00:00.030) 0:00:31.084 ***** included: /WORKDIR/git-code_refactorpp5wg6l0/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-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 30 November 2023 16:52:11 +0000 (0:00:00.059) 0:00:31.144 ***** 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-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 30 November 2023 16:52:12 +0000 (0:00:00.041) 0:00:31.185 ***** 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-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 30 November 2023 16:52:12 +0000 (0:00:00.035) 0:00:31.220 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 30 November 2023 16:52:12 +0000 (0:00:00.033) 0:00:31.254 ***** 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-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 30 November 2023 16:52:14 +0000 (0:00:01.931) 0:00:33.185 ***** 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-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 30 November 2023 16:52:14 +0000 (0:00:00.842) 0:00:34.028 ***** 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-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 30 November 2023 16:52:14 +0000 (0:00:00.034) 0:00:34.062 ***** 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-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 30 November 2023 16:52:14 +0000 (0:00:00.035) 0:00:34.097 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 30 November 2023 16:52:14 +0000 (0:00:00.035) 0:00:34.132 ***** 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-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 30 November 2023 16:52:15 +0000 (0:00:00.071) 0:00:34.204 ***** 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-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 30 November 2023 16:52:15 +0000 (0:00:00.030) 0:00:34.234 ***** 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-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 30 November 2023 16:52:15 +0000 (0:00:00.030) 0:00:34.265 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 30 November 2023 16:52:15 +0000 (0:00:00.035) 0:00:34.301 ***** 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-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 30 November 2023 16:52:15 +0000 (0:00:00.590) 0:00:34.891 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 30 November 2023 16:52:15 +0000 (0:00:00.037) 0:00:34.928 ***** 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-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 30 November 2023 16:52:15 +0000 (0:00:00.029) 0:00:34.957 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 30 November 2023 16:52:15 +0000 (0:00:00.029) 0:00:34.987 ***** 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, e3836337-b8c4-4e2e-b7bd-08fb23e5033c [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, e3836337-b8c4-4e2e-b7bd-08fb23e5033c (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 30 November 2023 16:52:16 +0000 (0:00:00.460) 0:00:35.447 ***** 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-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 30 November 2023 16:52:16 +0000 (0:00:00.028) 0:00:35.476 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, e3836337-b8c4-4e2e-b7bd-08fb23e5033c", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, e3836337-b8c4-4e2e-b7bd-08fb23e5033c (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 30 November 2023 16:52:16 +0000 (0:00:00.033) 0:00:35.510 ***** 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, e3836337-b8c4-4e2e-b7bd-08fb23e5033c\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, e3836337-b8c4-4e2e-b7bd-08fb23e5033c (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, e3836337-b8c4-4e2e-b7bd-08fb23e5033c", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, e3836337-b8c4-4e2e-b7bd-08fb23e5033c (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 30 November 2023 16:52:16 +0000 (0:00:00.035) 0:00:35.545 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 30 November 2023 16:52:16 +0000 (0:00:00.029) 0:00:35.575 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tests_auto_gateway.yml:110 Thursday 30 November 2023 16:52:16 +0000 (0:00:00.218) 0:00:35.793 ***** included: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 30 November 2023 16:52:16 +0000 (0:00:00.072) 0:00:35.866 ***** included: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 30 November 2023 16:52:16 +0000 (0:00:00.100) 0:00:35.966 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701363130.9651356, "block_size": 4096, "blocks": 0, "ctime": 1701363130.9651356, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26685, "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": 1701363130.9651356, "nlink": 1, "path": "/sys/class/net/veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that the interface is present - 'veth0'] ************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 30 November 2023 16:52:17 +0000 (0:00:00.226) 0:00:36.193 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tests_auto_gateway.yml:112 Thursday 30 November 2023 16:52:17 +0000 (0:00:00.037) 0:00:36.230 ***** included: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 30 November 2023 16:52:17 +0000 (0:00:00.074) 0:00:36.304 ***** included: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 30 November 2023 16:52:17 +0000 (0:00:00.050) 0:00:36.355 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 30 November 2023 16:52:17 +0000 (0:00:00.030) 0:00:36.386 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 30 November 2023 16:52:17 +0000 (0:00:00.221) 0:00:36.608 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 30 November 2023 16:52:17 +0000 (0:00:00.030) 0:00:36.638 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.021605", "end": "2023-11-30 16:52:17.678929", "rc": 0, "start": "2023-11-30 16:52:17.657324" } STDOUT: veth0 /etc/NetworkManager/system-connections/veth0.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 30 November 2023 16:52:17 +0000 (0:00:00.252) 0:00:36.891 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 30 November 2023 16:52:17 +0000 (0:00:00.036) 0:00:36.928 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 30 November 2023 16:52:17 +0000 (0:00:00.089) 0:00:37.018 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 30 November 2023 16:52:17 +0000 (0:00:00.035) 0:00:37.054 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 30 November 2023 16:52:17 +0000 (0:00:00.034) 0:00:37.088 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 30 November 2023 16:52:17 +0000 (0:00:00.033) 0:00:37.122 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 30 November 2023 16:52:17 +0000 (0:00:00.036) 0:00:37.158 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 30 November 2023 16:52:18 +0000 (0:00:00.035) 0:00:37.193 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tests_auto_gateway.yml:116 Thursday 30 November 2023 16:52:18 +0000 (0:00:00.035) 0:00:37.229 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003853", "end": "2023-11-30 16:52:18.250134", "rc": 0, "start": "2023-11-30 16:52:18.246281" } STDOUT: default via 10.31.8.1 dev eth0 proto dhcp src 10.31.9.77 metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.9.77 metric 100 203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 metric 101 TASK [Assert default ipv4 route is absent] ************************************* task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tests_auto_gateway.yml:120 Thursday 30 November 2023 16:52:18 +0000 (0:00:00.231) 0:00:37.460 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tests_auto_gateway.yml:126 Thursday 30 November 2023 16:52:18 +0000 (0:00:00.041) 0:00:37.502 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003983", "end": "2023-11-30 16:52:18.523929", "rc": 0, "start": "2023-11-30 16:52:18.519946" } STDOUT: ::1 dev lo proto kernel metric 256 pref medium 2001:db8::/64 dev veth0 proto kernel metric 101 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 1024 pref medium fe80::/64 dev veth0 proto kernel metric 1024 pref medium TASK [Assert default ipv6 route is absent] ************************************* task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tests_auto_gateway.yml:130 Thursday 30 November 2023 16:52:18 +0000 (0:00:00.239) 0:00:37.741 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tests_auto_gateway.yml:137 Thursday 30 November 2023 16:52:18 +0000 (0:00:00.035) 0:00:37.777 ***** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 30 November 2023 16:52:18 +0000 (0:00:00.029) 0:00:37.806 ***** included: /WORKDIR/git-code_refactorpp5wg6l0/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-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 30 November 2023 16:52:18 +0000 (0:00:00.055) 0:00:37.861 ***** 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-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 30 November 2023 16:52:18 +0000 (0:00:00.094) 0:00:37.955 ***** 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-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 30 November 2023 16:52:18 +0000 (0:00:00.030) 0:00:37.986 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 30 November 2023 16:52:18 +0000 (0:00:00.031) 0:00:38.018 ***** 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-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 30 November 2023 16:52:20 +0000 (0:00:01.958) 0:00:39.976 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 30 November 2023 16:52:21 +0000 (0:00:00.850) 0:00:40.827 ***** 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-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 30 November 2023 16:52:21 +0000 (0:00:00.033) 0:00:40.860 ***** 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-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 30 November 2023 16:52:21 +0000 (0:00:00.079) 0:00:40.940 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 30 November 2023 16:52:21 +0000 (0:00:00.034) 0:00:40.974 ***** 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-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 30 November 2023 16:52:21 +0000 (0:00:00.071) 0:00:41.046 ***** 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-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 30 November 2023 16:52:21 +0000 (0:00:00.044) 0:00:41.090 ***** 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-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 30 November 2023 16:52:21 +0000 (0:00:00.041) 0:00:41.132 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 30 November 2023 16:52:22 +0000 (0:00:00.036) 0:00:41.168 ***** 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-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 30 November 2023 16:52:22 +0000 (0:00:00.605) 0:00:41.773 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 30 November 2023 16:52:22 +0000 (0:00:00.036) 0:00:41.810 ***** 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-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 30 November 2023 16:52:22 +0000 (0:00:00.032) 0:00:41.842 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 30 November 2023 16:52:22 +0000 (0:00:00.034) 0:00:41.877 ***** 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-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 30 November 2023 16:52:23 +0000 (0:00:00.476) 0:00:42.353 ***** 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-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 30 November 2023 16:52:23 +0000 (0:00:00.032) 0:00:42.385 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 30 November 2023 16:52:23 +0000 (0:00:00.090) 0:00:42.475 ***** 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-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 30 November 2023 16:52:23 +0000 (0:00:00.033) 0:00:42.509 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 30 November 2023 16:52:23 +0000 (0:00:00.032) 0:00:42.542 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tests_auto_gateway.yml:149 Thursday 30 November 2023 16:52:23 +0000 (0:00:00.218) 0:00:42.760 ***** included: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 30 November 2023 16:52:23 +0000 (0:00:00.082) 0:00:42.842 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 30 November 2023 16:52:23 +0000 (0:00:00.031) 0:00:42.874 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 30 November 2023 16:52:23 +0000 (0:00:00.032) 0:00:42.907 ***** included: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 30 November 2023 16:52:23 +0000 (0:00:00.053) 0:00:42.960 ***** included: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 30 November 2023 16:52:23 +0000 (0:00:00.050) 0:00:43.011 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004710", "end": "2023-11-30 16:52:25.031684", "rc": 0, "start": "2023-11-30 16:52:24.026974" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 30 November 2023 16:52:25 +0000 (0:00:01.227) 0:00:44.239 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 30 November 2023 16:52:25 +0000 (0:00:00.033) 0:00:44.273 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 30 November 2023 16:52:25 +0000 (0:00:00.033) 0:00:44.306 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/manage_test_interface.yml:24 Thursday 30 November 2023 16:52:27 +0000 (0:00:02.593) 0:00:46.899 ***** 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-code_refactorpp5wg6l0/tests/playbooks/tasks/manage_test_interface.yml:33 Thursday 30 November 2023 16:52:27 +0000 (0:00:00.044) 0:00:46.943 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/manage_test_interface.yml:41 Thursday 30 November 2023 16:52:27 +0000 (0:00:00.033) 0:00:46.977 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.011376", "end": "2023-11-30 16:52:28.006011", "rc": 0, "start": "2023-11-30 16:52:27.994635" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/manage_test_interface.yml:48 Thursday 30 November 2023 16:52:28 +0000 (0:00:00.240) 0:00:47.217 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/manage_test_interface.yml:54 Thursday 30 November 2023 16:52:28 +0000 (0:00:00.035) 0:00:47.253 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/manage_test_interface.yml:61 Thursday 30 November 2023 16:52:28 +0000 (0:00:00.092) 0:00:47.346 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/manage_test_interface.yml:67 Thursday 30 November 2023 16:52:28 +0000 (0:00:00.033) 0:00:47.379 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=125 changed=4 unreachable=0 failed=0 skipped=102 rescued=0 ignored=0 Thursday 30 November 2023 16:52:28 +0000 (0:00:00.012) 0:00:47.392 ***** =============================================================================== Install iproute --------------------------------------------------------- 2.84s /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.59s /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.57s /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.56s /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Check which services are running ----------- 2.09s /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.02s /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.96s /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.93s /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 1.27s /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:122 Gather current interface info ------------------------------------------- 1.23s /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 1.23s /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/get_current_interfaces.yml:3 linux-system-roles.network : Enable and start NetworkManager ------------ 1.22s /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:85 Gather current interface info ------------------------------------------- 1.21s /WORKDIR/git-code_refactorpp5wg6l0/tests/playbooks/tasks/get_current_interfaces.yml:3 linux-system-roles.network : Check which packages are installed --------- 1.05s /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Configure networking connection profiles --- 0.97s /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:122 Gathering Facts --------------------------------------------------------- 0.94s /WORKDIR/git-code_refactorpp5wg6l0/tests/tests_auto_gateway_nm.yml:5 ---------- linux-system-roles.network : Check which packages are installed --------- 0.85s /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.84s /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.84s /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Enable and start NetworkManager ------------ 0.81s /WORKDIR/git-code_refactorpp5wg6l0/tests/roles/linux-system-roles.network/tasks/main.yml:85 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---