# 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_rewritekrh2xdu6/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_rewritekrh2xdu6/tests/tests_auto_gateway_nm.yml:6 Tuesday 06 February 2024 21:57:32 +0000 (0:00:00.011) 0:00:00.011 ****** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/tests_auto_gateway_nm.yml:9 Tuesday 06 February 2024 21:57:33 +0000 (0:00:00.602) 0:00:00.614 ****** included: /WORKDIR/git-bond_options_rewritekrh2xdu6/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_rewritekrh2xdu6/tests/tasks/el_repo_setup.yml:3 Tuesday 06 February 2024 21:57:33 +0000 (0:00:00.012) 0:00:00.626 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/tasks/el_repo_setup.yml:19 Tuesday 06 February 2024 21:57:33 +0000 (0:00:00.356) 0:00:00.983 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/tasks/el_repo_setup.yml:24 Tuesday 06 February 2024 21:57:34 +0000 (0:00:00.259) 0:00:01.242 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/tasks/el_repo_setup.yml:28 Tuesday 06 February 2024 21:57:34 +0000 (0:00:00.020) 0:00:01.263 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/tasks/el_repo_setup.yml:53 Tuesday 06 February 2024 21:57:34 +0000 (0:00:00.017) 0:00:01.280 ****** included: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 9] *********************************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/tasks/enable_epel.yml:8 Tuesday 06 February 2024 21:57:34 +0000 (0:00:00.030) 0:00:01.310 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/tasks/enable_epel.yml:24 Tuesday 06 February 2024 21:57:34 +0000 (0:00:00.009) 0:00:01.320 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/tasks/enable_epel.yml:30 Tuesday 06 February 2024 21:57:34 +0000 (0:00:00.009) 0:00:01.330 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/tasks/enable_epel.yml:35 Tuesday 06 February 2024 21:57:34 +0000 (0:00:00.010) 0:00:01.341 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/tasks/enable_epel.yml:40 Tuesday 06 February 2024 21:57:34 +0000 (0:00:00.009) 0:00:01.350 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/tests_auto_gateway_nm.yml:11 Tuesday 06 February 2024 21:57:34 +0000 (0:00:00.009) 0:00:01.359 ****** 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_rewritekrh2xdu6/tests/playbooks/tests_auto_gateway.yml:3 Tuesday 06 February 2024 21:57:34 +0000 (0:00:00.011) 0:00:01.371 ****** ok: [sut] META: ran handlers TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tests_auto_gateway.yml:9 Tuesday 06 February 2024 21:57:34 +0000 (0:00:00.487) 0:00:01.859 ****** included: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 21:57:34 +0000 (0:00:00.022) 0:00:01.881 ****** included: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 21:57:34 +0000 (0:00:00.011) 0:00:01.893 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003149", "end": "2024-02-06 21:57:34.998728", "rc": 0, "start": "2024-02-06 21:57:34.995579" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 21:57:35 +0000 (0:00:00.230) 0:00:02.124 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 21:57:35 +0000 (0:00:00.012) 0:00:02.136 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tests_auto_gateway.yml:11 Tuesday 06 February 2024 21:57:35 +0000 (0:00:00.010) 0:00:02.147 ****** included: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 06 February 2024 21:57:35 +0000 (0:00:00.028) 0:00:02.176 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 06 February 2024 21:57:35 +0000 (0:00:00.011) 0:00:02.188 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 06 February 2024 21:57:35 +0000 (0:00:00.010) 0:00:02.199 ****** included: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 21:57:35 +0000 (0:00:00.015) 0:00:02.214 ****** included: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 21:57:35 +0000 (0:00:00.012) 0:00:02.226 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003334", "end": "2024-02-06 21:57:35.288660", "rc": 0, "start": "2024-02-06 21:57:35.285326" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 21:57:35 +0000 (0:00:00.188) 0:00:02.415 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 21:57:35 +0000 (0:00:00.010) 0:00:02.426 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 06 February 2024 21:57:35 +0000 (0:00:00.010) 0:00:02.437 ****** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/manage_test_interface.yml:28 Tuesday 06 February 2024 21:57:37 +0000 (0:00:02.066) 0:00:04.503 ****** 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.017970", "end": "2024-02-06 21:57:37.582416", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-02-06 21:57:37.564446" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003636", "end": "2024-02-06 21:57:37.797876", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-02-06 21:57:37.794240" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004377", "end": "2024-02-06 21:57:37.978516", "item": "ip link set veth0 up", "rc": 0, "start": "2024-02-06 21:57:37.974139" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/manage_test_interface.yml:37 Tuesday 06 February 2024 21:57:37 +0000 (0:00:00.602) 0:00:05.106 ****** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.134423", "end": "2024-02-06 21:57:38.303593", "rc": 0, "start": "2024-02-06 21:57:38.169170" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/manage_test_interface.yml:45 Tuesday 06 February 2024 21:57:38 +0000 (0:00:00.344) 0:00:05.451 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/manage_test_interface.yml:52 Tuesday 06 February 2024 21:57:38 +0000 (0:00:00.017) 0:00:05.468 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/manage_test_interface.yml:58 Tuesday 06 February 2024 21:57:38 +0000 (0:00:00.014) 0:00:05.482 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/manage_test_interface.yml:65 Tuesday 06 February 2024 21:57:38 +0000 (0:00:00.011) 0:00:05.493 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/manage_test_interface.yml:71 Tuesday 06 February 2024 21:57:38 +0000 (0:00:00.012) 0:00:05.506 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tests_auto_gateway.yml:15 Tuesday 06 February 2024 21:57:38 +0000 (0:00:00.010) 0:00:05.516 ****** included: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 06 February 2024 21:57:38 +0000 (0:00:00.026) 0:00:05.542 ****** included: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 21:57:38 +0000 (0:00:00.034) 0:00:05.577 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707256657.5771837, "block_size": 4096, "blocks": 0, "ctime": 1707256657.5771837, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 22913, "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": 1707256657.5771837, "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_rewritekrh2xdu6/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 06 February 2024 21:57:38 +0000 (0:00:00.184) 0:00:05.761 ****** 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_rewritekrh2xdu6/tests/playbooks/tests_auto_gateway.yml:17 Tuesday 06 February 2024 21:57:38 +0000 (0:00:00.014) 0:00:05.775 ****** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 21:57:38 +0000 (0:00:00.011) 0:00:05.786 ****** included: /WORKDIR/git-bond_options_rewritekrh2xdu6/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_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 21:57:38 +0000 (0:00:00.076) 0:00:05.863 ****** 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_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 21:57:38 +0000 (0:00:00.017) 0:00:05.881 ****** 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_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 21:57:38 +0000 (0:00:00.013) 0:00:05.895 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 21:57:38 +0000 (0:00:00.011) 0:00:05.906 ****** 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_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 21:57:40 +0000 (0:00:01.518) 0:00:07.425 ****** 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_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 21:57:41 +0000 (0:00:01.079) 0:00:08.505 ****** 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_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 21:57:41 +0000 (0:00:00.022) 0:00:08.527 ****** 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_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 21:57:41 +0000 (0:00:00.040) 0:00:08.568 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 21:57:41 +0000 (0:00:00.021) 0:00:08.589 ****** 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_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 21:57:41 +0000 (0:00:00.044) 0:00:08.633 ****** 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_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 21:57:41 +0000 (0:00:00.021) 0:00:08.655 ****** 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_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 21:57:41 +0000 (0:00:00.020) 0:00:08.675 ****** 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_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 21:57:41 +0000 (0:00:00.025) 0:00:08.700 ****** 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_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 21:57:42 +0000 (0:00:00.498) 0:00:09.198 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 21:57:42 +0000 (0:00:00.026) 0:00:09.225 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 21:57:42 +0000 (0:00:00.020) 0:00:09.245 ****** 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_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 21:57:42 +0000 (0:00:00.019) 0:00:09.265 ****** 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, 1bed3fae-5ad3-4095-bae9-8f150f956b63 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 1bed3fae-5ad3-4095-bae9-8f150f956b63 (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 21:57:42 +0000 (0:00:00.725) 0:00:09.991 ****** 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_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 21:57:42 +0000 (0:00:00.021) 0:00:10.013 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 1bed3fae-5ad3-4095-bae9-8f150f956b63", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 1bed3fae-5ad3-4095-bae9-8f150f956b63 (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 21:57:42 +0000 (0:00:00.023) 0:00:10.036 ****** 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, 1bed3fae-5ad3-4095-bae9-8f150f956b63\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 1bed3fae-5ad3-4095-bae9-8f150f956b63 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 1bed3fae-5ad3-4095-bae9-8f150f956b63", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 1bed3fae-5ad3-4095-bae9-8f150f956b63 (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 21:57:42 +0000 (0:00:00.048) 0:00:10.085 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 21:57:42 +0000 (0:00:00.022) 0:00:10.108 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tests_auto_gateway.yml:42 Tuesday 06 February 2024 21:57:43 +0000 (0:00:00.257) 0:00:10.365 ****** included: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 06 February 2024 21:57:43 +0000 (0:00:00.074) 0:00:10.439 ****** included: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 21:57:43 +0000 (0:00:00.042) 0:00:10.482 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707256657.5771837, "block_size": 4096, "blocks": 0, "ctime": 1707256657.5771837, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 22913, "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": 1707256657.5771837, "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_rewritekrh2xdu6/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 06 February 2024 21:57:43 +0000 (0:00:00.213) 0:00:10.695 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tests_auto_gateway.yml:44 Tuesday 06 February 2024 21:57:43 +0000 (0:00:00.028) 0:00:10.724 ****** included: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 06 February 2024 21:57:43 +0000 (0:00:00.052) 0:00:10.777 ****** included: /WORKDIR/git-bond_options_rewritekrh2xdu6/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_rewritekrh2xdu6/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 21:57:43 +0000 (0:00:00.039) 0:00:10.816 ****** 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_rewritekrh2xdu6/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 21:57:43 +0000 (0:00:00.051) 0:00:10.867 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 21:57:44 +0000 (0:00:00.255) 0:00:11.122 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 21:57:44 +0000 (0:00:00.028) 0:00:11.151 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.138614", "end": "2024-02-06 21:57:44.349919", "rc": 0, "start": "2024-02-06 21:57:44.211305" } 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_rewritekrh2xdu6/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 21:57:44 +0000 (0:00:00.354) 0:00:11.505 ****** 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_rewritekrh2xdu6/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 21:57:44 +0000 (0:00:00.038) 0:00:11.544 ****** 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_rewritekrh2xdu6/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 21:57:44 +0000 (0:00:00.049) 0:00:11.593 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 21:57:44 +0000 (0:00:00.042) 0:00:11.635 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 21:57:44 +0000 (0:00:00.053) 0:00:11.688 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 06 February 2024 21:57:44 +0000 (0:00:00.044) 0:00:11.733 ****** 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_rewritekrh2xdu6/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 06 February 2024 21:57:44 +0000 (0:00:00.049) 0:00:11.782 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 06 February 2024 21:57:44 +0000 (0:00:00.043) 0:00:11.826 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tests_auto_gateway.yml:48 Tuesday 06 February 2024 21:57:44 +0000 (0:00:00.033) 0:00:11.859 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003449", "end": "2024-02-06 21:57:44.921689", "rc": 0, "start": "2024-02-06 21:57:44.918240" } STDOUT: default via 10.31.12.1 dev eth0 proto dhcp src 10.31.13.44 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.44 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_rewritekrh2xdu6/tests/playbooks/tests_auto_gateway.yml:52 Tuesday 06 February 2024 21:57:44 +0000 (0:00:00.232) 0:00:12.092 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tests_auto_gateway.yml:58 Tuesday 06 February 2024 21:57:45 +0000 (0:00:00.042) 0:00:12.134 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003640", "end": "2024-02-06 21:57:45.196765", "rc": 0, "start": "2024-02-06 21:57:45.193125" } 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_rewritekrh2xdu6/tests/playbooks/tests_auto_gateway.yml:62 Tuesday 06 February 2024 21:57:45 +0000 (0:00:00.199) 0:00:12.334 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tests_auto_gateway.yml:69 Tuesday 06 February 2024 21:57:45 +0000 (0:00:00.023) 0:00:12.358 ****** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 21:57:45 +0000 (0:00:00.052) 0:00:12.410 ****** included: /WORKDIR/git-bond_options_rewritekrh2xdu6/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_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 21:57:45 +0000 (0:00:00.038) 0:00:12.449 ****** 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_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 21:57:45 +0000 (0:00:00.027) 0:00:12.476 ****** 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_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 21:57:45 +0000 (0:00:00.020) 0:00:12.497 ****** 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_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 21:57:45 +0000 (0:00:00.021) 0:00:12.518 ****** 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_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 21:57:46 +0000 (0:00:01.477) 0:00:13.996 ****** 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_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 21:57:47 +0000 (0:00:00.974) 0:00:14.970 ****** 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_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 21:57:47 +0000 (0:00:00.022) 0:00:14.993 ****** 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_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 21:57:47 +0000 (0:00:00.020) 0:00:15.014 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 21:57:47 +0000 (0:00:00.020) 0:00:15.035 ****** 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_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 21:57:47 +0000 (0:00:00.043) 0:00:15.078 ****** 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_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 21:57:47 +0000 (0:00:00.021) 0:00:15.100 ****** 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_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 21:57:48 +0000 (0:00:00.020) 0:00:15.121 ****** 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_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 21:57:48 +0000 (0:00:00.023) 0:00:15.144 ****** 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_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 21:57:48 +0000 (0:00:00.357) 0:00:15.502 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 21:57:48 +0000 (0:00:00.024) 0:00:15.527 ****** 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_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 21:57:48 +0000 (0:00:00.020) 0:00:15.547 ****** 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_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 21:57:48 +0000 (0:00:00.020) 0:00:15.568 ****** 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_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 21:57:48 +0000 (0:00:00.439) 0:00:16.007 ****** 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_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 21:57:48 +0000 (0:00:00.054) 0:00:16.062 ****** 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_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 21:57:48 +0000 (0:00:00.023) 0:00:16.085 ****** 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_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 21:57:48 +0000 (0:00:00.023) 0:00:16.108 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 21:57:49 +0000 (0:00:00.022) 0:00:16.131 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tests_auto_gateway.yml:81 Tuesday 06 February 2024 21:57:49 +0000 (0:00:00.193) 0:00:16.324 ****** included: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 06 February 2024 21:57:49 +0000 (0:00:00.051) 0:00:16.376 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 06 February 2024 21:57:49 +0000 (0:00:00.022) 0:00:16.398 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 06 February 2024 21:57:49 +0000 (0:00:00.020) 0:00:16.419 ****** included: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 21:57:49 +0000 (0:00:00.033) 0:00:16.452 ****** included: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 21:57:49 +0000 (0:00:00.032) 0:00:16.485 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003391", "end": "2024-02-06 21:57:49.549209", "rc": 0, "start": "2024-02-06 21:57:49.545818" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 21:57:49 +0000 (0:00:00.200) 0:00:16.686 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 21:57:49 +0000 (0:00:00.023) 0:00:16.709 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 06 February 2024 21:57:49 +0000 (0:00:00.021) 0:00:16.730 ****** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/manage_test_interface.yml:28 Tuesday 06 February 2024 21:57:50 +0000 (0:00:00.918) 0:00:17.648 ****** 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_rewritekrh2xdu6/tests/playbooks/tasks/manage_test_interface.yml:37 Tuesday 06 February 2024 21:57:50 +0000 (0:00:00.032) 0:00:17.681 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/manage_test_interface.yml:45 Tuesday 06 February 2024 21:57:50 +0000 (0:00:00.025) 0:00:17.706 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.012427", "end": "2024-02-06 21:57:50.784141", "rc": 0, "start": "2024-02-06 21:57:50.771714" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/manage_test_interface.yml:52 Tuesday 06 February 2024 21:57:50 +0000 (0:00:00.224) 0:00:17.930 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/manage_test_interface.yml:58 Tuesday 06 February 2024 21:57:50 +0000 (0:00:00.022) 0:00:17.953 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/manage_test_interface.yml:65 Tuesday 06 February 2024 21:57:50 +0000 (0:00:00.023) 0:00:17.976 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/manage_test_interface.yml:71 Tuesday 06 February 2024 21:57:50 +0000 (0:00:00.022) 0:00:17.999 ****** 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_rewritekrh2xdu6/tests/playbooks/tests_auto_gateway.yml:85 Tuesday 06 February 2024 21:57:50 +0000 (0:00:00.022) 0:00:18.021 ****** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tests_auto_gateway.yml:89 Tuesday 06 February 2024 21:57:50 +0000 (0:00:00.029) 0:00:18.051 ****** included: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 06 February 2024 21:57:50 +0000 (0:00:00.057) 0:00:18.108 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 06 February 2024 21:57:51 +0000 (0:00:00.022) 0:00:18.131 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 06 February 2024 21:57:51 +0000 (0:00:00.021) 0:00:18.152 ****** included: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 21:57:51 +0000 (0:00:00.067) 0:00:18.220 ****** included: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 21:57:51 +0000 (0:00:00.035) 0:00:18.255 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003387", "end": "2024-02-06 21:57:51.336217", "rc": 0, "start": "2024-02-06 21:57:51.332830" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 21:57:51 +0000 (0:00:00.219) 0:00:18.475 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 21:57:51 +0000 (0:00:00.024) 0:00:18.499 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 06 February 2024 21:57:51 +0000 (0:00:00.023) 0:00:18.522 ****** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/manage_test_interface.yml:28 Tuesday 06 February 2024 21:57:52 +0000 (0:00:00.949) 0:00:19.472 ****** 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.018851", "end": "2024-02-06 21:57:52.556056", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-02-06 21:57:52.537205" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003796", "end": "2024-02-06 21:57:52.763486", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-02-06 21:57:52.759690" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.003599", "end": "2024-02-06 21:57:52.948315", "item": "ip link set veth0 up", "rc": 0, "start": "2024-02-06 21:57:52.944716" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/manage_test_interface.yml:37 Tuesday 06 February 2024 21:57:52 +0000 (0:00:00.614) 0:00:20.086 ****** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.021668", "end": "2024-02-06 21:57:53.172219", "rc": 0, "start": "2024-02-06 21:57:53.150551" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/manage_test_interface.yml:45 Tuesday 06 February 2024 21:57:53 +0000 (0:00:00.261) 0:00:20.348 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/manage_test_interface.yml:52 Tuesday 06 February 2024 21:57:53 +0000 (0:00:00.025) 0:00:20.374 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/manage_test_interface.yml:58 Tuesday 06 February 2024 21:57:53 +0000 (0:00:00.030) 0:00:20.404 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/manage_test_interface.yml:65 Tuesday 06 February 2024 21:57:53 +0000 (0:00:00.026) 0:00:20.430 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/manage_test_interface.yml:71 Tuesday 06 February 2024 21:57:53 +0000 (0:00:00.023) 0:00:20.453 ****** 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_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 21:57:53 +0000 (0:00:00.021) 0:00:20.475 ****** included: /WORKDIR/git-bond_options_rewritekrh2xdu6/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_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 21:57:53 +0000 (0:00:00.037) 0:00:20.513 ****** 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_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 21:57:53 +0000 (0:00:00.026) 0:00:20.539 ****** 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_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 21:57:53 +0000 (0:00:00.021) 0:00:20.561 ****** 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_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 21:57:53 +0000 (0:00:00.021) 0:00:20.583 ****** 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_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 21:57:54 +0000 (0:00:01.503) 0:00:22.087 ****** 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_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 21:57:55 +0000 (0:00:01.019) 0:00:23.106 ****** 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_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 21:57:56 +0000 (0:00:00.024) 0:00:23.130 ****** 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_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 21:57:56 +0000 (0:00:00.022) 0:00:23.153 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 21:57:56 +0000 (0:00:00.022) 0:00:23.175 ****** 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_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 21:57:56 +0000 (0:00:00.044) 0:00:23.220 ****** 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_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 21:57:56 +0000 (0:00:00.021) 0:00:23.241 ****** 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_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 21:57:56 +0000 (0:00:00.022) 0:00:23.264 ****** 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_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 21:57:56 +0000 (0:00:00.025) 0:00:23.289 ****** 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_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 21:57:56 +0000 (0:00:00.366) 0:00:23.656 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 21:57:56 +0000 (0:00:00.024) 0:00:23.681 ****** 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_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 21:57:56 +0000 (0:00:00.050) 0:00:23.732 ****** 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_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 21:57:56 +0000 (0:00:00.022) 0:00:23.754 ****** 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, 3d562d6f-4544-495d-8296-2b320d7a7817 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 3d562d6f-4544-495d-8296-2b320d7a7817 (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 21:57:57 +0000 (0:00:00.407) 0:00:24.162 ****** 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_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 21:57:57 +0000 (0:00:00.022) 0:00:24.185 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 3d562d6f-4544-495d-8296-2b320d7a7817", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 3d562d6f-4544-495d-8296-2b320d7a7817 (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 21:57:57 +0000 (0:00:00.025) 0:00:24.210 ****** 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, 3d562d6f-4544-495d-8296-2b320d7a7817\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 3d562d6f-4544-495d-8296-2b320d7a7817 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 3d562d6f-4544-495d-8296-2b320d7a7817", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 3d562d6f-4544-495d-8296-2b320d7a7817 (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 21:57:57 +0000 (0:00:00.025) 0:00:24.236 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 21:57:57 +0000 (0:00:00.030) 0:00:24.266 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tests_auto_gateway.yml:110 Tuesday 06 February 2024 21:57:57 +0000 (0:00:00.199) 0:00:24.466 ****** included: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 06 February 2024 21:57:57 +0000 (0:00:00.075) 0:00:24.541 ****** included: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 21:57:57 +0000 (0:00:00.043) 0:00:24.584 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707256672.5408757, "block_size": 4096, "blocks": 0, "ctime": 1707256672.5408757, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 23499, "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": 1707256672.5408757, "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_rewritekrh2xdu6/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 06 February 2024 21:57:57 +0000 (0:00:00.202) 0:00:24.786 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tests_auto_gateway.yml:112 Tuesday 06 February 2024 21:57:57 +0000 (0:00:00.023) 0:00:24.810 ****** included: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 06 February 2024 21:57:57 +0000 (0:00:00.087) 0:00:24.897 ****** included: /WORKDIR/git-bond_options_rewritekrh2xdu6/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_rewritekrh2xdu6/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 21:57:57 +0000 (0:00:00.036) 0:00:24.934 ****** 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_rewritekrh2xdu6/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 21:57:57 +0000 (0:00:00.022) 0:00:24.957 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 21:57:58 +0000 (0:00:00.200) 0:00:25.157 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 21:57:58 +0000 (0:00:00.021) 0:00:25.178 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.022364", "end": "2024-02-06 21:57:58.263903", "rc": 0, "start": "2024-02-06 21:57:58.241539" } 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_rewritekrh2xdu6/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 21:57:58 +0000 (0:00:00.223) 0:00:25.401 ****** 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_rewritekrh2xdu6/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 21:57:58 +0000 (0:00:00.024) 0:00:25.425 ****** 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_rewritekrh2xdu6/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 21:57:58 +0000 (0:00:00.022) 0:00:25.448 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 21:57:58 +0000 (0:00:00.021) 0:00:25.469 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 21:57:58 +0000 (0:00:00.023) 0:00:25.492 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 06 February 2024 21:57:58 +0000 (0:00:00.021) 0:00:25.514 ****** 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_rewritekrh2xdu6/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 06 February 2024 21:57:58 +0000 (0:00:00.024) 0:00:25.538 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 06 February 2024 21:57:58 +0000 (0:00:00.024) 0:00:25.563 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tests_auto_gateway.yml:116 Tuesday 06 February 2024 21:57:58 +0000 (0:00:00.023) 0:00:25.586 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003483", "end": "2024-02-06 21:57:58.652237", "rc": 0, "start": "2024-02-06 21:57:58.648754" } STDOUT: default via 10.31.12.1 dev eth0 proto dhcp src 10.31.13.44 metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.13.44 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_rewritekrh2xdu6/tests/playbooks/tests_auto_gateway.yml:120 Tuesday 06 February 2024 21:57:58 +0000 (0:00:00.208) 0:00:25.794 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tests_auto_gateway.yml:126 Tuesday 06 February 2024 21:57:58 +0000 (0:00:00.023) 0:00:25.818 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003611", "end": "2024-02-06 21:57:58.883472", "rc": 0, "start": "2024-02-06 21:57:58.879861" } 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_rewritekrh2xdu6/tests/playbooks/tests_auto_gateway.yml:130 Tuesday 06 February 2024 21:57:58 +0000 (0:00:00.203) 0:00:26.022 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tests_auto_gateway.yml:137 Tuesday 06 February 2024 21:57:58 +0000 (0:00:00.025) 0:00:26.048 ****** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 21:57:58 +0000 (0:00:00.023) 0:00:26.072 ****** included: /WORKDIR/git-bond_options_rewritekrh2xdu6/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_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 21:57:59 +0000 (0:00:00.038) 0:00:26.110 ****** 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_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 21:57:59 +0000 (0:00:00.026) 0:00:26.136 ****** 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_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 21:57:59 +0000 (0:00:00.020) 0:00:26.157 ****** 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_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 21:57:59 +0000 (0:00:00.020) 0:00:26.178 ****** 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_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 21:58:00 +0000 (0:00:01.558) 0:00:27.736 ****** 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_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 21:58:01 +0000 (0:00:00.983) 0:00:28.720 ****** 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_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 21:58:01 +0000 (0:00:00.025) 0:00:28.745 ****** 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_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 21:58:01 +0000 (0:00:00.023) 0:00:28.769 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 21:58:01 +0000 (0:00:00.022) 0:00:28.792 ****** 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_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 21:58:01 +0000 (0:00:00.049) 0:00:28.842 ****** 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_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 21:58:01 +0000 (0:00:00.027) 0:00:28.869 ****** 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_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 21:58:01 +0000 (0:00:00.023) 0:00:28.893 ****** 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_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 21:58:01 +0000 (0:00:00.026) 0:00:28.920 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 21:58:02 +0000 (0:00:00.368) 0:00:29.289 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 21:58:02 +0000 (0:00:00.068) 0:00:29.357 ****** 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_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 21:58:02 +0000 (0:00:00.022) 0:00:29.380 ****** 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_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 21:58:02 +0000 (0:00:00.022) 0:00:29.402 ****** 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_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 21:58:02 +0000 (0:00:00.443) 0:00:29.845 ****** 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_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 21:58:02 +0000 (0:00:00.023) 0:00:29.868 ****** 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_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 21:58:02 +0000 (0:00:00.026) 0:00:29.894 ****** 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_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 21:58:02 +0000 (0:00:00.026) 0:00:29.921 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 21:58:02 +0000 (0:00:00.024) 0:00:29.945 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tests_auto_gateway.yml:149 Tuesday 06 February 2024 21:58:03 +0000 (0:00:00.195) 0:00:30.141 ****** included: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 06 February 2024 21:58:03 +0000 (0:00:00.055) 0:00:30.197 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 06 February 2024 21:58:03 +0000 (0:00:00.020) 0:00:30.218 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 06 February 2024 21:58:03 +0000 (0:00:00.020) 0:00:30.238 ****** included: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 21:58:03 +0000 (0:00:00.034) 0:00:30.273 ****** included: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 21:58:03 +0000 (0:00:00.079) 0:00:30.353 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003344", "end": "2024-02-06 21:58:03.419894", "rc": 0, "start": "2024-02-06 21:58:03.416550" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 21:58:03 +0000 (0:00:00.206) 0:00:30.559 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 21:58:03 +0000 (0:00:00.025) 0:00:30.584 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 06 February 2024 21:58:03 +0000 (0:00:00.025) 0:00:30.610 ****** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/manage_test_interface.yml:28 Tuesday 06 February 2024 21:58:04 +0000 (0:00:00.950) 0:00:31.560 ****** 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_rewritekrh2xdu6/tests/playbooks/tasks/manage_test_interface.yml:37 Tuesday 06 February 2024 21:58:04 +0000 (0:00:00.033) 0:00:31.594 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/manage_test_interface.yml:45 Tuesday 06 February 2024 21:58:04 +0000 (0:00:00.025) 0:00:31.620 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.013549", "end": "2024-02-06 21:58:04.698025", "rc": 0, "start": "2024-02-06 21:58:04.684476" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/manage_test_interface.yml:52 Tuesday 06 February 2024 21:58:04 +0000 (0:00:00.222) 0:00:31.842 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/manage_test_interface.yml:58 Tuesday 06 February 2024 21:58:04 +0000 (0:00:00.027) 0:00:31.870 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/manage_test_interface.yml:65 Tuesday 06 February 2024 21:58:04 +0000 (0:00:00.036) 0:00:31.906 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/manage_test_interface.yml:71 Tuesday 06 February 2024 21:58:04 +0000 (0:00:00.026) 0:00:31.933 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=125 changed=4 unreachable=0 failed=0 skipped=102 rescued=0 ignored=0 Tuesday 06 February 2024 21:58:04 +0000 (0:00:00.010) 0:00:31.943 ****** =============================================================================== Install iproute --------------------------------------------------------- 2.07s /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Check which services are running ----------- 1.56s /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.52s /WORKDIR/git-bond_options_rewritekrh2xdu6/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_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.48s /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.08s /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.02s /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.98s /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.97s /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Install iproute --------------------------------------------------------- 0.95s /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.95s /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.92s /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Configure networking connection profiles --- 0.88s /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Enable and start NetworkManager ------------ 0.73s /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:88 linux-system-roles.network : Configure networking connection profiles --- 0.73s /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:125 Create veth interface veth0 --------------------------------------------- 0.61s /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/manage_test_interface.yml:28 Create veth interface veth0 --------------------------------------------- 0.60s /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tasks/manage_test_interface.yml:28 Gathering Facts --------------------------------------------------------- 0.60s /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/tests_auto_gateway_nm.yml:6 --- linux-system-roles.network : Enable and start NetworkManager ------------ 0.50s /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/roles/linux-system-roles.network/tasks/main.yml:88 Gathering Facts --------------------------------------------------------- 0.49s /WORKDIR/git-bond_options_rewritekrh2xdu6/tests/playbooks/tests_auto_gateway.yml:3 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---