# 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_rewrite_h5tzmip/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_rewrite_h5tzmip/tests/tests_auto_gateway_nm.yml:6 Tuesday 13 February 2024 21:19:48 +0000 (0:00:00.012) 0:00:00.012 ****** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/tests_auto_gateway_nm.yml:9 Tuesday 13 February 2024 21:19:49 +0000 (0:00:00.764) 0:00:00.777 ****** included: /WORKDIR/git-bond_options_rewrite_h5tzmip/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_rewrite_h5tzmip/tests/tasks/el_repo_setup.yml:3 Tuesday 13 February 2024 21:19:49 +0000 (0:00:00.012) 0:00:00.789 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/tasks/el_repo_setup.yml:19 Tuesday 13 February 2024 21:19:49 +0000 (0:00:00.355) 0:00:01.145 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/tasks/el_repo_setup.yml:24 Tuesday 13 February 2024 21:19:50 +0000 (0:00:00.289) 0:00:01.435 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/tasks/el_repo_setup.yml:28 Tuesday 13 February 2024 21:19:50 +0000 (0:00:00.044) 0:00:01.479 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/tasks/el_repo_setup.yml:53 Tuesday 13 February 2024 21:19:50 +0000 (0:00:00.077) 0:00:01.556 ****** included: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 9] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/tasks/enable_epel.yml:8 Tuesday 13 February 2024 21:19:50 +0000 (0:00:00.077) 0:00:01.634 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/tasks/enable_epel.yml:24 Tuesday 13 February 2024 21:19:50 +0000 (0:00:00.024) 0:00:01.659 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/tasks/enable_epel.yml:30 Tuesday 13 February 2024 21:19:50 +0000 (0:00:00.014) 0:00:01.674 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/tasks/enable_epel.yml:35 Tuesday 13 February 2024 21:19:50 +0000 (0:00:00.011) 0:00:01.685 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/tasks/enable_epel.yml:40 Tuesday 13 February 2024 21:19:50 +0000 (0:00:00.010) 0:00:01.695 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/tests_auto_gateway_nm.yml:11 Tuesday 13 February 2024 21:19:50 +0000 (0:00:00.029) 0:00:01.725 ****** 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_rewrite_h5tzmip/tests/playbooks/tests_auto_gateway.yml:3 Tuesday 13 February 2024 21:19:50 +0000 (0:00:00.041) 0:00:01.767 ****** ok: [sut] META: ran handlers TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tests_auto_gateway.yml:9 Tuesday 13 February 2024 21:19:50 +0000 (0:00:00.515) 0:00:02.282 ****** included: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 21:19:50 +0000 (0:00:00.026) 0:00:02.308 ****** included: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 21:19:50 +0000 (0:00:00.013) 0:00:02.322 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003383", "end": "2024-02-13 21:19:51.154816", "rc": 0, "start": "2024-02-13 21:19:51.151433" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 21:19:51 +0000 (0:00:00.252) 0:00:02.575 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 21:19:51 +0000 (0:00:00.011) 0:00:02.586 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tests_auto_gateway.yml:11 Tuesday 13 February 2024 21:19:51 +0000 (0:00:00.014) 0:00:02.601 ****** included: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 13 February 2024 21:19:51 +0000 (0:00:00.039) 0:00:02.641 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 13 February 2024 21:19:51 +0000 (0:00:00.010) 0:00:02.651 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 13 February 2024 21:19:51 +0000 (0:00:00.014) 0:00:02.666 ****** included: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 21:19:51 +0000 (0:00:00.025) 0:00:02.691 ****** included: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 21:19:51 +0000 (0:00:00.017) 0:00:02.708 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003418", "end": "2024-02-13 21:19:51.482317", "rc": 0, "start": "2024-02-13 21:19:51.478899" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 21:19:51 +0000 (0:00:00.197) 0:00:02.906 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 21:19:51 +0000 (0:00:00.014) 0:00:02.921 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 13 February 2024 21:19:51 +0000 (0:00:00.025) 0:00:02.947 ****** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tasks/manage_test_interface.yml:28 Tuesday 13 February 2024 21:19:53 +0000 (0:00:02.260) 0:00:05.207 ****** 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.017236", "end": "2024-02-13 21:19:54.023032", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-02-13 21:19:54.005796" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003970", "end": "2024-02-13 21:19:54.248469", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-02-13 21:19:54.244499" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.003682", "end": "2024-02-13 21:19:54.436157", "item": "ip link set veth0 up", "rc": 0, "start": "2024-02-13 21:19:54.432475" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tasks/manage_test_interface.yml:37 Tuesday 13 February 2024 21:19:54 +0000 (0:00:00.665) 0:00:05.873 ****** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.104677", "end": "2024-02-13 21:19:54.786900", "rc": 0, "start": "2024-02-13 21:19:54.682223" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tasks/manage_test_interface.yml:45 Tuesday 13 February 2024 21:19:54 +0000 (0:00:00.345) 0:00:06.218 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tasks/manage_test_interface.yml:52 Tuesday 13 February 2024 21:19:54 +0000 (0:00:00.020) 0:00:06.238 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tasks/manage_test_interface.yml:58 Tuesday 13 February 2024 21:19:54 +0000 (0:00:00.042) 0:00:06.280 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tasks/manage_test_interface.yml:65 Tuesday 13 February 2024 21:19:54 +0000 (0:00:00.027) 0:00:06.308 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tasks/manage_test_interface.yml:71 Tuesday 13 February 2024 21:19:54 +0000 (0:00:00.013) 0:00:06.322 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tests_auto_gateway.yml:15 Tuesday 13 February 2024 21:19:54 +0000 (0:00:00.074) 0:00:06.397 ****** included: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 13 February 2024 21:19:55 +0000 (0:00:00.056) 0:00:06.453 ****** included: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 13 February 2024 21:19:55 +0000 (0:00:00.134) 0:00:06.587 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707859194.0182445, "block_size": 4096, "blocks": 0, "ctime": 1707859194.0182445, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 22965, "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": 1707859194.0182445, "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_rewrite_h5tzmip/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 13 February 2024 21:19:55 +0000 (0:00:00.265) 0:00:06.853 ****** 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_rewrite_h5tzmip/tests/playbooks/tests_auto_gateway.yml:17 Tuesday 13 February 2024 21:19:55 +0000 (0:00:00.036) 0:00:06.890 ****** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 13 February 2024 21:19:55 +0000 (0:00:00.011) 0:00:06.901 ****** included: /WORKDIR/git-bond_options_rewrite_h5tzmip/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_rewrite_h5tzmip/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 13 February 2024 21:19:55 +0000 (0:00:00.083) 0:00:06.985 ****** 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_rewrite_h5tzmip/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 13 February 2024 21:19:55 +0000 (0:00:00.016) 0:00:07.001 ****** 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_rewrite_h5tzmip/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 13 February 2024 21:19:55 +0000 (0:00:00.011) 0:00:07.012 ****** 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_rewrite_h5tzmip/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 13 February 2024 21:19:55 +0000 (0:00:00.011) 0:00:07.023 ****** 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_rewrite_h5tzmip/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 13 February 2024 21:19:57 +0000 (0:00:01.536) 0:00:08.560 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 13 February 2024 21:19:58 +0000 (0:00:01.177) 0:00:09.738 ****** 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_rewrite_h5tzmip/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 13 February 2024 21:19:58 +0000 (0:00:00.042) 0:00:09.780 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 13 February 2024 21:19:58 +0000 (0:00:00.033) 0:00:09.813 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 13 February 2024 21:19:58 +0000 (0:00:00.022) 0:00:09.835 ****** 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_rewrite_h5tzmip/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 13 February 2024 21:19:58 +0000 (0:00:00.089) 0:00:09.925 ****** 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_rewrite_h5tzmip/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 13 February 2024 21:19:58 +0000 (0:00:00.030) 0:00:09.955 ****** 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_rewrite_h5tzmip/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 13 February 2024 21:19:58 +0000 (0:00:00.059) 0:00:10.015 ****** 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_rewrite_h5tzmip/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 13 February 2024 21:19:58 +0000 (0:00:00.034) 0:00:10.049 ****** 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_rewrite_h5tzmip/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 13 February 2024 21:19:59 +0000 (0:00:00.654) 0:00:10.703 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 13 February 2024 21:19:59 +0000 (0:00:00.029) 0:00:10.733 ****** 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_rewrite_h5tzmip/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 13 February 2024 21:19:59 +0000 (0:00:00.047) 0:00:10.781 ****** 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_rewrite_h5tzmip/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 13 February 2024 21:19:59 +0000 (0:00:00.043) 0:00:10.824 ****** 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, abe103a3-7e16-4e87-a5ca-d8394e2fa77c [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, abe103a3-7e16-4e87-a5ca-d8394e2fa77c (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 13 February 2024 21:20:00 +0000 (0:00:00.980) 0:00:11.805 ****** 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_rewrite_h5tzmip/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 13 February 2024 21:20:00 +0000 (0:00:00.059) 0:00:11.865 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, abe103a3-7e16-4e87-a5ca-d8394e2fa77c", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, abe103a3-7e16-4e87-a5ca-d8394e2fa77c (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 13 February 2024 21:20:00 +0000 (0:00:00.042) 0:00:11.908 ****** 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, abe103a3-7e16-4e87-a5ca-d8394e2fa77c\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, abe103a3-7e16-4e87-a5ca-d8394e2fa77c (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, abe103a3-7e16-4e87-a5ca-d8394e2fa77c", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, abe103a3-7e16-4e87-a5ca-d8394e2fa77c (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 13 February 2024 21:20:00 +0000 (0:00:00.037) 0:00:11.945 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 13 February 2024 21:20:00 +0000 (0:00:00.041) 0:00:11.987 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tests_auto_gateway.yml:42 Tuesday 13 February 2024 21:20:01 +0000 (0:00:00.437) 0:00:12.425 ****** included: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 13 February 2024 21:20:01 +0000 (0:00:00.079) 0:00:12.504 ****** included: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 13 February 2024 21:20:01 +0000 (0:00:00.105) 0:00:12.609 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707859194.0182445, "block_size": 4096, "blocks": 0, "ctime": 1707859194.0182445, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 22965, "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": 1707859194.0182445, "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_rewrite_h5tzmip/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 13 February 2024 21:20:01 +0000 (0:00:00.224) 0:00:12.834 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tests_auto_gateway.yml:44 Tuesday 13 February 2024 21:20:01 +0000 (0:00:00.054) 0:00:12.889 ****** included: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 13 February 2024 21:20:01 +0000 (0:00:00.094) 0:00:12.983 ****** included: /WORKDIR/git-bond_options_rewrite_h5tzmip/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_rewrite_h5tzmip/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 13 February 2024 21:20:01 +0000 (0:00:00.161) 0:00:13.145 ****** 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_rewrite_h5tzmip/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 13 February 2024 21:20:01 +0000 (0:00:00.037) 0:00:13.183 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 13 February 2024 21:20:02 +0000 (0:00:00.284) 0:00:13.467 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 13 February 2024 21:20:02 +0000 (0:00:00.026) 0:00:13.494 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.200445", "end": "2024-02-13 21:20:02.476713", "rc": 0, "start": "2024-02-13 21:20:02.276268" } 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_rewrite_h5tzmip/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 13 February 2024 21:20:02 +0000 (0:00:00.419) 0:00:13.914 ****** 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_rewrite_h5tzmip/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 13 February 2024 21:20:02 +0000 (0:00:00.035) 0:00:13.949 ****** 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_rewrite_h5tzmip/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 13 February 2024 21:20:02 +0000 (0:00:00.023) 0:00:13.972 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 13 February 2024 21:20:02 +0000 (0:00:00.023) 0:00:13.996 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 13 February 2024 21:20:02 +0000 (0:00:00.024) 0:00:14.021 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 13 February 2024 21:20:02 +0000 (0:00:00.061) 0:00:14.083 ****** 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_rewrite_h5tzmip/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 13 February 2024 21:20:02 +0000 (0:00:00.029) 0:00:14.112 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 13 February 2024 21:20:02 +0000 (0:00:00.036) 0:00:14.148 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tests_auto_gateway.yml:48 Tuesday 13 February 2024 21:20:02 +0000 (0:00:00.023) 0:00:14.172 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003445", "end": "2024-02-13 21:20:02.937851", "rc": 0, "start": "2024-02-13 21:20:02.934406" } STDOUT: default via 10.31.12.1 dev eth0 proto dhcp src 10.31.13.43 metric 100 default via 203.0.113.1 dev veth0 proto static metric 65535 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.13.43 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_rewrite_h5tzmip/tests/playbooks/tests_auto_gateway.yml:52 Tuesday 13 February 2024 21:20:02 +0000 (0:00:00.201) 0:00:14.373 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tests_auto_gateway.yml:58 Tuesday 13 February 2024 21:20:02 +0000 (0:00:00.024) 0:00:14.398 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003686", "end": "2024-02-13 21:20:03.164858", "rc": 0, "start": "2024-02-13 21:20:03.161172" } STDOUT: ::1 dev lo proto kernel metric 256 pref medium 2001:db8::/64 dev veth0 proto kernel metric 101 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium fe80::/64 dev veth0 proto kernel metric 1024 pref medium default via 2001:db8::1 dev veth0 proto static metric 101 pref medium TASK [Assert default ipv6 route is present] ************************************ task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tests_auto_gateway.yml:62 Tuesday 13 February 2024 21:20:03 +0000 (0:00:00.209) 0:00:14.608 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tests_auto_gateway.yml:69 Tuesday 13 February 2024 21:20:03 +0000 (0:00:00.046) 0:00:14.654 ****** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 13 February 2024 21:20:03 +0000 (0:00:00.021) 0:00:14.676 ****** included: /WORKDIR/git-bond_options_rewrite_h5tzmip/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_rewrite_h5tzmip/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 13 February 2024 21:20:03 +0000 (0:00:00.053) 0:00:14.730 ****** 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_rewrite_h5tzmip/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 13 February 2024 21:20:03 +0000 (0:00:00.027) 0:00:14.757 ****** 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_rewrite_h5tzmip/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 13 February 2024 21:20:03 +0000 (0:00:00.026) 0:00:14.784 ****** 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_rewrite_h5tzmip/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 13 February 2024 21:20:03 +0000 (0:00:00.021) 0:00:14.806 ****** 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_rewrite_h5tzmip/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 13 February 2024 21:20:04 +0000 (0:00:01.525) 0:00:16.331 ****** 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_rewrite_h5tzmip/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 13 February 2024 21:20:05 +0000 (0:00:00.972) 0:00:17.304 ****** 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_rewrite_h5tzmip/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 13 February 2024 21:20:05 +0000 (0:00:00.024) 0:00:17.328 ****** 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_rewrite_h5tzmip/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 13 February 2024 21:20:05 +0000 (0:00:00.025) 0:00:17.354 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 13 February 2024 21:20:05 +0000 (0:00:00.040) 0:00:17.394 ****** 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_rewrite_h5tzmip/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 13 February 2024 21:20:06 +0000 (0:00:00.073) 0:00:17.467 ****** 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_rewrite_h5tzmip/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 13 February 2024 21:20:06 +0000 (0:00:00.024) 0:00:17.492 ****** 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_rewrite_h5tzmip/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 13 February 2024 21:20:06 +0000 (0:00:00.036) 0:00:17.528 ****** 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_rewrite_h5tzmip/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 13 February 2024 21:20:06 +0000 (0:00:00.036) 0:00:17.565 ****** 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_rewrite_h5tzmip/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 13 February 2024 21:20:06 +0000 (0:00:00.449) 0:00:18.014 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 13 February 2024 21:20:06 +0000 (0:00:00.062) 0:00:18.077 ****** 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_rewrite_h5tzmip/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 13 February 2024 21:20:06 +0000 (0:00:00.023) 0:00:18.100 ****** 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_rewrite_h5tzmip/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 13 February 2024 21:20:06 +0000 (0:00:00.032) 0:00:18.133 ****** 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_rewrite_h5tzmip/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 13 February 2024 21:20:07 +0000 (0:00:00.432) 0:00:18.565 ****** 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_rewrite_h5tzmip/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 13 February 2024 21:20:07 +0000 (0:00:00.033) 0:00:18.599 ****** 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_rewrite_h5tzmip/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 13 February 2024 21:20:07 +0000 (0:00:00.037) 0:00:18.637 ****** 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_rewrite_h5tzmip/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 13 February 2024 21:20:07 +0000 (0:00:00.037) 0:00:18.674 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 13 February 2024 21:20:07 +0000 (0:00:00.021) 0:00:18.695 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tests_auto_gateway.yml:81 Tuesday 13 February 2024 21:20:07 +0000 (0:00:00.219) 0:00:18.915 ****** included: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 13 February 2024 21:20:07 +0000 (0:00:00.087) 0:00:19.002 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 13 February 2024 21:20:07 +0000 (0:00:00.041) 0:00:19.043 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 13 February 2024 21:20:07 +0000 (0:00:00.031) 0:00:19.075 ****** included: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 21:20:07 +0000 (0:00:00.038) 0:00:19.114 ****** included: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 21:20:07 +0000 (0:00:00.107) 0:00:19.221 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003162", "end": "2024-02-13 21:20:07.992367", "rc": 0, "start": "2024-02-13 21:20:07.989205" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 21:20:08 +0000 (0:00:00.214) 0:00:19.435 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 21:20:08 +0000 (0:00:00.047) 0:00:19.483 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 13 February 2024 21:20:08 +0000 (0:00:00.035) 0:00:19.519 ****** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tasks/manage_test_interface.yml:28 Tuesday 13 February 2024 21:20:09 +0000 (0:00:00.963) 0:00:20.483 ****** 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_rewrite_h5tzmip/tests/playbooks/tasks/manage_test_interface.yml:37 Tuesday 13 February 2024 21:20:09 +0000 (0:00:00.031) 0:00:20.515 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tasks/manage_test_interface.yml:45 Tuesday 13 February 2024 21:20:09 +0000 (0:00:00.034) 0:00:20.549 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.017243", "end": "2024-02-13 21:20:09.359967", "rc": 0, "start": "2024-02-13 21:20:09.342724" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tasks/manage_test_interface.yml:52 Tuesday 13 February 2024 21:20:09 +0000 (0:00:00.244) 0:00:20.794 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tasks/manage_test_interface.yml:58 Tuesday 13 February 2024 21:20:09 +0000 (0:00:00.025) 0:00:20.819 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tasks/manage_test_interface.yml:65 Tuesday 13 February 2024 21:20:09 +0000 (0:00:00.029) 0:00:20.849 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tasks/manage_test_interface.yml:71 Tuesday 13 February 2024 21:20:09 +0000 (0:00:00.023) 0:00:20.872 ****** 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_rewrite_h5tzmip/tests/playbooks/tests_auto_gateway.yml:85 Tuesday 13 February 2024 21:20:09 +0000 (0:00:00.021) 0:00:20.894 ****** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tests_auto_gateway.yml:89 Tuesday 13 February 2024 21:20:09 +0000 (0:00:00.022) 0:00:20.917 ****** included: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 13 February 2024 21:20:09 +0000 (0:00:00.147) 0:00:21.064 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 13 February 2024 21:20:09 +0000 (0:00:00.025) 0:00:21.089 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 13 February 2024 21:20:09 +0000 (0:00:00.023) 0:00:21.113 ****** included: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 21:20:09 +0000 (0:00:00.036) 0:00:21.149 ****** included: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 21:20:09 +0000 (0:00:00.037) 0:00:21.186 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003333", "end": "2024-02-13 21:20:09.958303", "rc": 0, "start": "2024-02-13 21:20:09.954970" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 21:20:09 +0000 (0:00:00.209) 0:00:21.396 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 21:20:10 +0000 (0:00:00.025) 0:00:21.422 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 13 February 2024 21:20:10 +0000 (0:00:00.031) 0:00:21.454 ****** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tasks/manage_test_interface.yml:28 Tuesday 13 February 2024 21:20:10 +0000 (0:00:00.905) 0:00:22.359 ****** 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.007808", "end": "2024-02-13 21:20:11.167897", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-02-13 21:20:11.160089" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003673", "end": "2024-02-13 21:20:11.422204", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-02-13 21:20:11.418531" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.003595", "end": "2024-02-13 21:20:11.598859", "item": "ip link set veth0 up", "rc": 0, "start": "2024-02-13 21:20:11.595264" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tasks/manage_test_interface.yml:37 Tuesday 13 February 2024 21:20:11 +0000 (0:00:00.697) 0:00:23.057 ****** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.022646", "end": "2024-02-13 21:20:11.852796", "rc": 0, "start": "2024-02-13 21:20:11.830150" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tasks/manage_test_interface.yml:45 Tuesday 13 February 2024 21:20:11 +0000 (0:00:00.309) 0:00:23.367 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tasks/manage_test_interface.yml:52 Tuesday 13 February 2024 21:20:11 +0000 (0:00:00.026) 0:00:23.393 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tasks/manage_test_interface.yml:58 Tuesday 13 February 2024 21:20:12 +0000 (0:00:00.042) 0:00:23.435 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tasks/manage_test_interface.yml:65 Tuesday 13 February 2024 21:20:12 +0000 (0:00:00.043) 0:00:23.479 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tasks/manage_test_interface.yml:71 Tuesday 13 February 2024 21:20:12 +0000 (0:00:00.048) 0:00:23.527 ****** 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_rewrite_h5tzmip/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 13 February 2024 21:20:12 +0000 (0:00:00.044) 0:00:23.572 ****** included: /WORKDIR/git-bond_options_rewrite_h5tzmip/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_rewrite_h5tzmip/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 13 February 2024 21:20:12 +0000 (0:00:00.086) 0:00:23.658 ****** 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_rewrite_h5tzmip/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 13 February 2024 21:20:12 +0000 (0:00:00.033) 0:00:23.692 ****** 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_rewrite_h5tzmip/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 13 February 2024 21:20:12 +0000 (0:00:00.033) 0:00:23.726 ****** 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_rewrite_h5tzmip/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 13 February 2024 21:20:12 +0000 (0:00:00.052) 0:00:23.778 ****** 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_rewrite_h5tzmip/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 13 February 2024 21:20:13 +0000 (0:00:01.504) 0:00:25.282 ****** 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_rewrite_h5tzmip/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 13 February 2024 21:20:14 +0000 (0:00:01.113) 0:00:26.396 ****** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 13 February 2024 21:20:15 +0000 (0:00:00.041) 0:00:26.437 ****** 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_rewrite_h5tzmip/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 13 February 2024 21:20:15 +0000 (0:00:00.042) 0:00:26.480 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 13 February 2024 21:20:15 +0000 (0:00:00.048) 0:00:26.529 ****** 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_rewrite_h5tzmip/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 13 February 2024 21:20:15 +0000 (0:00:00.049) 0:00:26.578 ****** 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_rewrite_h5tzmip/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 13 February 2024 21:20:15 +0000 (0:00:00.023) 0:00:26.602 ****** 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_rewrite_h5tzmip/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 13 February 2024 21:20:15 +0000 (0:00:00.023) 0:00:26.625 ****** 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_rewrite_h5tzmip/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 13 February 2024 21:20:15 +0000 (0:00:00.026) 0:00:26.651 ****** 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_rewrite_h5tzmip/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 13 February 2024 21:20:15 +0000 (0:00:00.401) 0:00:27.052 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 13 February 2024 21:20:15 +0000 (0:00:00.025) 0:00:27.078 ****** 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_rewrite_h5tzmip/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 13 February 2024 21:20:15 +0000 (0:00:00.023) 0:00:27.101 ****** 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_rewrite_h5tzmip/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 13 February 2024 21:20:15 +0000 (0:00:00.022) 0:00:27.123 ****** 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, 861210ae-2a88-458b-93ce-33ae5d2fa563 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 861210ae-2a88-458b-93ce-33ae5d2fa563 (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 13 February 2024 21:20:16 +0000 (0:00:00.572) 0:00:27.695 ****** 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_rewrite_h5tzmip/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 13 February 2024 21:20:16 +0000 (0:00:00.037) 0:00:27.733 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 861210ae-2a88-458b-93ce-33ae5d2fa563", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 861210ae-2a88-458b-93ce-33ae5d2fa563 (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 13 February 2024 21:20:16 +0000 (0:00:00.027) 0:00:27.760 ****** 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, 861210ae-2a88-458b-93ce-33ae5d2fa563\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 861210ae-2a88-458b-93ce-33ae5d2fa563 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 861210ae-2a88-458b-93ce-33ae5d2fa563", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 861210ae-2a88-458b-93ce-33ae5d2fa563 (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 13 February 2024 21:20:16 +0000 (0:00:00.024) 0:00:27.785 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 13 February 2024 21:20:16 +0000 (0:00:00.024) 0:00:27.810 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tests_auto_gateway.yml:110 Tuesday 13 February 2024 21:20:16 +0000 (0:00:00.218) 0:00:28.029 ****** included: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 13 February 2024 21:20:16 +0000 (0:00:00.097) 0:00:28.126 ****** included: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 13 February 2024 21:20:16 +0000 (0:00:00.089) 0:00:28.216 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707859211.164384, "block_size": 4096, "blocks": 0, "ctime": 1707859211.164384, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 23551, "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": 1707859211.164384, "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_rewrite_h5tzmip/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 13 February 2024 21:20:17 +0000 (0:00:00.239) 0:00:28.456 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tests_auto_gateway.yml:112 Tuesday 13 February 2024 21:20:17 +0000 (0:00:00.030) 0:00:28.487 ****** included: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 13 February 2024 21:20:17 +0000 (0:00:00.066) 0:00:28.553 ****** included: /WORKDIR/git-bond_options_rewrite_h5tzmip/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_rewrite_h5tzmip/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 13 February 2024 21:20:17 +0000 (0:00:00.043) 0:00:28.596 ****** 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_rewrite_h5tzmip/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 13 February 2024 21:20:17 +0000 (0:00:00.133) 0:00:28.729 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 13 February 2024 21:20:17 +0000 (0:00:00.258) 0:00:28.988 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 13 February 2024 21:20:17 +0000 (0:00:00.027) 0:00:29.015 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.022223", "end": "2024-02-13 21:20:17.809276", "rc": 0, "start": "2024-02-13 21:20:17.787053" } 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_rewrite_h5tzmip/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 13 February 2024 21:20:17 +0000 (0:00:00.229) 0:00:29.245 ****** 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_rewrite_h5tzmip/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 13 February 2024 21:20:17 +0000 (0:00:00.057) 0:00:29.302 ****** 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_rewrite_h5tzmip/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 13 February 2024 21:20:17 +0000 (0:00:00.026) 0:00:29.329 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 13 February 2024 21:20:17 +0000 (0:00:00.025) 0:00:29.354 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 13 February 2024 21:20:17 +0000 (0:00:00.031) 0:00:29.385 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 13 February 2024 21:20:18 +0000 (0:00:00.024) 0:00:29.410 ****** 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_rewrite_h5tzmip/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 13 February 2024 21:20:18 +0000 (0:00:00.038) 0:00:29.449 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 13 February 2024 21:20:18 +0000 (0:00:00.028) 0:00:29.477 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tests_auto_gateway.yml:116 Tuesday 13 February 2024 21:20:18 +0000 (0:00:00.026) 0:00:29.503 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.004238", "end": "2024-02-13 21:20:18.287408", "rc": 0, "start": "2024-02-13 21:20:18.283170" } STDOUT: default via 10.31.12.1 dev eth0 proto dhcp src 10.31.13.43 metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.13.43 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_rewrite_h5tzmip/tests/playbooks/tests_auto_gateway.yml:120 Tuesday 13 February 2024 21:20:18 +0000 (0:00:00.251) 0:00:29.755 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tests_auto_gateway.yml:126 Tuesday 13 February 2024 21:20:18 +0000 (0:00:00.051) 0:00:29.806 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003790", "end": "2024-02-13 21:20:18.607949", "rc": 0, "start": "2024-02-13 21:20:18.604159" } STDOUT: ::1 dev lo proto kernel metric 256 pref medium 2001:db8::/64 dev veth0 proto kernel metric 101 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium fe80::/64 dev veth0 proto kernel metric 1024 pref medium TASK [Assert default ipv6 route is absent] ************************************* task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tests_auto_gateway.yml:130 Tuesday 13 February 2024 21:20:18 +0000 (0:00:00.258) 0:00:30.065 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tests_auto_gateway.yml:137 Tuesday 13 February 2024 21:20:18 +0000 (0:00:00.044) 0:00:30.109 ****** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 13 February 2024 21:20:18 +0000 (0:00:00.131) 0:00:30.241 ****** included: /WORKDIR/git-bond_options_rewrite_h5tzmip/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_rewrite_h5tzmip/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 13 February 2024 21:20:19 +0000 (0:00:00.174) 0:00:30.415 ****** 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_rewrite_h5tzmip/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 13 February 2024 21:20:19 +0000 (0:00:00.068) 0:00:30.484 ****** 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_rewrite_h5tzmip/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 13 February 2024 21:20:19 +0000 (0:00:00.073) 0:00:30.557 ****** 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_rewrite_h5tzmip/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 13 February 2024 21:20:19 +0000 (0:00:00.069) 0:00:30.627 ****** 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_rewrite_h5tzmip/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 13 February 2024 21:20:20 +0000 (0:00:01.585) 0:00:32.212 ****** 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_rewrite_h5tzmip/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 13 February 2024 21:20:21 +0000 (0:00:00.990) 0:00:33.202 ****** 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_rewrite_h5tzmip/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 13 February 2024 21:20:21 +0000 (0:00:00.028) 0:00:33.231 ****** 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_rewrite_h5tzmip/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 13 February 2024 21:20:21 +0000 (0:00:00.028) 0:00:33.259 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 13 February 2024 21:20:21 +0000 (0:00:00.025) 0:00:33.284 ****** 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_rewrite_h5tzmip/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 13 February 2024 21:20:22 +0000 (0:00:00.161) 0:00:33.446 ****** 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_rewrite_h5tzmip/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 13 February 2024 21:20:22 +0000 (0:00:00.024) 0:00:33.471 ****** 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_rewrite_h5tzmip/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 13 February 2024 21:20:22 +0000 (0:00:00.034) 0:00:33.505 ****** 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_rewrite_h5tzmip/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 13 February 2024 21:20:22 +0000 (0:00:00.026) 0:00:33.532 ****** 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_rewrite_h5tzmip/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 13 February 2024 21:20:22 +0000 (0:00:00.388) 0:00:33.920 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 13 February 2024 21:20:22 +0000 (0:00:00.039) 0:00:33.959 ****** 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_rewrite_h5tzmip/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 13 February 2024 21:20:22 +0000 (0:00:00.045) 0:00:34.005 ****** 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_rewrite_h5tzmip/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 13 February 2024 21:20:22 +0000 (0:00:00.033) 0:00:34.039 ****** 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_rewrite_h5tzmip/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 13 February 2024 21:20:23 +0000 (0:00:00.468) 0:00:34.508 ****** 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_rewrite_h5tzmip/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 13 February 2024 21:20:23 +0000 (0:00:00.050) 0:00:34.558 ****** 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_rewrite_h5tzmip/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 13 February 2024 21:20:23 +0000 (0:00:00.035) 0:00:34.593 ****** 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_rewrite_h5tzmip/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 13 February 2024 21:20:23 +0000 (0:00:00.030) 0:00:34.624 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 13 February 2024 21:20:23 +0000 (0:00:00.034) 0:00:34.658 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tests_auto_gateway.yml:149 Tuesday 13 February 2024 21:20:23 +0000 (0:00:00.225) 0:00:34.883 ****** included: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 13 February 2024 21:20:23 +0000 (0:00:00.235) 0:00:35.119 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 13 February 2024 21:20:23 +0000 (0:00:00.066) 0:00:35.185 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 13 February 2024 21:20:23 +0000 (0:00:00.046) 0:00:35.231 ****** included: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 21:20:23 +0000 (0:00:00.055) 0:00:35.287 ****** included: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 21:20:23 +0000 (0:00:00.048) 0:00:35.335 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003268", "end": "2024-02-13 21:20:24.124995", "rc": 0, "start": "2024-02-13 21:20:24.121727" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 21:20:24 +0000 (0:00:00.221) 0:00:35.556 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 21:20:24 +0000 (0:00:00.025) 0:00:35.581 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 13 February 2024 21:20:24 +0000 (0:00:00.024) 0:00:35.606 ****** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tasks/manage_test_interface.yml:28 Tuesday 13 February 2024 21:20:25 +0000 (0:00:00.990) 0:00:36.597 ****** 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_rewrite_h5tzmip/tests/playbooks/tasks/manage_test_interface.yml:37 Tuesday 13 February 2024 21:20:25 +0000 (0:00:00.071) 0:00:36.668 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tasks/manage_test_interface.yml:45 Tuesday 13 February 2024 21:20:25 +0000 (0:00:00.122) 0:00:36.790 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.012959", "end": "2024-02-13 21:20:25.669412", "rc": 0, "start": "2024-02-13 21:20:25.656453" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tasks/manage_test_interface.yml:52 Tuesday 13 February 2024 21:20:25 +0000 (0:00:00.330) 0:00:37.120 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tasks/manage_test_interface.yml:58 Tuesday 13 February 2024 21:20:25 +0000 (0:00:00.247) 0:00:37.368 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tasks/manage_test_interface.yml:65 Tuesday 13 February 2024 21:20:26 +0000 (0:00:00.051) 0:00:37.419 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tasks/manage_test_interface.yml:71 Tuesday 13 February 2024 21:20:26 +0000 (0:00:00.037) 0:00:37.457 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify network state restored to default] ******************************** task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tests_auto_gateway.yml:153 Tuesday 13 February 2024 21:20:26 +0000 (0:00:00.031) 0:00:37.489 ****** included: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tasks/check_network_dns.yml:6 Tuesday 13 February 2024 21:20:26 +0000 (0:00:00.061) 0:00:37.550 ****** 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.008522", "end": "2024-02-13 21:20:26.340029", "rc": 0, "start": "2024-02-13 21:20:26.331507" } 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 valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 0a:e6:4b:e0:1b:b7 brd ff:ff:ff:ff:ff:ff altname enX0 inet 10.31.13.43/22 brd 10.31.15.255 scope global dynamic noprefixroute eth0 valid_lft 2786sec preferred_lft 2786sec inet6 fe80::8e6:4bff:fee0:1bb7/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.12.1 dev eth0 proto dhcp src 10.31.13.43 metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.13.43 metric 100 IP -6 ROUTE ::1 dev lo proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com testing-farm nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and ping still work] ****************************************** task path: /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tasks/check_network_dns.yml:24 Tuesday 13 February 2024 21:20:26 +0000 (0:00:00.245) 0:00:37.795 ****** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:00.512395", "end": "2024-02-13 21:20:27.134194", "rc": 0, "start": "2024-02-13 21:20:26.621799" } STDOUT: CHECK DNS AND CONNECTIVITY 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 1314 0 --:--:-- --:--:-- --:--:-- 1320 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 291 100 291 0 0 1145 0 --:--:-- --:--:-- --:--:-- 1150 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=128 changed=4 unreachable=0 failed=0 skipped=102 rescued=0 ignored=0 Tuesday 13 February 2024 21:20:27 +0000 (0:00:00.788) 0:00:38.584 ****** =============================================================================== Install iproute --------------------------------------------------------- 2.26s /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Check which services are running ----------- 1.59s /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.54s /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.53s /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.50s /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.18s /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.11s /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Install iproute --------------------------------------------------------- 0.99s /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Check which packages are installed --------- 0.99s /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Configure networking connection profiles --- 0.98s /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Check which packages are installed --------- 0.97s /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Install iproute --------------------------------------------------------- 0.96s /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.91s /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Configure networking connection profiles --- 0.90s /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Enable and start NetworkManager ------------ 0.84s /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/roles/linux-system-roles.network/tasks/main.yml:88 Verify DNS and ping still work ------------------------------------------ 0.79s /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tasks/check_network_dns.yml:24 Gathering Facts --------------------------------------------------------- 0.76s /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/tests_auto_gateway_nm.yml:6 --- Create veth interface veth0 --------------------------------------------- 0.70s /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tasks/manage_test_interface.yml:28 Create veth interface veth0 --------------------------------------------- 0.67s /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/playbooks/tasks/manage_test_interface.yml:28 linux-system-roles.network : Enable and start NetworkManager ------------ 0.65s /WORKDIR/git-bond_options_rewrite_h5tzmip/tests/roles/linux-system-roles.network/tasks/main.yml:88 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: Distribution centos 9 on host sut should use /usr/libexec/platform-python, 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. ---^---^---^---^---^---