# 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-bond_options_rewrite86ytuvfo/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-bond_options_rewrite86ytuvfo/tests/tests_auto_gateway_nm.yml:6 Friday 09 February 2024 13:30:04 +0000 (0:00:00.013) 0:00:00.013 ******* ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/tests_auto_gateway_nm.yml:9 Friday 09 February 2024 13:30:05 +0000 (0:00:00.907) 0:00:00.920 ******* included: /WORKDIR/git-bond_options_rewrite86ytuvfo/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-bond_options_rewrite86ytuvfo/tests/tasks/el_repo_setup.yml:3 Friday 09 February 2024 13:30:05 +0000 (0:00:00.011) 0:00:00.931 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/tasks/el_repo_setup.yml:19 Friday 09 February 2024 13:30:06 +0000 (0:00:00.511) 0:00:01.443 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/tasks/el_repo_setup.yml:24 Friday 09 February 2024 13:30:06 +0000 (0:00:00.257) 0:00:01.701 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/tasks/el_repo_setup.yml:28 Friday 09 February 2024 13:30:06 +0000 (0:00:00.022) 0:00:01.724 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/tasks/el_repo_setup.yml:53 Friday 09 February 2024 13:30:06 +0000 (0:00:00.017) 0:00:01.741 ******* included: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 38] ********************************************************** task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/tasks/enable_epel.yml:8 Friday 09 February 2024 13:30:06 +0000 (0:00:00.031) 0:00:01.772 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/tasks/enable_epel.yml:24 Friday 09 February 2024 13:30:06 +0000 (0:00:00.010) 0:00:01.783 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/tasks/enable_epel.yml:30 Friday 09 February 2024 13:30:06 +0000 (0:00:00.008) 0:00:01.791 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/tasks/enable_epel.yml:35 Friday 09 February 2024 13:30:06 +0000 (0:00:00.010) 0:00:01.801 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/tasks/enable_epel.yml:40 Friday 09 February 2024 13:30:06 +0000 (0:00:00.008) 0:00:01.809 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/tests_auto_gateway_nm.yml:11 Friday 09 February 2024 13:30:06 +0000 (0:00:00.008) 0:00:01.818 ******* 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-bond_options_rewrite86ytuvfo/tests/playbooks/tests_auto_gateway.yml:3 Friday 09 February 2024 13:30:06 +0000 (0:00:00.012) 0:00:01.830 ******* ok: [sut] META: ran handlers TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tests_auto_gateway.yml:9 Friday 09 February 2024 13:30:07 +0000 (0:00:00.763) 0:00:02.593 ******* included: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/show_interfaces.yml:3 Friday 09 February 2024 13:30:07 +0000 (0:00:00.024) 0:00:02.617 ******* included: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 09 February 2024 13:30:07 +0000 (0:00:00.026) 0:00:02.644 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003655", "end": "2024-02-09 13:30:07.941258", "rc": 0, "start": "2024-02-09 13:30:07.937603" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 09 February 2024 13:30:07 +0000 (0:00:00.375) 0:00:03.019 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/show_interfaces.yml:5 Friday 09 February 2024 13:30:07 +0000 (0:00:00.011) 0:00:03.031 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tests_auto_gateway.yml:11 Friday 09 February 2024 13:30:07 +0000 (0:00:00.011) 0:00:03.042 ******* included: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/manage_test_interface.yml:3 Friday 09 February 2024 13:30:08 +0000 (0:00:00.039) 0:00:03.082 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/manage_test_interface.yml:8 Friday 09 February 2024 13:30:08 +0000 (0:00:00.012) 0:00:03.095 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/manage_test_interface.yml:13 Friday 09 February 2024 13:30:08 +0000 (0:00:00.011) 0:00:03.106 ******* included: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/show_interfaces.yml:3 Friday 09 February 2024 13:30:08 +0000 (0:00:00.013) 0:00:03.120 ******* included: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 09 February 2024 13:30:08 +0000 (0:00:00.034) 0:00:03.155 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003605", "end": "2024-02-09 13:30:08.324912", "rc": 0, "start": "2024-02-09 13:30:08.321307" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 09 February 2024 13:30:08 +0000 (0:00:00.259) 0:00:03.415 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/show_interfaces.yml:5 Friday 09 February 2024 13:30:08 +0000 (0:00:00.021) 0:00:03.436 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/manage_test_interface.yml:16 Friday 09 February 2024 13:30:08 +0000 (0:00:00.015) 0:00:03.451 ******* ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/manage_test_interface.yml:28 Friday 09 February 2024 13:30:11 +0000 (0:00:03.041) 0:00:06.492 ******* 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.128523", "end": "2024-02-09 13:30:11.748906", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-02-09 13:30:11.620383" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004266", "end": "2024-02-09 13:30:12.001701", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-02-09 13:30:11.997435" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004077", "end": "2024-02-09 13:30:12.203485", "item": "ip link set veth0 up", "rc": 0, "start": "2024-02-09 13:30:12.199408" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/manage_test_interface.yml:37 Friday 09 February 2024 13:30:12 +0000 (0:00:00.792) 0:00:07.284 ******* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.202197", "end": "2024-02-09 13:30:12.610372", "rc": 0, "start": "2024-02-09 13:30:12.408175" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/manage_test_interface.yml:45 Friday 09 February 2024 13:30:12 +0000 (0:00:00.415) 0:00:07.700 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/manage_test_interface.yml:52 Friday 09 February 2024 13:30:12 +0000 (0:00:00.020) 0:00:07.721 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/manage_test_interface.yml:58 Friday 09 February 2024 13:30:12 +0000 (0:00:00.083) 0:00:07.805 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/manage_test_interface.yml:65 Friday 09 February 2024 13:30:12 +0000 (0:00:00.035) 0:00:07.840 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/manage_test_interface.yml:71 Friday 09 February 2024 13:30:12 +0000 (0:00:00.019) 0:00:07.859 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tests_auto_gateway.yml:15 Friday 09 February 2024 13:30:12 +0000 (0:00:00.024) 0:00:07.884 ******* included: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/assert_device_present.yml:3 Friday 09 February 2024 13:30:12 +0000 (0:00:00.053) 0:00:07.937 ******* included: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 09 February 2024 13:30:12 +0000 (0:00:00.047) 0:00:07.985 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1707485411.7472565, "block_size": 4096, "blocks": 0, "ctime": 1707485411.7472565, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26249, "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": 1707485411.7472565, "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-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/assert_device_present.yml:5 Friday 09 February 2024 13:30:13 +0000 (0:00:00.247) 0:00:08.232 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tests_auto_gateway.yml:17 Friday 09 February 2024 13:30:13 +0000 (0:00:00.015) 0:00:08.248 ******* ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 09 February 2024 13:30:13 +0000 (0:00:00.011) 0:00:08.259 ******* included: /WORKDIR/git-bond_options_rewrite86ytuvfo/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-bond_options_rewrite86ytuvfo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 09 February 2024 13:30:13 +0000 (0:00:00.067) 0:00:08.327 ******* 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-bond_options_rewrite86ytuvfo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 09 February 2024 13:30:13 +0000 (0:00:00.012) 0:00:08.339 ******* 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-bond_options_rewrite86ytuvfo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 09 February 2024 13:30:13 +0000 (0:00:00.013) 0:00:08.352 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 09 February 2024 13:30:13 +0000 (0:00:00.012) 0:00:08.365 ******* 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-bond_options_rewrite86ytuvfo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 09 February 2024 13:30:15 +0000 (0:00:02.235) 0:00:10.601 ******* 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-bond_options_rewrite86ytuvfo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 09 February 2024 13:30:16 +0000 (0:00:01.320) 0:00:11.921 ******* 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-bond_options_rewrite86ytuvfo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 09 February 2024 13:30:16 +0000 (0:00:00.024) 0:00:11.946 ******* 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-bond_options_rewrite86ytuvfo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 09 February 2024 13:30:16 +0000 (0:00:00.023) 0:00:11.969 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 09 February 2024 13:30:16 +0000 (0:00:00.023) 0:00:11.993 ******* 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-bond_options_rewrite86ytuvfo/tests/roles/linux-system-roles.network/tasks/main.yml:43 Friday 09 February 2024 13:30:16 +0000 (0:00:00.045) 0:00:12.039 ******* 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-bond_options_rewrite86ytuvfo/tests/roles/linux-system-roles.network/tasks/main.yml:58 Friday 09 February 2024 13:30:17 +0000 (0:00:00.023) 0:00:12.062 ******* 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-bond_options_rewrite86ytuvfo/tests/roles/linux-system-roles.network/tasks/main.yml:74 Friday 09 February 2024 13:30:17 +0000 (0:00:00.023) 0:00:12.085 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/roles/linux-system-roles.network/tasks/main.yml:88 Friday 09 February 2024 13:30:17 +0000 (0:00:00.036) 0:00:12.121 ******* 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-bond_options_rewrite86ytuvfo/tests/roles/linux-system-roles.network/tasks/main.yml:99 Friday 09 February 2024 13:30:17 +0000 (0:00:00.710) 0:00:12.832 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/roles/linux-system-roles.network/tasks/main.yml:108 Friday 09 February 2024 13:30:17 +0000 (0:00:00.029) 0:00:12.862 ******* 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-bond_options_rewrite86ytuvfo/tests/roles/linux-system-roles.network/tasks/main.yml:116 Friday 09 February 2024 13:30:17 +0000 (0:00:00.023) 0:00:12.885 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/roles/linux-system-roles.network/tasks/main.yml:125 Friday 09 February 2024 13:30:17 +0000 (0:00:00.025) 0:00:12.911 ******* 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, 1059c4d3-daa9-4acb-9469-b1ceb28c822c [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 1059c4d3-daa9-4acb-9469-b1ceb28c822c (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/roles/linux-system-roles.network/tasks/main.yml:137 Friday 09 February 2024 13:30:19 +0000 (0:00:01.265) 0:00:14.177 ******* 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-bond_options_rewrite86ytuvfo/tests/roles/linux-system-roles.network/tasks/main.yml:143 Friday 09 February 2024 13:30:19 +0000 (0:00:00.025) 0:00:14.202 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 1059c4d3-daa9-4acb-9469-b1ceb28c822c", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 1059c4d3-daa9-4acb-9469-b1ceb28c822c (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/roles/linux-system-roles.network/tasks/main.yml:147 Friday 09 February 2024 13:30:19 +0000 (0:00:00.033) 0:00:14.235 ******* 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, 1059c4d3-daa9-4acb-9469-b1ceb28c822c\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 1059c4d3-daa9-4acb-9469-b1ceb28c822c (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 1059c4d3-daa9-4acb-9469-b1ceb28c822c", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 1059c4d3-daa9-4acb-9469-b1ceb28c822c (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/roles/linux-system-roles.network/tasks/main.yml:152 Friday 09 February 2024 13:30:19 +0000 (0:00:00.034) 0:00:14.270 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/roles/linux-system-roles.network/tasks/main.yml:158 Friday 09 February 2024 13:30:19 +0000 (0:00:00.055) 0:00:14.325 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tests_auto_gateway.yml:42 Friday 09 February 2024 13:30:19 +0000 (0:00:00.266) 0:00:14.592 ******* included: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/assert_device_present.yml:3 Friday 09 February 2024 13:30:19 +0000 (0:00:00.051) 0:00:14.644 ******* included: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 09 February 2024 13:30:19 +0000 (0:00:00.040) 0:00:14.684 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1707485411.7472565, "block_size": 4096, "blocks": 0, "ctime": 1707485411.7472565, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26249, "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": 1707485411.7472565, "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-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/assert_device_present.yml:5 Friday 09 February 2024 13:30:19 +0000 (0:00:00.217) 0:00:14.902 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tests_auto_gateway.yml:44 Friday 09 February 2024 13:30:19 +0000 (0:00:00.028) 0:00:14.931 ******* included: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 09 February 2024 13:30:19 +0000 (0:00:00.105) 0:00:15.036 ******* included: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 09 February 2024 13:30:20 +0000 (0:00:00.044) 0:00:15.081 ******* 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-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 09 February 2024 13:30:20 +0000 (0:00:00.023) 0:00:15.104 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 09 February 2024 13:30:20 +0000 (0:00:00.211) 0:00:15.315 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 09 February 2024 13:30:20 +0000 (0:00:00.027) 0:00:15.343 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.146574", "end": "2024-02-09 13:30:20.608670", "rc": 0, "start": "2024-02-09 13:30:20.462096" } 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-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 09 February 2024 13:30:20 +0000 (0:00:00.358) 0:00:15.702 ******* 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-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 09 February 2024 13:30:20 +0000 (0:00:00.036) 0:00:15.738 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 09 February 2024 13:30:20 +0000 (0:00:00.031) 0:00:15.769 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 09 February 2024 13:30:20 +0000 (0:00:00.026) 0:00:15.796 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 09 February 2024 13:30:20 +0000 (0:00:00.036) 0:00:15.832 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 09 February 2024 13:30:20 +0000 (0:00:00.030) 0:00:15.862 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 09 February 2024 13:30:20 +0000 (0:00:00.029) 0:00:15.891 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 09 February 2024 13:30:20 +0000 (0:00:00.045) 0:00:15.937 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tests_auto_gateway.yml:48 Friday 09 February 2024 13:30:20 +0000 (0:00:00.092) 0:00:16.030 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003777", "end": "2024-02-09 13:30:21.182871", "rc": 0, "start": "2024-02-09 13:30:21.179094" } STDOUT: default via 10.31.12.1 dev eth0 proto dhcp src 10.31.14.37 metric 100 default via 203.0.113.1 dev veth0 proto static metric 65535 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.14.37 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-bond_options_rewrite86ytuvfo/tests/playbooks/tests_auto_gateway.yml:52 Friday 09 February 2024 13:30:21 +0000 (0:00:00.257) 0:00:16.288 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tests_auto_gateway.yml:58 Friday 09 February 2024 13:30:21 +0000 (0:00:00.040) 0:00:16.328 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003811", "end": "2024-02-09 13:30:21.453029", "rc": 0, "start": "2024-02-09 13:30:21.449218" } STDOUT: 2001:db8::/64 dev veth0 proto kernel metric 101 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 1024 pref medium fe80::/64 dev veth0 proto kernel metric 1024 pref medium default via 2001:db8::1 dev veth0 proto static metric 101 pref medium TASK [Assert default ipv6 route is present] ************************************ task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tests_auto_gateway.yml:62 Friday 09 February 2024 13:30:21 +0000 (0:00:00.223) 0:00:16.552 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tests_auto_gateway.yml:69 Friday 09 February 2024 13:30:21 +0000 (0:00:00.029) 0:00:16.581 ******* ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 09 February 2024 13:30:21 +0000 (0:00:00.036) 0:00:16.618 ******* included: /WORKDIR/git-bond_options_rewrite86ytuvfo/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-bond_options_rewrite86ytuvfo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 09 February 2024 13:30:21 +0000 (0:00:00.066) 0:00:16.685 ******* 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-bond_options_rewrite86ytuvfo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 09 February 2024 13:30:21 +0000 (0:00:00.030) 0:00:16.715 ******* 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-bond_options_rewrite86ytuvfo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 09 February 2024 13:30:21 +0000 (0:00:00.043) 0:00:16.759 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 09 February 2024 13:30:21 +0000 (0:00:00.038) 0:00:16.797 ******* 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-bond_options_rewrite86ytuvfo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 09 February 2024 13:30:23 +0000 (0:00:02.166) 0:00:18.964 ******* 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-bond_options_rewrite86ytuvfo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 09 February 2024 13:30:24 +0000 (0:00:00.932) 0:00:19.896 ******* 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-bond_options_rewrite86ytuvfo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 09 February 2024 13:30:24 +0000 (0:00:00.026) 0:00:19.922 ******* 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-bond_options_rewrite86ytuvfo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 09 February 2024 13:30:24 +0000 (0:00:00.025) 0:00:19.948 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 09 February 2024 13:30:24 +0000 (0:00:00.036) 0:00:19.985 ******* 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-bond_options_rewrite86ytuvfo/tests/roles/linux-system-roles.network/tasks/main.yml:43 Friday 09 February 2024 13:30:24 +0000 (0:00:00.060) 0:00:20.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-bond_options_rewrite86ytuvfo/tests/roles/linux-system-roles.network/tasks/main.yml:58 Friday 09 February 2024 13:30:25 +0000 (0:00:00.025) 0:00:20.071 ******* 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-bond_options_rewrite86ytuvfo/tests/roles/linux-system-roles.network/tasks/main.yml:74 Friday 09 February 2024 13:30:25 +0000 (0:00:00.034) 0:00:20.105 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/roles/linux-system-roles.network/tasks/main.yml:88 Friday 09 February 2024 13:30:25 +0000 (0:00:00.067) 0:00:20.173 ******* 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-bond_options_rewrite86ytuvfo/tests/roles/linux-system-roles.network/tasks/main.yml:99 Friday 09 February 2024 13:30:25 +0000 (0:00:00.555) 0:00:20.729 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/roles/linux-system-roles.network/tasks/main.yml:108 Friday 09 February 2024 13:30:25 +0000 (0:00:00.030) 0:00:20.759 ******* 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-bond_options_rewrite86ytuvfo/tests/roles/linux-system-roles.network/tasks/main.yml:116 Friday 09 February 2024 13:30:25 +0000 (0:00:00.029) 0:00:20.788 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/roles/linux-system-roles.network/tasks/main.yml:125 Friday 09 February 2024 13:30:25 +0000 (0:00:00.024) 0:00:20.812 ******* 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-bond_options_rewrite86ytuvfo/tests/roles/linux-system-roles.network/tasks/main.yml:137 Friday 09 February 2024 13:30:26 +0000 (0:00:00.462) 0:00:21.274 ******* 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-bond_options_rewrite86ytuvfo/tests/roles/linux-system-roles.network/tasks/main.yml:143 Friday 09 February 2024 13:30:26 +0000 (0:00:00.023) 0:00:21.298 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/roles/linux-system-roles.network/tasks/main.yml:147 Friday 09 February 2024 13:30:26 +0000 (0:00:00.026) 0:00:21.325 ******* 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-bond_options_rewrite86ytuvfo/tests/roles/linux-system-roles.network/tasks/main.yml:152 Friday 09 February 2024 13:30:26 +0000 (0:00:00.026) 0:00:21.352 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/roles/linux-system-roles.network/tasks/main.yml:158 Friday 09 February 2024 13:30:26 +0000 (0:00:00.023) 0:00:21.375 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tests_auto_gateway.yml:81 Friday 09 February 2024 13:30:26 +0000 (0:00:00.207) 0:00:21.582 ******* included: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/manage_test_interface.yml:3 Friday 09 February 2024 13:30:26 +0000 (0:00:00.104) 0:00:21.687 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/manage_test_interface.yml:8 Friday 09 February 2024 13:30:26 +0000 (0:00:00.025) 0:00:21.713 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/manage_test_interface.yml:13 Friday 09 February 2024 13:30:26 +0000 (0:00:00.026) 0:00:21.740 ******* included: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/show_interfaces.yml:3 Friday 09 February 2024 13:30:26 +0000 (0:00:00.046) 0:00:21.786 ******* included: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 09 February 2024 13:30:26 +0000 (0:00:00.038) 0:00:21.825 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003736", "end": "2024-02-09 13:30:26.953235", "rc": 0, "start": "2024-02-09 13:30:26.949499" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 09 February 2024 13:30:26 +0000 (0:00:00.222) 0:00:22.047 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/show_interfaces.yml:5 Friday 09 February 2024 13:30:27 +0000 (0:00:00.025) 0:00:22.072 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/manage_test_interface.yml:16 Friday 09 February 2024 13:30:27 +0000 (0:00:00.026) 0:00:22.098 ******* ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/manage_test_interface.yml:28 Friday 09 February 2024 13:30:29 +0000 (0:00:02.407) 0:00:24.506 ******* 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-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/manage_test_interface.yml:37 Friday 09 February 2024 13:30:29 +0000 (0:00:00.042) 0:00:24.548 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/manage_test_interface.yml:45 Friday 09 February 2024 13:30:29 +0000 (0:00:00.026) 0:00:24.575 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.010962", "end": "2024-02-09 13:30:29.709176", "rc": 0, "start": "2024-02-09 13:30:29.698214" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/manage_test_interface.yml:52 Friday 09 February 2024 13:30:29 +0000 (0:00:00.236) 0:00:24.811 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/manage_test_interface.yml:58 Friday 09 February 2024 13:30:29 +0000 (0:00:00.024) 0:00:24.835 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/manage_test_interface.yml:65 Friday 09 February 2024 13:30:29 +0000 (0:00:00.025) 0:00:24.861 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/manage_test_interface.yml:71 Friday 09 February 2024 13:30:29 +0000 (0:00:00.024) 0:00:24.885 ******* 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-bond_options_rewrite86ytuvfo/tests/playbooks/tests_auto_gateway.yml:85 Friday 09 February 2024 13:30:29 +0000 (0:00:00.023) 0:00:24.908 ******* ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tests_auto_gateway.yml:89 Friday 09 February 2024 13:30:29 +0000 (0:00:00.024) 0:00:24.933 ******* included: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/manage_test_interface.yml:3 Friday 09 February 2024 13:30:29 +0000 (0:00:00.055) 0:00:24.989 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/manage_test_interface.yml:8 Friday 09 February 2024 13:30:29 +0000 (0:00:00.029) 0:00:25.018 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/manage_test_interface.yml:13 Friday 09 February 2024 13:30:30 +0000 (0:00:00.071) 0:00:25.089 ******* included: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/show_interfaces.yml:3 Friday 09 February 2024 13:30:30 +0000 (0:00:00.040) 0:00:25.130 ******* included: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 09 February 2024 13:30:30 +0000 (0:00:00.039) 0:00:25.170 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004666", "end": "2024-02-09 13:30:31.293493", "rc": 0, "start": "2024-02-09 13:30:30.288827" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 09 February 2024 13:30:31 +0000 (0:00:01.221) 0:00:26.392 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/show_interfaces.yml:5 Friday 09 February 2024 13:30:31 +0000 (0:00:00.039) 0:00:26.431 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/manage_test_interface.yml:16 Friday 09 February 2024 13:30:31 +0000 (0:00:00.034) 0:00:26.466 ******* ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/manage_test_interface.yml:28 Friday 09 February 2024 13:30:33 +0000 (0:00:02.399) 0:00:28.865 ******* 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.006047", "end": "2024-02-09 13:30:33.999794", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-02-09 13:30:33.993747" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003810", "end": "2024-02-09 13:30:34.246744", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-02-09 13:30:34.242934" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004081", "end": "2024-02-09 13:30:34.442668", "item": "ip link set veth0 up", "rc": 0, "start": "2024-02-09 13:30:34.438587" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/manage_test_interface.yml:37 Friday 09 February 2024 13:30:34 +0000 (0:00:00.669) 0:00:29.534 ******* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.023463", "end": "2024-02-09 13:30:34.678531", "rc": 0, "start": "2024-02-09 13:30:34.655068" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/manage_test_interface.yml:45 Friday 09 February 2024 13:30:34 +0000 (0:00:00.240) 0:00:29.775 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/manage_test_interface.yml:52 Friday 09 February 2024 13:30:34 +0000 (0:00:00.025) 0:00:29.801 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/manage_test_interface.yml:58 Friday 09 February 2024 13:30:34 +0000 (0:00:00.028) 0:00:29.829 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/manage_test_interface.yml:65 Friday 09 February 2024 13:30:34 +0000 (0:00:00.027) 0:00:29.856 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/manage_test_interface.yml:71 Friday 09 February 2024 13:30:34 +0000 (0:00:00.026) 0:00:29.883 ******* 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-bond_options_rewrite86ytuvfo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 09 February 2024 13:30:34 +0000 (0:00:00.026) 0:00:29.909 ******* included: /WORKDIR/git-bond_options_rewrite86ytuvfo/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-bond_options_rewrite86ytuvfo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 09 February 2024 13:30:34 +0000 (0:00:00.091) 0:00:30.001 ******* 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-bond_options_rewrite86ytuvfo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 09 February 2024 13:30:34 +0000 (0:00:00.031) 0:00:30.032 ******* 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-bond_options_rewrite86ytuvfo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 09 February 2024 13:30:35 +0000 (0:00:00.027) 0:00:30.059 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 09 February 2024 13:30:35 +0000 (0:00:00.026) 0:00:30.085 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 09 February 2024 13:30:37 +0000 (0:00:02.159) 0:00:32.244 ******* 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-bond_options_rewrite86ytuvfo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 09 February 2024 13:30:38 +0000 (0:00:01.011) 0:00:33.256 ******* 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-bond_options_rewrite86ytuvfo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 09 February 2024 13:30:38 +0000 (0:00:00.025) 0:00:33.281 ******* 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-bond_options_rewrite86ytuvfo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 09 February 2024 13:30:38 +0000 (0:00:00.024) 0:00:33.306 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 09 February 2024 13:30:38 +0000 (0:00:00.024) 0:00:33.330 ******* 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-bond_options_rewrite86ytuvfo/tests/roles/linux-system-roles.network/tasks/main.yml:43 Friday 09 February 2024 13:30:38 +0000 (0:00:00.072) 0:00:33.402 ******* 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-bond_options_rewrite86ytuvfo/tests/roles/linux-system-roles.network/tasks/main.yml:58 Friday 09 February 2024 13:30:38 +0000 (0:00:00.024) 0:00:33.427 ******* 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-bond_options_rewrite86ytuvfo/tests/roles/linux-system-roles.network/tasks/main.yml:74 Friday 09 February 2024 13:30:38 +0000 (0:00:00.026) 0:00:33.454 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/roles/linux-system-roles.network/tasks/main.yml:88 Friday 09 February 2024 13:30:38 +0000 (0:00:00.057) 0:00:33.512 ******* 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-bond_options_rewrite86ytuvfo/tests/roles/linux-system-roles.network/tasks/main.yml:99 Friday 09 February 2024 13:30:39 +0000 (0:00:00.603) 0:00:34.115 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/roles/linux-system-roles.network/tasks/main.yml:108 Friday 09 February 2024 13:30:39 +0000 (0:00:00.030) 0:00:34.146 ******* 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-bond_options_rewrite86ytuvfo/tests/roles/linux-system-roles.network/tasks/main.yml:116 Friday 09 February 2024 13:30:39 +0000 (0:00:00.025) 0:00:34.171 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/roles/linux-system-roles.network/tasks/main.yml:125 Friday 09 February 2024 13:30:39 +0000 (0:00:00.023) 0:00:34.194 ******* 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, 29bd90e0-6351-4f6d-9bbd-8a8a583e35db [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 29bd90e0-6351-4f6d-9bbd-8a8a583e35db (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/roles/linux-system-roles.network/tasks/main.yml:137 Friday 09 February 2024 13:30:39 +0000 (0:00:00.538) 0:00:34.732 ******* 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-bond_options_rewrite86ytuvfo/tests/roles/linux-system-roles.network/tasks/main.yml:143 Friday 09 February 2024 13:30:39 +0000 (0:00:00.024) 0:00:34.756 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 29bd90e0-6351-4f6d-9bbd-8a8a583e35db", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 29bd90e0-6351-4f6d-9bbd-8a8a583e35db (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/roles/linux-system-roles.network/tasks/main.yml:147 Friday 09 February 2024 13:30:39 +0000 (0:00:00.025) 0:00:34.782 ******* 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, 29bd90e0-6351-4f6d-9bbd-8a8a583e35db\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 29bd90e0-6351-4f6d-9bbd-8a8a583e35db (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 29bd90e0-6351-4f6d-9bbd-8a8a583e35db", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 29bd90e0-6351-4f6d-9bbd-8a8a583e35db (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/roles/linux-system-roles.network/tasks/main.yml:152 Friday 09 February 2024 13:30:39 +0000 (0:00:00.024) 0:00:34.806 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/roles/linux-system-roles.network/tasks/main.yml:158 Friday 09 February 2024 13:30:39 +0000 (0:00:00.023) 0:00:34.829 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tests_auto_gateway.yml:110 Friday 09 February 2024 13:30:39 +0000 (0:00:00.204) 0:00:35.033 ******* included: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/assert_device_present.yml:3 Friday 09 February 2024 13:30:40 +0000 (0:00:00.056) 0:00:35.090 ******* included: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 09 February 2024 13:30:40 +0000 (0:00:00.039) 0:00:35.129 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1707485433.9976912, "block_size": 4096, "blocks": 0, "ctime": 1707485433.9976912, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26835, "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": 1707485433.9976912, "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-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/assert_device_present.yml:5 Friday 09 February 2024 13:30:40 +0000 (0:00:00.211) 0:00:35.340 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tests_auto_gateway.yml:112 Friday 09 February 2024 13:30:40 +0000 (0:00:00.025) 0:00:35.366 ******* included: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 09 February 2024 13:30:40 +0000 (0:00:00.096) 0:00:35.462 ******* included: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 09 February 2024 13:30:40 +0000 (0:00:00.041) 0:00:35.504 ******* 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-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 09 February 2024 13:30:40 +0000 (0:00:00.026) 0:00:35.531 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 09 February 2024 13:30:40 +0000 (0:00:00.211) 0:00:35.742 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 09 February 2024 13:30:40 +0000 (0:00:00.024) 0:00:35.767 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.022065", "end": "2024-02-09 13:30:40.909345", "rc": 0, "start": "2024-02-09 13:30:40.887280" } 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-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 09 February 2024 13:30:40 +0000 (0:00:00.254) 0:00:36.021 ******* 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-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 09 February 2024 13:30:40 +0000 (0:00:00.027) 0:00:36.049 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 09 February 2024 13:30:41 +0000 (0:00:00.027) 0:00:36.076 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 09 February 2024 13:30:41 +0000 (0:00:00.027) 0:00:36.103 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 09 February 2024 13:30:41 +0000 (0:00:00.027) 0:00:36.130 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 09 February 2024 13:30:41 +0000 (0:00:00.027) 0:00:36.157 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 09 February 2024 13:30:41 +0000 (0:00:00.028) 0:00:36.186 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 09 February 2024 13:30:41 +0000 (0:00:00.028) 0:00:36.214 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tests_auto_gateway.yml:116 Friday 09 February 2024 13:30:41 +0000 (0:00:00.031) 0:00:36.246 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.004025", "end": "2024-02-09 13:30:41.377991", "rc": 0, "start": "2024-02-09 13:30:41.373966" } STDOUT: default via 10.31.12.1 dev eth0 proto dhcp src 10.31.14.37 metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.14.37 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-bond_options_rewrite86ytuvfo/tests/playbooks/tests_auto_gateway.yml:120 Friday 09 February 2024 13:30:41 +0000 (0:00:00.223) 0:00:36.469 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tests_auto_gateway.yml:126 Friday 09 February 2024 13:30:41 +0000 (0:00:00.025) 0:00:36.495 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003787", "end": "2024-02-09 13:30:41.616416", "rc": 0, "start": "2024-02-09 13:30:41.612629" } STDOUT: 2001:db8::/64 dev veth0 proto kernel metric 101 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 1024 pref medium fe80::/64 dev veth0 proto kernel metric 1024 pref medium TASK [Assert default ipv6 route is absent] ************************************* task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tests_auto_gateway.yml:130 Friday 09 February 2024 13:30:41 +0000 (0:00:00.212) 0:00:36.708 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tests_auto_gateway.yml:137 Friday 09 February 2024 13:30:41 +0000 (0:00:00.029) 0:00:36.737 ******* ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 09 February 2024 13:30:41 +0000 (0:00:00.026) 0:00:36.764 ******* included: /WORKDIR/git-bond_options_rewrite86ytuvfo/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-bond_options_rewrite86ytuvfo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 09 February 2024 13:30:41 +0000 (0:00:00.052) 0:00:36.817 ******* 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-bond_options_rewrite86ytuvfo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 09 February 2024 13:30:41 +0000 (0:00:00.040) 0:00:36.858 ******* 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-bond_options_rewrite86ytuvfo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 09 February 2024 13:30:41 +0000 (0:00:00.036) 0:00:36.895 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 09 February 2024 13:30:41 +0000 (0:00:00.044) 0:00:36.939 ******* 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-bond_options_rewrite86ytuvfo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 09 February 2024 13:30:44 +0000 (0:00:02.209) 0:00:39.148 ******* 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-bond_options_rewrite86ytuvfo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 09 February 2024 13:30:44 +0000 (0:00:00.908) 0:00:40.057 ******* 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-bond_options_rewrite86ytuvfo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 09 February 2024 13:30:45 +0000 (0:00:00.027) 0:00:40.084 ******* 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-bond_options_rewrite86ytuvfo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 09 February 2024 13:30:45 +0000 (0:00:00.024) 0:00:40.109 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 09 February 2024 13:30:45 +0000 (0:00:00.024) 0:00:40.134 ******* 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-bond_options_rewrite86ytuvfo/tests/roles/linux-system-roles.network/tasks/main.yml:43 Friday 09 February 2024 13:30:45 +0000 (0:00:00.045) 0:00:40.180 ******* 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-bond_options_rewrite86ytuvfo/tests/roles/linux-system-roles.network/tasks/main.yml:58 Friday 09 February 2024 13:30:45 +0000 (0:00:00.024) 0:00:40.204 ******* 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-bond_options_rewrite86ytuvfo/tests/roles/linux-system-roles.network/tasks/main.yml:74 Friday 09 February 2024 13:30:45 +0000 (0:00:00.086) 0:00:40.291 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/roles/linux-system-roles.network/tasks/main.yml:88 Friday 09 February 2024 13:30:45 +0000 (0:00:00.029) 0:00:40.320 ******* 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-bond_options_rewrite86ytuvfo/tests/roles/linux-system-roles.network/tasks/main.yml:99 Friday 09 February 2024 13:30:45 +0000 (0:00:00.557) 0:00:40.877 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/roles/linux-system-roles.network/tasks/main.yml:108 Friday 09 February 2024 13:30:45 +0000 (0:00:00.029) 0:00:40.906 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/roles/linux-system-roles.network/tasks/main.yml:116 Friday 09 February 2024 13:30:45 +0000 (0:00:00.024) 0:00:40.930 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/roles/linux-system-roles.network/tasks/main.yml:125 Friday 09 February 2024 13:30:45 +0000 (0:00:00.023) 0:00:40.954 ******* 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-bond_options_rewrite86ytuvfo/tests/roles/linux-system-roles.network/tasks/main.yml:137 Friday 09 February 2024 13:30:46 +0000 (0:00:00.464) 0:00:41.419 ******* 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-bond_options_rewrite86ytuvfo/tests/roles/linux-system-roles.network/tasks/main.yml:143 Friday 09 February 2024 13:30:46 +0000 (0:00:00.025) 0:00:41.444 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/roles/linux-system-roles.network/tasks/main.yml:147 Friday 09 February 2024 13:30:46 +0000 (0:00:00.025) 0:00:41.470 ******* 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-bond_options_rewrite86ytuvfo/tests/roles/linux-system-roles.network/tasks/main.yml:152 Friday 09 February 2024 13:30:46 +0000 (0:00:00.025) 0:00:41.495 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/roles/linux-system-roles.network/tasks/main.yml:158 Friday 09 February 2024 13:30:46 +0000 (0:00:00.047) 0:00:41.542 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tests_auto_gateway.yml:149 Friday 09 February 2024 13:30:46 +0000 (0:00:00.222) 0:00:41.765 ******* included: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/manage_test_interface.yml:3 Friday 09 February 2024 13:30:46 +0000 (0:00:00.127) 0:00:41.892 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/manage_test_interface.yml:8 Friday 09 February 2024 13:30:46 +0000 (0:00:00.030) 0:00:41.922 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/manage_test_interface.yml:13 Friday 09 February 2024 13:30:46 +0000 (0:00:00.041) 0:00:41.964 ******* included: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/show_interfaces.yml:3 Friday 09 February 2024 13:30:46 +0000 (0:00:00.047) 0:00:42.012 ******* included: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 09 February 2024 13:30:46 +0000 (0:00:00.043) 0:00:42.056 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003650", "end": "2024-02-09 13:30:47.178627", "rc": 0, "start": "2024-02-09 13:30:47.174977" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 09 February 2024 13:30:47 +0000 (0:00:00.213) 0:00:42.269 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/show_interfaces.yml:5 Friday 09 February 2024 13:30:47 +0000 (0:00:00.025) 0:00:42.295 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/manage_test_interface.yml:16 Friday 09 February 2024 13:30:47 +0000 (0:00:00.024) 0:00:42.319 ******* ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/manage_test_interface.yml:28 Friday 09 February 2024 13:30:49 +0000 (0:00:02.400) 0:00:44.720 ******* 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-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/manage_test_interface.yml:37 Friday 09 February 2024 13:30:49 +0000 (0:00:00.033) 0:00:44.753 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/manage_test_interface.yml:45 Friday 09 February 2024 13:30:49 +0000 (0:00:00.029) 0:00:44.783 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.020118", "end": "2024-02-09 13:30:49.930115", "rc": 0, "start": "2024-02-09 13:30:49.909997" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/manage_test_interface.yml:52 Friday 09 February 2024 13:30:49 +0000 (0:00:00.248) 0:00:45.031 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/manage_test_interface.yml:58 Friday 09 February 2024 13:30:50 +0000 (0:00:00.058) 0:00:45.090 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/manage_test_interface.yml:65 Friday 09 February 2024 13:30:50 +0000 (0:00:00.051) 0:00:45.142 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/manage_test_interface.yml:71 Friday 09 February 2024 13:30:50 +0000 (0:00:00.040) 0:00:45.182 ******* 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 Friday 09 February 2024 13:30:50 +0000 (0:00:00.025) 0:00:45.208 ******* =============================================================================== Install iproute --------------------------------------------------------- 3.04s /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.41s /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.40s /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.40s /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Check which services are running ----------- 2.24s /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.21s /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.17s /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.16s /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.32s /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Configure networking connection profiles --- 1.27s /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/roles/linux-system-roles.network/tasks/main.yml:125 Gather current interface info ------------------------------------------- 1.22s /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/get_current_interfaces.yml:3 linux-system-roles.network : Enable and start NetworkManager ------------ 1.11s /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/roles/linux-system-roles.network/tasks/main.yml:88 linux-system-roles.network : Check which packages are installed --------- 1.01s /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.93s /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Configure networking connection profiles --- 0.93s /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Check which packages are installed --------- 0.91s /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Gathering Facts --------------------------------------------------------- 0.91s /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/tests_auto_gateway_nm.yml:6 --- Create veth interface veth0 --------------------------------------------- 0.79s /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tasks/manage_test_interface.yml:28 Gathering Facts --------------------------------------------------------- 0.76s /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/playbooks/tests_auto_gateway.yml:3 linux-system-roles.network : Enable and start NetworkManager ------------ 0.71s /WORKDIR/git-bond_options_rewrite86ytuvfo/tests/roles/linux-system-roles.network/tasks/main.yml:88 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---