# 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_type_qla6794/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_type_qla6794/tests/tests_auto_gateway_nm.yml:5 Tuesday 02 January 2024 19:32:49 +0000 (0:00:00.012) 0:00:00.012 ******* ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_type_qla6794/tests/tests_auto_gateway_nm.yml:9 Tuesday 02 January 2024 19:32:55 +0000 (0:00:05.694) 0:00:05.707 ******* included: /WORKDIR/git-route_type_qla6794/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_type_qla6794/tests/tasks/el_repo_setup.yml:3 Tuesday 02 January 2024 19:32:55 +0000 (0:00:00.010) 0:00:05.717 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_type_qla6794/tests/tasks/el_repo_setup.yml:19 Tuesday 02 January 2024 19:32:55 +0000 (0:00:00.338) 0:00:06.056 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_type_qla6794/tests/tasks/el_repo_setup.yml:24 Tuesday 02 January 2024 19:32:56 +0000 (0:00:00.279) 0:00:06.335 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_type_qla6794/tests/tasks/el_repo_setup.yml:28 Tuesday 02 January 2024 19:32:56 +0000 (0:00:00.048) 0:00:06.384 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_type_qla6794/tests/tasks/el_repo_setup.yml:53 Tuesday 02 January 2024 19:32:56 +0000 (0:00:00.019) 0:00:06.403 ******* included: /WORKDIR/git-route_type_qla6794/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-route_type_qla6794/tests/tasks/enable_epel.yml:8 Tuesday 02 January 2024 19:32:56 +0000 (0:00:00.033) 0:00:06.437 ******* ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "rc": 0 } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-route_type_qla6794/tests/tasks/enable_epel.yml:24 Tuesday 02 January 2024 19:32:56 +0000 (0:00:00.263) 0:00:06.700 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-route_type_qla6794/tests/tasks/enable_epel.yml:30 Tuesday 02 January 2024 19:32:56 +0000 (0:00:00.010) 0:00:06.711 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_type_qla6794/tests/tasks/enable_epel.yml:35 Tuesday 02 January 2024 19:32:56 +0000 (0:00:00.011) 0:00:06.722 ******* ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:01.251574", "end": "2024-01-02 19:32:58.054958", "rc": 0, "start": "2024-01-02 19:32:56.803384" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_type_qla6794/tests/tasks/enable_epel.yml:40 Tuesday 02 January 2024 19:32:58 +0000 (0:00:01.441) 0:00:08.164 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-route_type_qla6794/tests/tests_auto_gateway_nm.yml:11 Tuesday 02 January 2024 19:32:58 +0000 (0:00:00.009) 0:00:08.174 ******* 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_type_qla6794/tests/playbooks/tests_auto_gateway.yml:3 Tuesday 02 January 2024 19:32:58 +0000 (0:00:00.011) 0:00:08.186 ******* ok: [sut] META: ran handlers TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tests_auto_gateway.yml:9 Tuesday 02 January 2024 19:32:58 +0000 (0:00:00.565) 0:00:08.751 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 02 January 2024 19:32:58 +0000 (0:00:00.022) 0:00:08.774 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 02 January 2024 19:32:58 +0000 (0:00:00.013) 0:00:08.788 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003358", "end": "2024-01-02 19:32:58.867331", "rc": 0, "start": "2024-01-02 19:32:58.863973" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 02 January 2024 19:32:58 +0000 (0:00:00.188) 0:00:08.976 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 02 January 2024 19:32:58 +0000 (0:00:00.012) 0:00:08.988 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tests_auto_gateway.yml:11 Tuesday 02 January 2024 19:32:58 +0000 (0:00:00.010) 0:00:08.999 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 02 January 2024 19:32:58 +0000 (0:00:00.035) 0:00:09.034 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 02 January 2024 19:32:58 +0000 (0:00:00.014) 0:00:09.048 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 02 January 2024 19:32:58 +0000 (0:00:00.010) 0:00:09.059 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 02 January 2024 19:32:58 +0000 (0:00:00.015) 0:00:09.075 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 02 January 2024 19:32:58 +0000 (0:00:00.013) 0:00:09.089 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003603", "end": "2024-01-02 19:32:59.168178", "rc": 0, "start": "2024-01-02 19:32:59.164575" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 02 January 2024 19:32:59 +0000 (0:00:00.187) 0:00:09.276 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 02 January 2024 19:32:59 +0000 (0:00:00.012) 0:00:09.289 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 02 January 2024 19:32:59 +0000 (0:00:00.010) 0:00:09.299 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:24 Tuesday 02 January 2024 19:33:02 +0000 (0:00:03.471) 0:00:12.771 ******* 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.014251", "end": "2024-01-02 19:33:02.866105", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-01-02 19:33:02.851854" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004139", "end": "2024-01-02 19:33:03.088099", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-01-02 19:33:03.083960" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004669", "end": "2024-01-02 19:33:03.283369", "item": "ip link set veth0 up", "rc": 0, "start": "2024-01-02 19:33:03.278700" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:33 Tuesday 02 January 2024 19:33:03 +0000 (0:00:00.621) 0:00:13.393 ******* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.160313", "end": "2024-01-02 19:33:03.630800", "rc": 0, "start": "2024-01-02 19:33:03.470487" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:41 Tuesday 02 January 2024 19:33:03 +0000 (0:00:00.349) 0:00:13.743 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:48 Tuesday 02 January 2024 19:33:03 +0000 (0:00:00.012) 0:00:13.755 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:54 Tuesday 02 January 2024 19:33:03 +0000 (0:00:00.011) 0:00:13.767 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:61 Tuesday 02 January 2024 19:33:03 +0000 (0:00:00.012) 0:00:13.779 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:67 Tuesday 02 January 2024 19:33:03 +0000 (0:00:00.012) 0:00:13.791 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tests_auto_gateway.yml:15 Tuesday 02 January 2024 19:33:03 +0000 (0:00:00.010) 0:00:13.802 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 02 January 2024 19:33:03 +0000 (0:00:00.028) 0:00:13.831 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 02 January 2024 19:33:03 +0000 (0:00:00.014) 0:00:13.846 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704223982.8557808, "block_size": 4096, "blocks": 0, "ctime": 1704223982.8557808, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 23472, "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": 1704223982.8557808, "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_type_qla6794/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 02 January 2024 19:33:03 +0000 (0:00:00.194) 0:00:14.040 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tests_auto_gateway.yml:17 Tuesday 02 January 2024 19:33:03 +0000 (0:00:00.012) 0:00:14.052 ******* ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 02 January 2024 19:33:03 +0000 (0:00:00.010) 0:00:14.062 ******* included: /WORKDIR/git-route_type_qla6794/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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 02 January 2024 19:33:04 +0000 (0:00:00.066) 0:00:14.129 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 02 January 2024 19:33:04 +0000 (0:00:00.025) 0:00:14.155 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 02 January 2024 19:33:04 +0000 (0:00:00.032) 0:00:14.187 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 02 January 2024 19:33:04 +0000 (0:00:00.022) 0:00:14.210 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 02 January 2024 19:33:05 +0000 (0:00:01.643) 0:00:15.853 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 02 January 2024 19:33:07 +0000 (0:00:01.522) 0:00:17.376 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 02 January 2024 19:33:07 +0000 (0:00:00.024) 0:00:17.400 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 02 January 2024 19:33:07 +0000 (0:00:00.022) 0:00:17.422 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 02 January 2024 19:33:07 +0000 (0:00:00.022) 0:00:17.445 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 02 January 2024 19:33:07 +0000 (0:00:00.044) 0:00:17.489 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 02 January 2024 19:33:07 +0000 (0:00:00.022) 0:00:17.512 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 02 January 2024 19:33:07 +0000 (0:00:00.022) 0:00:17.535 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 02 January 2024 19:33:07 +0000 (0:00:00.025) 0:00:17.560 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 02 January 2024 19:33:07 +0000 (0:00:00.488) 0:00:18.049 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 02 January 2024 19:33:07 +0000 (0:00:00.027) 0:00:18.076 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 02 January 2024 19:33:08 +0000 (0:00:00.021) 0:00:18.098 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 02 January 2024 19:33:08 +0000 (0:00:00.026) 0:00:18.124 ******* 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, 9f6d8884-e63c-4f75-bc0c-2ac317b1b526 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 9f6d8884-e63c-4f75-bc0c-2ac317b1b526 (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 02 January 2024 19:33:08 +0000 (0:00:00.502) 0:00:18.627 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 02 January 2024 19:33:08 +0000 (0:00:00.056) 0:00:18.683 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 9f6d8884-e63c-4f75-bc0c-2ac317b1b526", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 9f6d8884-e63c-4f75-bc0c-2ac317b1b526 (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 02 January 2024 19:33:08 +0000 (0:00:00.025) 0:00:18.709 ******* 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, 9f6d8884-e63c-4f75-bc0c-2ac317b1b526\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 9f6d8884-e63c-4f75-bc0c-2ac317b1b526 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 9f6d8884-e63c-4f75-bc0c-2ac317b1b526", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 9f6d8884-e63c-4f75-bc0c-2ac317b1b526 (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 02 January 2024 19:33:08 +0000 (0:00:00.023) 0:00:18.732 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 02 January 2024 19:33:08 +0000 (0:00:00.022) 0:00:18.754 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tests_auto_gateway.yml:42 Tuesday 02 January 2024 19:33:08 +0000 (0:00:00.252) 0:00:19.007 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 02 January 2024 19:33:08 +0000 (0:00:00.056) 0:00:19.064 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 02 January 2024 19:33:09 +0000 (0:00:00.035) 0:00:19.099 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704223982.8557808, "block_size": 4096, "blocks": 0, "ctime": 1704223982.8557808, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 23472, "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": 1704223982.8557808, "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_type_qla6794/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 02 January 2024 19:33:09 +0000 (0:00:00.215) 0:00:19.315 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tests_auto_gateway.yml:44 Tuesday 02 January 2024 19:33:09 +0000 (0:00:00.026) 0:00:19.341 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 02 January 2024 19:33:09 +0000 (0:00:00.050) 0:00:19.392 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 02 January 2024 19:33:09 +0000 (0:00:00.076) 0:00:19.468 ******* 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_type_qla6794/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 02 January 2024 19:33:09 +0000 (0:00:00.039) 0:00:19.507 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704223988.4817672, "block_size": 4096, "blocks": 8, "ctime": 1704223988.4407678, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5533376, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704223988.4407678, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 396, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 02 January 2024 19:33:09 +0000 (0:00:00.210) 0:00:19.718 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 02 January 2024 19:33:09 +0000 (0:00:00.026) 0:00:19.745 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.021103", "end": "2024-01-02 19:33:09.841262", "rc": 0, "start": "2024-01-02 19:33:09.820159" } STDOUT: veth0 /etc/sysconfig/network-scripts/ifcfg-veth0 TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 02 January 2024 19:33:09 +0000 (0:00:00.216) 0:00:19.961 ******* 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_type_qla6794/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 02 January 2024 19:33:09 +0000 (0:00:00.025) 0:00:19.986 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 02 January 2024 19:33:09 +0000 (0:00:00.024) 0:00:20.011 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 02 January 2024 19:33:09 +0000 (0:00:00.024) 0:00:20.035 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 02 January 2024 19:33:09 +0000 (0:00:00.023) 0:00:20.059 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 02 January 2024 19:33:09 +0000 (0:00:00.023) 0:00:20.082 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 02 January 2024 19:33:10 +0000 (0:00:00.025) 0:00:20.107 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 02 January 2024 19:33:10 +0000 (0:00:00.024) 0:00:20.132 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tests_auto_gateway.yml:48 Tuesday 02 January 2024 19:33:10 +0000 (0:00:00.023) 0:00:20.155 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003766", "end": "2024-01-02 19:33:10.236880", "rc": 0, "start": "2024-01-02 19:33:10.233114" } STDOUT: default via 10.31.44.1 dev eth0 proto dhcp src 10.31.47.20 metric 100 default via 203.0.113.1 dev veth0 proto static metric 65535 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.47.20 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_type_qla6794/tests/playbooks/tests_auto_gateway.yml:52 Tuesday 02 January 2024 19:33:10 +0000 (0:00:00.203) 0:00:20.359 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tests_auto_gateway.yml:58 Tuesday 02 January 2024 19:33:10 +0000 (0:00:00.088) 0:00:20.447 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.004062", "end": "2024-01-02 19:33:10.545337", "rc": 0, "start": "2024-01-02 19:33:10.541275" } STDOUT: ::1 dev lo proto kernel metric 256 pref medium 2001:db8::/64 dev veth0 proto kernel metric 101 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium fe80::/64 dev veth0 proto kernel metric 1024 pref medium default via 2001:db8::1 dev veth0 proto static metric 101 pref medium TASK [Assert default ipv6 route is present] ************************************ task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tests_auto_gateway.yml:62 Tuesday 02 January 2024 19:33:10 +0000 (0:00:00.284) 0:00:20.732 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tests_auto_gateway.yml:69 Tuesday 02 January 2024 19:33:10 +0000 (0:00:00.051) 0:00:20.783 ******* ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 02 January 2024 19:33:10 +0000 (0:00:00.029) 0:00:20.813 ******* included: /WORKDIR/git-route_type_qla6794/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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 02 January 2024 19:33:10 +0000 (0:00:00.069) 0:00:20.883 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 02 January 2024 19:33:10 +0000 (0:00:00.030) 0:00:20.913 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 02 January 2024 19:33:10 +0000 (0:00:00.023) 0:00:20.937 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 02 January 2024 19:33:10 +0000 (0:00:00.022) 0:00:20.959 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 02 January 2024 19:33:12 +0000 (0:00:01.454) 0:00:22.414 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 02 January 2024 19:33:13 +0000 (0:00:01.341) 0:00:23.755 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 02 January 2024 19:33:13 +0000 (0:00:00.024) 0:00:23.780 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 02 January 2024 19:33:13 +0000 (0:00:00.023) 0:00:23.803 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 02 January 2024 19:33:13 +0000 (0:00:00.023) 0:00:23.827 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 02 January 2024 19:33:13 +0000 (0:00:00.044) 0:00:23.872 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 02 January 2024 19:33:13 +0000 (0:00:00.021) 0:00:23.893 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 02 January 2024 19:33:13 +0000 (0:00:00.022) 0:00:23.915 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 02 January 2024 19:33:13 +0000 (0:00:00.029) 0:00:23.945 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 02 January 2024 19:33:14 +0000 (0:00:00.347) 0:00:24.293 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 02 January 2024 19:33:14 +0000 (0:00:00.065) 0:00:24.358 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 02 January 2024 19:33:14 +0000 (0:00:00.038) 0:00:24.397 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 02 January 2024 19:33:14 +0000 (0:00:00.027) 0:00:24.425 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 02 January 2024 19:33:14 +0000 (0:00:00.403) 0:00:24.828 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 02 January 2024 19:33:14 +0000 (0:00:00.021) 0:00:24.850 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 02 January 2024 19:33:14 +0000 (0:00:00.028) 0:00:24.878 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 02 January 2024 19:33:14 +0000 (0:00:00.032) 0:00:24.911 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 02 January 2024 19:33:14 +0000 (0:00:00.022) 0:00:24.933 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tests_auto_gateway.yml:81 Tuesday 02 January 2024 19:33:15 +0000 (0:00:00.192) 0:00:25.125 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 02 January 2024 19:33:15 +0000 (0:00:00.052) 0:00:25.178 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 02 January 2024 19:33:15 +0000 (0:00:00.023) 0:00:25.201 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 02 January 2024 19:33:15 +0000 (0:00:00.021) 0:00:25.223 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 02 January 2024 19:33:15 +0000 (0:00:00.070) 0:00:25.294 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 02 January 2024 19:33:15 +0000 (0:00:00.036) 0:00:25.331 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003612", "end": "2024-01-02 19:33:15.411773", "rc": 0, "start": "2024-01-02 19:33:15.408161" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 02 January 2024 19:33:15 +0000 (0:00:00.200) 0:00:25.532 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 02 January 2024 19:33:15 +0000 (0:00:00.024) 0:00:25.556 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 02 January 2024 19:33:15 +0000 (0:00:00.024) 0:00:25.581 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:24 Tuesday 02 January 2024 19:33:18 +0000 (0:00:03.094) 0:00:28.675 ******* 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_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:33 Tuesday 02 January 2024 19:33:18 +0000 (0:00:00.032) 0:00:28.708 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:41 Tuesday 02 January 2024 19:33:18 +0000 (0:00:00.025) 0:00:28.733 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.012239", "end": "2024-01-02 19:33:18.828988", "rc": 0, "start": "2024-01-02 19:33:18.816749" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:48 Tuesday 02 January 2024 19:33:18 +0000 (0:00:00.228) 0:00:28.961 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:54 Tuesday 02 January 2024 19:33:18 +0000 (0:00:00.025) 0:00:28.986 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:61 Tuesday 02 January 2024 19:33:18 +0000 (0:00:00.025) 0:00:29.012 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:67 Tuesday 02 January 2024 19:33:18 +0000 (0:00:00.023) 0:00:29.036 ******* 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_type_qla6794/tests/playbooks/tests_auto_gateway.yml:85 Tuesday 02 January 2024 19:33:18 +0000 (0:00:00.022) 0:00:29.059 ******* ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tests_auto_gateway.yml:89 Tuesday 02 January 2024 19:33:18 +0000 (0:00:00.022) 0:00:29.081 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 02 January 2024 19:33:19 +0000 (0:00:00.053) 0:00:29.134 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 02 January 2024 19:33:19 +0000 (0:00:00.025) 0:00:29.160 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 02 January 2024 19:33:19 +0000 (0:00:00.022) 0:00:29.182 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 02 January 2024 19:33:19 +0000 (0:00:00.046) 0:00:29.229 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 02 January 2024 19:33:19 +0000 (0:00:00.067) 0:00:29.296 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003494", "end": "2024-01-02 19:33:19.376341", "rc": 0, "start": "2024-01-02 19:33:19.372847" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 02 January 2024 19:33:19 +0000 (0:00:00.221) 0:00:29.517 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 02 January 2024 19:33:19 +0000 (0:00:00.032) 0:00:29.550 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 02 January 2024 19:33:19 +0000 (0:00:00.025) 0:00:29.575 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:24 Tuesday 02 January 2024 19:33:22 +0000 (0:00:03.037) 0:00:32.613 ******* 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.011369", "end": "2024-01-02 19:33:22.742372", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-01-02 19:33:22.731003" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003981", "end": "2024-01-02 19:33:22.962074", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-01-02 19:33:22.958093" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004620", "end": "2024-01-02 19:33:23.150572", "item": "ip link set veth0 up", "rc": 0, "start": "2024-01-02 19:33:23.145952" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:33 Tuesday 02 January 2024 19:33:23 +0000 (0:00:00.665) 0:00:33.278 ******* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.024295", "end": "2024-01-02 19:33:23.416961", "rc": 0, "start": "2024-01-02 19:33:23.392666" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:41 Tuesday 02 January 2024 19:33:23 +0000 (0:00:00.276) 0:00:33.555 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:48 Tuesday 02 January 2024 19:33:23 +0000 (0:00:00.104) 0:00:33.659 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:54 Tuesday 02 January 2024 19:33:23 +0000 (0:00:00.039) 0:00:33.699 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:61 Tuesday 02 January 2024 19:33:23 +0000 (0:00:00.030) 0:00:33.729 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:67 Tuesday 02 January 2024 19:33:23 +0000 (0:00:00.046) 0:00:33.776 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 02 January 2024 19:33:23 +0000 (0:00:00.027) 0:00:33.804 ******* included: /WORKDIR/git-route_type_qla6794/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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 02 January 2024 19:33:23 +0000 (0:00:00.044) 0:00:33.849 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 02 January 2024 19:33:23 +0000 (0:00:00.028) 0:00:33.877 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 02 January 2024 19:33:23 +0000 (0:00:00.050) 0:00:33.928 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 02 January 2024 19:33:23 +0000 (0:00:00.029) 0:00:33.957 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 02 January 2024 19:33:25 +0000 (0:00:01.509) 0:00:35.467 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 02 January 2024 19:33:26 +0000 (0:00:01.357) 0:00:36.825 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 02 January 2024 19:33:26 +0000 (0:00:00.023) 0:00:36.848 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 02 January 2024 19:33:26 +0000 (0:00:00.022) 0:00:36.871 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 02 January 2024 19:33:26 +0000 (0:00:00.023) 0:00:36.894 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 02 January 2024 19:33:26 +0000 (0:00:00.044) 0:00:36.938 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 02 January 2024 19:33:26 +0000 (0:00:00.023) 0:00:36.961 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 02 January 2024 19:33:26 +0000 (0:00:00.022) 0:00:36.984 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 02 January 2024 19:33:26 +0000 (0:00:00.025) 0:00:37.009 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 02 January 2024 19:33:27 +0000 (0:00:00.405) 0:00:37.415 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 02 January 2024 19:33:27 +0000 (0:00:00.037) 0:00:37.452 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 02 January 2024 19:33:27 +0000 (0:00:00.042) 0:00:37.494 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 02 January 2024 19:33:27 +0000 (0:00:00.040) 0:00:37.535 ******* 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, 7080fa35-6162-439c-bead-77b1695e664d [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 7080fa35-6162-439c-bead-77b1695e664d (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 02 January 2024 19:33:27 +0000 (0:00:00.397) 0:00:37.932 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 02 January 2024 19:33:27 +0000 (0:00:00.023) 0:00:37.956 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 7080fa35-6162-439c-bead-77b1695e664d", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 7080fa35-6162-439c-bead-77b1695e664d (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 02 January 2024 19:33:27 +0000 (0:00:00.025) 0:00:37.982 ******* 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, 7080fa35-6162-439c-bead-77b1695e664d\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 7080fa35-6162-439c-bead-77b1695e664d (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 7080fa35-6162-439c-bead-77b1695e664d", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 7080fa35-6162-439c-bead-77b1695e664d (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 02 January 2024 19:33:27 +0000 (0:00:00.026) 0:00:38.008 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 02 January 2024 19:33:27 +0000 (0:00:00.023) 0:00:38.032 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tests_auto_gateway.yml:110 Tuesday 02 January 2024 19:33:28 +0000 (0:00:00.197) 0:00:38.230 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 02 January 2024 19:33:28 +0000 (0:00:00.054) 0:00:38.284 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 02 January 2024 19:33:28 +0000 (0:00:00.041) 0:00:38.325 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704224002.7348404, "block_size": 4096, "blocks": 0, "ctime": 1704224002.7348404, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 24058, "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": 1704224002.7348404, "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_type_qla6794/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 02 January 2024 19:33:28 +0000 (0:00:00.197) 0:00:38.523 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tests_auto_gateway.yml:112 Tuesday 02 January 2024 19:33:28 +0000 (0:00:00.025) 0:00:38.548 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 02 January 2024 19:33:28 +0000 (0:00:00.052) 0:00:38.601 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 02 January 2024 19:33:28 +0000 (0:00:00.036) 0:00:38.638 ******* 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_type_qla6794/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 02 January 2024 19:33:28 +0000 (0:00:00.022) 0:00:38.661 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704224007.7904785, "block_size": 4096, "blocks": 8, "ctime": 1704224007.749479, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5533376, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704224007.749479, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 323, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 02 January 2024 19:33:28 +0000 (0:00:00.196) 0:00:38.858 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 02 January 2024 19:33:28 +0000 (0:00:00.023) 0:00:38.881 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.022539", "end": "2024-01-02 19:33:28.982448", "rc": 0, "start": "2024-01-02 19:33:28.959909" } STDOUT: veth0 /etc/sysconfig/network-scripts/ifcfg-veth0 TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 02 January 2024 19:33:29 +0000 (0:00:00.222) 0:00:39.104 ******* 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_type_qla6794/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 02 January 2024 19:33:29 +0000 (0:00:00.025) 0:00:39.129 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 02 January 2024 19:33:29 +0000 (0:00:00.023) 0:00:39.153 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 02 January 2024 19:33:29 +0000 (0:00:00.024) 0:00:39.177 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 02 January 2024 19:33:29 +0000 (0:00:00.073) 0:00:39.251 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 02 January 2024 19:33:29 +0000 (0:00:00.025) 0:00:39.277 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 02 January 2024 19:33:29 +0000 (0:00:00.026) 0:00:39.304 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 02 January 2024 19:33:29 +0000 (0:00:00.027) 0:00:39.331 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tests_auto_gateway.yml:116 Tuesday 02 January 2024 19:33:29 +0000 (0:00:00.025) 0:00:39.356 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003938", "end": "2024-01-02 19:33:29.437916", "rc": 0, "start": "2024-01-02 19:33:29.433978" } STDOUT: default via 10.31.44.1 dev eth0 proto dhcp src 10.31.47.20 metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.47.20 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_type_qla6794/tests/playbooks/tests_auto_gateway.yml:120 Tuesday 02 January 2024 19:33:29 +0000 (0:00:00.202) 0:00:39.559 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tests_auto_gateway.yml:126 Tuesday 02 January 2024 19:33:29 +0000 (0:00:00.033) 0:00:39.592 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003989", "end": "2024-01-02 19:33:29.674627", "rc": 0, "start": "2024-01-02 19:33:29.670638" } STDOUT: ::1 dev lo proto kernel metric 256 pref medium 2001:db8::/64 dev veth0 proto kernel metric 101 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium fe80::/64 dev veth0 proto kernel metric 1024 pref medium TASK [Assert default ipv6 route is absent] ************************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tests_auto_gateway.yml:130 Tuesday 02 January 2024 19:33:29 +0000 (0:00:00.202) 0:00:39.795 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tests_auto_gateway.yml:137 Tuesday 02 January 2024 19:33:29 +0000 (0:00:00.026) 0:00:39.821 ******* ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 02 January 2024 19:33:29 +0000 (0:00:00.021) 0:00:39.843 ******* included: /WORKDIR/git-route_type_qla6794/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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 02 January 2024 19:33:29 +0000 (0:00:00.040) 0:00:39.883 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 02 January 2024 19:33:29 +0000 (0:00:00.028) 0:00:39.912 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 02 January 2024 19:33:29 +0000 (0:00:00.022) 0:00:39.934 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 02 January 2024 19:33:29 +0000 (0:00:00.025) 0:00:39.959 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 02 January 2024 19:33:31 +0000 (0:00:01.556) 0:00:41.515 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 02 January 2024 19:33:32 +0000 (0:00:01.308) 0:00:42.824 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 02 January 2024 19:33:32 +0000 (0:00:00.029) 0:00:42.853 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 02 January 2024 19:33:32 +0000 (0:00:00.023) 0:00:42.876 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 02 January 2024 19:33:32 +0000 (0:00:00.069) 0:00:42.946 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 02 January 2024 19:33:32 +0000 (0:00:00.051) 0:00:42.998 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 02 January 2024 19:33:32 +0000 (0:00:00.036) 0:00:43.034 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 02 January 2024 19:33:32 +0000 (0:00:00.025) 0:00:43.059 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 02 January 2024 19:33:32 +0000 (0:00:00.025) 0:00:43.085 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 02 January 2024 19:33:33 +0000 (0:00:00.355) 0:00:43.440 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 02 January 2024 19:33:33 +0000 (0:00:00.026) 0:00:43.467 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 02 January 2024 19:33:33 +0000 (0:00:00.020) 0:00:43.488 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 02 January 2024 19:33:33 +0000 (0:00:00.021) 0:00:43.510 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 02 January 2024 19:33:33 +0000 (0:00:00.412) 0:00:43.922 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 02 January 2024 19:33:33 +0000 (0:00:00.030) 0:00:43.952 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 02 January 2024 19:33:33 +0000 (0:00:00.023) 0:00:43.976 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 02 January 2024 19:33:33 +0000 (0:00:00.023) 0:00:43.999 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 02 January 2024 19:33:33 +0000 (0:00:00.023) 0:00:44.022 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tests_auto_gateway.yml:149 Tuesday 02 January 2024 19:33:34 +0000 (0:00:00.241) 0:00:44.264 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 02 January 2024 19:33:34 +0000 (0:00:00.056) 0:00:44.321 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 02 January 2024 19:33:34 +0000 (0:00:00.033) 0:00:44.354 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 02 January 2024 19:33:34 +0000 (0:00:00.024) 0:00:44.378 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 02 January 2024 19:33:34 +0000 (0:00:00.040) 0:00:44.419 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 02 January 2024 19:33:34 +0000 (0:00:00.035) 0:00:44.454 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003453", "end": "2024-01-02 19:33:34.537024", "rc": 0, "start": "2024-01-02 19:33:34.533571" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 02 January 2024 19:33:34 +0000 (0:00:00.212) 0:00:44.667 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 02 January 2024 19:33:34 +0000 (0:00:00.024) 0:00:44.692 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 02 January 2024 19:33:34 +0000 (0:00:00.024) 0:00:44.716 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:24 Tuesday 02 January 2024 19:33:37 +0000 (0:00:02.996) 0:00:47.712 ******* 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_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:33 Tuesday 02 January 2024 19:33:37 +0000 (0:00:00.036) 0:00:47.749 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:41 Tuesday 02 January 2024 19:33:37 +0000 (0:00:00.026) 0:00:47.776 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.009190", "end": "2024-01-02 19:33:37.864450", "rc": 0, "start": "2024-01-02 19:33:37.855260" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:48 Tuesday 02 January 2024 19:33:37 +0000 (0:00:00.212) 0:00:47.989 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:54 Tuesday 02 January 2024 19:33:37 +0000 (0:00:00.037) 0:00:48.026 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:61 Tuesday 02 January 2024 19:33:37 +0000 (0:00:00.029) 0:00:48.055 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:67 Tuesday 02 January 2024 19:33:37 +0000 (0:00:00.026) 0:00:48.082 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=129 changed=4 unreachable=0 failed=0 skipped=98 rescued=0 ignored=0 Tuesday 02 January 2024 19:33:38 +0000 (0:00:00.009) 0:00:48.092 ******* =============================================================================== Gathering Facts --------------------------------------------------------- 5.69s /WORKDIR/git-route_type_qla6794/tests/tests_auto_gateway_nm.yml:5 ------------- Install iproute --------------------------------------------------------- 3.47s /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 3.09s /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 3.04s /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 3.00s /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Check which services are running ----------- 1.64s /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.56s /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.52s /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which services are running ----------- 1.51s /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.45s /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Enable EPEL 8 ----------------------------------------------------------- 1.44s /WORKDIR/git-route_type_qla6794/tests/tasks/enable_epel.yml:35 ---------------- linux-system-roles.network : Check which packages are installed --------- 1.36s /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.34s /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.31s /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Configure networking connection profiles --- 0.82s /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable and start NetworkManager ------------ 0.70s /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:85 Create veth interface veth0 --------------------------------------------- 0.67s /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:24 Create veth interface veth0 --------------------------------------------- 0.62s /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:24 Gathering Facts --------------------------------------------------------- 0.57s /WORKDIR/git-route_type_qla6794/tests/playbooks/tests_auto_gateway.yml:3 ------ linux-system-roles.network : Configure networking connection profiles --- 0.50s /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:122 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the dnf module rather than running 'dnf'. If you need to use command because dnf is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ---^---^---^---^---^---