# 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_refactorh774nepo/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_refactorh774nepo/tests/tests_auto_gateway_nm.yml:5 Thursday 30 November 2023 18:10:01 +0000 (0:00:00.022) 0:00:00.022 ***** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-code_refactorh774nepo/tests/tests_auto_gateway_nm.yml:9 Thursday 30 November 2023 18:10:02 +0000 (0:00:01.040) 0:00:01.063 ***** included: /WORKDIR/git-code_refactorh774nepo/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_refactorh774nepo/tests/tasks/el_repo_setup.yml:3 Thursday 30 November 2023 18:10:02 +0000 (0:00:00.019) 0:00:01.082 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-code_refactorh774nepo/tests/tasks/el_repo_setup.yml:19 Thursday 30 November 2023 18:10:03 +0000 (0:00:00.551) 0:00:01.634 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-code_refactorh774nepo/tests/tasks/el_repo_setup.yml:24 Thursday 30 November 2023 18:10:03 +0000 (0:00:00.290) 0:00:01.925 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-code_refactorh774nepo/tests/tasks/el_repo_setup.yml:28 Thursday 30 November 2023 18:10:03 +0000 (0:00:00.029) 0:00:01.954 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-code_refactorh774nepo/tests/tasks/el_repo_setup.yml:53 Thursday 30 November 2023 18:10:03 +0000 (0:00:00.023) 0:00:01.977 ***** included: /WORKDIR/git-code_refactorh774nepo/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 38] ********************************************************** task path: /WORKDIR/git-code_refactorh774nepo/tests/tasks/enable_epel.yml:8 Thursday 30 November 2023 18:10:03 +0000 (0:00:00.041) 0:00:02.018 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-code_refactorh774nepo/tests/tasks/enable_epel.yml:24 Thursday 30 November 2023 18:10:03 +0000 (0:00:00.012) 0:00:02.031 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-code_refactorh774nepo/tests/tasks/enable_epel.yml:30 Thursday 30 November 2023 18:10:03 +0000 (0:00:00.011) 0:00:02.042 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-code_refactorh774nepo/tests/tasks/enable_epel.yml:35 Thursday 30 November 2023 18:10:03 +0000 (0:00:00.011) 0:00:02.053 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-code_refactorh774nepo/tests/tasks/enable_epel.yml:40 Thursday 30 November 2023 18:10:03 +0000 (0:00:00.011) 0:00:02.064 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-code_refactorh774nepo/tests/tests_auto_gateway_nm.yml:11 Thursday 30 November 2023 18:10:03 +0000 (0:00:00.010) 0:00:02.075 ***** 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_refactorh774nepo/tests/playbooks/tests_auto_gateway.yml:3 Thursday 30 November 2023 18:10:03 +0000 (0:00:00.015) 0:00:02.091 ***** ok: [sut] META: ran handlers TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tests_auto_gateway.yml:9 Thursday 30 November 2023 18:10:04 +0000 (0:00:00.826) 0:00:02.918 ***** included: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 30 November 2023 18:10:04 +0000 (0:00:00.028) 0:00:02.946 ***** included: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 30 November 2023 18:10:04 +0000 (0:00:00.018) 0:00:02.964 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004031", "end": "2023-11-30 18:10:04.844978", "rc": 0, "start": "2023-11-30 18:10:04.840947" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 30 November 2023 18:10:04 +0000 (0:00:00.318) 0:00:03.283 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 30 November 2023 18:10:04 +0000 (0:00:00.017) 0:00:03.300 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tests_auto_gateway.yml:11 Thursday 30 November 2023 18:10:04 +0000 (0:00:00.020) 0:00:03.320 ***** included: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 30 November 2023 18:10:04 +0000 (0:00:00.056) 0:00:03.377 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 30 November 2023 18:10:04 +0000 (0:00:00.015) 0:00:03.393 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 30 November 2023 18:10:04 +0000 (0:00:00.013) 0:00:03.407 ***** included: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 30 November 2023 18:10:05 +0000 (0:00:00.019) 0:00:03.427 ***** included: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 30 November 2023 18:10:05 +0000 (0:00:00.017) 0:00:03.445 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003769", "end": "2023-11-30 18:10:05.223837", "rc": 0, "start": "2023-11-30 18:10:05.220068" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 30 November 2023 18:10:05 +0000 (0:00:00.217) 0:00:03.663 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 30 November 2023 18:10:05 +0000 (0:00:00.017) 0:00:03.680 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 30 November 2023 18:10:05 +0000 (0:00:00.014) 0:00:03.694 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tasks/manage_test_interface.yml:24 Thursday 30 November 2023 18:10:08 +0000 (0:00:02.720) 0:00:06.414 ***** 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.127778", "end": "2023-11-30 18:10:08.320009", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2023-11-30 18:10:08.192231" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004162", "end": "2023-11-30 18:10:08.572228", "item": "ip link set peerveth0 up", "rc": 0, "start": "2023-11-30 18:10:08.568066" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004459", "end": "2023-11-30 18:10:08.777583", "item": "ip link set veth0 up", "rc": 0, "start": "2023-11-30 18:10:08.773124" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tasks/manage_test_interface.yml:33 Thursday 30 November 2023 18:10:08 +0000 (0:00:00.802) 0:00:07.217 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.373515", "end": "2023-11-30 18:10:09.368601", "rc": 0, "start": "2023-11-30 18:10:08.995086" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tasks/manage_test_interface.yml:41 Thursday 30 November 2023 18:10:09 +0000 (0:00:00.592) 0:00:07.810 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tasks/manage_test_interface.yml:48 Thursday 30 November 2023 18:10:09 +0000 (0:00:00.019) 0:00:07.829 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tasks/manage_test_interface.yml:54 Thursday 30 November 2023 18:10:09 +0000 (0:00:00.016) 0:00:07.846 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tasks/manage_test_interface.yml:61 Thursday 30 November 2023 18:10:09 +0000 (0:00:00.019) 0:00:07.865 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tasks/manage_test_interface.yml:67 Thursday 30 November 2023 18:10:09 +0000 (0:00:00.016) 0:00:07.882 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tests_auto_gateway.yml:15 Thursday 30 November 2023 18:10:09 +0000 (0:00:00.040) 0:00:07.922 ***** included: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 30 November 2023 18:10:09 +0000 (0:00:00.034) 0:00:07.957 ***** included: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 30 November 2023 18:10:09 +0000 (0:00:00.017) 0:00:07.974 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701367808.3162515, "block_size": 4096, "blocks": 0, "ctime": 1701367808.3162515, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26103, "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": 1701367808.3162515, "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_refactorh774nepo/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 30 November 2023 18:10:09 +0000 (0:00:00.209) 0:00:08.184 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tests_auto_gateway.yml:17 Thursday 30 November 2023 18:10:09 +0000 (0:00:00.018) 0:00:08.203 ***** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 30 November 2023 18:10:09 +0000 (0:00:00.015) 0:00:08.218 ***** included: /WORKDIR/git-code_refactorh774nepo/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_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 30 November 2023 18:10:09 +0000 (0:00:00.129) 0:00:08.347 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 30 November 2023 18:10:09 +0000 (0:00:00.017) 0:00:08.365 ***** 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_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 30 November 2023 18:10:09 +0000 (0:00:00.014) 0:00:08.379 ***** 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_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 30 November 2023 18:10:09 +0000 (0:00:00.013) 0:00:08.393 ***** 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_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 30 November 2023 18:10:12 +0000 (0:00:02.306) 0:00:10.699 ***** 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_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 30 November 2023 18:10:13 +0000 (0:00:01.191) 0:00:11.890 ***** 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_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 30 November 2023 18:10:13 +0000 (0:00:00.031) 0:00:11.921 ***** 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_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 30 November 2023 18:10:13 +0000 (0:00:00.034) 0:00:11.956 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 30 November 2023 18:10:13 +0000 (0:00:00.032) 0:00:11.988 ***** 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_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 30 November 2023 18:10:13 +0000 (0:00:00.060) 0:00:12.049 ***** 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_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 30 November 2023 18:10:13 +0000 (0:00:00.027) 0:00:12.077 ***** 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_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 30 November 2023 18:10:13 +0000 (0:00:00.028) 0:00:12.106 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 30 November 2023 18:10:13 +0000 (0:00:00.033) 0:00:12.139 ***** 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_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 30 November 2023 18:10:14 +0000 (0:00:00.767) 0:00:12.907 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 30 November 2023 18:10:14 +0000 (0:00:00.034) 0:00:12.941 ***** 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_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 30 November 2023 18:10:14 +0000 (0:00:00.030) 0:00:12.971 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 30 November 2023 18:10:14 +0000 (0:00:00.030) 0:00:13.002 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": 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, 8bac45bc-a297-4c46-8482-ac1ee5490f83 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 8bac45bc-a297-4c46-8482-ac1ee5490f83 (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 30 November 2023 18:10:15 +0000 (0:00:01.188) 0:00:14.191 ***** 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_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 30 November 2023 18:10:15 +0000 (0:00:00.032) 0:00:14.224 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 8bac45bc-a297-4c46-8482-ac1ee5490f83", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 8bac45bc-a297-4c46-8482-ac1ee5490f83 (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 30 November 2023 18:10:15 +0000 (0:00:00.033) 0:00:14.257 ***** 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, 8bac45bc-a297-4c46-8482-ac1ee5490f83\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 8bac45bc-a297-4c46-8482-ac1ee5490f83 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 8bac45bc-a297-4c46-8482-ac1ee5490f83", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 8bac45bc-a297-4c46-8482-ac1ee5490f83 (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 30 November 2023 18:10:15 +0000 (0:00:00.032) 0:00:14.289 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 30 November 2023 18:10:15 +0000 (0:00:00.029) 0:00:14.319 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tests_auto_gateway.yml:42 Thursday 30 November 2023 18:10:16 +0000 (0:00:00.321) 0:00:14.640 ***** included: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 30 November 2023 18:10:16 +0000 (0:00:00.099) 0:00:14.740 ***** included: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 30 November 2023 18:10:16 +0000 (0:00:00.068) 0:00:14.808 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701367808.3162515, "block_size": 4096, "blocks": 0, "ctime": 1701367808.3162515, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26103, "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": 1701367808.3162515, "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_refactorh774nepo/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 30 November 2023 18:10:16 +0000 (0:00:00.267) 0:00:15.075 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tests_auto_gateway.yml:44 Thursday 30 November 2023 18:10:16 +0000 (0:00:00.044) 0:00:15.120 ***** included: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 30 November 2023 18:10:16 +0000 (0:00:00.080) 0:00:15.200 ***** included: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 30 November 2023 18:10:16 +0000 (0:00:00.073) 0:00:15.274 ***** 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_refactorh774nepo/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 30 November 2023 18:10:16 +0000 (0:00:00.028) 0:00:15.302 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 30 November 2023 18:10:17 +0000 (0:00:00.222) 0:00:15.525 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 30 November 2023 18:10:17 +0000 (0:00:00.030) 0:00:15.555 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.025718", "end": "2023-11-30 18:10:17.357407", "rc": 0, "start": "2023-11-30 18:10:17.331689" } 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_refactorh774nepo/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 30 November 2023 18:10:17 +0000 (0:00:00.264) 0:00:15.819 ***** 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_refactorh774nepo/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 30 November 2023 18:10:17 +0000 (0:00:00.037) 0:00:15.856 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 30 November 2023 18:10:17 +0000 (0:00:00.044) 0:00:15.901 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 30 November 2023 18:10:17 +0000 (0:00:00.040) 0:00:15.941 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 30 November 2023 18:10:17 +0000 (0:00:00.034) 0:00:15.976 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 30 November 2023 18:10:17 +0000 (0:00:00.067) 0:00:16.043 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 30 November 2023 18:10:17 +0000 (0:00:00.040) 0:00:16.083 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 30 November 2023 18:10:17 +0000 (0:00:00.034) 0:00:16.118 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tests_auto_gateway.yml:48 Thursday 30 November 2023 18:10:17 +0000 (0:00:00.029) 0:00:16.147 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003935", "end": "2023-11-30 18:10:17.921418", "rc": 0, "start": "2023-11-30 18:10:17.917483" } STDOUT: default via 10.31.40.1 dev eth0 proto dhcp src 10.31.42.210 metric 100 default via 203.0.113.1 dev veth0 proto static metric 65535 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.42.210 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_refactorh774nepo/tests/playbooks/tests_auto_gateway.yml:52 Thursday 30 November 2023 18:10:17 +0000 (0:00:00.231) 0:00:16.379 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tests_auto_gateway.yml:58 Thursday 30 November 2023 18:10:18 +0000 (0:00:00.043) 0:00:16.422 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003951", "end": "2023-11-30 18:10:18.198737", "rc": 0, "start": "2023-11-30 18:10:18.194786" } STDOUT: 2001:db8::/64 dev veth0 proto kernel metric 101 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 1024 pref medium fe80::/64 dev veth0 proto kernel metric 1024 pref medium default via 2001:db8::1 dev veth0 proto static metric 101 pref medium TASK [Assert default ipv6 route is present] ************************************ task path: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tests_auto_gateway.yml:62 Thursday 30 November 2023 18:10:18 +0000 (0:00:00.230) 0:00:16.653 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tests_auto_gateway.yml:69 Thursday 30 November 2023 18:10:18 +0000 (0:00:00.035) 0:00:16.689 ***** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 30 November 2023 18:10:18 +0000 (0:00:00.034) 0:00:16.723 ***** included: /WORKDIR/git-code_refactorh774nepo/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_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 30 November 2023 18:10:18 +0000 (0:00:00.061) 0:00:16.784 ***** 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_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 30 November 2023 18:10:18 +0000 (0:00:00.046) 0:00:16.831 ***** 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_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 30 November 2023 18:10:18 +0000 (0:00:00.038) 0:00:16.869 ***** 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_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 30 November 2023 18:10:18 +0000 (0:00:00.033) 0:00:16.903 ***** 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_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 30 November 2023 18:10:20 +0000 (0:00:02.253) 0:00:19.156 ***** 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_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 30 November 2023 18:10:21 +0000 (0:00:00.974) 0:00:20.131 ***** 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_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 30 November 2023 18:10:21 +0000 (0:00:00.086) 0:00:20.217 ***** 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_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 30 November 2023 18:10:21 +0000 (0:00:00.035) 0:00:20.253 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 30 November 2023 18:10:21 +0000 (0:00:00.032) 0:00:20.285 ***** 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_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 30 November 2023 18:10:21 +0000 (0:00:00.069) 0:00:20.355 ***** 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_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 30 November 2023 18:10:21 +0000 (0:00:00.036) 0:00:20.392 ***** 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_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 30 November 2023 18:10:22 +0000 (0:00:00.036) 0:00:20.428 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 30 November 2023 18:10:22 +0000 (0:00:00.042) 0:00:20.471 ***** 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_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 30 November 2023 18:10:22 +0000 (0:00:00.603) 0:00:21.074 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 30 November 2023 18:10:22 +0000 (0:00:00.035) 0:00:21.110 ***** 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_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 30 November 2023 18:10:22 +0000 (0:00:00.027) 0:00:21.137 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 30 November 2023 18:10:22 +0000 (0:00:00.029) 0:00:21.166 ***** 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_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 30 November 2023 18:10:23 +0000 (0:00:00.492) 0:00:21.659 ***** 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_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 30 November 2023 18:10:23 +0000 (0:00:00.031) 0:00:21.690 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 30 November 2023 18:10:23 +0000 (0:00:00.076) 0:00:21.767 ***** 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_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 30 November 2023 18:10:23 +0000 (0:00:00.034) 0:00:21.801 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 30 November 2023 18:10:23 +0000 (0:00:00.032) 0:00:21.834 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tests_auto_gateway.yml:81 Thursday 30 November 2023 18:10:23 +0000 (0:00:00.224) 0:00:22.058 ***** included: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 30 November 2023 18:10:23 +0000 (0:00:00.070) 0:00:22.128 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 30 November 2023 18:10:23 +0000 (0:00:00.026) 0:00:22.155 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 30 November 2023 18:10:23 +0000 (0:00:00.029) 0:00:22.184 ***** included: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 30 November 2023 18:10:23 +0000 (0:00:00.047) 0:00:22.232 ***** included: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 30 November 2023 18:10:23 +0000 (0:00:00.048) 0:00:22.281 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003744", "end": "2023-11-30 18:10:24.056687", "rc": 0, "start": "2023-11-30 18:10:24.052943" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 30 November 2023 18:10:24 +0000 (0:00:00.228) 0:00:22.509 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 30 November 2023 18:10:24 +0000 (0:00:00.030) 0:00:22.540 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 30 November 2023 18:10:24 +0000 (0:00:00.062) 0:00:22.602 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tasks/manage_test_interface.yml:24 Thursday 30 November 2023 18:10:26 +0000 (0:00:02.464) 0:00:25.067 ***** 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_refactorh774nepo/tests/playbooks/tasks/manage_test_interface.yml:33 Thursday 30 November 2023 18:10:26 +0000 (0:00:00.047) 0:00:25.114 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tasks/manage_test_interface.yml:41 Thursday 30 November 2023 18:10:26 +0000 (0:00:00.033) 0:00:25.147 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.013082", "end": "2023-11-30 18:10:26.939501", "rc": 0, "start": "2023-11-30 18:10:26.926419" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tasks/manage_test_interface.yml:48 Thursday 30 November 2023 18:10:26 +0000 (0:00:00.255) 0:00:25.403 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tasks/manage_test_interface.yml:54 Thursday 30 November 2023 18:10:27 +0000 (0:00:00.029) 0:00:25.432 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tasks/manage_test_interface.yml:61 Thursday 30 November 2023 18:10:27 +0000 (0:00:00.029) 0:00:25.462 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tasks/manage_test_interface.yml:67 Thursday 30 November 2023 18:10:27 +0000 (0:00:00.057) 0:00:25.520 ***** 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_refactorh774nepo/tests/playbooks/tests_auto_gateway.yml:85 Thursday 30 November 2023 18:10:27 +0000 (0:00:00.030) 0:00:25.551 ***** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tests_auto_gateway.yml:89 Thursday 30 November 2023 18:10:27 +0000 (0:00:00.031) 0:00:25.582 ***** included: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 30 November 2023 18:10:27 +0000 (0:00:00.073) 0:00:25.656 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 30 November 2023 18:10:27 +0000 (0:00:00.031) 0:00:25.687 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 30 November 2023 18:10:27 +0000 (0:00:00.028) 0:00:25.716 ***** included: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 30 November 2023 18:10:27 +0000 (0:00:00.047) 0:00:25.763 ***** included: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 30 November 2023 18:10:27 +0000 (0:00:00.046) 0:00:25.810 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003997", "end": "2023-11-30 18:10:27.593077", "rc": 0, "start": "2023-11-30 18:10:27.589080" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 30 November 2023 18:10:27 +0000 (0:00:00.236) 0:00:26.046 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 30 November 2023 18:10:27 +0000 (0:00:00.031) 0:00:26.078 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 30 November 2023 18:10:27 +0000 (0:00:00.032) 0:00:26.111 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tasks/manage_test_interface.yml:24 Thursday 30 November 2023 18:10:30 +0000 (0:00:02.498) 0:00:28.610 ***** 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.007635", "end": "2023-11-30 18:10:30.403600", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2023-11-30 18:10:30.395965" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004468", "end": "2023-11-30 18:10:30.659674", "item": "ip link set peerveth0 up", "rc": 0, "start": "2023-11-30 18:10:30.655206" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004548", "end": "2023-11-30 18:10:30.868578", "item": "ip link set veth0 up", "rc": 0, "start": "2023-11-30 18:10:30.864030" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tasks/manage_test_interface.yml:33 Thursday 30 November 2023 18:10:30 +0000 (0:00:00.719) 0:00:29.330 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.024206", "end": "2023-11-30 18:10:31.129690", "rc": 0, "start": "2023-11-30 18:10:31.105484" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tasks/manage_test_interface.yml:41 Thursday 30 November 2023 18:10:31 +0000 (0:00:00.253) 0:00:29.583 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tasks/manage_test_interface.yml:48 Thursday 30 November 2023 18:10:31 +0000 (0:00:00.030) 0:00:29.613 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tasks/manage_test_interface.yml:54 Thursday 30 November 2023 18:10:31 +0000 (0:00:00.032) 0:00:29.645 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tasks/manage_test_interface.yml:61 Thursday 30 November 2023 18:10:31 +0000 (0:00:00.030) 0:00:29.676 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tasks/manage_test_interface.yml:67 Thursday 30 November 2023 18:10:31 +0000 (0:00:00.064) 0:00:29.740 ***** 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_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 30 November 2023 18:10:31 +0000 (0:00:00.030) 0:00:29.770 ***** included: /WORKDIR/git-code_refactorh774nepo/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_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 30 November 2023 18:10:31 +0000 (0:00:00.055) 0:00:29.825 ***** 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_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 30 November 2023 18:10:31 +0000 (0:00:00.036) 0:00:29.862 ***** 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_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 30 November 2023 18:10:31 +0000 (0:00:00.028) 0:00:29.891 ***** 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_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 30 November 2023 18:10:31 +0000 (0:00:00.031) 0:00:29.923 ***** 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_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 30 November 2023 18:10:33 +0000 (0:00:02.249) 0:00:32.172 ***** 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_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 30 November 2023 18:10:34 +0000 (0:00:00.942) 0:00:33.115 ***** 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_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 30 November 2023 18:10:34 +0000 (0:00:00.031) 0:00:33.146 ***** 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_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 30 November 2023 18:10:34 +0000 (0:00:00.032) 0:00:33.179 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 30 November 2023 18:10:34 +0000 (0:00:00.034) 0:00:33.214 ***** 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_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 30 November 2023 18:10:34 +0000 (0:00:00.076) 0:00:33.291 ***** 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_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 30 November 2023 18:10:34 +0000 (0:00:00.037) 0:00:33.328 ***** 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_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 30 November 2023 18:10:34 +0000 (0:00:00.036) 0:00:33.364 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 30 November 2023 18:10:34 +0000 (0:00:00.048) 0:00:33.413 ***** 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_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 30 November 2023 18:10:35 +0000 (0:00:00.603) 0:00:34.016 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 30 November 2023 18:10:35 +0000 (0:00:00.039) 0:00:34.055 ***** 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_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 30 November 2023 18:10:35 +0000 (0:00:00.033) 0:00:34.088 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 30 November 2023 18:10:35 +0000 (0:00:00.030) 0:00:34.119 ***** 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, 457ad601-cf65-4c80-a843-99f7a8589d67 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 457ad601-cf65-4c80-a843-99f7a8589d67 (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 30 November 2023 18:10:36 +0000 (0:00:00.465) 0:00:34.585 ***** 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_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 30 November 2023 18:10:36 +0000 (0:00:00.029) 0:00:34.614 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 457ad601-cf65-4c80-a843-99f7a8589d67", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 457ad601-cf65-4c80-a843-99f7a8589d67 (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 30 November 2023 18:10:36 +0000 (0:00:00.033) 0:00:34.648 ***** 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, 457ad601-cf65-4c80-a843-99f7a8589d67\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 457ad601-cf65-4c80-a843-99f7a8589d67 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 457ad601-cf65-4c80-a843-99f7a8589d67", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 457ad601-cf65-4c80-a843-99f7a8589d67 (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 30 November 2023 18:10:36 +0000 (0:00:00.031) 0:00:34.679 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 30 November 2023 18:10:36 +0000 (0:00:00.029) 0:00:34.708 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tests_auto_gateway.yml:110 Thursday 30 November 2023 18:10:36 +0000 (0:00:00.225) 0:00:34.934 ***** included: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 30 November 2023 18:10:36 +0000 (0:00:00.076) 0:00:35.010 ***** included: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 30 November 2023 18:10:36 +0000 (0:00:00.080) 0:00:35.091 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701367830.4005353, "block_size": 4096, "blocks": 0, "ctime": 1701367830.4005353, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26689, "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": 1701367830.4005353, "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_refactorh774nepo/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 30 November 2023 18:10:36 +0000 (0:00:00.233) 0:00:35.324 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tests_auto_gateway.yml:112 Thursday 30 November 2023 18:10:36 +0000 (0:00:00.033) 0:00:35.358 ***** included: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 30 November 2023 18:10:37 +0000 (0:00:00.072) 0:00:35.430 ***** included: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 30 November 2023 18:10:37 +0000 (0:00:00.051) 0:00:35.482 ***** 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_refactorh774nepo/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 30 November 2023 18:10:37 +0000 (0:00:00.030) 0:00:35.512 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 30 November 2023 18:10:37 +0000 (0:00:00.235) 0:00:35.748 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 30 November 2023 18:10:37 +0000 (0:00:00.039) 0:00:35.787 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.023122", "end": "2023-11-30 18:10:37.584152", "rc": 0, "start": "2023-11-30 18:10:37.561030" } 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_refactorh774nepo/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 30 November 2023 18:10:37 +0000 (0:00:00.247) 0:00:36.035 ***** 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_refactorh774nepo/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 30 November 2023 18:10:37 +0000 (0:00:00.033) 0:00:36.069 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 30 November 2023 18:10:37 +0000 (0:00:00.089) 0:00:36.158 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 30 November 2023 18:10:37 +0000 (0:00:00.042) 0:00:36.201 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 30 November 2023 18:10:37 +0000 (0:00:00.034) 0:00:36.235 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 30 November 2023 18:10:37 +0000 (0:00:00.035) 0:00:36.271 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 30 November 2023 18:10:37 +0000 (0:00:00.040) 0:00:36.312 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 30 November 2023 18:10:37 +0000 (0:00:00.039) 0:00:36.352 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tests_auto_gateway.yml:116 Thursday 30 November 2023 18:10:37 +0000 (0:00:00.033) 0:00:36.385 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.004016", "end": "2023-11-30 18:10:38.163297", "rc": 0, "start": "2023-11-30 18:10:38.159281" } STDOUT: default via 10.31.40.1 dev eth0 proto dhcp src 10.31.42.210 metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.42.210 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_refactorh774nepo/tests/playbooks/tests_auto_gateway.yml:120 Thursday 30 November 2023 18:10:38 +0000 (0:00:00.242) 0:00:36.627 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tests_auto_gateway.yml:126 Thursday 30 November 2023 18:10:38 +0000 (0:00:00.046) 0:00:36.674 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003942", "end": "2023-11-30 18:10:38.452844", "rc": 0, "start": "2023-11-30 18:10:38.448902" } STDOUT: 2001:db8::/64 dev veth0 proto kernel metric 101 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 1024 pref medium fe80::/64 dev veth0 proto kernel metric 1024 pref medium TASK [Assert default ipv6 route is absent] ************************************* task path: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tests_auto_gateway.yml:130 Thursday 30 November 2023 18:10:38 +0000 (0:00:00.236) 0:00:36.911 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tests_auto_gateway.yml:137 Thursday 30 November 2023 18:10:38 +0000 (0:00:00.058) 0:00:36.969 ***** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 30 November 2023 18:10:38 +0000 (0:00:00.049) 0:00:37.019 ***** included: /WORKDIR/git-code_refactorh774nepo/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_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 30 November 2023 18:10:38 +0000 (0:00:00.097) 0:00:37.117 ***** 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_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 30 November 2023 18:10:38 +0000 (0:00:00.043) 0:00:37.160 ***** 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_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 30 November 2023 18:10:38 +0000 (0:00:00.084) 0:00:37.244 ***** 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_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 30 November 2023 18:10:38 +0000 (0:00:00.030) 0:00:37.275 ***** 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_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 30 November 2023 18:10:41 +0000 (0:00:02.272) 0:00:39.547 ***** 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_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 30 November 2023 18:10:42 +0000 (0:00:00.958) 0:00:40.505 ***** 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_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 30 November 2023 18:10:42 +0000 (0:00:00.104) 0:00:40.610 ***** 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_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 30 November 2023 18:10:42 +0000 (0:00:00.047) 0:00:40.657 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 30 November 2023 18:10:42 +0000 (0:00:00.044) 0:00:40.702 ***** 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_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 30 November 2023 18:10:42 +0000 (0:00:00.078) 0:00:40.780 ***** 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_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 30 November 2023 18:10:42 +0000 (0:00:00.061) 0:00:40.842 ***** 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_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 30 November 2023 18:10:42 +0000 (0:00:00.045) 0:00:40.887 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 30 November 2023 18:10:42 +0000 (0:00:00.051) 0:00:40.939 ***** 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_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 30 November 2023 18:10:43 +0000 (0:00:00.615) 0:00:41.555 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 30 November 2023 18:10:43 +0000 (0:00:00.055) 0:00:41.610 ***** 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_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 30 November 2023 18:10:43 +0000 (0:00:00.033) 0:00:41.643 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 30 November 2023 18:10:43 +0000 (0:00:00.043) 0:00:41.687 ***** 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_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 30 November 2023 18:10:43 +0000 (0:00:00.515) 0:00:42.202 ***** 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_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 30 November 2023 18:10:43 +0000 (0:00:00.095) 0:00:42.297 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 30 November 2023 18:10:43 +0000 (0:00:00.046) 0:00:42.344 ***** 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_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 30 November 2023 18:10:43 +0000 (0:00:00.036) 0:00:42.380 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 30 November 2023 18:10:44 +0000 (0:00:00.044) 0:00:42.425 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tests_auto_gateway.yml:149 Thursday 30 November 2023 18:10:44 +0000 (0:00:00.234) 0:00:42.659 ***** included: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 30 November 2023 18:10:44 +0000 (0:00:00.077) 0:00:42.736 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 30 November 2023 18:10:44 +0000 (0:00:00.030) 0:00:42.766 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 30 November 2023 18:10:44 +0000 (0:00:00.029) 0:00:42.795 ***** included: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 30 November 2023 18:10:44 +0000 (0:00:00.050) 0:00:42.846 ***** included: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 30 November 2023 18:10:44 +0000 (0:00:00.055) 0:00:42.901 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003967", "end": "2023-11-30 18:10:44.685992", "rc": 0, "start": "2023-11-30 18:10:44.682025" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 30 November 2023 18:10:44 +0000 (0:00:00.236) 0:00:43.137 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 30 November 2023 18:10:44 +0000 (0:00:00.070) 0:00:43.208 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 30 November 2023 18:10:44 +0000 (0:00:00.032) 0:00:43.241 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tasks/manage_test_interface.yml:24 Thursday 30 November 2023 18:10:47 +0000 (0:00:02.402) 0:00:45.644 ***** 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_refactorh774nepo/tests/playbooks/tasks/manage_test_interface.yml:33 Thursday 30 November 2023 18:10:47 +0000 (0:00:00.053) 0:00:45.697 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tasks/manage_test_interface.yml:41 Thursday 30 November 2023 18:10:47 +0000 (0:00:00.036) 0:00:45.734 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.013580", "end": "2023-11-30 18:10:47.521804", "rc": 0, "start": "2023-11-30 18:10:47.508224" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tasks/manage_test_interface.yml:48 Thursday 30 November 2023 18:10:47 +0000 (0:00:00.247) 0:00:45.981 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tasks/manage_test_interface.yml:54 Thursday 30 November 2023 18:10:47 +0000 (0:00:00.036) 0:00:46.017 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tasks/manage_test_interface.yml:61 Thursday 30 November 2023 18:10:47 +0000 (0:00:00.100) 0:00:46.118 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tasks/manage_test_interface.yml:67 Thursday 30 November 2023 18:10:47 +0000 (0:00:00.042) 0:00:46.161 ***** 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 18:10:47 +0000 (0:00:00.012) 0:00:46.173 ***** =============================================================================== Install iproute --------------------------------------------------------- 2.72s /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.50s /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.46s /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.40s /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Check which services are running ----------- 2.31s /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.27s /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.25s /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.25s /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Enable and start NetworkManager ------------ 1.22s /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Check which packages are installed --------- 1.19s /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Configure networking connection profiles --- 1.19s /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:122 Gathering Facts --------------------------------------------------------- 1.04s /WORKDIR/git-code_refactorh774nepo/tests/tests_auto_gateway_nm.yml:5 ---------- linux-system-roles.network : Configure networking connection profiles --- 1.01s /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Check which packages are installed --------- 0.97s /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.96s /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.94s /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Gathering Facts --------------------------------------------------------- 0.83s /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tests_auto_gateway.yml:3 --- Create veth interface veth0 --------------------------------------------- 0.80s /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tasks/manage_test_interface.yml:24 linux-system-roles.network : Enable and start NetworkManager ------------ 0.77s /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:85 Create veth interface veth0 --------------------------------------------- 0.72s /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tasks/manage_test_interface.yml:24 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---