# 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_typen6cwcb0x/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_typen6cwcb0x/tests/tests_auto_gateway_nm.yml:6 Tuesday 09 January 2024 19:52:06 +0000 (0:00:00.013) 0:00:00.013 ******* ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_typen6cwcb0x/tests/tests_auto_gateway_nm.yml:9 Tuesday 09 January 2024 19:52:07 +0000 (0:00:01.005) 0:00:01.018 ******* included: /WORKDIR/git-route_typen6cwcb0x/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_typen6cwcb0x/tests/tasks/el_repo_setup.yml:3 Tuesday 09 January 2024 19:52:07 +0000 (0:00:00.014) 0:00:01.033 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/tasks/el_repo_setup.yml:19 Tuesday 09 January 2024 19:52:07 +0000 (0:00:00.744) 0:00:01.777 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/tasks/el_repo_setup.yml:24 Tuesday 09 January 2024 19:52:08 +0000 (0:00:00.500) 0:00:02.278 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/tasks/el_repo_setup.yml:28 Tuesday 09 January 2024 19:52:08 +0000 (0:00:00.021) 0:00:02.300 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/tasks/el_repo_setup.yml:53 Tuesday 09 January 2024 19:52:08 +0000 (0:00:00.035) 0:00:02.336 ******* included: /WORKDIR/git-route_typen6cwcb0x/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 38] ********************************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/tasks/enable_epel.yml:8 Tuesday 09 January 2024 19:52:08 +0000 (0:00:00.059) 0:00:02.395 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/tasks/enable_epel.yml:24 Tuesday 09 January 2024 19:52:08 +0000 (0:00:00.044) 0:00:02.439 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/tasks/enable_epel.yml:30 Tuesday 09 January 2024 19:52:08 +0000 (0:00:00.047) 0:00:02.487 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/tasks/enable_epel.yml:35 Tuesday 09 January 2024 19:52:08 +0000 (0:00:00.031) 0:00:02.518 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/tasks/enable_epel.yml:40 Tuesday 09 January 2024 19:52:08 +0000 (0:00:00.041) 0:00:02.560 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/tests_auto_gateway_nm.yml:11 Tuesday 09 January 2024 19:52:08 +0000 (0:00:00.020) 0:00:02.580 ******* 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_typen6cwcb0x/tests/playbooks/tests_auto_gateway.yml:3 Tuesday 09 January 2024 19:52:08 +0000 (0:00:00.035) 0:00:02.615 ******* ok: [sut] META: ran handlers TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tests_auto_gateway.yml:9 Tuesday 09 January 2024 19:52:09 +0000 (0:00:00.818) 0:00:03.433 ******* included: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 19:52:09 +0000 (0:00:00.047) 0:00:03.481 ******* included: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 19:52:09 +0000 (0:00:00.025) 0:00:03.507 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004799", "end": "2024-01-09 19:52:11.003506", "rc": 0, "start": "2024-01-09 19:52:09.998707" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 19:52:11 +0000 (0:00:01.323) 0:00:04.830 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 19:52:11 +0000 (0:00:00.013) 0:00:04.844 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tests_auto_gateway.yml:11 Tuesday 09 January 2024 19:52:11 +0000 (0:00:00.012) 0:00:04.856 ******* included: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 09 January 2024 19:52:11 +0000 (0:00:00.029) 0:00:04.885 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 09 January 2024 19:52:11 +0000 (0:00:00.020) 0:00:04.906 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 09 January 2024 19:52:11 +0000 (0:00:00.020) 0:00:04.926 ******* included: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 19:52:11 +0000 (0:00:00.044) 0:00:04.971 ******* included: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 19:52:11 +0000 (0:00:00.020) 0:00:04.991 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003741", "end": "2024-01-09 19:52:11.381932", "rc": 0, "start": "2024-01-09 19:52:11.378191" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 19:52:11 +0000 (0:00:00.219) 0:00:05.210 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 19:52:11 +0000 (0:00:00.023) 0:00:05.234 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 09 January 2024 19:52:11 +0000 (0:00:00.023) 0:00:05.257 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/manage_test_interface.yml:24 Tuesday 09 January 2024 19:52:14 +0000 (0:00:02.639) 0:00:07.897 ******* 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.119641", "end": "2024-01-09 19:52:14.406904", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-01-09 19:52:14.287263" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004495", "end": "2024-01-09 19:52:14.670743", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-01-09 19:52:14.666248" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004339", "end": "2024-01-09 19:52:14.890950", "item": "ip link set veth0 up", "rc": 0, "start": "2024-01-09 19:52:14.886611" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/manage_test_interface.yml:33 Tuesday 09 January 2024 19:52:14 +0000 (0:00:00.821) 0:00:08.718 ******* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.200384", "end": "2024-01-09 19:52:15.334820", "rc": 0, "start": "2024-01-09 19:52:15.134436" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/manage_test_interface.yml:41 Tuesday 09 January 2024 19:52:15 +0000 (0:00:00.434) 0:00:09.153 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/manage_test_interface.yml:48 Tuesday 09 January 2024 19:52:15 +0000 (0:00:00.026) 0:00:09.180 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/manage_test_interface.yml:54 Tuesday 09 January 2024 19:52:15 +0000 (0:00:00.019) 0:00:09.199 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/manage_test_interface.yml:61 Tuesday 09 January 2024 19:52:15 +0000 (0:00:00.015) 0:00:09.215 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/manage_test_interface.yml:67 Tuesday 09 January 2024 19:52:15 +0000 (0:00:00.021) 0:00:09.236 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tests_auto_gateway.yml:15 Tuesday 09 January 2024 19:52:15 +0000 (0:00:00.019) 0:00:09.256 ******* included: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 19:52:15 +0000 (0:00:00.058) 0:00:09.315 ******* included: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 19:52:15 +0000 (0:00:00.019) 0:00:09.334 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704829934.4030094, "block_size": 4096, "blocks": 0, "ctime": 1704829934.4030094, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26375, "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": 1704829934.4030094, "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_typen6cwcb0x/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 19:52:15 +0000 (0:00:00.251) 0:00:09.586 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tests_auto_gateway.yml:17 Tuesday 09 January 2024 19:52:15 +0000 (0:00:00.047) 0:00:09.633 ******* ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 19:52:15 +0000 (0:00:00.039) 0:00:09.673 ******* included: /WORKDIR/git-route_typen6cwcb0x/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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:52:15 +0000 (0:00:00.083) 0:00:09.756 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 19:52:15 +0000 (0:00:00.016) 0:00:09.773 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 19:52:15 +0000 (0:00:00.009) 0:00:09.783 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 19:52:16 +0000 (0:00:00.010) 0:00:09.793 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 19:52:18 +0000 (0:00:02.290) 0:00:12.084 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 19:52:19 +0000 (0:00:01.216) 0:00:13.301 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 19:52:19 +0000 (0:00:00.026) 0:00:13.327 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 19:52:19 +0000 (0:00:00.029) 0:00:13.356 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 19:52:19 +0000 (0:00:00.049) 0:00:13.406 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 19:52:19 +0000 (0:00:00.144) 0:00:13.550 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 19:52:19 +0000 (0:00:00.042) 0:00:13.593 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 19:52:19 +0000 (0:00:00.079) 0:00:13.672 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 19:52:19 +0000 (0:00:00.080) 0:00:13.752 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 19:52:20 +0000 (0:00:00.893) 0:00:14.645 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 19:52:20 +0000 (0:00:00.032) 0:00:14.678 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 19:52:20 +0000 (0:00:00.048) 0:00:14.726 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 19:52:20 +0000 (0:00:00.033) 0:00:14.759 ******* 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, 39f9aa2d-07ae-4f44-8532-69f2dc73d5de [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 39f9aa2d-07ae-4f44-8532-69f2dc73d5de (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 19:52:21 +0000 (0:00:01.026) 0:00:15.786 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 19:52:22 +0000 (0:00:00.042) 0:00:15.829 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 39f9aa2d-07ae-4f44-8532-69f2dc73d5de", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 39f9aa2d-07ae-4f44-8532-69f2dc73d5de (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 19:52:22 +0000 (0:00:00.043) 0:00:15.872 ******* 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, 39f9aa2d-07ae-4f44-8532-69f2dc73d5de\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 39f9aa2d-07ae-4f44-8532-69f2dc73d5de (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 39f9aa2d-07ae-4f44-8532-69f2dc73d5de", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 39f9aa2d-07ae-4f44-8532-69f2dc73d5de (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 19:52:22 +0000 (0:00:00.038) 0:00:15.911 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 19:52:22 +0000 (0:00:00.028) 0:00:15.939 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tests_auto_gateway.yml:42 Tuesday 09 January 2024 19:52:22 +0000 (0:00:00.395) 0:00:16.335 ******* included: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 19:52:22 +0000 (0:00:00.066) 0:00:16.401 ******* included: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 19:52:22 +0000 (0:00:00.054) 0:00:16.456 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704829934.4030094, "block_size": 4096, "blocks": 0, "ctime": 1704829934.4030094, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26375, "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": 1704829934.4030094, "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_typen6cwcb0x/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 19:52:22 +0000 (0:00:00.251) 0:00:16.707 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tests_auto_gateway.yml:44 Tuesday 09 January 2024 19:52:22 +0000 (0:00:00.036) 0:00:16.744 ******* included: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 19:52:23 +0000 (0:00:00.078) 0:00:16.822 ******* included: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 19:52:23 +0000 (0:00:00.082) 0:00:16.905 ******* 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_typen6cwcb0x/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 19:52:23 +0000 (0:00:00.034) 0:00:16.940 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 19:52:23 +0000 (0:00:00.256) 0:00:17.196 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 19:52:23 +0000 (0:00:00.072) 0:00:17.269 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.138850", "end": "2024-01-09 19:52:23.805599", "rc": 0, "start": "2024-01-09 19:52:23.666749" } STDOUT: veth0 /etc/NetworkManager/system-connections/veth0.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 19:52:23 +0000 (0:00:00.377) 0:00:17.647 ******* 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_typen6cwcb0x/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 19:52:23 +0000 (0:00:00.033) 0:00:17.680 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 19:52:23 +0000 (0:00:00.026) 0:00:17.707 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 19:52:23 +0000 (0:00:00.033) 0:00:17.740 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 19:52:23 +0000 (0:00:00.024) 0:00:17.765 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 19:52:23 +0000 (0:00:00.023) 0:00:17.789 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 19:52:24 +0000 (0:00:00.034) 0:00:17.823 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 19:52:24 +0000 (0:00:00.029) 0:00:17.852 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tests_auto_gateway.yml:48 Tuesday 09 January 2024 19:52:24 +0000 (0:00:00.047) 0:00:17.900 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003902", "end": "2024-01-09 19:52:24.308724", "rc": 0, "start": "2024-01-09 19:52:24.304822" } STDOUT: default via 10.31.8.1 dev eth0 proto dhcp src 10.31.11.62 metric 100 default via 203.0.113.1 dev veth0 proto static metric 65535 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.11.62 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_typen6cwcb0x/tests/playbooks/tests_auto_gateway.yml:52 Tuesday 09 January 2024 19:52:24 +0000 (0:00:00.240) 0:00:18.140 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tests_auto_gateway.yml:58 Tuesday 09 January 2024 19:52:24 +0000 (0:00:00.038) 0:00:18.178 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003912", "end": "2024-01-09 19:52:24.586359", "rc": 0, "start": "2024-01-09 19:52:24.582447" } STDOUT: 2001:db8::/64 dev veth0 proto kernel metric 101 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 1024 pref medium fe80::/64 dev veth0 proto kernel metric 1024 pref medium default via 2001:db8::1 dev veth0 proto static metric 101 pref medium TASK [Assert default ipv6 route is present] ************************************ task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tests_auto_gateway.yml:62 Tuesday 09 January 2024 19:52:24 +0000 (0:00:00.248) 0:00:18.427 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tests_auto_gateway.yml:69 Tuesday 09 January 2024 19:52:24 +0000 (0:00:00.032) 0:00:18.460 ******* ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 19:52:24 +0000 (0:00:00.028) 0:00:18.489 ******* included: /WORKDIR/git-route_typen6cwcb0x/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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:52:24 +0000 (0:00:00.110) 0:00:18.599 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 19:52:24 +0000 (0:00:00.062) 0:00:18.661 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 19:52:24 +0000 (0:00:00.028) 0:00:18.690 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 19:52:24 +0000 (0:00:00.062) 0:00:18.752 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 19:52:27 +0000 (0:00:02.239) 0:00:20.991 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 19:52:28 +0000 (0:00:01.119) 0:00:22.111 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 19:52:28 +0000 (0:00:00.032) 0:00:22.144 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 19:52:28 +0000 (0:00:00.066) 0:00:22.211 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 19:52:28 +0000 (0:00:00.049) 0:00:22.260 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 19:52:28 +0000 (0:00:00.063) 0:00:22.324 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 19:52:28 +0000 (0:00:00.042) 0:00:22.367 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 19:52:28 +0000 (0:00:00.053) 0:00:22.420 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 19:52:28 +0000 (0:00:00.057) 0:00:22.478 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 19:52:29 +0000 (0:00:00.663) 0:00:23.142 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 19:52:29 +0000 (0:00:00.036) 0:00:23.178 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 19:52:29 +0000 (0:00:00.034) 0:00:23.213 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 19:52:29 +0000 (0:00:00.066) 0:00:23.279 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 19:52:30 +0000 (0:00:00.624) 0:00:23.904 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 19:52:30 +0000 (0:00:00.030) 0:00:23.934 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 19:52:30 +0000 (0:00:00.044) 0:00:23.979 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 19:52:30 +0000 (0:00:00.026) 0:00:24.006 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 19:52:30 +0000 (0:00:00.053) 0:00:24.059 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tests_auto_gateway.yml:81 Tuesday 09 January 2024 19:52:30 +0000 (0:00:00.257) 0:00:24.317 ******* included: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 09 January 2024 19:52:30 +0000 (0:00:00.069) 0:00:24.386 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 09 January 2024 19:52:30 +0000 (0:00:00.095) 0:00:24.482 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 09 January 2024 19:52:30 +0000 (0:00:00.092) 0:00:24.574 ******* included: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 19:52:30 +0000 (0:00:00.141) 0:00:24.716 ******* included: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 19:52:31 +0000 (0:00:00.106) 0:00:24.822 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003684", "end": "2024-01-09 19:52:31.255938", "rc": 0, "start": "2024-01-09 19:52:31.252254" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 19:52:31 +0000 (0:00:00.285) 0:00:25.108 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 19:52:31 +0000 (0:00:00.058) 0:00:25.166 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 09 January 2024 19:52:31 +0000 (0:00:00.070) 0:00:25.236 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/manage_test_interface.yml:24 Tuesday 09 January 2024 19:52:33 +0000 (0:00:02.447) 0:00:27.684 ******* 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_typen6cwcb0x/tests/playbooks/tasks/manage_test_interface.yml:33 Tuesday 09 January 2024 19:52:33 +0000 (0:00:00.034) 0:00:27.719 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/manage_test_interface.yml:41 Tuesday 09 January 2024 19:52:33 +0000 (0:00:00.023) 0:00:27.743 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.016449", "end": "2024-01-09 19:52:34.152886", "rc": 0, "start": "2024-01-09 19:52:34.136437" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/manage_test_interface.yml:48 Tuesday 09 January 2024 19:52:34 +0000 (0:00:00.246) 0:00:27.989 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/manage_test_interface.yml:54 Tuesday 09 January 2024 19:52:34 +0000 (0:00:00.024) 0:00:28.014 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/manage_test_interface.yml:61 Tuesday 09 January 2024 19:52:34 +0000 (0:00:00.027) 0:00:28.042 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/manage_test_interface.yml:67 Tuesday 09 January 2024 19:52:34 +0000 (0:00:00.025) 0:00:28.067 ******* 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_typen6cwcb0x/tests/playbooks/tests_auto_gateway.yml:85 Tuesday 09 January 2024 19:52:34 +0000 (0:00:00.023) 0:00:28.091 ******* ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tests_auto_gateway.yml:89 Tuesday 09 January 2024 19:52:34 +0000 (0:00:00.106) 0:00:28.197 ******* included: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 09 January 2024 19:52:34 +0000 (0:00:00.081) 0:00:28.279 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 09 January 2024 19:52:34 +0000 (0:00:00.050) 0:00:28.329 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 09 January 2024 19:52:34 +0000 (0:00:00.066) 0:00:28.396 ******* included: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 19:52:34 +0000 (0:00:00.103) 0:00:28.499 ******* included: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 19:52:34 +0000 (0:00:00.058) 0:00:28.557 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003809", "end": "2024-01-09 19:52:35.007692", "rc": 0, "start": "2024-01-09 19:52:35.003883" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 19:52:35 +0000 (0:00:00.318) 0:00:28.876 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 19:52:35 +0000 (0:00:00.044) 0:00:28.920 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 09 January 2024 19:52:35 +0000 (0:00:00.056) 0:00:28.977 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/manage_test_interface.yml:24 Tuesday 09 January 2024 19:52:37 +0000 (0:00:02.563) 0:00:31.540 ******* 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.006284", "end": "2024-01-09 19:52:37.972202", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-01-09 19:52:37.965918" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004042", "end": "2024-01-09 19:52:38.230739", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-01-09 19:52:38.226697" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004263", "end": "2024-01-09 19:52:38.463835", "item": "ip link set veth0 up", "rc": 0, "start": "2024-01-09 19:52:38.459572" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/manage_test_interface.yml:33 Tuesday 09 January 2024 19:52:38 +0000 (0:00:00.774) 0:00:32.315 ******* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.022144", "end": "2024-01-09 19:52:38.762553", "rc": 0, "start": "2024-01-09 19:52:38.740409" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/manage_test_interface.yml:41 Tuesday 09 January 2024 19:52:38 +0000 (0:00:00.285) 0:00:32.600 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/manage_test_interface.yml:48 Tuesday 09 January 2024 19:52:38 +0000 (0:00:00.028) 0:00:32.629 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/manage_test_interface.yml:54 Tuesday 09 January 2024 19:52:38 +0000 (0:00:00.029) 0:00:32.658 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/manage_test_interface.yml:61 Tuesday 09 January 2024 19:52:38 +0000 (0:00:00.045) 0:00:32.704 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/manage_test_interface.yml:67 Tuesday 09 January 2024 19:52:38 +0000 (0:00:00.040) 0:00:32.744 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 19:52:38 +0000 (0:00:00.035) 0:00:32.780 ******* included: /WORKDIR/git-route_typen6cwcb0x/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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:52:39 +0000 (0:00:00.070) 0:00:32.851 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 19:52:39 +0000 (0:00:00.167) 0:00:33.019 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 19:52:39 +0000 (0:00:00.035) 0:00:33.055 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 19:52:39 +0000 (0:00:00.057) 0:00:33.112 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 19:52:41 +0000 (0:00:02.336) 0:00:35.449 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 19:52:42 +0000 (0:00:01.067) 0:00:36.517 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 19:52:42 +0000 (0:00:00.029) 0:00:36.546 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 19:52:42 +0000 (0:00:00.068) 0:00:36.614 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 19:52:42 +0000 (0:00:00.058) 0:00:36.673 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 19:52:43 +0000 (0:00:00.212) 0:00:36.885 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 19:52:43 +0000 (0:00:00.026) 0:00:36.911 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 19:52:43 +0000 (0:00:00.047) 0:00:36.959 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 19:52:43 +0000 (0:00:00.055) 0:00:37.014 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 19:52:43 +0000 (0:00:00.714) 0:00:37.728 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 19:52:43 +0000 (0:00:00.032) 0:00:37.760 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 19:52:44 +0000 (0:00:00.038) 0:00:37.799 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 19:52:44 +0000 (0:00:00.030) 0:00:37.829 ******* 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, 297d45cc-8616-4c68-9358-0139941928dd [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 297d45cc-8616-4c68-9358-0139941928dd (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 19:52:44 +0000 (0:00:00.511) 0:00:38.340 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 19:52:44 +0000 (0:00:00.027) 0:00:38.368 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 297d45cc-8616-4c68-9358-0139941928dd", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 297d45cc-8616-4c68-9358-0139941928dd (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 19:52:44 +0000 (0:00:00.052) 0:00:38.421 ******* 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, 297d45cc-8616-4c68-9358-0139941928dd\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 297d45cc-8616-4c68-9358-0139941928dd (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 297d45cc-8616-4c68-9358-0139941928dd", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 297d45cc-8616-4c68-9358-0139941928dd (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 19:52:44 +0000 (0:00:00.028) 0:00:38.450 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 19:52:44 +0000 (0:00:00.032) 0:00:38.482 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tests_auto_gateway.yml:110 Tuesday 09 January 2024 19:52:44 +0000 (0:00:00.222) 0:00:38.705 ******* included: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 19:52:44 +0000 (0:00:00.081) 0:00:38.786 ******* included: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 19:52:45 +0000 (0:00:00.054) 0:00:38.841 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704829957.9698398, "block_size": 4096, "blocks": 0, "ctime": 1704829957.9698398, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26961, "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": 1704829957.9698398, "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_typen6cwcb0x/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 19:52:45 +0000 (0:00:00.331) 0:00:39.173 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tests_auto_gateway.yml:112 Tuesday 09 January 2024 19:52:45 +0000 (0:00:00.042) 0:00:39.215 ******* included: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 19:52:45 +0000 (0:00:00.080) 0:00:39.295 ******* included: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 19:52:45 +0000 (0:00:00.065) 0:00:39.361 ******* 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_typen6cwcb0x/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 19:52:45 +0000 (0:00:00.030) 0:00:39.391 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 19:52:45 +0000 (0:00:00.323) 0:00:39.714 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 19:52:45 +0000 (0:00:00.023) 0:00:39.737 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.023074", "end": "2024-01-09 19:52:46.156801", "rc": 0, "start": "2024-01-09 19:52:46.133727" } STDOUT: veth0 /etc/NetworkManager/system-connections/veth0.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 19:52:46 +0000 (0:00:00.267) 0:00:40.005 ******* 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_typen6cwcb0x/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 19:52:46 +0000 (0:00:00.076) 0:00:40.081 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 19:52:46 +0000 (0:00:00.046) 0:00:40.128 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 19:52:46 +0000 (0:00:00.028) 0:00:40.156 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 19:52:46 +0000 (0:00:00.053) 0:00:40.210 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 19:52:46 +0000 (0:00:00.163) 0:00:40.373 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 19:52:46 +0000 (0:00:00.040) 0:00:40.414 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 19:52:46 +0000 (0:00:00.046) 0:00:40.461 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tests_auto_gateway.yml:116 Tuesday 09 January 2024 19:52:46 +0000 (0:00:00.033) 0:00:40.494 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003909", "end": "2024-01-09 19:52:46.939929", "rc": 0, "start": "2024-01-09 19:52:46.936020" } STDOUT: default via 10.31.8.1 dev eth0 proto dhcp src 10.31.11.62 metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.11.62 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_typen6cwcb0x/tests/playbooks/tests_auto_gateway.yml:120 Tuesday 09 January 2024 19:52:47 +0000 (0:00:00.311) 0:00:40.805 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tests_auto_gateway.yml:126 Tuesday 09 January 2024 19:52:47 +0000 (0:00:00.046) 0:00:40.851 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003931", "end": "2024-01-09 19:52:47.265700", "rc": 0, "start": "2024-01-09 19:52:47.261769" } STDOUT: 2001:db8::/64 dev veth0 proto kernel metric 101 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 1024 pref medium fe80::/64 dev veth0 proto kernel metric 1024 pref medium TASK [Assert default ipv6 route is absent] ************************************* task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tests_auto_gateway.yml:130 Tuesday 09 January 2024 19:52:47 +0000 (0:00:00.276) 0:00:41.128 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tests_auto_gateway.yml:137 Tuesday 09 January 2024 19:52:47 +0000 (0:00:00.065) 0:00:41.193 ******* ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 19:52:47 +0000 (0:00:00.074) 0:00:41.268 ******* included: /WORKDIR/git-route_typen6cwcb0x/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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:52:47 +0000 (0:00:00.078) 0:00:41.346 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 19:52:47 +0000 (0:00:00.099) 0:00:41.445 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 19:52:47 +0000 (0:00:00.046) 0:00:41.491 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 19:52:47 +0000 (0:00:00.076) 0:00:41.567 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 19:52:50 +0000 (0:00:02.278) 0:00:43.846 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 19:52:51 +0000 (0:00:00.966) 0:00:44.812 ******* ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 19:52:51 +0000 (0:00:00.043) 0:00:44.856 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 19:52:51 +0000 (0:00:00.053) 0:00:44.910 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 19:52:51 +0000 (0:00:00.051) 0:00:44.961 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 19:52:51 +0000 (0:00:00.089) 0:00:45.051 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 19:52:51 +0000 (0:00:00.054) 0:00:45.105 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 19:52:51 +0000 (0:00:00.053) 0:00:45.159 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 19:52:51 +0000 (0:00:00.032) 0:00:45.191 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 19:52:52 +0000 (0:00:00.626) 0:00:45.817 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 19:52:52 +0000 (0:00:00.088) 0:00:45.906 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 19:52:52 +0000 (0:00:00.072) 0:00:45.978 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 19:52:52 +0000 (0:00:00.089) 0:00:46.068 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 19:52:52 +0000 (0:00:00.476) 0:00:46.544 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 19:52:52 +0000 (0:00:00.059) 0:00:46.604 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 19:52:52 +0000 (0:00:00.063) 0:00:46.668 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 19:52:52 +0000 (0:00:00.083) 0:00:46.751 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 19:52:53 +0000 (0:00:00.048) 0:00:46.800 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tests_auto_gateway.yml:149 Tuesday 09 January 2024 19:52:53 +0000 (0:00:00.283) 0:00:47.083 ******* included: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 09 January 2024 19:52:53 +0000 (0:00:00.065) 0:00:47.148 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 09 January 2024 19:52:53 +0000 (0:00:00.038) 0:00:47.187 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 09 January 2024 19:52:53 +0000 (0:00:00.087) 0:00:47.274 ******* included: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 19:52:53 +0000 (0:00:00.087) 0:00:47.362 ******* included: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 19:52:53 +0000 (0:00:00.056) 0:00:47.418 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003775", "end": "2024-01-09 19:52:53.850950", "rc": 0, "start": "2024-01-09 19:52:53.847175" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 19:52:53 +0000 (0:00:00.276) 0:00:47.694 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 19:52:53 +0000 (0:00:00.026) 0:00:47.721 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 09 January 2024 19:52:53 +0000 (0:00:00.023) 0:00:47.745 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/manage_test_interface.yml:24 Tuesday 09 January 2024 19:52:56 +0000 (0:00:02.490) 0:00:50.236 ******* 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_typen6cwcb0x/tests/playbooks/tasks/manage_test_interface.yml:33 Tuesday 09 January 2024 19:52:56 +0000 (0:00:00.035) 0:00:50.271 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/manage_test_interface.yml:41 Tuesday 09 January 2024 19:52:56 +0000 (0:00:00.034) 0:00:50.306 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.020782", "end": "2024-01-09 19:52:56.757480", "rc": 0, "start": "2024-01-09 19:52:56.736698" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/manage_test_interface.yml:48 Tuesday 09 January 2024 19:52:56 +0000 (0:00:00.341) 0:00:50.647 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/manage_test_interface.yml:54 Tuesday 09 January 2024 19:52:56 +0000 (0:00:00.056) 0:00:50.704 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/manage_test_interface.yml:61 Tuesday 09 January 2024 19:52:56 +0000 (0:00:00.040) 0:00:50.744 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/manage_test_interface.yml:67 Tuesday 09 January 2024 19:52:56 +0000 (0:00:00.026) 0:00:50.771 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=125 changed=4 unreachable=0 failed=0 skipped=102 rescued=0 ignored=0 Tuesday 09 January 2024 19:52:57 +0000 (0:00:00.036) 0:00:50.807 ******* =============================================================================== Install iproute --------------------------------------------------------- 2.64s /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.56s /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.49s /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.45s /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Check which services are running ----------- 2.34s /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.29s /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.28s /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.24s /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Gather current interface info ------------------------------------------- 1.32s /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_current_interfaces.yml:3 linux-system-roles.network : Enable and start NetworkManager ------------ 1.29s /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Check which packages are installed --------- 1.22s /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.12s /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Configure networking connection profiles --- 1.10s /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Check which packages are installed --------- 1.07s /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Configure networking connection profiles --- 1.03s /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:122 Gathering Facts --------------------------------------------------------- 1.01s /WORKDIR/git-route_typen6cwcb0x/tests/tests_auto_gateway_nm.yml:6 ------------- linux-system-roles.network : Check which packages are installed --------- 0.97s /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Enable and start NetworkManager ------------ 0.89s /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:85 Create veth interface veth0 --------------------------------------------- 0.82s /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/manage_test_interface.yml:24 Gathering Facts --------------------------------------------------------- 0.82s /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tests_auto_gateway.yml:3 ------ ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---