# 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-route_type9yjoqf37/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-route_type9yjoqf37/tests/tests_auto_gateway_nm.yml:6 Thursday 11 January 2024 15:05:02 +0000 (0:00:00.011) 0:00:00.011 ****** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_type9yjoqf37/tests/tests_auto_gateway_nm.yml:9 Thursday 11 January 2024 15:05:03 +0000 (0:00:00.904) 0:00:00.916 ****** included: /WORKDIR/git-route_type9yjoqf37/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-route_type9yjoqf37/tests/tasks/el_repo_setup.yml:3 Thursday 11 January 2024 15:05:03 +0000 (0:00:00.010) 0:00:00.927 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_type9yjoqf37/tests/tasks/el_repo_setup.yml:19 Thursday 11 January 2024 15:05:04 +0000 (0:00:00.523) 0:00:01.450 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_type9yjoqf37/tests/tasks/el_repo_setup.yml:24 Thursday 11 January 2024 15:05:04 +0000 (0:00:00.256) 0:00:01.706 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_type9yjoqf37/tests/tasks/el_repo_setup.yml:28 Thursday 11 January 2024 15:05:04 +0000 (0:00:00.019) 0:00:01.726 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_type9yjoqf37/tests/tasks/el_repo_setup.yml:53 Thursday 11 January 2024 15:05:04 +0000 (0:00:00.015) 0:00:01.741 ****** included: /WORKDIR/git-route_type9yjoqf37/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 38] ********************************************************** task path: /WORKDIR/git-route_type9yjoqf37/tests/tasks/enable_epel.yml:8 Thursday 11 January 2024 15:05:04 +0000 (0:00:00.029) 0:00:01.771 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-route_type9yjoqf37/tests/tasks/enable_epel.yml:24 Thursday 11 January 2024 15:05:04 +0000 (0:00:00.008) 0:00:01.780 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-route_type9yjoqf37/tests/tasks/enable_epel.yml:30 Thursday 11 January 2024 15:05:04 +0000 (0:00:00.007) 0:00:01.788 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_type9yjoqf37/tests/tasks/enable_epel.yml:35 Thursday 11 January 2024 15:05:04 +0000 (0:00:00.007) 0:00:01.796 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_type9yjoqf37/tests/tasks/enable_epel.yml:40 Thursday 11 January 2024 15:05:04 +0000 (0:00:00.007) 0:00:01.803 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-route_type9yjoqf37/tests/tests_auto_gateway_nm.yml:11 Thursday 11 January 2024 15:05:04 +0000 (0:00:00.007) 0:00:01.811 ****** 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-route_type9yjoqf37/tests/playbooks/tests_auto_gateway.yml:3 Thursday 11 January 2024 15:05:04 +0000 (0:00:00.009) 0:00:01.821 ****** ok: [sut] META: ran handlers TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tests_auto_gateway.yml:9 Thursday 11 January 2024 15:05:05 +0000 (0:00:00.795) 0:00:02.617 ****** included: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 15:05:05 +0000 (0:00:00.021) 0:00:02.639 ****** included: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 15:05:05 +0000 (0:00:00.011) 0:00:02.650 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003759", "end": "2024-01-11 15:05:05.559045", "rc": 0, "start": "2024-01-11 15:05:05.555286" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 15:05:05 +0000 (0:00:00.279) 0:00:02.930 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 15:05:05 +0000 (0:00:00.010) 0:00:02.941 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tests_auto_gateway.yml:11 Thursday 11 January 2024 15:05:05 +0000 (0:00:00.009) 0:00:02.950 ****** included: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 11 January 2024 15:05:05 +0000 (0:00:00.027) 0:00:02.977 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 11 January 2024 15:05:05 +0000 (0:00:00.009) 0:00:02.987 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 11 January 2024 15:05:05 +0000 (0:00:00.009) 0:00:02.996 ****** included: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 15:05:05 +0000 (0:00:00.012) 0:00:03.008 ****** included: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 15:05:05 +0000 (0:00:00.011) 0:00:03.020 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003730", "end": "2024-01-11 15:05:05.856719", "rc": 0, "start": "2024-01-11 15:05:05.852989" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 15:05:05 +0000 (0:00:00.206) 0:00:03.227 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 15:05:05 +0000 (0:00:00.010) 0:00:03.238 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 11 January 2024 15:05:05 +0000 (0:00:00.009) 0:00:03.247 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tasks/manage_test_interface.yml:24 Thursday 11 January 2024 15:05:08 +0000 (0:00:02.580) 0:00:05.827 ****** 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.117571", "end": "2024-01-11 15:05:08.782930", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-01-11 15:05:08.665359" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004077", "end": "2024-01-11 15:05:09.040124", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-01-11 15:05:09.036047" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004232", "end": "2024-01-11 15:05:09.238561", "item": "ip link set veth0 up", "rc": 0, "start": "2024-01-11 15:05:09.234329" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tasks/manage_test_interface.yml:33 Thursday 11 January 2024 15:05:09 +0000 (0:00:00.781) 0:00:06.609 ****** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.216356", "end": "2024-01-11 15:05:09.656347", "rc": 0, "start": "2024-01-11 15:05:09.439991" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tasks/manage_test_interface.yml:41 Thursday 11 January 2024 15:05:09 +0000 (0:00:00.418) 0:00:07.028 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tasks/manage_test_interface.yml:48 Thursday 11 January 2024 15:05:09 +0000 (0:00:00.010) 0:00:07.038 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tasks/manage_test_interface.yml:54 Thursday 11 January 2024 15:05:09 +0000 (0:00:00.010) 0:00:07.049 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tasks/manage_test_interface.yml:61 Thursday 11 January 2024 15:05:09 +0000 (0:00:00.010) 0:00:07.059 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tasks/manage_test_interface.yml:67 Thursday 11 January 2024 15:05:09 +0000 (0:00:00.010) 0:00:07.069 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tests_auto_gateway.yml:15 Thursday 11 January 2024 15:05:09 +0000 (0:00:00.009) 0:00:07.078 ****** included: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 11 January 2024 15:05:09 +0000 (0:00:00.025) 0:00:07.103 ****** included: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 15:05:09 +0000 (0:00:00.013) 0:00:07.117 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704985508.7802386, "block_size": 4096, "blocks": 0, "ctime": 1704985508.7802386, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26338, "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": 1704985508.7802386, "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-route_type9yjoqf37/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 11 January 2024 15:05:09 +0000 (0:00:00.201) 0:00:07.318 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tests_auto_gateway.yml:17 Thursday 11 January 2024 15:05:09 +0000 (0:00:00.011) 0:00:07.330 ****** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type9yjoqf37/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 15:05:09 +0000 (0:00:00.009) 0:00:07.340 ****** included: /WORKDIR/git-route_type9yjoqf37/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-route_type9yjoqf37/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 15:05:10 +0000 (0:00:00.066) 0:00:07.406 ****** 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-route_type9yjoqf37/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 15:05:10 +0000 (0:00:00.012) 0:00:07.419 ****** 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-route_type9yjoqf37/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 15:05:10 +0000 (0:00:00.009) 0:00:07.428 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_type9yjoqf37/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 15:05:10 +0000 (0:00:00.009) 0:00:07.438 ****** 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-route_type9yjoqf37/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 15:05:12 +0000 (0:00:02.234) 0:00:09.673 ****** 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-route_type9yjoqf37/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 15:05:13 +0000 (0:00:01.078) 0:00:10.751 ****** 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-route_type9yjoqf37/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 15:05:13 +0000 (0:00:00.023) 0:00:10.774 ****** 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-route_type9yjoqf37/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 15:05:13 +0000 (0:00:00.020) 0:00:10.795 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type9yjoqf37/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 15:05:13 +0000 (0:00:00.020) 0:00:10.815 ****** 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-route_type9yjoqf37/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 15:05:13 +0000 (0:00:00.042) 0:00:10.858 ****** 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-route_type9yjoqf37/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 15:05:13 +0000 (0:00:00.022) 0:00:10.880 ****** 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-route_type9yjoqf37/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 15:05:13 +0000 (0:00:00.021) 0:00:10.901 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type9yjoqf37/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 15:05:13 +0000 (0:00:00.023) 0:00:10.925 ****** 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-route_type9yjoqf37/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 15:05:14 +0000 (0:00:00.694) 0:00:11.620 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type9yjoqf37/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 15:05:14 +0000 (0:00:00.025) 0:00:11.645 ****** 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-route_type9yjoqf37/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 15:05:14 +0000 (0:00:00.020) 0:00:11.666 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type9yjoqf37/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 15:05:14 +0000 (0:00:00.020) 0:00:11.686 ****** 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, 8ad02a4c-e5a6-4b8a-8b3c-5261c61a04e4 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 8ad02a4c-e5a6-4b8a-8b3c-5261c61a04e4 (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type9yjoqf37/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 15:05:15 +0000 (0:00:01.119) 0:00:12.806 ****** 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-route_type9yjoqf37/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 15:05:15 +0000 (0:00:00.021) 0:00:12.827 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 8ad02a4c-e5a6-4b8a-8b3c-5261c61a04e4", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 8ad02a4c-e5a6-4b8a-8b3c-5261c61a04e4 (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type9yjoqf37/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 15:05:15 +0000 (0:00:00.022) 0:00:12.849 ****** 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, 8ad02a4c-e5a6-4b8a-8b3c-5261c61a04e4\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 8ad02a4c-e5a6-4b8a-8b3c-5261c61a04e4 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 8ad02a4c-e5a6-4b8a-8b3c-5261c61a04e4", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 8ad02a4c-e5a6-4b8a-8b3c-5261c61a04e4 (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type9yjoqf37/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 15:05:15 +0000 (0:00:00.021) 0:00:12.871 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type9yjoqf37/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 15:05:15 +0000 (0:00:00.021) 0:00:12.892 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tests_auto_gateway.yml:42 Thursday 11 January 2024 15:05:15 +0000 (0:00:00.281) 0:00:13.174 ****** included: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 11 January 2024 15:05:15 +0000 (0:00:00.047) 0:00:13.221 ****** included: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 15:05:15 +0000 (0:00:00.034) 0:00:13.256 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704985508.7802386, "block_size": 4096, "blocks": 0, "ctime": 1704985508.7802386, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26338, "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": 1704985508.7802386, "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-route_type9yjoqf37/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 11 January 2024 15:05:16 +0000 (0:00:00.238) 0:00:13.495 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tests_auto_gateway.yml:44 Thursday 11 January 2024 15:05:16 +0000 (0:00:00.023) 0:00:13.519 ****** included: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 11 January 2024 15:05:16 +0000 (0:00:00.048) 0:00:13.567 ****** included: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 11 January 2024 15:05:16 +0000 (0:00:00.036) 0:00:13.604 ****** 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-route_type9yjoqf37/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 11 January 2024 15:05:16 +0000 (0:00:00.022) 0:00:13.626 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 11 January 2024 15:05:16 +0000 (0:00:00.210) 0:00:13.837 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 11 January 2024 15:05:16 +0000 (0:00:00.020) 0:00:13.858 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.094009", "end": "2024-01-11 15:05:16.786257", "rc": 0, "start": "2024-01-11 15:05:16.692248" } 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-route_type9yjoqf37/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 11 January 2024 15:05:16 +0000 (0:00:00.309) 0:00:14.167 ****** 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-route_type9yjoqf37/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 11 January 2024 15:05:16 +0000 (0:00:00.024) 0:00:14.192 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 11 January 2024 15:05:16 +0000 (0:00:00.021) 0:00:14.214 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 11 January 2024 15:05:16 +0000 (0:00:00.022) 0:00:14.236 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 11 January 2024 15:05:16 +0000 (0:00:00.022) 0:00:14.258 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 11 January 2024 15:05:16 +0000 (0:00:00.066) 0:00:14.325 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 11 January 2024 15:05:17 +0000 (0:00:00.024) 0:00:14.350 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 11 January 2024 15:05:17 +0000 (0:00:00.023) 0:00:14.373 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tests_auto_gateway.yml:48 Thursday 11 January 2024 15:05:17 +0000 (0:00:00.021) 0:00:14.395 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.004309", "end": "2024-01-11 15:05:17.236554", "rc": 0, "start": "2024-01-11 15:05:17.232245" } STDOUT: default via 10.31.44.1 dev eth0 proto dhcp src 10.31.45.68 metric 100 default via 203.0.113.1 dev veth0 proto static metric 65535 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.45.68 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-route_type9yjoqf37/tests/playbooks/tests_auto_gateway.yml:52 Thursday 11 January 2024 15:05:17 +0000 (0:00:00.222) 0:00:14.618 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tests_auto_gateway.yml:58 Thursday 11 January 2024 15:05:17 +0000 (0:00:00.023) 0:00:14.641 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003878", "end": "2024-01-11 15:05:17.480489", "rc": 0, "start": "2024-01-11 15:05:17.476611" } 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-route_type9yjoqf37/tests/playbooks/tests_auto_gateway.yml:62 Thursday 11 January 2024 15:05:17 +0000 (0:00:00.221) 0:00:14.863 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tests_auto_gateway.yml:69 Thursday 11 January 2024 15:05:17 +0000 (0:00:00.026) 0:00:14.889 ****** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type9yjoqf37/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 15:05:17 +0000 (0:00:00.022) 0:00:14.912 ****** included: /WORKDIR/git-route_type9yjoqf37/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-route_type9yjoqf37/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 15:05:17 +0000 (0:00:00.037) 0:00:14.950 ****** 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-route_type9yjoqf37/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 15:05:17 +0000 (0:00:00.026) 0:00:14.977 ****** 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-route_type9yjoqf37/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 15:05:17 +0000 (0:00:00.021) 0:00:14.998 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_type9yjoqf37/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 15:05:17 +0000 (0:00:00.020) 0:00:15.019 ****** 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-route_type9yjoqf37/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 15:05:19 +0000 (0:00:02.217) 0:00:17.236 ****** 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-route_type9yjoqf37/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 15:05:20 +0000 (0:00:00.911) 0:00:18.148 ****** 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-route_type9yjoqf37/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 15:05:20 +0000 (0:00:00.023) 0:00:18.171 ****** 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-route_type9yjoqf37/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 15:05:20 +0000 (0:00:00.046) 0:00:18.218 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type9yjoqf37/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 15:05:20 +0000 (0:00:00.023) 0:00:18.241 ****** 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-route_type9yjoqf37/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 15:05:20 +0000 (0:00:00.043) 0:00:18.284 ****** 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-route_type9yjoqf37/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 15:05:20 +0000 (0:00:00.020) 0:00:18.305 ****** 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-route_type9yjoqf37/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 15:05:20 +0000 (0:00:00.021) 0:00:18.326 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type9yjoqf37/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 15:05:21 +0000 (0:00:00.024) 0:00:18.351 ****** 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-route_type9yjoqf37/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 15:05:21 +0000 (0:00:00.563) 0:00:18.915 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type9yjoqf37/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 15:05:21 +0000 (0:00:00.025) 0:00:18.940 ****** 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-route_type9yjoqf37/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 15:05:21 +0000 (0:00:00.020) 0:00:18.961 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type9yjoqf37/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 15:05:21 +0000 (0:00:00.021) 0:00:18.982 ****** 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-route_type9yjoqf37/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 15:05:22 +0000 (0:00:00.461) 0:00:19.443 ****** 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-route_type9yjoqf37/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 15:05:22 +0000 (0:00:00.020) 0:00:19.464 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type9yjoqf37/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 15:05:22 +0000 (0:00:00.047) 0:00:19.512 ****** 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-route_type9yjoqf37/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 15:05:22 +0000 (0:00:00.024) 0:00:19.536 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type9yjoqf37/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 15:05:22 +0000 (0:00:00.021) 0:00:19.557 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tests_auto_gateway.yml:81 Thursday 11 January 2024 15:05:22 +0000 (0:00:00.207) 0:00:19.765 ****** included: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 11 January 2024 15:05:22 +0000 (0:00:00.050) 0:00:19.816 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 11 January 2024 15:05:22 +0000 (0:00:00.021) 0:00:19.837 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 11 January 2024 15:05:22 +0000 (0:00:00.021) 0:00:19.858 ****** included: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 15:05:22 +0000 (0:00:00.034) 0:00:19.893 ****** included: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 15:05:22 +0000 (0:00:00.034) 0:00:19.927 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003713", "end": "2024-01-11 15:05:22.764198", "rc": 0, "start": "2024-01-11 15:05:22.760485" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 15:05:22 +0000 (0:00:00.217) 0:00:20.145 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 15:05:22 +0000 (0:00:00.023) 0:00:20.168 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 11 January 2024 15:05:22 +0000 (0:00:00.051) 0:00:20.220 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tasks/manage_test_interface.yml:24 Thursday 11 January 2024 15:05:25 +0000 (0:00:02.419) 0:00:22.640 ****** 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-route_type9yjoqf37/tests/playbooks/tasks/manage_test_interface.yml:33 Thursday 11 January 2024 15:05:25 +0000 (0:00:00.032) 0:00:22.672 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tasks/manage_test_interface.yml:41 Thursday 11 January 2024 15:05:25 +0000 (0:00:00.022) 0:00:22.694 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.021104", "end": "2024-01-11 15:05:25.547818", "rc": 0, "start": "2024-01-11 15:05:25.526714" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tasks/manage_test_interface.yml:48 Thursday 11 January 2024 15:05:25 +0000 (0:00:00.236) 0:00:22.931 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tasks/manage_test_interface.yml:54 Thursday 11 January 2024 15:05:25 +0000 (0:00:00.023) 0:00:22.955 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tasks/manage_test_interface.yml:61 Thursday 11 January 2024 15:05:25 +0000 (0:00:00.064) 0:00:23.019 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tasks/manage_test_interface.yml:67 Thursday 11 January 2024 15:05:25 +0000 (0:00:00.023) 0:00:23.043 ****** 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-route_type9yjoqf37/tests/playbooks/tests_auto_gateway.yml:85 Thursday 11 January 2024 15:05:25 +0000 (0:00:00.022) 0:00:23.065 ****** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tests_auto_gateway.yml:89 Thursday 11 January 2024 15:05:25 +0000 (0:00:00.021) 0:00:23.087 ****** included: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 11 January 2024 15:05:25 +0000 (0:00:00.052) 0:00:23.140 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 11 January 2024 15:05:25 +0000 (0:00:00.022) 0:00:23.162 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 11 January 2024 15:05:25 +0000 (0:00:00.021) 0:00:23.184 ****** included: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 15:05:25 +0000 (0:00:00.035) 0:00:23.219 ****** included: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 15:05:25 +0000 (0:00:00.034) 0:00:23.254 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004776", "end": "2024-01-11 15:05:27.091188", "rc": 0, "start": "2024-01-11 15:05:26.086412" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 15:05:27 +0000 (0:00:01.218) 0:00:24.472 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 15:05:27 +0000 (0:00:00.024) 0:00:24.496 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 11 January 2024 15:05:27 +0000 (0:00:00.024) 0:00:24.521 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tasks/manage_test_interface.yml:24 Thursday 11 January 2024 15:05:29 +0000 (0:00:02.411) 0:00:26.932 ****** 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.005521", "end": "2024-01-11 15:05:29.774338", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-01-11 15:05:29.768817" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004006", "end": "2024-01-11 15:05:30.028766", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-01-11 15:05:30.024760" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004218", "end": "2024-01-11 15:05:30.227065", "item": "ip link set veth0 up", "rc": 0, "start": "2024-01-11 15:05:30.222847" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tasks/manage_test_interface.yml:33 Thursday 11 January 2024 15:05:30 +0000 (0:00:00.677) 0:00:27.609 ****** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.020884", "end": "2024-01-11 15:05:30.463854", "rc": 0, "start": "2024-01-11 15:05:30.442970" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tasks/manage_test_interface.yml:41 Thursday 11 January 2024 15:05:30 +0000 (0:00:00.236) 0:00:27.846 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tasks/manage_test_interface.yml:48 Thursday 11 January 2024 15:05:30 +0000 (0:00:00.023) 0:00:27.870 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tasks/manage_test_interface.yml:54 Thursday 11 January 2024 15:05:30 +0000 (0:00:00.051) 0:00:27.922 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tasks/manage_test_interface.yml:61 Thursday 11 January 2024 15:05:30 +0000 (0:00:00.023) 0:00:27.945 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tasks/manage_test_interface.yml:67 Thursday 11 January 2024 15:05:30 +0000 (0:00:00.022) 0:00:27.968 ****** 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-route_type9yjoqf37/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 15:05:30 +0000 (0:00:00.021) 0:00:27.990 ****** included: /WORKDIR/git-route_type9yjoqf37/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-route_type9yjoqf37/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 15:05:30 +0000 (0:00:00.038) 0:00:28.028 ****** 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-route_type9yjoqf37/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 15:05:30 +0000 (0:00:00.026) 0:00:28.055 ****** 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-route_type9yjoqf37/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 15:05:30 +0000 (0:00:00.021) 0:00:28.077 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_type9yjoqf37/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 15:05:30 +0000 (0:00:00.020) 0:00:28.097 ****** 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-route_type9yjoqf37/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 15:05:32 +0000 (0:00:02.173) 0:00:30.271 ****** 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-route_type9yjoqf37/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 15:05:33 +0000 (0:00:00.921) 0:00:31.193 ****** 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-route_type9yjoqf37/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 15:05:33 +0000 (0:00:00.022) 0:00:31.215 ****** 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-route_type9yjoqf37/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 15:05:33 +0000 (0:00:00.021) 0:00:31.237 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type9yjoqf37/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 15:05:33 +0000 (0:00:00.021) 0:00:31.258 ****** 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-route_type9yjoqf37/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 15:05:33 +0000 (0:00:00.042) 0:00:31.301 ****** 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-route_type9yjoqf37/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 15:05:33 +0000 (0:00:00.021) 0:00:31.322 ****** 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-route_type9yjoqf37/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 15:05:33 +0000 (0:00:00.021) 0:00:31.344 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type9yjoqf37/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 15:05:34 +0000 (0:00:00.025) 0:00:31.369 ****** 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-route_type9yjoqf37/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 15:05:34 +0000 (0:00:00.597) 0:00:31.967 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type9yjoqf37/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 15:05:34 +0000 (0:00:00.026) 0:00:31.993 ****** 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-route_type9yjoqf37/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 15:05:34 +0000 (0:00:00.021) 0:00:32.015 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type9yjoqf37/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 15:05:34 +0000 (0:00:00.021) 0:00:32.036 ****** 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, 403035ae-cecd-44d7-9749-be9977247a63 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 403035ae-cecd-44d7-9749-be9977247a63 (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type9yjoqf37/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 15:05:35 +0000 (0:00:00.439) 0:00:32.475 ****** 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-route_type9yjoqf37/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 15:05:35 +0000 (0:00:00.021) 0:00:32.496 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 403035ae-cecd-44d7-9749-be9977247a63", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 403035ae-cecd-44d7-9749-be9977247a63 (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type9yjoqf37/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 15:05:35 +0000 (0:00:00.023) 0:00:32.520 ****** 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, 403035ae-cecd-44d7-9749-be9977247a63\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 403035ae-cecd-44d7-9749-be9977247a63 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 403035ae-cecd-44d7-9749-be9977247a63", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 403035ae-cecd-44d7-9749-be9977247a63 (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type9yjoqf37/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 15:05:35 +0000 (0:00:00.023) 0:00:32.544 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type9yjoqf37/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 15:05:35 +0000 (0:00:00.022) 0:00:32.566 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tests_auto_gateway.yml:110 Thursday 11 January 2024 15:05:35 +0000 (0:00:00.207) 0:00:32.773 ****** included: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 11 January 2024 15:05:35 +0000 (0:00:00.078) 0:00:32.852 ****** included: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 15:05:35 +0000 (0:00:00.037) 0:00:32.889 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704985529.7728186, "block_size": 4096, "blocks": 0, "ctime": 1704985529.7728186, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26924, "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": 1704985529.7728186, "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-route_type9yjoqf37/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 11 January 2024 15:05:35 +0000 (0:00:00.212) 0:00:33.102 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tests_auto_gateway.yml:112 Thursday 11 January 2024 15:05:35 +0000 (0:00:00.023) 0:00:33.125 ****** included: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 11 January 2024 15:05:35 +0000 (0:00:00.051) 0:00:33.177 ****** included: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 11 January 2024 15:05:35 +0000 (0:00:00.037) 0:00:33.215 ****** 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-route_type9yjoqf37/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 11 January 2024 15:05:35 +0000 (0:00:00.022) 0:00:33.237 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 11 January 2024 15:05:36 +0000 (0:00:00.212) 0:00:33.450 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 11 January 2024 15:05:36 +0000 (0:00:00.020) 0:00:33.471 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.022863", "end": "2024-01-11 15:05:36.330921", "rc": 0, "start": "2024-01-11 15:05:36.308058" } 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-route_type9yjoqf37/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 11 January 2024 15:05:36 +0000 (0:00:00.274) 0:00:33.745 ****** 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-route_type9yjoqf37/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 11 January 2024 15:05:36 +0000 (0:00:00.025) 0:00:33.771 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 11 January 2024 15:05:36 +0000 (0:00:00.023) 0:00:33.794 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 11 January 2024 15:05:36 +0000 (0:00:00.022) 0:00:33.817 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 11 January 2024 15:05:36 +0000 (0:00:00.022) 0:00:33.839 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 11 January 2024 15:05:36 +0000 (0:00:00.022) 0:00:33.862 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 11 January 2024 15:05:36 +0000 (0:00:00.023) 0:00:33.885 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 11 January 2024 15:05:36 +0000 (0:00:00.023) 0:00:33.908 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tests_auto_gateway.yml:116 Thursday 11 January 2024 15:05:36 +0000 (0:00:00.023) 0:00:33.932 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003922", "end": "2024-01-11 15:05:36.768662", "rc": 0, "start": "2024-01-11 15:05:36.764740" } STDOUT: default via 10.31.44.1 dev eth0 proto dhcp src 10.31.45.68 metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.45.68 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-route_type9yjoqf37/tests/playbooks/tests_auto_gateway.yml:120 Thursday 11 January 2024 15:05:36 +0000 (0:00:00.218) 0:00:34.150 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tests_auto_gateway.yml:126 Thursday 11 January 2024 15:05:36 +0000 (0:00:00.023) 0:00:34.174 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003915", "end": "2024-01-11 15:05:37.012015", "rc": 0, "start": "2024-01-11 15:05:37.008100" } 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-route_type9yjoqf37/tests/playbooks/tests_auto_gateway.yml:130 Thursday 11 January 2024 15:05:37 +0000 (0:00:00.219) 0:00:34.393 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tests_auto_gateway.yml:137 Thursday 11 January 2024 15:05:37 +0000 (0:00:00.026) 0:00:34.419 ****** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type9yjoqf37/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 15:05:37 +0000 (0:00:00.022) 0:00:34.442 ****** included: /WORKDIR/git-route_type9yjoqf37/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-route_type9yjoqf37/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 15:05:37 +0000 (0:00:00.075) 0:00:34.518 ****** 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-route_type9yjoqf37/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 15:05:37 +0000 (0:00:00.029) 0:00:34.548 ****** 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-route_type9yjoqf37/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 15:05:37 +0000 (0:00:00.021) 0:00:34.569 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_type9yjoqf37/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 15:05:37 +0000 (0:00:00.021) 0:00:34.591 ****** 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-route_type9yjoqf37/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 15:05:39 +0000 (0:00:02.184) 0:00:36.775 ****** 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-route_type9yjoqf37/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 15:05:40 +0000 (0:00:00.975) 0:00:37.750 ****** 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-route_type9yjoqf37/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 15:05:40 +0000 (0:00:00.023) 0:00:37.774 ****** 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-route_type9yjoqf37/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 15:05:40 +0000 (0:00:00.021) 0:00:37.795 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type9yjoqf37/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 15:05:40 +0000 (0:00:00.021) 0:00:37.817 ****** 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-route_type9yjoqf37/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 15:05:40 +0000 (0:00:00.043) 0:00:37.860 ****** 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-route_type9yjoqf37/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 15:05:40 +0000 (0:00:00.021) 0:00:37.882 ****** 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-route_type9yjoqf37/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 15:05:40 +0000 (0:00:00.021) 0:00:37.903 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type9yjoqf37/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 15:05:40 +0000 (0:00:00.024) 0:00:37.927 ****** 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-route_type9yjoqf37/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 15:05:41 +0000 (0:00:00.564) 0:00:38.492 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type9yjoqf37/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 15:05:41 +0000 (0:00:00.025) 0:00:38.517 ****** 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-route_type9yjoqf37/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 15:05:41 +0000 (0:00:00.021) 0:00:38.539 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type9yjoqf37/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 15:05:41 +0000 (0:00:00.021) 0:00:38.560 ****** 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-route_type9yjoqf37/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 15:05:41 +0000 (0:00:00.447) 0:00:39.007 ****** 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-route_type9yjoqf37/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 15:05:41 +0000 (0:00:00.060) 0:00:39.068 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type9yjoqf37/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 15:05:41 +0000 (0:00:00.024) 0:00:39.092 ****** 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-route_type9yjoqf37/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 15:05:41 +0000 (0:00:00.024) 0:00:39.116 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type9yjoqf37/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 15:05:41 +0000 (0:00:00.021) 0:00:39.138 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tests_auto_gateway.yml:149 Thursday 11 January 2024 15:05:41 +0000 (0:00:00.205) 0:00:39.344 ****** included: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 11 January 2024 15:05:42 +0000 (0:00:00.055) 0:00:39.399 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 11 January 2024 15:05:42 +0000 (0:00:00.022) 0:00:39.422 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 11 January 2024 15:05:42 +0000 (0:00:00.021) 0:00:39.444 ****** included: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 15:05:42 +0000 (0:00:00.034) 0:00:39.478 ****** included: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 15:05:42 +0000 (0:00:00.034) 0:00:39.513 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003713", "end": "2024-01-11 15:05:42.347872", "rc": 0, "start": "2024-01-11 15:05:42.344159" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 15:05:42 +0000 (0:00:00.216) 0:00:39.729 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 15:05:42 +0000 (0:00:00.057) 0:00:39.787 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 11 January 2024 15:05:42 +0000 (0:00:00.024) 0:00:39.812 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tasks/manage_test_interface.yml:24 Thursday 11 January 2024 15:05:44 +0000 (0:00:02.400) 0:00:42.212 ****** 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-route_type9yjoqf37/tests/playbooks/tasks/manage_test_interface.yml:33 Thursday 11 January 2024 15:05:44 +0000 (0:00:00.032) 0:00:42.245 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tasks/manage_test_interface.yml:41 Thursday 11 January 2024 15:05:44 +0000 (0:00:00.021) 0:00:42.267 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.020447", "end": "2024-01-11 15:05:45.120054", "rc": 0, "start": "2024-01-11 15:05:45.099607" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tasks/manage_test_interface.yml:48 Thursday 11 January 2024 15:05:45 +0000 (0:00:00.237) 0:00:42.504 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tasks/manage_test_interface.yml:54 Thursday 11 January 2024 15:05:45 +0000 (0:00:00.023) 0:00:42.527 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tasks/manage_test_interface.yml:61 Thursday 11 January 2024 15:05:45 +0000 (0:00:00.022) 0:00:42.549 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tasks/manage_test_interface.yml:67 Thursday 11 January 2024 15:05:45 +0000 (0:00:00.055) 0:00:42.605 ****** 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 11 January 2024 15:05:45 +0000 (0:00:00.009) 0:00:42.614 ****** =============================================================================== Install iproute --------------------------------------------------------- 2.58s /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.42s /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.41s /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.40s /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Check which services are running ----------- 2.23s /WORKDIR/git-route_type9yjoqf37/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.22s /WORKDIR/git-route_type9yjoqf37/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.18s /WORKDIR/git-route_type9yjoqf37/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.17s /WORKDIR/git-route_type9yjoqf37/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Gather current interface info ------------------------------------------- 1.22s /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tasks/get_current_interfaces.yml:3 linux-system-roles.network : Enable and start NetworkManager ------------ 1.13s /WORKDIR/git-route_type9yjoqf37/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Configure networking connection profiles --- 1.12s /WORKDIR/git-route_type9yjoqf37/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Check which packages are installed --------- 1.08s /WORKDIR/git-route_type9yjoqf37/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.98s /WORKDIR/git-route_type9yjoqf37/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.92s /WORKDIR/git-route_type9yjoqf37/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.91s /WORKDIR/git-route_type9yjoqf37/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Configure networking connection profiles --- 0.91s /WORKDIR/git-route_type9yjoqf37/tests/roles/linux-system-roles.network/tasks/main.yml:122 Gathering Facts --------------------------------------------------------- 0.90s /WORKDIR/git-route_type9yjoqf37/tests/tests_auto_gateway_nm.yml:6 ------------- Gathering Facts --------------------------------------------------------- 0.80s /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tests_auto_gateway.yml:3 ------ Create veth interface veth0 --------------------------------------------- 0.78s /WORKDIR/git-route_type9yjoqf37/tests/playbooks/tasks/manage_test_interface.yml:24 linux-system-roles.network : Enable and start NetworkManager ------------ 0.69s /WORKDIR/git-route_type9yjoqf37/tests/roles/linux-system-roles.network/tasks/main.yml:85 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---