# 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_type7sf6t1a3/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_type7sf6t1a3/tests/tests_auto_gateway_nm.yml:6 Tuesday 09 January 2024 19:48:30 +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_type7sf6t1a3/tests/tests_auto_gateway_nm.yml:9 Tuesday 09 January 2024 19:48:31 +0000 (0:00:00.710) 0:00:00.722 ******* included: /WORKDIR/git-route_type7sf6t1a3/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_type7sf6t1a3/tests/tasks/el_repo_setup.yml:3 Tuesday 09 January 2024 19:48:31 +0000 (0:00:00.010) 0:00:00.733 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/tasks/el_repo_setup.yml:19 Tuesday 09 January 2024 19:48:31 +0000 (0:00:00.359) 0:00:01.093 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/tasks/el_repo_setup.yml:24 Tuesday 09 January 2024 19:48:32 +0000 (0:00:00.322) 0:00:01.416 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/tasks/el_repo_setup.yml:28 Tuesday 09 January 2024 19:48:32 +0000 (0:00:00.046) 0:00:01.462 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/tasks/el_repo_setup.yml:53 Tuesday 09 January 2024 19:48:32 +0000 (0:00:00.026) 0:00:01.489 ******* included: /WORKDIR/git-route_type7sf6t1a3/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 9] *********************************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/tasks/enable_epel.yml:8 Tuesday 09 January 2024 19:48:32 +0000 (0:00:00.067) 0:00:01.556 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/tasks/enable_epel.yml:24 Tuesday 09 January 2024 19:48:32 +0000 (0:00:00.025) 0:00:01.581 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/tasks/enable_epel.yml:30 Tuesday 09 January 2024 19:48:32 +0000 (0:00:00.010) 0:00:01.592 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/tasks/enable_epel.yml:35 Tuesday 09 January 2024 19:48:32 +0000 (0:00:00.014) 0:00:01.606 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/tasks/enable_epel.yml:40 Tuesday 09 January 2024 19:48:32 +0000 (0:00:00.013) 0:00:01.620 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/tests_auto_gateway_nm.yml:11 Tuesday 09 January 2024 19:48:32 +0000 (0:00:00.034) 0:00:01.654 ******* 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_type7sf6t1a3/tests/playbooks/tests_auto_gateway.yml:3 Tuesday 09 January 2024 19:48:32 +0000 (0:00:00.014) 0:00:01.669 ******* ok: [sut] META: ran handlers TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tests_auto_gateway.yml:9 Tuesday 09 January 2024 19:48:32 +0000 (0:00:00.512) 0:00:02.182 ******* included: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 19:48:33 +0000 (0:00:00.057) 0:00:02.239 ******* included: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 19:48:33 +0000 (0:00:00.017) 0:00:02.256 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003243", "end": "2024-01-09 19:48:33.351386", "rc": 0, "start": "2024-01-09 19:48:33.348143" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 19:48:33 +0000 (0:00:00.328) 0:00:02.585 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 19:48:33 +0000 (0:00:00.013) 0:00:02.599 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tests_auto_gateway.yml:11 Tuesday 09 January 2024 19:48:33 +0000 (0:00:00.024) 0:00:02.624 ******* included: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 09 January 2024 19:48:33 +0000 (0:00:00.081) 0:00:02.705 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 09 January 2024 19:48:33 +0000 (0:00:00.030) 0:00:02.736 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 09 January 2024 19:48:33 +0000 (0:00:00.015) 0:00:02.751 ******* included: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 19:48:33 +0000 (0:00:00.046) 0:00:02.798 ******* included: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 19:48:33 +0000 (0:00:00.031) 0:00:02.830 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003219", "end": "2024-01-09 19:48:33.808886", "rc": 0, "start": "2024-01-09 19:48:33.805667" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 19:48:33 +0000 (0:00:00.210) 0:00:03.040 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 19:48:33 +0000 (0:00:00.033) 0:00:03.073 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 09 January 2024 19:48:33 +0000 (0:00:00.012) 0:00:03.085 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/manage_test_interface.yml:24 Tuesday 09 January 2024 19:48:35 +0000 (0:00:02.012) 0:00:05.098 ******* 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.020088", "end": "2024-01-09 19:48:36.088845", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-01-09 19:48:36.068757" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003441", "end": "2024-01-09 19:48:36.300223", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-01-09 19:48:36.296782" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.003741", "end": "2024-01-09 19:48:36.480324", "item": "ip link set veth0 up", "rc": 0, "start": "2024-01-09 19:48:36.476583" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/manage_test_interface.yml:33 Tuesday 09 January 2024 19:48:36 +0000 (0:00:00.598) 0:00:05.697 ******* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.145841", "end": "2024-01-09 19:48:36.810698", "rc": 0, "start": "2024-01-09 19:48:36.664857" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/manage_test_interface.yml:41 Tuesday 09 January 2024 19:48:36 +0000 (0:00:00.329) 0:00:06.026 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/manage_test_interface.yml:48 Tuesday 09 January 2024 19:48:36 +0000 (0:00:00.011) 0:00:06.038 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/manage_test_interface.yml:54 Tuesday 09 January 2024 19:48:36 +0000 (0:00:00.010) 0:00:06.049 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/manage_test_interface.yml:61 Tuesday 09 January 2024 19:48:36 +0000 (0:00:00.010) 0:00:06.059 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/manage_test_interface.yml:67 Tuesday 09 January 2024 19:48:36 +0000 (0:00:00.011) 0:00:06.071 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tests_auto_gateway.yml:15 Tuesday 09 January 2024 19:48:36 +0000 (0:00:00.010) 0:00:06.082 ******* included: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 19:48:36 +0000 (0:00:00.030) 0:00:06.112 ******* included: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 19:48:36 +0000 (0:00:00.016) 0:00:06.128 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704829716.0819035, "block_size": 4096, "blocks": 0, "ctime": 1704829716.0819035, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 22953, "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": 1704829716.0819035, "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_type7sf6t1a3/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 19:48:37 +0000 (0:00:00.253) 0:00:06.382 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tests_auto_gateway.yml:17 Tuesday 09 January 2024 19:48:37 +0000 (0:00:00.022) 0:00:06.404 ******* ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 19:48:37 +0000 (0:00:00.020) 0:00:06.425 ******* included: /WORKDIR/git-route_type7sf6t1a3/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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:48:37 +0000 (0:00:00.070) 0:00:06.495 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 19:48:37 +0000 (0:00:00.010) 0:00:06.506 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 19:48:37 +0000 (0:00:00.009) 0:00:06.516 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 19:48:37 +0000 (0:00:00.009) 0:00:06.526 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 19:48:38 +0000 (0:00:01.455) 0:00:07.981 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 19:48:40 +0000 (0:00:01.266) 0:00:09.248 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 19:48:40 +0000 (0:00:00.057) 0:00:09.305 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 19:48:40 +0000 (0:00:00.031) 0:00:09.337 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 19:48:40 +0000 (0:00:00.068) 0:00:09.406 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 19:48:40 +0000 (0:00:00.077) 0:00:09.483 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 19:48:40 +0000 (0:00:00.046) 0:00:09.530 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 19:48:40 +0000 (0:00:00.035) 0:00:09.565 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 19:48:40 +0000 (0:00:00.064) 0:00:09.630 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 19:48:41 +0000 (0:00:00.603) 0:00:10.233 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 19:48:41 +0000 (0:00:00.063) 0:00:10.296 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 19:48:41 +0000 (0:00:00.029) 0:00:10.326 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 19:48:41 +0000 (0:00:00.030) 0:00:10.356 ******* 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, cb61348b-082c-486b-89ca-b478efd3977e [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, cb61348b-082c-486b-89ca-b478efd3977e (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 19:48:41 +0000 (0:00:00.766) 0:00:11.122 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 19:48:41 +0000 (0:00:00.022) 0:00:11.145 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, cb61348b-082c-486b-89ca-b478efd3977e", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, cb61348b-082c-486b-89ca-b478efd3977e (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 19:48:41 +0000 (0:00:00.026) 0:00:11.171 ******* 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, cb61348b-082c-486b-89ca-b478efd3977e\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, cb61348b-082c-486b-89ca-b478efd3977e (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, cb61348b-082c-486b-89ca-b478efd3977e", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, cb61348b-082c-486b-89ca-b478efd3977e (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 19:48:41 +0000 (0:00:00.024) 0:00:11.196 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 19:48:42 +0000 (0:00:00.042) 0:00:11.239 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tests_auto_gateway.yml:42 Tuesday 09 January 2024 19:48:42 +0000 (0:00:00.315) 0:00:11.554 ******* included: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 19:48:42 +0000 (0:00:00.048) 0:00:11.602 ******* included: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 19:48:42 +0000 (0:00:00.066) 0:00:11.669 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704829716.0819035, "block_size": 4096, "blocks": 0, "ctime": 1704829716.0819035, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 22953, "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": 1704829716.0819035, "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_type7sf6t1a3/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 19:48:42 +0000 (0:00:00.201) 0:00:11.871 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tests_auto_gateway.yml:44 Tuesday 09 January 2024 19:48:42 +0000 (0:00:00.024) 0:00:11.895 ******* included: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 19:48:42 +0000 (0:00:00.071) 0:00:11.967 ******* included: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 19:48:42 +0000 (0:00:00.041) 0:00:12.008 ******* 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_type7sf6t1a3/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 19:48:42 +0000 (0:00:00.029) 0:00:12.038 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 19:48:43 +0000 (0:00:00.195) 0:00:12.234 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 19:48:43 +0000 (0:00:00.021) 0:00:12.256 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.131188", "end": "2024-01-09 19:48:43.355226", "rc": 0, "start": "2024-01-09 19:48:43.224038" } STDOUT: veth0 /etc/NetworkManager/system-connections/veth0.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 19:48:43 +0000 (0:00:00.345) 0:00:12.601 ******* 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_type7sf6t1a3/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 19:48:43 +0000 (0:00:00.032) 0:00:12.633 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 19:48:43 +0000 (0:00:00.037) 0:00:12.670 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 19:48:43 +0000 (0:00:00.031) 0:00:12.702 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 19:48:43 +0000 (0:00:00.106) 0:00:12.808 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 19:48:43 +0000 (0:00:00.024) 0:00:12.833 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 19:48:43 +0000 (0:00:00.025) 0:00:12.858 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 19:48:43 +0000 (0:00:00.024) 0:00:12.882 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tests_auto_gateway.yml:48 Tuesday 09 January 2024 19:48:43 +0000 (0:00:00.023) 0:00:12.906 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003785", "end": "2024-01-09 19:48:43.883546", "rc": 0, "start": "2024-01-09 19:48:43.879761" } STDOUT: default via 10.31.40.1 dev eth0 proto dhcp src 10.31.41.124 metric 100 default via 203.0.113.1 dev veth0 proto static metric 65535 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.41.124 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_type7sf6t1a3/tests/playbooks/tests_auto_gateway.yml:52 Tuesday 09 January 2024 19:48:43 +0000 (0:00:00.202) 0:00:13.108 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tests_auto_gateway.yml:58 Tuesday 09 January 2024 19:48:43 +0000 (0:00:00.022) 0:00:13.131 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003506", "end": "2024-01-09 19:48:44.103421", "rc": 0, "start": "2024-01-09 19:48:44.099915" } 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_type7sf6t1a3/tests/playbooks/tests_auto_gateway.yml:62 Tuesday 09 January 2024 19:48:44 +0000 (0:00:00.202) 0:00:13.334 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tests_auto_gateway.yml:69 Tuesday 09 January 2024 19:48:44 +0000 (0:00:00.026) 0:00:13.361 ******* ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 19:48:44 +0000 (0:00:00.022) 0:00:13.384 ******* included: /WORKDIR/git-route_type7sf6t1a3/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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:48:44 +0000 (0:00:00.055) 0:00:13.439 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 19:48:44 +0000 (0:00:00.029) 0:00:13.468 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 19:48:44 +0000 (0:00:00.021) 0:00:13.489 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 19:48:44 +0000 (0:00:00.021) 0:00:13.511 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 19:48:45 +0000 (0:00:01.408) 0:00:14.920 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 19:48:46 +0000 (0:00:00.942) 0:00:15.863 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 19:48:46 +0000 (0:00:00.033) 0:00:15.896 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 19:48:46 +0000 (0:00:00.023) 0:00:15.920 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 19:48:46 +0000 (0:00:00.024) 0:00:15.945 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 19:48:46 +0000 (0:00:00.099) 0:00:16.045 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 19:48:46 +0000 (0:00:00.045) 0:00:16.090 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 19:48:46 +0000 (0:00:00.033) 0:00:16.124 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 19:48:47 +0000 (0:00:00.088) 0:00:16.213 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 19:48:47 +0000 (0:00:00.378) 0:00:16.591 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 19:48:47 +0000 (0:00:00.059) 0:00:16.650 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 19:48:47 +0000 (0:00:00.026) 0:00:16.677 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 19:48:47 +0000 (0:00:00.027) 0:00:16.705 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 19:48:47 +0000 (0:00:00.448) 0:00:17.153 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 19:48:47 +0000 (0:00:00.041) 0:00:17.195 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 19:48:48 +0000 (0:00:00.045) 0:00:17.241 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 19:48:48 +0000 (0:00:00.033) 0:00:17.274 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 19:48:48 +0000 (0:00:00.043) 0:00:17.318 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tests_auto_gateway.yml:81 Tuesday 09 January 2024 19:48:48 +0000 (0:00:00.226) 0:00:17.544 ******* included: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 09 January 2024 19:48:48 +0000 (0:00:00.120) 0:00:17.664 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 09 January 2024 19:48:48 +0000 (0:00:00.029) 0:00:17.694 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 09 January 2024 19:48:48 +0000 (0:00:00.035) 0:00:17.729 ******* included: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 19:48:48 +0000 (0:00:00.109) 0:00:17.839 ******* included: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 19:48:48 +0000 (0:00:00.041) 0:00:17.881 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003376", "end": "2024-01-09 19:48:48.886374", "rc": 0, "start": "2024-01-09 19:48:48.882998" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 19:48:48 +0000 (0:00:00.234) 0:00:18.115 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 19:48:48 +0000 (0:00:00.036) 0:00:18.152 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 09 January 2024 19:48:48 +0000 (0:00:00.040) 0:00:18.192 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/manage_test_interface.yml:24 Tuesday 09 January 2024 19:48:49 +0000 (0:00:00.932) 0:00:19.125 ******* 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_type7sf6t1a3/tests/playbooks/tasks/manage_test_interface.yml:33 Tuesday 09 January 2024 19:48:49 +0000 (0:00:00.045) 0:00:19.171 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/manage_test_interface.yml:41 Tuesday 09 January 2024 19:48:49 +0000 (0:00:00.022) 0:00:19.193 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.015658", "end": "2024-01-09 19:48:50.186637", "rc": 0, "start": "2024-01-09 19:48:50.170979" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/manage_test_interface.yml:48 Tuesday 09 January 2024 19:48:50 +0000 (0:00:00.227) 0:00:19.421 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/manage_test_interface.yml:54 Tuesday 09 January 2024 19:48:50 +0000 (0:00:00.035) 0:00:19.457 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/manage_test_interface.yml:61 Tuesday 09 January 2024 19:48:50 +0000 (0:00:00.032) 0:00:19.490 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/manage_test_interface.yml:67 Tuesday 09 January 2024 19:48:50 +0000 (0:00:00.025) 0:00:19.516 ******* 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_type7sf6t1a3/tests/playbooks/tests_auto_gateway.yml:85 Tuesday 09 January 2024 19:48:50 +0000 (0:00:00.022) 0:00:19.538 ******* ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tests_auto_gateway.yml:89 Tuesday 09 January 2024 19:48:50 +0000 (0:00:00.067) 0:00:19.606 ******* included: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 09 January 2024 19:48:50 +0000 (0:00:00.070) 0:00:19.676 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 09 January 2024 19:48:50 +0000 (0:00:00.041) 0:00:19.718 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 09 January 2024 19:48:50 +0000 (0:00:00.049) 0:00:19.767 ******* included: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 19:48:50 +0000 (0:00:00.080) 0:00:19.848 ******* included: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 19:48:50 +0000 (0:00:00.045) 0:00:19.893 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003309", "end": "2024-01-09 19:48:50.886712", "rc": 0, "start": "2024-01-09 19:48:50.883403" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 19:48:50 +0000 (0:00:00.222) 0:00:20.116 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 19:48:50 +0000 (0:00:00.027) 0:00:20.143 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 09 January 2024 19:48:50 +0000 (0:00:00.023) 0:00:20.166 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/manage_test_interface.yml:24 Tuesday 09 January 2024 19:48:51 +0000 (0:00:00.994) 0:00:21.161 ******* 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.015440", "end": "2024-01-09 19:48:52.184085", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-01-09 19:48:52.168645" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003552", "end": "2024-01-09 19:48:52.394029", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-01-09 19:48:52.390477" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.003893", "end": "2024-01-09 19:48:52.579193", "item": "ip link set veth0 up", "rc": 0, "start": "2024-01-09 19:48:52.575300" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/manage_test_interface.yml:33 Tuesday 09 January 2024 19:48:52 +0000 (0:00:00.645) 0:00:21.806 ******* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.020951", "end": "2024-01-09 19:48:52.802706", "rc": 0, "start": "2024-01-09 19:48:52.781755" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/manage_test_interface.yml:41 Tuesday 09 January 2024 19:48:52 +0000 (0:00:00.227) 0:00:22.033 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/manage_test_interface.yml:48 Tuesday 09 January 2024 19:48:52 +0000 (0:00:00.023) 0:00:22.056 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/manage_test_interface.yml:54 Tuesday 09 January 2024 19:48:52 +0000 (0:00:00.022) 0:00:22.079 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/manage_test_interface.yml:61 Tuesday 09 January 2024 19:48:52 +0000 (0:00:00.023) 0:00:22.102 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/manage_test_interface.yml:67 Tuesday 09 January 2024 19:48:52 +0000 (0:00:00.023) 0:00:22.125 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 19:48:52 +0000 (0:00:00.025) 0:00:22.151 ******* included: /WORKDIR/git-route_type7sf6t1a3/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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:48:53 +0000 (0:00:00.071) 0:00:22.223 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 19:48:53 +0000 (0:00:00.036) 0:00:22.259 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 19:48:53 +0000 (0:00:00.027) 0:00:22.287 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 19:48:53 +0000 (0:00:00.022) 0:00:22.309 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 19:48:54 +0000 (0:00:01.461) 0:00:23.771 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 19:48:55 +0000 (0:00:00.983) 0:00:24.754 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 19:48:55 +0000 (0:00:00.034) 0:00:24.789 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 19:48:55 +0000 (0:00:00.047) 0:00:24.836 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 19:48:55 +0000 (0:00:00.022) 0:00:24.859 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 19:48:55 +0000 (0:00:00.045) 0:00:24.904 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 19:48:55 +0000 (0:00:00.027) 0:00:24.931 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 19:48:55 +0000 (0:00:00.034) 0:00:24.965 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 19:48:55 +0000 (0:00:00.040) 0:00:25.006 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 19:48:56 +0000 (0:00:00.366) 0:00:25.373 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 19:48:56 +0000 (0:00:00.124) 0:00:25.497 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 19:48:56 +0000 (0:00:00.036) 0:00:25.534 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 19:48:56 +0000 (0:00:00.025) 0:00:25.559 ******* 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, 13220191-ba82-4ea8-927e-79701e4e54ed [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 13220191-ba82-4ea8-927e-79701e4e54ed (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 19:48:56 +0000 (0:00:00.420) 0:00:25.980 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 19:48:56 +0000 (0:00:00.020) 0:00:26.000 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 13220191-ba82-4ea8-927e-79701e4e54ed", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 13220191-ba82-4ea8-927e-79701e4e54ed (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 19:48:56 +0000 (0:00:00.021) 0:00:26.022 ******* 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, 13220191-ba82-4ea8-927e-79701e4e54ed\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 13220191-ba82-4ea8-927e-79701e4e54ed (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 13220191-ba82-4ea8-927e-79701e4e54ed", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 13220191-ba82-4ea8-927e-79701e4e54ed (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 19:48:56 +0000 (0:00:00.022) 0:00:26.044 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 19:48:56 +0000 (0:00:00.020) 0:00:26.065 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tests_auto_gateway.yml:110 Tuesday 09 January 2024 19:48:57 +0000 (0:00:00.192) 0:00:26.257 ******* included: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 19:48:57 +0000 (0:00:00.051) 0:00:26.309 ******* included: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 19:48:57 +0000 (0:00:00.035) 0:00:26.344 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704829732.1731665, "block_size": 4096, "blocks": 0, "ctime": 1704829732.1731665, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 23539, "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": 1704829732.1731665, "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_type7sf6t1a3/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 19:48:57 +0000 (0:00:00.196) 0:00:26.541 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tests_auto_gateway.yml:112 Tuesday 09 January 2024 19:48:57 +0000 (0:00:00.068) 0:00:26.610 ******* included: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 19:48:57 +0000 (0:00:00.052) 0:00:26.663 ******* included: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 19:48:57 +0000 (0:00:00.041) 0:00:26.704 ******* 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_type7sf6t1a3/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 19:48:57 +0000 (0:00:00.022) 0:00:26.727 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 19:48:57 +0000 (0:00:00.196) 0:00:26.923 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 19:48:57 +0000 (0:00:00.021) 0:00:26.945 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.021107", "end": "2024-01-09 19:48:57.936367", "rc": 0, "start": "2024-01-09 19:48:57.915260" } STDOUT: veth0 /etc/NetworkManager/system-connections/veth0.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 19:48:57 +0000 (0:00:00.227) 0:00:27.173 ******* 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_type7sf6t1a3/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 19:48:58 +0000 (0:00:00.041) 0:00:27.214 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 19:48:58 +0000 (0:00:00.023) 0:00:27.238 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 19:48:58 +0000 (0:00:00.022) 0:00:27.260 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 19:48:58 +0000 (0:00:00.021) 0:00:27.281 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 19:48:58 +0000 (0:00:00.024) 0:00:27.306 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 19:48:58 +0000 (0:00:00.024) 0:00:27.331 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 19:48:58 +0000 (0:00:00.024) 0:00:27.355 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tests_auto_gateway.yml:116 Tuesday 09 January 2024 19:48:58 +0000 (0:00:00.028) 0:00:27.384 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003526", "end": "2024-01-09 19:48:58.359003", "rc": 0, "start": "2024-01-09 19:48:58.355477" } STDOUT: default via 10.31.40.1 dev eth0 proto dhcp src 10.31.41.124 metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.41.124 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_type7sf6t1a3/tests/playbooks/tests_auto_gateway.yml:120 Tuesday 09 January 2024 19:48:58 +0000 (0:00:00.200) 0:00:27.584 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tests_auto_gateway.yml:126 Tuesday 09 January 2024 19:48:58 +0000 (0:00:00.024) 0:00:27.609 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003546", "end": "2024-01-09 19:48:58.583119", "rc": 0, "start": "2024-01-09 19:48:58.579573" } 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_type7sf6t1a3/tests/playbooks/tests_auto_gateway.yml:130 Tuesday 09 January 2024 19:48:58 +0000 (0:00:00.204) 0:00:27.813 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tests_auto_gateway.yml:137 Tuesday 09 January 2024 19:48:58 +0000 (0:00:00.025) 0:00:27.839 ******* ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 19:48:58 +0000 (0:00:00.035) 0:00:27.875 ******* included: /WORKDIR/git-route_type7sf6t1a3/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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:48:58 +0000 (0:00:00.042) 0:00:27.917 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 19:48:58 +0000 (0:00:00.030) 0:00:27.947 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 19:48:58 +0000 (0:00:00.034) 0:00:27.982 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 19:48:58 +0000 (0:00:00.022) 0:00:28.004 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 19:49:00 +0000 (0:00:01.451) 0:00:29.456 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 19:49:01 +0000 (0:00:00.940) 0:00:30.396 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 19:49:01 +0000 (0:00:00.026) 0:00:30.423 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 19:49:01 +0000 (0:00:00.023) 0:00:30.447 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 19:49:01 +0000 (0:00:00.022) 0:00:30.469 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 19:49:01 +0000 (0:00:00.043) 0:00:30.512 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 19:49:01 +0000 (0:00:00.020) 0:00:30.533 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 19:49:01 +0000 (0:00:00.021) 0:00:30.554 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 19:49:01 +0000 (0:00:00.024) 0:00:30.578 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 19:49:01 +0000 (0:00:00.363) 0:00:30.942 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 19:49:01 +0000 (0:00:00.081) 0:00:31.024 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 19:49:01 +0000 (0:00:00.024) 0:00:31.048 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 19:49:01 +0000 (0:00:00.023) 0:00:31.072 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 19:49:02 +0000 (0:00:00.428) 0:00:31.501 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 19:49:02 +0000 (0:00:00.022) 0:00:31.523 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 19:49:02 +0000 (0:00:00.023) 0:00:31.546 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 19:49:02 +0000 (0:00:00.022) 0:00:31.568 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 19:49:02 +0000 (0:00:00.020) 0:00:31.589 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tests_auto_gateway.yml:149 Tuesday 09 January 2024 19:49:02 +0000 (0:00:00.188) 0:00:31.777 ******* included: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 09 January 2024 19:49:02 +0000 (0:00:00.054) 0:00:31.831 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 09 January 2024 19:49:02 +0000 (0:00:00.021) 0:00:31.853 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 09 January 2024 19:49:02 +0000 (0:00:00.020) 0:00:31.874 ******* included: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 19:49:02 +0000 (0:00:00.033) 0:00:31.907 ******* included: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 19:49:02 +0000 (0:00:00.085) 0:00:31.993 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003298", "end": "2024-01-09 19:49:02.970294", "rc": 0, "start": "2024-01-09 19:49:02.966996" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 19:49:03 +0000 (0:00:00.210) 0:00:32.203 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 19:49:03 +0000 (0:00:00.041) 0:00:32.244 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 09 January 2024 19:49:03 +0000 (0:00:00.025) 0:00:32.269 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/manage_test_interface.yml:24 Tuesday 09 January 2024 19:49:03 +0000 (0:00:00.878) 0:00:33.147 ******* 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_type7sf6t1a3/tests/playbooks/tasks/manage_test_interface.yml:33 Tuesday 09 January 2024 19:49:03 +0000 (0:00:00.033) 0:00:33.181 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/manage_test_interface.yml:41 Tuesday 09 January 2024 19:49:04 +0000 (0:00:00.023) 0:00:33.204 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.013803", "end": "2024-01-09 19:49:04.188468", "rc": 0, "start": "2024-01-09 19:49:04.174665" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/manage_test_interface.yml:48 Tuesday 09 January 2024 19:49:04 +0000 (0:00:00.214) 0:00:33.418 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/manage_test_interface.yml:54 Tuesday 09 January 2024 19:49:04 +0000 (0:00:00.025) 0:00:33.443 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/manage_test_interface.yml:61 Tuesday 09 January 2024 19:49:04 +0000 (0:00:00.024) 0:00:33.468 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/manage_test_interface.yml:67 Tuesday 09 January 2024 19:49:04 +0000 (0:00:00.026) 0:00:33.495 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=125 changed=4 unreachable=0 failed=0 skipped=102 rescued=0 ignored=0 Tuesday 09 January 2024 19:49:04 +0000 (0:00:00.010) 0:00:33.505 ******* =============================================================================== Install iproute --------------------------------------------------------- 2.01s /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Check which services are running ----------- 1.46s /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.46s /WORKDIR/git-route_type7sf6t1a3/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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.41s /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.27s /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Install iproute --------------------------------------------------------- 0.99s /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Check which packages are installed --------- 0.98s /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.94s /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.94s /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Install iproute --------------------------------------------------------- 0.93s /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.88s /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Configure networking connection profiles --- 0.88s /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Configure networking connection profiles --- 0.77s /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable and start NetworkManager ------------ 0.74s /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:85 Gathering Facts --------------------------------------------------------- 0.71s /WORKDIR/git-route_type7sf6t1a3/tests/tests_auto_gateway_nm.yml:6 ------------- Create veth interface veth0 --------------------------------------------- 0.65s /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/manage_test_interface.yml:24 linux-system-roles.network : Enable and start NetworkManager ------------ 0.60s /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:85 Create veth interface veth0 --------------------------------------------- 0.60s /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/manage_test_interface.yml:24 Gathering Facts --------------------------------------------------------- 0.51s /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tests_auto_gateway.yml:3 ------ ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---