# 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_rewrites4crho8z/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_rewrites4crho8z/tests/tests_auto_gateway_nm.yml:6 Wednesday 14 February 2024 17:03:20 +0000 (0:00:00.011) 0:00:00.011 **** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/tests_auto_gateway_nm.yml:9 Wednesday 14 February 2024 17:03:21 +0000 (0:00:00.955) 0:00:00.967 **** included: /WORKDIR/git-bond_options_rewrites4crho8z/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_rewrites4crho8z/tests/tasks/el_repo_setup.yml:3 Wednesday 14 February 2024 17:03:21 +0000 (0:00:00.011) 0:00:00.979 **** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/tasks/el_repo_setup.yml:19 Wednesday 14 February 2024 17:03:21 +0000 (0:00:00.509) 0:00:01.488 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/tasks/el_repo_setup.yml:24 Wednesday 14 February 2024 17:03:21 +0000 (0:00:00.277) 0:00:01.766 **** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/tasks/el_repo_setup.yml:28 Wednesday 14 February 2024 17:03:22 +0000 (0:00:00.021) 0:00:01.787 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/tasks/el_repo_setup.yml:53 Wednesday 14 February 2024 17:03:22 +0000 (0:00:00.016) 0:00:01.804 **** included: /WORKDIR/git-bond_options_rewrites4crho8z/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 38] ********************************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/tasks/enable_epel.yml:8 Wednesday 14 February 2024 17:03:22 +0000 (0:00:00.029) 0:00:01.834 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/tasks/enable_epel.yml:24 Wednesday 14 February 2024 17:03:22 +0000 (0:00:00.008) 0:00:01.843 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/tasks/enable_epel.yml:30 Wednesday 14 February 2024 17:03:22 +0000 (0:00:00.007) 0:00:01.851 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/tasks/enable_epel.yml:35 Wednesday 14 February 2024 17:03:22 +0000 (0:00:00.007) 0:00:01.858 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/tasks/enable_epel.yml:40 Wednesday 14 February 2024 17:03:22 +0000 (0:00:00.007) 0:00:01.866 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/tests_auto_gateway_nm.yml:11 Wednesday 14 February 2024 17:03:22 +0000 (0:00:00.007) 0:00:01.874 **** 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_rewrites4crho8z/tests/playbooks/tests_auto_gateway.yml:3 Wednesday 14 February 2024 17:03:22 +0000 (0:00:00.010) 0:00:01.885 **** ok: [sut] META: ran handlers TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tests_auto_gateway.yml:9 Wednesday 14 February 2024 17:03:22 +0000 (0:00:00.751) 0:00:02.636 **** included: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 17:03:22 +0000 (0:00:00.021) 0:00:02.658 **** included: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 17:03:22 +0000 (0:00:00.011) 0:00:02.670 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003638", "end": "2024-02-14 17:03:23.148074", "rc": 0, "start": "2024-02-14 17:03:23.144436" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 17:03:23 +0000 (0:00:00.271) 0:00:02.941 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 17:03:23 +0000 (0:00:00.013) 0:00:02.955 **** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tests_auto_gateway.yml:11 Wednesday 14 February 2024 17:03:23 +0000 (0:00:00.010) 0:00:02.966 **** included: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 14 February 2024 17:03:23 +0000 (0:00:00.027) 0:00:02.993 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 14 February 2024 17:03:23 +0000 (0:00:00.012) 0:00:03.006 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 14 February 2024 17:03:23 +0000 (0:00:00.009) 0:00:03.015 **** included: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 17:03:23 +0000 (0:00:00.013) 0:00:03.029 **** included: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 17:03:23 +0000 (0:00:00.012) 0:00:03.041 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003625", "end": "2024-02-14 17:03:23.448914", "rc": 0, "start": "2024-02-14 17:03:23.445289" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 17:03:23 +0000 (0:00:00.200) 0:00:03.242 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 17:03:23 +0000 (0:00:00.012) 0:00:03.254 **** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 14 February 2024 17:03:23 +0000 (0:00:00.010) 0:00:03.265 **** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/manage_test_interface.yml:28 Wednesday 14 February 2024 17:03:26 +0000 (0:00:02.533) 0:00:05.798 **** 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.045353", "end": "2024-02-14 17:03:26.251962", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-02-14 17:03:26.206609" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004197", "end": "2024-02-14 17:03:26.502853", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-02-14 17:03:26.498656" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004094", "end": "2024-02-14 17:03:26.699128", "item": "ip link set veth0 up", "rc": 0, "start": "2024-02-14 17:03:26.695034" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/manage_test_interface.yml:37 Wednesday 14 February 2024 17:03:26 +0000 (0:00:00.694) 0:00:06.493 **** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.080982", "end": "2024-02-14 17:03:26.980836", "rc": 0, "start": "2024-02-14 17:03:26.899854" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/manage_test_interface.yml:45 Wednesday 14 February 2024 17:03:27 +0000 (0:00:00.282) 0:00:06.775 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/manage_test_interface.yml:52 Wednesday 14 February 2024 17:03:27 +0000 (0:00:00.010) 0:00:06.786 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 14 February 2024 17:03:27 +0000 (0:00:00.010) 0:00:06.796 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/manage_test_interface.yml:65 Wednesday 14 February 2024 17:03:27 +0000 (0:00:00.010) 0:00:06.806 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/manage_test_interface.yml:71 Wednesday 14 February 2024 17:03:27 +0000 (0:00:00.010) 0:00:06.817 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tests_auto_gateway.yml:15 Wednesday 14 February 2024 17:03:27 +0000 (0:00:00.009) 0:00:06.826 **** included: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 14 February 2024 17:03:27 +0000 (0:00:00.026) 0:00:06.852 **** included: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 17:03:27 +0000 (0:00:00.012) 0:00:06.865 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707930206.2476563, "block_size": 4096, "blocks": 0, "ctime": 1707930206.2476563, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26166, "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": 1707930206.2476563, "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_rewrites4crho8z/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 14 February 2024 17:03:27 +0000 (0:00:00.224) 0:00:07.090 **** 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_rewrites4crho8z/tests/playbooks/tests_auto_gateway.yml:17 Wednesday 14 February 2024 17:03:27 +0000 (0:00:00.031) 0:00:07.121 **** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:03:27 +0000 (0:00:00.021) 0:00:07.143 **** included: /WORKDIR/git-bond_options_rewrites4crho8z/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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:03:27 +0000 (0:00:00.082) 0:00:07.225 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:03:27 +0000 (0:00:00.011) 0:00:07.236 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:03:27 +0000 (0:00:00.010) 0:00:07.247 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:03:27 +0000 (0:00:00.009) 0:00:07.256 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:03:29 +0000 (0:00:02.179) 0:00:09.435 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:03:30 +0000 (0:00:01.071) 0:00:10.507 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:03:30 +0000 (0:00:00.041) 0:00:10.548 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:03:30 +0000 (0:00:00.023) 0:00:10.572 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:03:30 +0000 (0:00:00.022) 0:00:10.594 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:03:30 +0000 (0:00:00.046) 0:00:10.641 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:03:30 +0000 (0:00:00.029) 0:00:10.670 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:03:30 +0000 (0:00:00.022) 0:00:10.693 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:03:30 +0000 (0:00:00.027) 0:00:10.720 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:03:31 +0000 (0:00:00.706) 0:00:11.427 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:03:31 +0000 (0:00:00.027) 0:00:11.455 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:03:31 +0000 (0:00:00.022) 0:00:11.477 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:03:31 +0000 (0:00:00.022) 0:00:11.499 **** 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, 50311eef-b61f-4be1-a2c9-d58249ca7547 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 50311eef-b61f-4be1-a2c9-d58249ca7547 (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:03:32 +0000 (0:00:00.837) 0:00:12.336 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:03:32 +0000 (0:00:00.022) 0:00:12.359 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 50311eef-b61f-4be1-a2c9-d58249ca7547", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 50311eef-b61f-4be1-a2c9-d58249ca7547 (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:03:32 +0000 (0:00:00.022) 0:00:12.381 **** 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, 50311eef-b61f-4be1-a2c9-d58249ca7547\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 50311eef-b61f-4be1-a2c9-d58249ca7547 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 50311eef-b61f-4be1-a2c9-d58249ca7547", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 50311eef-b61f-4be1-a2c9-d58249ca7547 (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:03:32 +0000 (0:00:00.022) 0:00:12.404 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:03:32 +0000 (0:00:00.021) 0:00:12.426 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tests_auto_gateway.yml:42 Wednesday 14 February 2024 17:03:32 +0000 (0:00:00.248) 0:00:12.674 **** included: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 14 February 2024 17:03:32 +0000 (0:00:00.048) 0:00:12.723 **** included: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 17:03:32 +0000 (0:00:00.037) 0:00:12.760 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707930206.2476563, "block_size": 4096, "blocks": 0, "ctime": 1707930206.2476563, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26166, "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": 1707930206.2476563, "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_rewrites4crho8z/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 14 February 2024 17:03:33 +0000 (0:00:00.209) 0:00:12.970 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tests_auto_gateway.yml:44 Wednesday 14 February 2024 17:03:33 +0000 (0:00:00.023) 0:00:12.994 **** included: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 14 February 2024 17:03:33 +0000 (0:00:00.085) 0:00:13.079 **** included: /WORKDIR/git-bond_options_rewrites4crho8z/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_rewrites4crho8z/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 17:03:33 +0000 (0:00:00.039) 0:00:13.119 **** 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_rewrites4crho8z/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 17:03:33 +0000 (0:00:00.028) 0:00:13.148 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 17:03:33 +0000 (0:00:00.206) 0:00:13.354 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 17:03:33 +0000 (0:00:00.022) 0:00:13.377 **** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.024870", "end": "2024-02-14 17:03:33.808878", "rc": 0, "start": "2024-02-14 17:03:33.784008" } 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_rewrites4crho8z/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 17:03:33 +0000 (0:00:00.236) 0:00:13.614 **** 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_rewrites4crho8z/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 17:03:33 +0000 (0:00:00.025) 0:00:13.639 **** 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_rewrites4crho8z/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 17:03:33 +0000 (0:00:00.027) 0:00:13.667 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 17:03:33 +0000 (0:00:00.023) 0:00:13.690 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 17:03:33 +0000 (0:00:00.023) 0:00:13.714 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 14 February 2024 17:03:33 +0000 (0:00:00.023) 0:00:13.738 **** 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_rewrites4crho8z/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 14 February 2024 17:03:33 +0000 (0:00:00.025) 0:00:13.763 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 14 February 2024 17:03:34 +0000 (0:00:00.024) 0:00:13.788 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tests_auto_gateway.yml:48 Wednesday 14 February 2024 17:03:34 +0000 (0:00:00.049) 0:00:13.837 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003678", "end": "2024-02-14 17:03:34.244333", "rc": 0, "start": "2024-02-14 17:03:34.240655" } STDOUT: default via 10.31.8.1 dev eth0 proto dhcp src 10.31.9.101 metric 100 default via 203.0.113.1 dev veth0 proto static metric 65535 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.9.101 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_rewrites4crho8z/tests/playbooks/tests_auto_gateway.yml:52 Wednesday 14 February 2024 17:03:34 +0000 (0:00:00.211) 0:00:14.048 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tests_auto_gateway.yml:58 Wednesday 14 February 2024 17:03:34 +0000 (0:00:00.023) 0:00:14.072 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003813", "end": "2024-02-14 17:03:34.479993", "rc": 0, "start": "2024-02-14 17:03:34.476180" } 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_rewrites4crho8z/tests/playbooks/tests_auto_gateway.yml:62 Wednesday 14 February 2024 17:03:34 +0000 (0:00:00.211) 0:00:14.284 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tests_auto_gateway.yml:69 Wednesday 14 February 2024 17:03:34 +0000 (0:00:00.025) 0:00:14.309 **** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:03:34 +0000 (0:00:00.023) 0:00:14.333 **** included: /WORKDIR/git-bond_options_rewrites4crho8z/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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:03:34 +0000 (0:00:00.043) 0:00:14.376 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:03:34 +0000 (0:00:00.028) 0:00:14.405 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:03:34 +0000 (0:00:00.023) 0:00:14.428 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:03:34 +0000 (0:00:00.023) 0:00:14.451 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:03:36 +0000 (0:00:02.124) 0:00:16.575 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:03:37 +0000 (0:00:00.908) 0:00:17.484 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:03:37 +0000 (0:00:00.025) 0:00:17.510 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:03:37 +0000 (0:00:00.040) 0:00:17.550 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:03:37 +0000 (0:00:00.033) 0:00:17.584 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:03:37 +0000 (0:00:00.044) 0:00:17.629 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:03:37 +0000 (0:00:00.046) 0:00:17.675 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:03:37 +0000 (0:00:00.022) 0:00:17.698 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:03:37 +0000 (0:00:00.025) 0:00:17.723 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:03:38 +0000 (0:00:00.546) 0:00:18.270 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:03:38 +0000 (0:00:00.026) 0:00:18.296 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:03:38 +0000 (0:00:00.021) 0:00:18.317 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:03:38 +0000 (0:00:00.022) 0:00:18.340 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:03:39 +0000 (0:00:00.458) 0:00:18.799 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:03:39 +0000 (0:00:00.022) 0:00:18.821 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:03:39 +0000 (0:00:00.023) 0:00:18.845 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:03:39 +0000 (0:00:00.026) 0:00:18.871 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:03:39 +0000 (0:00:00.023) 0:00:18.895 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tests_auto_gateway.yml:81 Wednesday 14 February 2024 17:03:39 +0000 (0:00:00.238) 0:00:19.133 **** included: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 14 February 2024 17:03:39 +0000 (0:00:00.053) 0:00:19.187 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 14 February 2024 17:03:39 +0000 (0:00:00.021) 0:00:19.208 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 14 February 2024 17:03:39 +0000 (0:00:00.021) 0:00:19.229 **** included: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 17:03:39 +0000 (0:00:00.035) 0:00:19.265 **** included: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 17:03:39 +0000 (0:00:00.034) 0:00:19.299 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003654", "end": "2024-02-14 17:03:39.704912", "rc": 0, "start": "2024-02-14 17:03:39.701258" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 17:03:39 +0000 (0:00:00.209) 0:00:19.508 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 17:03:39 +0000 (0:00:00.023) 0:00:19.532 **** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 14 February 2024 17:03:39 +0000 (0:00:00.021) 0:00:19.554 **** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/manage_test_interface.yml:28 Wednesday 14 February 2024 17:03:42 +0000 (0:00:02.399) 0:00:21.953 **** 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_rewrites4crho8z/tests/playbooks/tasks/manage_test_interface.yml:37 Wednesday 14 February 2024 17:03:42 +0000 (0:00:00.032) 0:00:21.986 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/manage_test_interface.yml:45 Wednesday 14 February 2024 17:03:42 +0000 (0:00:00.022) 0:00:22.008 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.009283", "end": "2024-02-14 17:03:42.425109", "rc": 0, "start": "2024-02-14 17:03:42.415826" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/manage_test_interface.yml:52 Wednesday 14 February 2024 17:03:42 +0000 (0:00:00.234) 0:00:22.243 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 14 February 2024 17:03:42 +0000 (0:00:00.022) 0:00:22.266 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/manage_test_interface.yml:65 Wednesday 14 February 2024 17:03:42 +0000 (0:00:00.024) 0:00:22.290 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/manage_test_interface.yml:71 Wednesday 14 February 2024 17:03:42 +0000 (0:00:00.023) 0:00:22.313 **** 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_rewrites4crho8z/tests/playbooks/tests_auto_gateway.yml:85 Wednesday 14 February 2024 17:03:42 +0000 (0:00:00.020) 0:00:22.334 **** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tests_auto_gateway.yml:89 Wednesday 14 February 2024 17:03:42 +0000 (0:00:00.022) 0:00:22.357 **** included: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 14 February 2024 17:03:42 +0000 (0:00:00.086) 0:00:22.444 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 14 February 2024 17:03:42 +0000 (0:00:00.035) 0:00:22.479 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 14 February 2024 17:03:42 +0000 (0:00:00.024) 0:00:22.504 **** included: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 17:03:42 +0000 (0:00:00.046) 0:00:22.551 **** included: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 17:03:42 +0000 (0:00:00.037) 0:00:22.588 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003654", "end": "2024-02-14 17:03:42.996930", "rc": 0, "start": "2024-02-14 17:03:42.993276" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 17:03:43 +0000 (0:00:00.219) 0:00:22.808 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 17:03:43 +0000 (0:00:00.027) 0:00:22.836 **** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 14 February 2024 17:03:43 +0000 (0:00:00.025) 0:00:22.861 **** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/manage_test_interface.yml:28 Wednesday 14 February 2024 17:03:45 +0000 (0:00:02.429) 0:00:25.290 **** 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.008940", "end": "2024-02-14 17:03:45.708819", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-02-14 17:03:45.699879" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003964", "end": "2024-02-14 17:03:45.956527", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-02-14 17:03:45.952563" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.003901", "end": "2024-02-14 17:03:46.160060", "item": "ip link set veth0 up", "rc": 0, "start": "2024-02-14 17:03:46.156159" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/manage_test_interface.yml:37 Wednesday 14 February 2024 17:03:46 +0000 (0:00:00.676) 0:00:25.966 **** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.020233", "end": "2024-02-14 17:03:46.390234", "rc": 0, "start": "2024-02-14 17:03:46.370001" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/manage_test_interface.yml:45 Wednesday 14 February 2024 17:03:46 +0000 (0:00:00.231) 0:00:26.197 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/manage_test_interface.yml:52 Wednesday 14 February 2024 17:03:46 +0000 (0:00:00.023) 0:00:26.221 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 14 February 2024 17:03:46 +0000 (0:00:00.023) 0:00:26.245 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/manage_test_interface.yml:65 Wednesday 14 February 2024 17:03:46 +0000 (0:00:00.021) 0:00:26.267 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/manage_test_interface.yml:71 Wednesday 14 February 2024 17:03:46 +0000 (0:00:00.022) 0:00:26.289 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:03:46 +0000 (0:00:00.021) 0:00:26.310 **** included: /WORKDIR/git-bond_options_rewrites4crho8z/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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:03:46 +0000 (0:00:00.068) 0:00:26.379 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:03:46 +0000 (0:00:00.028) 0:00:26.408 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:03:46 +0000 (0:00:00.022) 0:00:26.430 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:03:46 +0000 (0:00:00.021) 0:00:26.452 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:03:48 +0000 (0:00:02.136) 0:00:28.589 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:03:49 +0000 (0:00:00.967) 0:00:29.556 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:03:49 +0000 (0:00:00.037) 0:00:29.594 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:03:49 +0000 (0:00:00.023) 0:00:29.618 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:03:49 +0000 (0:00:00.022) 0:00:29.641 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:03:49 +0000 (0:00:00.046) 0:00:29.687 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:03:49 +0000 (0:00:00.022) 0:00:29.709 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:03:49 +0000 (0:00:00.022) 0:00:29.732 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:03:49 +0000 (0:00:00.027) 0:00:29.760 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:03:50 +0000 (0:00:00.550) 0:00:30.310 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:03:50 +0000 (0:00:00.026) 0:00:30.336 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:03:50 +0000 (0:00:00.022) 0:00:30.359 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:03:50 +0000 (0:00:00.026) 0:00:30.386 **** 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, c8f578ef-8848-45e6-ac44-dc908ad40c70 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, c8f578ef-8848-45e6-ac44-dc908ad40c70 (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:03:51 +0000 (0:00:00.534) 0:00:30.920 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:03:51 +0000 (0:00:00.062) 0:00:30.982 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, c8f578ef-8848-45e6-ac44-dc908ad40c70", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, c8f578ef-8848-45e6-ac44-dc908ad40c70 (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:03:51 +0000 (0:00:00.031) 0:00:31.013 **** 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, c8f578ef-8848-45e6-ac44-dc908ad40c70\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, c8f578ef-8848-45e6-ac44-dc908ad40c70 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, c8f578ef-8848-45e6-ac44-dc908ad40c70", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, c8f578ef-8848-45e6-ac44-dc908ad40c70 (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:03:51 +0000 (0:00:00.035) 0:00:31.048 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:03:51 +0000 (0:00:00.026) 0:00:31.075 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tests_auto_gateway.yml:110 Wednesday 14 February 2024 17:03:51 +0000 (0:00:00.203) 0:00:31.278 **** included: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 14 February 2024 17:03:51 +0000 (0:00:00.057) 0:00:31.336 **** included: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 17:03:51 +0000 (0:00:00.039) 0:00:31.375 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707930225.704733, "block_size": 4096, "blocks": 0, "ctime": 1707930225.704733, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26752, "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": 1707930225.704733, "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_rewrites4crho8z/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 14 February 2024 17:03:51 +0000 (0:00:00.210) 0:00:31.586 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tests_auto_gateway.yml:112 Wednesday 14 February 2024 17:03:51 +0000 (0:00:00.024) 0:00:31.610 **** included: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 14 February 2024 17:03:51 +0000 (0:00:00.054) 0:00:31.665 **** included: /WORKDIR/git-bond_options_rewrites4crho8z/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_rewrites4crho8z/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 17:03:51 +0000 (0:00:00.076) 0:00:31.742 **** 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_rewrites4crho8z/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 17:03:51 +0000 (0:00:00.022) 0:00:31.764 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 17:03:52 +0000 (0:00:00.205) 0:00:31.970 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 17:03:52 +0000 (0:00:00.024) 0:00:31.994 **** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.021991", "end": "2024-02-14 17:03:52.429528", "rc": 0, "start": "2024-02-14 17:03:52.407537" } 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_rewrites4crho8z/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 17:03:52 +0000 (0:00:00.245) 0:00:32.240 **** 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_rewrites4crho8z/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 17:03:52 +0000 (0:00:00.033) 0:00:32.274 **** 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_rewrites4crho8z/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 17:03:52 +0000 (0:00:00.030) 0:00:32.304 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 17:03:52 +0000 (0:00:00.026) 0:00:32.331 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 17:03:52 +0000 (0:00:00.024) 0:00:32.356 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 14 February 2024 17:03:52 +0000 (0:00:00.024) 0:00:32.381 **** 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_rewrites4crho8z/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 14 February 2024 17:03:52 +0000 (0:00:00.025) 0:00:32.406 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 14 February 2024 17:03:52 +0000 (0:00:00.026) 0:00:32.432 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tests_auto_gateway.yml:116 Wednesday 14 February 2024 17:03:52 +0000 (0:00:00.024) 0:00:32.457 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003856", "end": "2024-02-14 17:03:52.866215", "rc": 0, "start": "2024-02-14 17:03:52.862359" } STDOUT: default via 10.31.8.1 dev eth0 proto dhcp src 10.31.9.101 metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.9.101 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_rewrites4crho8z/tests/playbooks/tests_auto_gateway.yml:120 Wednesday 14 February 2024 17:03:52 +0000 (0:00:00.249) 0:00:32.706 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tests_auto_gateway.yml:126 Wednesday 14 February 2024 17:03:52 +0000 (0:00:00.025) 0:00:32.731 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003746", "end": "2024-02-14 17:03:53.139472", "rc": 0, "start": "2024-02-14 17:03:53.135726" } 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_rewrites4crho8z/tests/playbooks/tests_auto_gateway.yml:130 Wednesday 14 February 2024 17:03:53 +0000 (0:00:00.213) 0:00:32.944 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tests_auto_gateway.yml:137 Wednesday 14 February 2024 17:03:53 +0000 (0:00:00.026) 0:00:32.971 **** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:03:53 +0000 (0:00:00.024) 0:00:32.996 **** included: /WORKDIR/git-bond_options_rewrites4crho8z/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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:03:53 +0000 (0:00:00.040) 0:00:33.037 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:03:53 +0000 (0:00:00.030) 0:00:33.067 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:03:53 +0000 (0:00:00.023) 0:00:33.090 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:03:53 +0000 (0:00:00.021) 0:00:33.112 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:03:55 +0000 (0:00:02.105) 0:00:35.218 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:03:56 +0000 (0:00:00.915) 0:00:36.134 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:03:56 +0000 (0:00:00.025) 0:00:36.159 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:03:56 +0000 (0:00:00.024) 0:00:36.184 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:03:56 +0000 (0:00:00.024) 0:00:36.209 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:03:56 +0000 (0:00:00.044) 0:00:36.253 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:03:56 +0000 (0:00:00.021) 0:00:36.274 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:03:56 +0000 (0:00:00.021) 0:00:36.295 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:03:56 +0000 (0:00:00.061) 0:00:36.357 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:03:57 +0000 (0:00:00.565) 0:00:36.923 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:03:57 +0000 (0:00:00.026) 0:00:36.949 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:03:57 +0000 (0:00:00.028) 0:00:36.977 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:03:57 +0000 (0:00:00.028) 0:00:37.006 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:03:57 +0000 (0:00:00.444) 0:00:37.450 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:03:57 +0000 (0:00:00.022) 0:00:37.473 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:03:57 +0000 (0:00:00.025) 0:00:37.498 **** 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_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:03:57 +0000 (0:00:00.026) 0:00:37.525 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:03:57 +0000 (0:00:00.023) 0:00:37.548 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tests_auto_gateway.yml:149 Wednesday 14 February 2024 17:03:57 +0000 (0:00:00.204) 0:00:37.752 **** included: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 14 February 2024 17:03:58 +0000 (0:00:00.093) 0:00:37.846 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 14 February 2024 17:03:58 +0000 (0:00:00.030) 0:00:37.876 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 14 February 2024 17:03:58 +0000 (0:00:00.031) 0:00:37.908 **** included: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 17:03:58 +0000 (0:00:00.038) 0:00:37.946 **** included: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 17:03:58 +0000 (0:00:00.039) 0:00:37.985 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003547", "end": "2024-02-14 17:03:58.399088", "rc": 0, "start": "2024-02-14 17:03:58.395541" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 17:03:58 +0000 (0:00:00.218) 0:00:38.203 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 17:03:58 +0000 (0:00:00.023) 0:00:38.227 **** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 14 February 2024 17:03:58 +0000 (0:00:00.022) 0:00:38.249 **** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/manage_test_interface.yml:28 Wednesday 14 February 2024 17:04:01 +0000 (0:00:02.540) 0:00:40.790 **** 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_rewrites4crho8z/tests/playbooks/tasks/manage_test_interface.yml:37 Wednesday 14 February 2024 17:04:01 +0000 (0:00:00.034) 0:00:40.824 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/manage_test_interface.yml:45 Wednesday 14 February 2024 17:04:01 +0000 (0:00:00.026) 0:00:40.851 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.019842", "end": "2024-02-14 17:04:01.281139", "rc": 0, "start": "2024-02-14 17:04:01.261297" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/manage_test_interface.yml:52 Wednesday 14 February 2024 17:04:01 +0000 (0:00:00.237) 0:00:41.088 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 14 February 2024 17:04:01 +0000 (0:00:00.032) 0:00:41.120 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/manage_test_interface.yml:65 Wednesday 14 February 2024 17:04:01 +0000 (0:00:00.039) 0:00:41.160 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/manage_test_interface.yml:71 Wednesday 14 February 2024 17:04:01 +0000 (0:00:00.047) 0:00:41.207 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify network state restored to default] ******************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tests_auto_gateway.yml:153 Wednesday 14 February 2024 17:04:01 +0000 (0:00:00.025) 0:00:41.233 **** included: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/check_network_dns.yml:6 Wednesday 14 February 2024 17:04:01 +0000 (0:00:00.086) 0:00:41.319 **** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :\nfi\n", "delta": "0:00:00.008861", "end": "2024-02-14 17:04:01.747878", "rc": 0, "start": "2024-02-14 17:04:01.739017" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host noprefixroute valid_lft forever preferred_lft forever 2: eth0: mtu 1500 qdisc mq state UP group default qlen 1000 link/ether 12:c4:27:3e:f7:d3 brd ff:ff:ff:ff:ff:ff altname enX0 inet 10.31.9.101/22 brd 10.31.11.255 scope global dynamic noprefixroute eth0 valid_lft 2836sec preferred_lft 2836sec inet6 fe80::10c4:27ff:fe3e:f7d3/64 scope link noprefixroute valid_lft forever preferred_lft forever IP ROUTE default via 10.31.8.1 dev eth0 proto dhcp src 10.31.9.101 metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.9.101 metric 100 IP -6 ROUTE fe80::/64 dev eth0 proto kernel metric 1024 pref medium RESOLV # This is /run/systemd/resolve/stub-resolv.conf managed by man:systemd-resolved(8). # Do not edit. # # This file might be symlinked as /etc/resolv.conf. If you're looking at # /etc/resolv.conf and seeing this text, you have followed the symlink. # # This is a dynamic resolv.conf file for connecting local clients to the # internal DNS stub resolver of systemd-resolved. This file lists all # configured search domains. # # Run "resolvectl status" to see details about the uplink DNS servers # currently in use. # # Third party programs should typically not access this file directly, but only # through the symlink at /etc/resolv.conf. To manage man:resolv.conf(5) in a # different way, replace this symlink by a static file or a different symlink. # # See man:systemd-resolved.service(8) for details about the supported modes of # operation for /etc/resolv.conf. nameserver 127.0.0.53 options edns0 trust-ad search us-east-1.aws.redhat.com TASK [Verify DNS and ping still work] ****************************************** task path: /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/check_network_dns.yml:24 Wednesday 14 February 2024 17:04:01 +0000 (0:00:00.307) 0:00:41.627 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=127 changed=4 unreachable=0 failed=0 skipped=103 rescued=0 ignored=0 Wednesday 14 February 2024 17:04:01 +0000 (0:00:00.035) 0:00:41.662 **** =============================================================================== Install iproute --------------------------------------------------------- 2.54s /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.53s /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.43s /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.40s /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Check which services are running ----------- 2.18s /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.14s /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.12s /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.11s /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Enable and start NetworkManager ------------ 1.11s /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:88 linux-system-roles.network : Check which packages are installed --------- 1.07s /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.97s /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Gathering Facts --------------------------------------------------------- 0.96s /WORKDIR/git-bond_options_rewrites4crho8z/tests/tests_auto_gateway_nm.yml:6 --- linux-system-roles.network : Check which packages are installed --------- 0.92s /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.91s /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Configure networking connection profiles --- 0.90s /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Configure networking connection profiles --- 0.84s /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:125 Gathering Facts --------------------------------------------------------- 0.75s /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tests_auto_gateway.yml:3 linux-system-roles.network : Enable and start NetworkManager ------------ 0.71s /WORKDIR/git-bond_options_rewrites4crho8z/tests/roles/linux-system-roles.network/tasks/main.yml:88 Create veth interface veth0 --------------------------------------------- 0.69s /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/manage_test_interface.yml:28 Create veth interface veth0 --------------------------------------------- 0.68s /WORKDIR/git-bond_options_rewrites4crho8z/tests/playbooks/tasks/manage_test_interface.yml:28 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: Distribution fedora 38 on host sut should use /usr/bin/python3, but is using /usr/bin/python for backward compatibility with prior Ansible releases. A future Ansible release will default to using the discovered platform python for this host. See https://docs.ansible.com/ansible/ 2.9/reference_appendices/interpreter_discovery.html for more information. This feature will be removed in version 2.12. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---