# 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_typemxl9uwfa/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_typemxl9uwfa/tests/tests_auto_gateway_nm.yml:6 Tuesday 09 January 2024 16:28:19 +0000 (0:00:00.012) 0:00:00.012 ******* ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_typemxl9uwfa/tests/tests_auto_gateway_nm.yml:9 Tuesday 09 January 2024 16:28:20 +0000 (0:00:00.675) 0:00:00.687 ******* included: /WORKDIR/git-route_typemxl9uwfa/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_typemxl9uwfa/tests/tasks/el_repo_setup.yml:3 Tuesday 09 January 2024 16:28:20 +0000 (0:00:00.011) 0:00:00.698 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/tasks/el_repo_setup.yml:19 Tuesday 09 January 2024 16:28:20 +0000 (0:00:00.329) 0:00:01.028 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/tasks/el_repo_setup.yml:24 Tuesday 09 January 2024 16:28:20 +0000 (0:00:00.256) 0:00:01.285 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/tasks/el_repo_setup.yml:28 Tuesday 09 January 2024 16:28:20 +0000 (0:00:00.021) 0:00:01.306 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/tasks/el_repo_setup.yml:53 Tuesday 09 January 2024 16:28:20 +0000 (0:00:00.019) 0:00:01.326 ******* included: /WORKDIR/git-route_typemxl9uwfa/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/tasks/enable_epel.yml:8 Tuesday 09 January 2024 16:28:20 +0000 (0:00:00.034) 0:00:01.360 ******* ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "rc": 0 } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/tasks/enable_epel.yml:24 Tuesday 09 January 2024 16:28:20 +0000 (0:00:00.242) 0:00:01.602 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/tasks/enable_epel.yml:30 Tuesday 09 January 2024 16:28:20 +0000 (0:00:00.010) 0:00:01.613 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/tasks/enable_epel.yml:35 Tuesday 09 January 2024 16:28:20 +0000 (0:00:00.010) 0:00:01.624 ******* ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.242435", "end": "2024-01-09 16:28:21.364326", "rc": 0, "start": "2024-01-09 16:28:21.121891" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/tasks/enable_epel.yml:40 Tuesday 09 January 2024 16:28:21 +0000 (0:00:00.425) 0:00:02.050 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/tests_auto_gateway_nm.yml:11 Tuesday 09 January 2024 16:28:21 +0000 (0:00:00.013) 0:00:02.063 ******* 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_typemxl9uwfa/tests/playbooks/tests_auto_gateway.yml:3 Tuesday 09 January 2024 16:28:21 +0000 (0:00:00.017) 0:00:02.081 ******* ok: [sut] META: ran handlers TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tests_auto_gateway.yml:9 Tuesday 09 January 2024 16:28:21 +0000 (0:00:00.553) 0:00:02.635 ******* included: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 16:28:21 +0000 (0:00:00.028) 0:00:02.663 ******* included: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 16:28:22 +0000 (0:00:00.014) 0:00:02.677 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003190", "end": "2024-01-09 16:28:22.178134", "rc": 0, "start": "2024-01-09 16:28:22.174944" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 16:28:22 +0000 (0:00:00.184) 0:00:02.862 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 16:28:22 +0000 (0:00:00.012) 0:00:02.875 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tests_auto_gateway.yml:11 Tuesday 09 January 2024 16:28:22 +0000 (0:00:00.020) 0:00:02.896 ******* included: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 09 January 2024 16:28:22 +0000 (0:00:00.041) 0:00:02.937 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 09 January 2024 16:28:22 +0000 (0:00:00.013) 0:00:02.951 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 09 January 2024 16:28:22 +0000 (0:00:00.010) 0:00:02.961 ******* included: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 16:28:22 +0000 (0:00:00.014) 0:00:02.976 ******* included: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 16:28:22 +0000 (0:00:00.012) 0:00:02.988 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003423", "end": "2024-01-09 16:28:22.489803", "rc": 0, "start": "2024-01-09 16:28:22.486380" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 16:28:22 +0000 (0:00:00.185) 0:00:03.174 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 16:28:22 +0000 (0:00:00.012) 0:00:03.186 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 09 January 2024 16:28:22 +0000 (0:00:00.010) 0:00:03.197 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/manage_test_interface.yml:24 Tuesday 09 January 2024 16:28:25 +0000 (0:00:03.221) 0:00:06.419 ******* 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.013407", "end": "2024-01-09 16:28:25.936843", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-01-09 16:28:25.923436" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003892", "end": "2024-01-09 16:28:26.153217", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-01-09 16:28:26.149325" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004126", "end": "2024-01-09 16:28:26.333381", "item": "ip link set veth0 up", "rc": 0, "start": "2024-01-09 16:28:26.329255" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/manage_test_interface.yml:33 Tuesday 09 January 2024 16:28:26 +0000 (0:00:00.599) 0:00:07.018 ******* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.023598", "end": "2024-01-09 16:28:26.541478", "rc": 0, "start": "2024-01-09 16:28:26.517880" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/manage_test_interface.yml:41 Tuesday 09 January 2024 16:28:26 +0000 (0:00:00.208) 0:00:07.227 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/manage_test_interface.yml:48 Tuesday 09 January 2024 16:28:26 +0000 (0:00:00.011) 0:00:07.239 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/manage_test_interface.yml:54 Tuesday 09 January 2024 16:28:26 +0000 (0:00:00.011) 0:00:07.250 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/manage_test_interface.yml:61 Tuesday 09 January 2024 16:28:26 +0000 (0:00:00.010) 0:00:07.261 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/manage_test_interface.yml:67 Tuesday 09 January 2024 16:28:26 +0000 (0:00:00.010) 0:00:07.271 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tests_auto_gateway.yml:15 Tuesday 09 January 2024 16:28:26 +0000 (0:00:00.009) 0:00:07.281 ******* included: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 16:28:26 +0000 (0:00:00.044) 0:00:07.326 ******* included: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 16:28:26 +0000 (0:00:00.032) 0:00:07.358 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704817705.927099, "block_size": 4096, "blocks": 0, "ctime": 1704817705.927099, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 22895, "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": 1704817705.927099, "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_typemxl9uwfa/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 16:28:26 +0000 (0:00:00.195) 0:00:07.554 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tests_auto_gateway.yml:17 Tuesday 09 January 2024 16:28:26 +0000 (0:00:00.018) 0:00:07.572 ******* ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 16:28:26 +0000 (0:00:00.022) 0:00:07.595 ******* included: /WORKDIR/git-route_typemxl9uwfa/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_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 16:28:26 +0000 (0:00:00.068) 0:00:07.664 ******* 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_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 16:28:27 +0000 (0:00:00.012) 0:00:07.676 ******* 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_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 16:28:27 +0000 (0:00:00.011) 0:00:07.688 ******* 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_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 16:28:27 +0000 (0:00:00.012) 0:00:07.700 ******* 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_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 16:28:28 +0000 (0:00:01.559) 0:00:09.259 ******* 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_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 16:28:30 +0000 (0:00:01.440) 0:00:10.700 ******* 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_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 16:28:30 +0000 (0:00:00.022) 0:00:10.723 ******* 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_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 16:28:30 +0000 (0:00:00.021) 0:00:10.744 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 16:28:30 +0000 (0:00:00.024) 0:00:10.769 ******* 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_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 16:28:30 +0000 (0:00:00.050) 0:00:10.820 ******* 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_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 16:28:30 +0000 (0:00:00.024) 0:00:10.844 ******* 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_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 16:28:30 +0000 (0:00:00.038) 0:00:10.883 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 16:28:30 +0000 (0:00:00.034) 0:00:10.918 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 16:28:30 +0000 (0:00:00.504) 0:00:11.422 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 16:28:30 +0000 (0:00:00.040) 0:00:11.462 ******* 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_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 16:28:30 +0000 (0:00:00.035) 0:00:11.497 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 16:28:30 +0000 (0:00:00.039) 0:00:11.537 ******* 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, 398cefb2-7f8d-4c37-b10c-efd320fea458 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 398cefb2-7f8d-4c37-b10c-efd320fea458 (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 16:28:31 +0000 (0:00:00.752) 0:00:12.289 ******* 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_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 16:28:31 +0000 (0:00:00.030) 0:00:12.320 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 398cefb2-7f8d-4c37-b10c-efd320fea458", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 398cefb2-7f8d-4c37-b10c-efd320fea458 (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 16:28:31 +0000 (0:00:00.070) 0:00:12.390 ******* 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, 398cefb2-7f8d-4c37-b10c-efd320fea458\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 398cefb2-7f8d-4c37-b10c-efd320fea458 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 398cefb2-7f8d-4c37-b10c-efd320fea458", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 398cefb2-7f8d-4c37-b10c-efd320fea458 (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 16:28:31 +0000 (0:00:00.063) 0:00:12.453 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 16:28:31 +0000 (0:00:00.098) 0:00:12.552 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tests_auto_gateway.yml:42 Tuesday 09 January 2024 16:28:32 +0000 (0:00:00.329) 0:00:12.882 ******* included: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 16:28:32 +0000 (0:00:00.060) 0:00:12.943 ******* included: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 16:28:32 +0000 (0:00:00.048) 0:00:12.992 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704817705.927099, "block_size": 4096, "blocks": 0, "ctime": 1704817705.927099, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 22895, "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": 1704817705.927099, "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_typemxl9uwfa/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 16:28:32 +0000 (0:00:00.218) 0:00:13.210 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tests_auto_gateway.yml:44 Tuesday 09 January 2024 16:28:32 +0000 (0:00:00.026) 0:00:13.236 ******* included: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 16:28:32 +0000 (0:00:00.051) 0:00:13.287 ******* included: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 16:28:32 +0000 (0:00:00.037) 0:00:13.325 ******* 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_typemxl9uwfa/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 16:28:32 +0000 (0:00:00.059) 0:00:13.384 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704817711.5459738, "block_size": 4096, "blocks": 8, "ctime": 1704817711.504975, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5533388, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704817711.504975, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 396, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 16:28:32 +0000 (0:00:00.201) 0:00:13.585 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 16:28:32 +0000 (0:00:00.029) 0:00:13.615 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.021392", "end": "2024-01-09 16:28:33.133730", "rc": 0, "start": "2024-01-09 16:28:33.112338" } STDOUT: veth0 /etc/sysconfig/network-scripts/ifcfg-veth0 TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 16:28:33 +0000 (0:00:00.232) 0:00:13.848 ******* 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_typemxl9uwfa/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 16:28:33 +0000 (0:00:00.043) 0:00:13.892 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 16:28:33 +0000 (0:00:00.028) 0:00:13.920 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 16:28:33 +0000 (0:00:00.025) 0:00:13.945 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 16:28:33 +0000 (0:00:00.024) 0:00:13.969 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 16:28:33 +0000 (0:00:00.023) 0:00:13.993 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 16:28:33 +0000 (0:00:00.027) 0:00:14.020 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 16:28:33 +0000 (0:00:00.041) 0:00:14.062 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tests_auto_gateway.yml:48 Tuesday 09 January 2024 16:28:33 +0000 (0:00:00.048) 0:00:14.110 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003764", "end": "2024-01-09 16:28:33.613816", "rc": 0, "start": "2024-01-09 16:28:33.610052" } STDOUT: default via 10.31.12.1 dev eth0 proto dhcp src 10.31.12.191 metric 100 default via 203.0.113.1 dev veth0 proto static metric 65535 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.12.191 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_typemxl9uwfa/tests/playbooks/tests_auto_gateway.yml:52 Tuesday 09 January 2024 16:28:33 +0000 (0:00:00.211) 0:00:14.322 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tests_auto_gateway.yml:58 Tuesday 09 January 2024 16:28:33 +0000 (0:00:00.036) 0:00:14.359 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.004000", "end": "2024-01-09 16:28:33.870793", "rc": 0, "start": "2024-01-09 16:28:33.866793" } STDOUT: ::1 dev lo proto kernel metric 256 pref medium 2001:db8::/64 dev veth0 proto kernel metric 101 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium fe80::/64 dev veth0 proto kernel metric 1024 pref medium default via 2001:db8::1 dev veth0 proto static metric 101 pref medium TASK [Assert default ipv6 route is present] ************************************ task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tests_auto_gateway.yml:62 Tuesday 09 January 2024 16:28:33 +0000 (0:00:00.240) 0:00:14.599 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tests_auto_gateway.yml:69 Tuesday 09 January 2024 16:28:33 +0000 (0:00:00.027) 0:00:14.627 ******* ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 16:28:33 +0000 (0:00:00.022) 0:00:14.650 ******* included: /WORKDIR/git-route_typemxl9uwfa/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_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 16:28:34 +0000 (0:00:00.075) 0:00:14.725 ******* 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_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 16:28:34 +0000 (0:00:00.028) 0:00:14.753 ******* 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_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 16:28:34 +0000 (0:00:00.022) 0:00:14.776 ******* 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_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 16:28:34 +0000 (0:00:00.022) 0:00:14.799 ******* 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_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 16:28:35 +0000 (0:00:01.504) 0:00:16.304 ******* 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_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 16:28:37 +0000 (0:00:01.382) 0:00:17.686 ******* 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_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 16:28:37 +0000 (0:00:00.091) 0:00:17.777 ******* 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_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 16:28:37 +0000 (0:00:00.040) 0:00:17.818 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 16:28:37 +0000 (0:00:00.109) 0:00:17.928 ******* 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_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 16:28:37 +0000 (0:00:00.082) 0:00:18.010 ******* 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_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 16:28:37 +0000 (0:00:00.076) 0:00:18.087 ******* 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_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 16:28:37 +0000 (0:00:00.051) 0:00:18.139 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 16:28:37 +0000 (0:00:00.051) 0:00:18.190 ******* 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_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 16:28:37 +0000 (0:00:00.439) 0:00:18.629 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 16:28:37 +0000 (0:00:00.033) 0:00:18.663 ******* 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_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 16:28:38 +0000 (0:00:00.044) 0:00:18.707 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 16:28:38 +0000 (0:00:00.043) 0:00:18.751 ******* 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_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 16:28:38 +0000 (0:00:00.537) 0:00:19.288 ******* 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_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 16:28:38 +0000 (0:00:00.024) 0:00:19.313 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 16:28:38 +0000 (0:00:00.032) 0:00:19.345 ******* 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_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 16:28:38 +0000 (0:00:00.029) 0:00:19.375 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 16:28:38 +0000 (0:00:00.025) 0:00:19.400 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tests_auto_gateway.yml:81 Tuesday 09 January 2024 16:28:38 +0000 (0:00:00.191) 0:00:19.591 ******* included: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 09 January 2024 16:28:38 +0000 (0:00:00.052) 0:00:19.644 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 09 January 2024 16:28:39 +0000 (0:00:00.022) 0:00:19.667 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 09 January 2024 16:28:39 +0000 (0:00:00.021) 0:00:19.689 ******* included: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 16:28:39 +0000 (0:00:00.038) 0:00:19.727 ******* included: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 16:28:39 +0000 (0:00:00.047) 0:00:19.774 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003016", "end": "2024-01-09 16:28:39.293918", "rc": 0, "start": "2024-01-09 16:28:39.290902" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 16:28:39 +0000 (0:00:00.217) 0:00:19.992 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 16:28:39 +0000 (0:00:00.027) 0:00:20.020 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 09 January 2024 16:28:39 +0000 (0:00:00.023) 0:00:20.043 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/manage_test_interface.yml:24 Tuesday 09 January 2024 16:28:42 +0000 (0:00:03.016) 0:00:23.060 ******* 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_typemxl9uwfa/tests/playbooks/tasks/manage_test_interface.yml:33 Tuesday 09 January 2024 16:28:42 +0000 (0:00:00.033) 0:00:23.094 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/manage_test_interface.yml:41 Tuesday 09 January 2024 16:28:42 +0000 (0:00:00.024) 0:00:23.118 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.013307", "end": "2024-01-09 16:28:42.632209", "rc": 0, "start": "2024-01-09 16:28:42.618902" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/manage_test_interface.yml:48 Tuesday 09 January 2024 16:28:42 +0000 (0:00:00.213) 0:00:23.332 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/manage_test_interface.yml:54 Tuesday 09 January 2024 16:28:42 +0000 (0:00:00.066) 0:00:23.398 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/manage_test_interface.yml:61 Tuesday 09 January 2024 16:28:42 +0000 (0:00:00.024) 0:00:23.422 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/manage_test_interface.yml:67 Tuesday 09 January 2024 16:28:42 +0000 (0:00:00.023) 0:00:23.445 ******* 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_typemxl9uwfa/tests/playbooks/tests_auto_gateway.yml:85 Tuesday 09 January 2024 16:28:42 +0000 (0:00:00.022) 0:00:23.468 ******* ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tests_auto_gateway.yml:89 Tuesday 09 January 2024 16:28:42 +0000 (0:00:00.022) 0:00:23.491 ******* included: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 09 January 2024 16:28:42 +0000 (0:00:00.051) 0:00:23.543 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 09 January 2024 16:28:42 +0000 (0:00:00.021) 0:00:23.564 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 09 January 2024 16:28:42 +0000 (0:00:00.021) 0:00:23.586 ******* included: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 16:28:42 +0000 (0:00:00.034) 0:00:23.620 ******* included: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 16:28:42 +0000 (0:00:00.034) 0:00:23.655 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002894", "end": "2024-01-09 16:28:43.156240", "rc": 0, "start": "2024-01-09 16:28:43.153346" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 16:28:43 +0000 (0:00:00.197) 0:00:23.852 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 16:28:43 +0000 (0:00:00.023) 0:00:23.875 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 09 January 2024 16:28:43 +0000 (0:00:00.061) 0:00:23.936 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/manage_test_interface.yml:24 Tuesday 09 January 2024 16:28:46 +0000 (0:00:02.982) 0:00:26.919 ******* 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.011262", "end": "2024-01-09 16:28:46.437331", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-01-09 16:28:46.426069" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003484", "end": "2024-01-09 16:28:46.674351", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-01-09 16:28:46.670867" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.003800", "end": "2024-01-09 16:28:46.859200", "item": "ip link set veth0 up", "rc": 0, "start": "2024-01-09 16:28:46.855400" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/manage_test_interface.yml:33 Tuesday 09 January 2024 16:28:46 +0000 (0:00:00.649) 0:00:27.569 ******* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.022768", "end": "2024-01-09 16:28:47.099154", "rc": 0, "start": "2024-01-09 16:28:47.076386" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/manage_test_interface.yml:41 Tuesday 09 January 2024 16:28:47 +0000 (0:00:00.239) 0:00:27.808 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/manage_test_interface.yml:48 Tuesday 09 January 2024 16:28:47 +0000 (0:00:00.036) 0:00:27.845 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/manage_test_interface.yml:54 Tuesday 09 January 2024 16:28:47 +0000 (0:00:00.042) 0:00:27.887 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/manage_test_interface.yml:61 Tuesday 09 January 2024 16:28:47 +0000 (0:00:00.095) 0:00:27.982 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/manage_test_interface.yml:67 Tuesday 09 January 2024 16:28:47 +0000 (0:00:00.038) 0:00:28.021 ******* 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_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 16:28:47 +0000 (0:00:00.028) 0:00:28.050 ******* included: /WORKDIR/git-route_typemxl9uwfa/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_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 16:28:47 +0000 (0:00:00.047) 0:00:28.098 ******* 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_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 16:28:47 +0000 (0:00:00.041) 0:00:28.139 ******* 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_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 16:28:47 +0000 (0:00:00.023) 0:00:28.162 ******* 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_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 16:28:47 +0000 (0:00:00.022) 0:00:28.185 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 16:28:49 +0000 (0:00:01.540) 0:00:29.725 ******* 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_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 16:28:50 +0000 (0:00:01.331) 0:00:31.056 ******* 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_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 16:28:50 +0000 (0:00:00.024) 0:00:31.081 ******* 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_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 16:28:50 +0000 (0:00:00.023) 0:00:31.104 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 16:28:50 +0000 (0:00:00.038) 0:00:31.143 ******* 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_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 16:28:50 +0000 (0:00:00.053) 0:00:31.196 ******* 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_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 16:28:50 +0000 (0:00:00.027) 0:00:31.224 ******* 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_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 16:28:50 +0000 (0:00:00.034) 0:00:31.258 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 16:28:50 +0000 (0:00:00.025) 0:00:31.284 ******* 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_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 16:28:50 +0000 (0:00:00.341) 0:00:31.625 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 16:28:50 +0000 (0:00:00.026) 0:00:31.652 ******* 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_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 16:28:51 +0000 (0:00:00.057) 0:00:31.709 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 16:28:51 +0000 (0:00:00.024) 0:00:31.733 ******* 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, f941c463-7c9d-4770-a1b6-c0d73343638a [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, f941c463-7c9d-4770-a1b6-c0d73343638a (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 16:28:51 +0000 (0:00:00.391) 0:00:32.125 ******* 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_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 16:28:51 +0000 (0:00:00.023) 0:00:32.148 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, f941c463-7c9d-4770-a1b6-c0d73343638a", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, f941c463-7c9d-4770-a1b6-c0d73343638a (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 16:28:51 +0000 (0:00:00.024) 0:00:32.173 ******* 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, f941c463-7c9d-4770-a1b6-c0d73343638a\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, f941c463-7c9d-4770-a1b6-c0d73343638a (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, f941c463-7c9d-4770-a1b6-c0d73343638a", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, f941c463-7c9d-4770-a1b6-c0d73343638a (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 16:28:51 +0000 (0:00:00.025) 0:00:32.198 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 16:28:51 +0000 (0:00:00.025) 0:00:32.223 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tests_auto_gateway.yml:110 Tuesday 09 January 2024 16:28:51 +0000 (0:00:00.200) 0:00:32.423 ******* included: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 16:28:51 +0000 (0:00:00.054) 0:00:32.478 ******* included: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 16:28:51 +0000 (0:00:00.038) 0:00:32.516 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704817726.429611, "block_size": 4096, "blocks": 0, "ctime": 1704817726.429611, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 23481, "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": 1704817726.429611, "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_typemxl9uwfa/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 16:28:52 +0000 (0:00:00.199) 0:00:32.716 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tests_auto_gateway.yml:112 Tuesday 09 January 2024 16:28:52 +0000 (0:00:00.065) 0:00:32.781 ******* included: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 16:28:52 +0000 (0:00:00.055) 0:00:32.836 ******* included: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 16:28:52 +0000 (0:00:00.037) 0:00:32.874 ******* 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_typemxl9uwfa/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 16:28:52 +0000 (0:00:00.023) 0:00:32.898 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704817731.409403, "block_size": 4096, "blocks": 8, "ctime": 1704817731.369404, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5533388, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704817731.369404, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 323, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 16:28:52 +0000 (0:00:00.204) 0:00:33.102 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 16:28:52 +0000 (0:00:00.024) 0:00:33.127 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.021424", "end": "2024-01-09 16:28:52.646318", "rc": 0, "start": "2024-01-09 16:28:52.624894" } STDOUT: veth0 /etc/sysconfig/network-scripts/ifcfg-veth0 TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 16:28:52 +0000 (0:00:00.215) 0:00:33.342 ******* 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_typemxl9uwfa/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 16:28:52 +0000 (0:00:00.025) 0:00:33.368 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 16:28:52 +0000 (0:00:00.023) 0:00:33.391 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 16:28:52 +0000 (0:00:00.022) 0:00:33.414 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 16:28:52 +0000 (0:00:00.024) 0:00:33.439 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 16:28:52 +0000 (0:00:00.023) 0:00:33.463 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 16:28:52 +0000 (0:00:00.042) 0:00:33.505 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 16:28:52 +0000 (0:00:00.085) 0:00:33.590 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tests_auto_gateway.yml:116 Tuesday 09 January 2024 16:28:52 +0000 (0:00:00.025) 0:00:33.616 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003988", "end": "2024-01-09 16:28:53.119506", "rc": 0, "start": "2024-01-09 16:28:53.115518" } STDOUT: default via 10.31.12.1 dev eth0 proto dhcp src 10.31.12.191 metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.12.191 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_typemxl9uwfa/tests/playbooks/tests_auto_gateway.yml:120 Tuesday 09 January 2024 16:28:53 +0000 (0:00:00.200) 0:00:33.817 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tests_auto_gateway.yml:126 Tuesday 09 January 2024 16:28:53 +0000 (0:00:00.027) 0:00:33.844 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003673", "end": "2024-01-09 16:28:53.347658", "rc": 0, "start": "2024-01-09 16:28:53.343985" } STDOUT: ::1 dev lo proto kernel metric 256 pref medium 2001:db8::/64 dev veth0 proto kernel metric 101 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium fe80::/64 dev veth0 proto kernel metric 1024 pref medium TASK [Assert default ipv6 route is absent] ************************************* task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tests_auto_gateway.yml:130 Tuesday 09 January 2024 16:28:53 +0000 (0:00:00.198) 0:00:34.043 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tests_auto_gateway.yml:137 Tuesday 09 January 2024 16:28:53 +0000 (0:00:00.027) 0:00:34.071 ******* ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 16:28:53 +0000 (0:00:00.023) 0:00:34.095 ******* included: /WORKDIR/git-route_typemxl9uwfa/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_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 16:28:53 +0000 (0:00:00.039) 0:00:34.134 ******* 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_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 16:28:53 +0000 (0:00:00.027) 0:00:34.161 ******* 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_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 16:28:53 +0000 (0:00:00.022) 0:00:34.184 ******* 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_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 16:28:53 +0000 (0:00:00.029) 0:00:34.214 ******* 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_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 16:28:55 +0000 (0:00:01.496) 0:00:35.710 ******* 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_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 16:28:56 +0000 (0:00:01.290) 0:00:37.001 ******* 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_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 16:28:56 +0000 (0:00:00.026) 0:00:37.027 ******* 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_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 16:28:56 +0000 (0:00:00.023) 0:00:37.051 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 16:28:56 +0000 (0:00:00.022) 0:00:37.074 ******* 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_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 16:28:56 +0000 (0:00:00.045) 0:00:37.119 ******* 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_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 16:28:56 +0000 (0:00:00.055) 0:00:37.175 ******* 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_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 16:28:56 +0000 (0:00:00.022) 0:00:37.198 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 16:28:56 +0000 (0:00:00.026) 0:00:37.224 ******* 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_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 16:28:56 +0000 (0:00:00.345) 0:00:37.570 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 16:28:56 +0000 (0:00:00.034) 0:00:37.605 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 16:28:56 +0000 (0:00:00.032) 0:00:37.638 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 16:28:57 +0000 (0:00:00.033) 0:00:37.671 ******* 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_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 16:28:57 +0000 (0:00:00.405) 0:00:38.077 ******* 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_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 16:28:57 +0000 (0:00:00.023) 0:00:38.101 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 16:28:57 +0000 (0:00:00.024) 0:00:38.125 ******* 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_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 16:28:57 +0000 (0:00:00.036) 0:00:38.162 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 16:28:57 +0000 (0:00:00.023) 0:00:38.185 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tests_auto_gateway.yml:149 Tuesday 09 January 2024 16:28:57 +0000 (0:00:00.188) 0:00:38.374 ******* included: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 09 January 2024 16:28:57 +0000 (0:00:00.102) 0:00:38.476 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 09 January 2024 16:28:57 +0000 (0:00:00.023) 0:00:38.500 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 09 January 2024 16:28:57 +0000 (0:00:00.024) 0:00:38.524 ******* included: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 16:28:57 +0000 (0:00:00.041) 0:00:38.566 ******* included: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 16:28:57 +0000 (0:00:00.053) 0:00:38.619 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002959", "end": "2024-01-09 16:28:58.127845", "rc": 0, "start": "2024-01-09 16:28:58.124886" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 16:28:58 +0000 (0:00:00.203) 0:00:38.823 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 16:28:58 +0000 (0:00:00.023) 0:00:38.847 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 09 January 2024 16:28:58 +0000 (0:00:00.022) 0:00:38.869 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/manage_test_interface.yml:24 Tuesday 09 January 2024 16:29:01 +0000 (0:00:03.006) 0:00:41.876 ******* 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_typemxl9uwfa/tests/playbooks/tasks/manage_test_interface.yml:33 Tuesday 09 January 2024 16:29:01 +0000 (0:00:00.036) 0:00:41.912 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/manage_test_interface.yml:41 Tuesday 09 January 2024 16:29:01 +0000 (0:00:00.030) 0:00:41.942 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.011218", "end": "2024-01-09 16:29:01.459003", "rc": 0, "start": "2024-01-09 16:29:01.447785" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/manage_test_interface.yml:48 Tuesday 09 January 2024 16:29:01 +0000 (0:00:00.216) 0:00:42.159 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/manage_test_interface.yml:54 Tuesday 09 January 2024 16:29:01 +0000 (0:00:00.025) 0:00:42.185 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/manage_test_interface.yml:61 Tuesday 09 January 2024 16:29:01 +0000 (0:00:00.027) 0:00:42.212 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/manage_test_interface.yml:67 Tuesday 09 January 2024 16:29:01 +0000 (0:00:00.052) 0:00:42.265 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=129 changed=4 unreachable=0 failed=0 skipped=98 rescued=0 ignored=0 Tuesday 09 January 2024 16:29:01 +0000 (0:00:00.019) 0:00:42.284 ******* =============================================================================== Install iproute --------------------------------------------------------- 3.22s /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 3.02s /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 3.01s /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.98s /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Check which services are running ----------- 1.56s /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.54s /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.50s /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.50s /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.44s /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.38s /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.33s /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.29s /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Configure networking connection profiles --- 0.94s /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable and start NetworkManager ------------ 0.79s /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Configure networking connection profiles --- 0.75s /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:122 Gathering Facts --------------------------------------------------------- 0.68s /WORKDIR/git-route_typemxl9uwfa/tests/tests_auto_gateway_nm.yml:6 ------------- Create veth interface veth0 --------------------------------------------- 0.65s /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/manage_test_interface.yml:24 Create veth interface veth0 --------------------------------------------- 0.60s /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/manage_test_interface.yml:24 Gathering Facts --------------------------------------------------------- 0.55s /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tests_auto_gateway.yml:3 ------ linux-system-roles.network : Enable and start NetworkManager ------------ 0.50s /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:85 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the dnf module rather than running 'dnf'. If you need to use command because dnf is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ---^---^---^---^---^---