# STDOUT: ---v---v---v---v---v--- ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /opt/ansible-2.9/lib/python3.9/site-packages/ansible executable location = /opt/ansible-2.9/bin/ansible-playbook python version = 3.9.18 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] Using /etc/ansible/ansible.cfg as config file Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_auto_gateway_nm.yml ******************************************** 2 plays in /WORKDIR/git-bond_options_rewrite_8cztfey/tests/tests_auto_gateway_nm.yml PLAY [Run playbook 'playbooks/tests_auto_gateway.yml' with nm as provider] ***** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/tests_auto_gateway_nm.yml:6 Tuesday 06 February 2024 16:25:00 +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_rewrite_8cztfey/tests/tests_auto_gateway_nm.yml:9 Tuesday 06 February 2024 16:25:01 +0000 (0:00:00.929) 0:00:00.940 ****** included: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/tasks/el_repo_setup.yml for sut TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/tasks/el_repo_setup.yml:3 Tuesday 06 February 2024 16:25:01 +0000 (0:00:00.010) 0:00:00.951 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/tasks/el_repo_setup.yml:19 Tuesday 06 February 2024 16:25:02 +0000 (0:00:00.546) 0:00:01.498 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/tasks/el_repo_setup.yml:24 Tuesday 06 February 2024 16:25:02 +0000 (0:00:00.267) 0:00:01.766 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/tasks/el_repo_setup.yml:28 Tuesday 06 February 2024 16:25:02 +0000 (0:00:00.019) 0:00:01.786 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/tasks/el_repo_setup.yml:53 Tuesday 06 February 2024 16:25:02 +0000 (0:00:00.017) 0:00:01.803 ****** included: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 38] ********************************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/tasks/enable_epel.yml:8 Tuesday 06 February 2024 16:25:02 +0000 (0:00:00.030) 0:00:01.834 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/tasks/enable_epel.yml:24 Tuesday 06 February 2024 16:25:02 +0000 (0:00:00.010) 0:00:01.844 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/tasks/enable_epel.yml:30 Tuesday 06 February 2024 16:25:02 +0000 (0:00:00.008) 0:00:01.852 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/tasks/enable_epel.yml:35 Tuesday 06 February 2024 16:25:02 +0000 (0:00:00.008) 0:00:01.861 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/tasks/enable_epel.yml:40 Tuesday 06 February 2024 16:25:02 +0000 (0:00:00.008) 0:00:01.869 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/tests_auto_gateway_nm.yml:11 Tuesday 06 February 2024 16:25:02 +0000 (0:00:00.008) 0:00:01.877 ****** ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for testing auto_gateway setting] *********************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tests_auto_gateway.yml:3 Tuesday 06 February 2024 16:25:02 +0000 (0:00:00.010) 0:00:01.887 ****** ok: [sut] META: ran handlers TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tests_auto_gateway.yml:9 Tuesday 06 February 2024 16:25:03 +0000 (0:00:00.817) 0:00:02.704 ****** included: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 16:25:03 +0000 (0:00:00.022) 0:00:02.726 ****** included: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 16:25:03 +0000 (0:00:00.013) 0:00:02.739 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003911", "end": "2024-02-06 16:25:03.624298", "rc": 0, "start": "2024-02-06 16:25:03.620387" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 16:25:03 +0000 (0:00:00.296) 0:00:03.036 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 16:25:03 +0000 (0:00:00.011) 0:00:03.047 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tests_auto_gateway.yml:11 Tuesday 06 February 2024 16:25:03 +0000 (0:00:00.010) 0:00:03.058 ****** included: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 06 February 2024 16:25:03 +0000 (0:00:00.028) 0:00:03.087 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 06 February 2024 16:25:03 +0000 (0:00:00.009) 0:00:03.096 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 06 February 2024 16:25:03 +0000 (0:00:00.009) 0:00:03.106 ****** included: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 16:25:03 +0000 (0:00:00.012) 0:00:03.119 ****** included: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 16:25:03 +0000 (0:00:00.011) 0:00:03.131 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003903", "end": "2024-02-06 16:25:03.939942", "rc": 0, "start": "2024-02-06 16:25:03.936039" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 16:25:03 +0000 (0:00:00.221) 0:00:03.353 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 16:25:03 +0000 (0:00:00.011) 0:00:03.364 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 06 February 2024 16:25:03 +0000 (0:00:00.011) 0:00:03.375 ****** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/manage_test_interface.yml:28 Tuesday 06 February 2024 16:25:06 +0000 (0:00:02.752) 0:00:06.128 ****** 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.084237", "end": "2024-02-06 16:25:07.021025", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-02-06 16:25:06.936788" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004941", "end": "2024-02-06 16:25:07.302166", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-02-06 16:25:07.297225" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004834", "end": "2024-02-06 16:25:07.519208", "item": "ip link set veth0 up", "rc": 0, "start": "2024-02-06 16:25:07.514374" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/manage_test_interface.yml:37 Tuesday 06 February 2024 16:25:07 +0000 (0:00:00.804) 0:00:06.932 ****** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.278626", "end": "2024-02-06 16:25:08.018046", "rc": 0, "start": "2024-02-06 16:25:07.739420" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/manage_test_interface.yml:45 Tuesday 06 February 2024 16:25:08 +0000 (0:00:00.498) 0:00:07.431 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/manage_test_interface.yml:52 Tuesday 06 February 2024 16:25:08 +0000 (0:00:00.010) 0:00:07.442 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/manage_test_interface.yml:58 Tuesday 06 February 2024 16:25:08 +0000 (0:00:00.010) 0:00:07.453 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/manage_test_interface.yml:65 Tuesday 06 February 2024 16:25:08 +0000 (0:00:00.010) 0:00:07.463 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/manage_test_interface.yml:71 Tuesday 06 February 2024 16:25:08 +0000 (0:00:00.010) 0:00:07.473 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tests_auto_gateway.yml:15 Tuesday 06 February 2024 16:25:08 +0000 (0:00:00.009) 0:00:07.482 ****** included: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 06 February 2024 16:25:08 +0000 (0:00:00.025) 0:00:07.508 ****** included: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 16:25:08 +0000 (0:00:00.014) 0:00:07.522 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707236707.0180924, "block_size": 4096, "blocks": 0, "ctime": 1707236707.0180924, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26440, "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": 1707236707.0180924, "nlink": 1, "path": "/sys/class/net/veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that the interface is present - 'veth0'] ************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 06 February 2024 16:25:08 +0000 (0:00:00.217) 0:00:07.740 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tests_auto_gateway.yml:17 Tuesday 06 February 2024 16:25:08 +0000 (0:00:00.011) 0:00:07.751 ****** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 16:25:08 +0000 (0:00:00.009) 0:00:07.761 ****** included: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 16:25:08 +0000 (0:00:00.063) 0:00:07.825 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 16:25:08 +0000 (0:00:00.011) 0:00:07.836 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 16:25:08 +0000 (0:00:00.009) 0:00:07.846 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 16:25:08 +0000 (0:00:00.009) 0:00:07.855 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 16:25:10 +0000 (0:00:02.520) 0:00:10.375 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 16:25:12 +0000 (0:00:01.145) 0:00:11.521 ****** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 16:25:12 +0000 (0:00:00.022) 0:00:11.543 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 16:25:12 +0000 (0:00:00.021) 0:00:11.564 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 16:25:12 +0000 (0:00:00.021) 0:00:11.585 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 16:25:12 +0000 (0:00:00.043) 0:00:11.629 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 16:25:12 +0000 (0:00:00.025) 0:00:11.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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 16:25:12 +0000 (0:00:00.022) 0:00:11.678 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 16:25:12 +0000 (0:00:00.025) 0:00:11.703 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 16:25:13 +0000 (0:00:00.730) 0:00:12.434 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 16:25:13 +0000 (0:00:00.025) 0:00:12.460 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 16:25:13 +0000 (0:00:00.020) 0:00:12.480 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 16:25:13 +0000 (0:00:00.020) 0:00:12.501 ****** 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, 0b74e900-ae1f-4a15-a42c-d693c55fc1a3 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 0b74e900-ae1f-4a15-a42c-d693c55fc1a3 (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 16:25:14 +0000 (0:00:00.946) 0:00:13.448 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 16:25:14 +0000 (0:00:00.021) 0:00:13.469 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 0b74e900-ae1f-4a15-a42c-d693c55fc1a3", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 0b74e900-ae1f-4a15-a42c-d693c55fc1a3 (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 16:25:14 +0000 (0:00:00.023) 0:00:13.493 ****** 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, 0b74e900-ae1f-4a15-a42c-d693c55fc1a3\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 0b74e900-ae1f-4a15-a42c-d693c55fc1a3 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 0b74e900-ae1f-4a15-a42c-d693c55fc1a3", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 0b74e900-ae1f-4a15-a42c-d693c55fc1a3 (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 16:25:14 +0000 (0:00:00.022) 0:00:13.515 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 16:25:14 +0000 (0:00:00.020) 0:00:13.536 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tests_auto_gateway.yml:42 Tuesday 06 February 2024 16:25:14 +0000 (0:00:00.266) 0:00:13.803 ****** included: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 06 February 2024 16:25:14 +0000 (0:00:00.047) 0:00:13.851 ****** included: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 16:25:14 +0000 (0:00:00.034) 0:00:13.886 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707236707.0180924, "block_size": 4096, "blocks": 0, "ctime": 1707236707.0180924, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26440, "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": 1707236707.0180924, "nlink": 1, "path": "/sys/class/net/veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that the interface is present - 'veth0'] ************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 06 February 2024 16:25:14 +0000 (0:00:00.228) 0:00:14.114 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tests_auto_gateway.yml:44 Tuesday 06 February 2024 16:25:14 +0000 (0:00:00.022) 0:00:14.137 ****** included: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 06 February 2024 16:25:14 +0000 (0:00:00.072) 0:00:14.209 ****** included: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 16:25:14 +0000 (0:00:00.038) 0:00:14.247 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 16:25:14 +0000 (0:00:00.021) 0:00:14.269 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 16:25:15 +0000 (0:00:00.224) 0:00:14.493 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 16:25:15 +0000 (0:00:00.020) 0:00:14.514 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.190873", "end": "2024-02-06 16:25:15.510996", "rc": 0, "start": "2024-02-06 16:25:15.320123" } STDOUT: veth0 /etc/NetworkManager/system-connections/veth0.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 16:25:15 +0000 (0:00:00.420) 0:00:14.934 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 16:25:15 +0000 (0:00:00.024) 0:00:14.959 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 16:25:15 +0000 (0:00:00.021) 0:00:14.981 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 16:25:15 +0000 (0:00:00.022) 0:00:15.003 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 16:25:15 +0000 (0:00:00.022) 0:00:15.026 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 06 February 2024 16:25:15 +0000 (0:00:00.021) 0:00:15.048 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 06 February 2024 16:25:15 +0000 (0:00:00.048) 0:00:15.096 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 06 February 2024 16:25:15 +0000 (0:00:00.025) 0:00:15.121 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tests_auto_gateway.yml:48 Tuesday 06 February 2024 16:25:15 +0000 (0:00:00.023) 0:00:15.144 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.004298", "end": "2024-02-06 16:25:15.952189", "rc": 0, "start": "2024-02-06 16:25:15.947891" } STDOUT: default via 10.31.40.1 dev eth0 proto dhcp src 10.31.41.103 metric 100 default via 203.0.113.1 dev veth0 proto static metric 65535 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.41.103 metric 100 203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 metric 65535 TASK [Assert default ipv4 route is present] ************************************ task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tests_auto_gateway.yml:52 Tuesday 06 February 2024 16:25:15 +0000 (0:00:00.230) 0:00:15.375 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tests_auto_gateway.yml:58 Tuesday 06 February 2024 16:25:16 +0000 (0:00:00.023) 0:00:15.398 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.004135", "end": "2024-02-06 16:25:16.206914", "rc": 0, "start": "2024-02-06 16:25:16.202779" } STDOUT: 2001:db8::/64 dev veth0 proto kernel metric 101 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 1024 pref medium fe80::/64 dev veth0 proto kernel metric 1024 pref medium default via 2001:db8::1 dev veth0 proto static metric 101 pref medium TASK [Assert default ipv6 route is present] ************************************ task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tests_auto_gateway.yml:62 Tuesday 06 February 2024 16:25:16 +0000 (0:00:00.232) 0:00:15.631 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tests_auto_gateway.yml:69 Tuesday 06 February 2024 16:25:16 +0000 (0:00:00.024) 0:00:15.655 ****** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 16:25:16 +0000 (0:00:00.021) 0:00:15.676 ****** included: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 16:25:16 +0000 (0:00:00.037) 0:00:15.713 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 16:25:16 +0000 (0:00:00.026) 0:00:15.740 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 16:25:16 +0000 (0:00:00.020) 0:00:15.761 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 16:25:16 +0000 (0:00:00.020) 0:00:15.782 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 16:25:18 +0000 (0:00:02.354) 0:00:18.136 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 16:25:19 +0000 (0:00:00.968) 0:00:19.105 ****** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 16:25:19 +0000 (0:00:00.022) 0:00:19.127 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 16:25:19 +0000 (0:00:00.045) 0:00:19.172 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 16:25:19 +0000 (0:00:00.022) 0:00:19.195 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 16:25:19 +0000 (0:00:00.045) 0:00:19.240 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 16:25:19 +0000 (0:00:00.021) 0:00:19.261 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 16:25:19 +0000 (0:00:00.020) 0:00:19.282 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 16:25:19 +0000 (0:00:00.024) 0:00:19.306 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 16:25:20 +0000 (0:00:00.596) 0:00:19.903 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 16:25:20 +0000 (0:00:00.025) 0:00:19.929 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 16:25:20 +0000 (0:00:00.021) 0:00:19.950 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 16:25:20 +0000 (0:00:00.020) 0:00:19.971 ****** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 16:25:21 +0000 (0:00:00.492) 0:00:20.463 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 16:25:21 +0000 (0:00:00.022) 0:00:20.485 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 16:25:21 +0000 (0:00:00.059) 0:00:20.545 ****** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 16:25:21 +0000 (0:00:00.025) 0:00:20.571 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 16:25:21 +0000 (0:00:00.022) 0:00:20.593 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tests_auto_gateway.yml:81 Tuesday 06 February 2024 16:25:21 +0000 (0:00:00.223) 0:00:20.817 ****** included: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 06 February 2024 16:25:21 +0000 (0:00:00.053) 0:00:20.871 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 06 February 2024 16:25:21 +0000 (0:00:00.024) 0:00:20.895 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 06 February 2024 16:25:21 +0000 (0:00:00.021) 0:00:20.917 ****** included: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 16:25:21 +0000 (0:00:00.036) 0:00:20.953 ****** included: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 16:25:21 +0000 (0:00:00.035) 0:00:20.989 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004179", "end": "2024-02-06 16:25:21.801011", "rc": 0, "start": "2024-02-06 16:25:21.796832" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 16:25:21 +0000 (0:00:00.235) 0:00:21.225 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 16:25:21 +0000 (0:00:00.023) 0:00:21.249 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 06 February 2024 16:25:21 +0000 (0:00:00.054) 0:00:21.303 ****** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/manage_test_interface.yml:28 Tuesday 06 February 2024 16:25:24 +0000 (0:00:02.614) 0:00:23.918 ****** skipping: [sut] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "item": "ip link add veth0 type veth peer name peerveth0", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set peerveth0 up", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set veth0 up", "skip_reason": "Conditional result was False" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/manage_test_interface.yml:37 Tuesday 06 February 2024 16:25:24 +0000 (0:00:00.032) 0:00:23.950 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/manage_test_interface.yml:45 Tuesday 06 February 2024 16:25:24 +0000 (0:00:00.024) 0:00:23.975 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.022869", "end": "2024-02-06 16:25:24.803011", "rc": 0, "start": "2024-02-06 16:25:24.780142" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/manage_test_interface.yml:52 Tuesday 06 February 2024 16:25:24 +0000 (0:00:00.255) 0:00:24.230 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/manage_test_interface.yml:58 Tuesday 06 February 2024 16:25:24 +0000 (0:00:00.023) 0:00:24.254 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/manage_test_interface.yml:65 Tuesday 06 February 2024 16:25:24 +0000 (0:00:00.023) 0:00:24.277 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/manage_test_interface.yml:71 Tuesday 06 February 2024 16:25:24 +0000 (0:00:00.023) 0:00:24.301 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEST: I can configure an interface with auto_gateway disabled] *********** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tests_auto_gateway.yml:85 Tuesday 06 February 2024 16:25:24 +0000 (0:00:00.051) 0:00:24.352 ****** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tests_auto_gateway.yml:89 Tuesday 06 February 2024 16:25:24 +0000 (0:00:00.022) 0:00:24.374 ****** included: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 06 February 2024 16:25:25 +0000 (0:00:00.053) 0:00:24.428 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 06 February 2024 16:25:25 +0000 (0:00:00.026) 0:00:24.455 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 06 February 2024 16:25:25 +0000 (0:00:00.021) 0:00:24.477 ****** included: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 16:25:25 +0000 (0:00:00.035) 0:00:24.512 ****** included: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 16:25:25 +0000 (0:00:00.035) 0:00:24.547 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003941", "end": "2024-02-06 16:25:25.356400", "rc": 0, "start": "2024-02-06 16:25:25.352459" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 16:25:25 +0000 (0:00:00.233) 0:00:24.781 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 16:25:25 +0000 (0:00:00.023) 0:00:24.805 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 06 February 2024 16:25:25 +0000 (0:00:00.022) 0:00:24.827 ****** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/manage_test_interface.yml:28 Tuesday 06 February 2024 16:25:28 +0000 (0:00:02.712) 0:00:27.540 ****** 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.007886", "end": "2024-02-06 16:25:28.363521", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-02-06 16:25:28.355635" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004135", "end": "2024-02-06 16:25:28.632035", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-02-06 16:25:28.627900" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004107", "end": "2024-02-06 16:25:28.849890", "item": "ip link set veth0 up", "rc": 0, "start": "2024-02-06 16:25:28.845783" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/manage_test_interface.yml:37 Tuesday 06 February 2024 16:25:28 +0000 (0:00:00.735) 0:00:28.276 ****** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.023749", "end": "2024-02-06 16:25:29.107948", "rc": 0, "start": "2024-02-06 16:25:29.084199" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/manage_test_interface.yml:45 Tuesday 06 February 2024 16:25:29 +0000 (0:00:00.257) 0:00:28.533 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/manage_test_interface.yml:52 Tuesday 06 February 2024 16:25:29 +0000 (0:00:00.023) 0:00:28.556 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/manage_test_interface.yml:58 Tuesday 06 February 2024 16:25:29 +0000 (0:00:00.021) 0:00:28.578 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/manage_test_interface.yml:65 Tuesday 06 February 2024 16:25:29 +0000 (0:00:00.052) 0:00:28.630 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/manage_test_interface.yml:71 Tuesday 06 February 2024 16:25:29 +0000 (0:00:00.024) 0:00:28.654 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 16:25:29 +0000 (0:00:00.023) 0:00:28.678 ****** included: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 16:25:29 +0000 (0:00:00.038) 0:00:28.717 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 16:25:29 +0000 (0:00:00.028) 0:00:28.746 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 16:25:29 +0000 (0:00:00.024) 0:00:28.770 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 16:25:29 +0000 (0:00:00.023) 0:00:28.793 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 16:25:31 +0000 (0:00:02.497) 0:00:31.290 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 16:25:32 +0000 (0:00:00.970) 0:00:32.261 ****** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 16:25:32 +0000 (0:00:00.027) 0:00:32.288 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 16:25:32 +0000 (0:00:00.026) 0:00:32.315 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 16:25:32 +0000 (0:00:00.024) 0:00:32.340 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 16:25:33 +0000 (0:00:00.055) 0:00:32.395 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 16:25:33 +0000 (0:00:00.022) 0:00:32.417 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 16:25:33 +0000 (0:00:00.028) 0:00:32.446 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 16:25:33 +0000 (0:00:00.029) 0:00:32.476 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 16:25:33 +0000 (0:00:00.737) 0:00:33.214 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 16:25:33 +0000 (0:00:00.040) 0:00:33.254 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 16:25:33 +0000 (0:00:00.027) 0:00:33.282 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 16:25:33 +0000 (0:00:00.025) 0:00:33.307 ****** 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, c89294f8-6c92-4846-bf3d-fd928633d293 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, c89294f8-6c92-4846-bf3d-fd928633d293 (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 16:25:34 +0000 (0:00:00.474) 0:00:33.782 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 16:25:34 +0000 (0:00:00.035) 0:00:33.818 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, c89294f8-6c92-4846-bf3d-fd928633d293", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, c89294f8-6c92-4846-bf3d-fd928633d293 (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 16:25:34 +0000 (0:00:00.047) 0:00:33.866 ****** 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, c89294f8-6c92-4846-bf3d-fd928633d293\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, c89294f8-6c92-4846-bf3d-fd928633d293 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, c89294f8-6c92-4846-bf3d-fd928633d293", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, c89294f8-6c92-4846-bf3d-fd928633d293 (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 16:25:34 +0000 (0:00:00.033) 0:00:33.899 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 16:25:34 +0000 (0:00:00.024) 0:00:33.923 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tests_auto_gateway.yml:110 Tuesday 06 February 2024 16:25:34 +0000 (0:00:00.230) 0:00:34.153 ****** included: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 06 February 2024 16:25:34 +0000 (0:00:00.065) 0:00:34.219 ****** included: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 16:25:34 +0000 (0:00:00.047) 0:00:34.267 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707236728.3600717, "block_size": 4096, "blocks": 0, "ctime": 1707236728.3600717, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 27026, "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": 1707236728.3600717, "nlink": 1, "path": "/sys/class/net/veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that the interface is present - 'veth0'] ************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 06 February 2024 16:25:35 +0000 (0:00:00.277) 0:00:34.545 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tests_auto_gateway.yml:112 Tuesday 06 February 2024 16:25:35 +0000 (0:00:00.028) 0:00:34.574 ****** included: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 06 February 2024 16:25:35 +0000 (0:00:00.055) 0:00:34.629 ****** included: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 16:25:35 +0000 (0:00:00.038) 0:00:34.667 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 16:25:35 +0000 (0:00:00.023) 0:00:34.691 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 16:25:35 +0000 (0:00:00.229) 0:00:34.920 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 16:25:35 +0000 (0:00:00.037) 0:00:34.958 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.023470", "end": "2024-02-06 16:25:35.791603", "rc": 0, "start": "2024-02-06 16:25:35.768133" } STDOUT: veth0 /etc/NetworkManager/system-connections/veth0.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 16:25:35 +0000 (0:00:00.259) 0:00:35.218 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 16:25:35 +0000 (0:00:00.028) 0:00:35.246 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 16:25:35 +0000 (0:00:00.024) 0:00:35.271 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 16:25:35 +0000 (0:00:00.029) 0:00:35.301 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 16:25:35 +0000 (0:00:00.064) 0:00:35.365 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 06 February 2024 16:25:35 +0000 (0:00:00.023) 0:00:35.389 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 06 February 2024 16:25:36 +0000 (0:00:00.026) 0:00:35.415 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 06 February 2024 16:25:36 +0000 (0:00:00.025) 0:00:35.441 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tests_auto_gateway.yml:116 Tuesday 06 February 2024 16:25:36 +0000 (0:00:00.027) 0:00:35.468 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.004193", "end": "2024-02-06 16:25:36.281393", "rc": 0, "start": "2024-02-06 16:25:36.277200" } STDOUT: default via 10.31.40.1 dev eth0 proto dhcp src 10.31.41.103 metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.41.103 metric 100 203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 metric 101 TASK [Assert default ipv4 route is absent] ************************************* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tests_auto_gateway.yml:120 Tuesday 06 February 2024 16:25:36 +0000 (0:00:00.255) 0:00:35.724 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tests_auto_gateway.yml:126 Tuesday 06 February 2024 16:25:36 +0000 (0:00:00.052) 0:00:35.776 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.004237", "end": "2024-02-06 16:25:36.602350", "rc": 0, "start": "2024-02-06 16:25:36.598113" } STDOUT: 2001:db8::/64 dev veth0 proto kernel metric 101 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 1024 pref medium fe80::/64 dev veth0 proto kernel metric 1024 pref medium TASK [Assert default ipv6 route is absent] ************************************* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tests_auto_gateway.yml:130 Tuesday 06 February 2024 16:25:36 +0000 (0:00:00.261) 0:00:36.037 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tests_auto_gateway.yml:137 Tuesday 06 February 2024 16:25:36 +0000 (0:00:00.028) 0:00:36.065 ****** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 16:25:36 +0000 (0:00:00.025) 0:00:36.091 ****** included: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 16:25:36 +0000 (0:00:00.078) 0:00:36.170 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 16:25:36 +0000 (0:00:00.048) 0:00:36.219 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 16:25:36 +0000 (0:00:00.024) 0:00:36.244 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 16:25:36 +0000 (0:00:00.060) 0:00:36.305 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 16:25:39 +0000 (0:00:02.530) 0:00:38.835 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 16:25:40 +0000 (0:00:00.982) 0:00:39.818 ****** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 16:25:40 +0000 (0:00:00.026) 0:00:39.844 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 16:25:40 +0000 (0:00:00.026) 0:00:39.871 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 16:25:40 +0000 (0:00:00.025) 0:00:39.897 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 16:25:40 +0000 (0:00:00.120) 0:00:40.017 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 16:25:40 +0000 (0:00:00.032) 0:00:40.049 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 16:25:40 +0000 (0:00:00.034) 0:00:40.084 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 16:25:40 +0000 (0:00:00.046) 0:00:40.130 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 16:25:41 +0000 (0:00:00.621) 0:00:40.752 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 16:25:41 +0000 (0:00:00.026) 0:00:40.778 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 16:25:41 +0000 (0:00:00.021) 0:00:40.800 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 16:25:41 +0000 (0:00:00.023) 0:00:40.824 ****** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 16:25:41 +0000 (0:00:00.501) 0:00:41.325 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 16:25:41 +0000 (0:00:00.036) 0:00:41.361 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 16:25:41 +0000 (0:00:00.025) 0:00:41.386 ****** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 16:25:42 +0000 (0:00:00.032) 0:00:41.418 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 16:25:42 +0000 (0:00:00.030) 0:00:41.449 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tests_auto_gateway.yml:149 Tuesday 06 February 2024 16:25:42 +0000 (0:00:00.241) 0:00:41.691 ****** included: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 06 February 2024 16:25:42 +0000 (0:00:00.057) 0:00:41.748 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 06 February 2024 16:25:42 +0000 (0:00:00.022) 0:00:41.771 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 06 February 2024 16:25:42 +0000 (0:00:00.026) 0:00:41.797 ****** included: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 16:25:42 +0000 (0:00:00.045) 0:00:41.843 ****** included: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 16:25:42 +0000 (0:00:00.036) 0:00:41.880 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003893", "end": "2024-02-06 16:25:42.686999", "rc": 0, "start": "2024-02-06 16:25:42.683106" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 16:25:42 +0000 (0:00:00.232) 0:00:42.112 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 16:25:42 +0000 (0:00:00.029) 0:00:42.142 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 06 February 2024 16:25:42 +0000 (0:00:00.024) 0:00:42.167 ****** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/manage_test_interface.yml:28 Tuesday 06 February 2024 16:25:45 +0000 (0:00:02.711) 0:00:44.878 ****** skipping: [sut] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "item": "ip link add veth0 type veth peer name peerveth0", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set peerveth0 up", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set veth0 up", "skip_reason": "Conditional result was False" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/manage_test_interface.yml:37 Tuesday 06 February 2024 16:25:45 +0000 (0:00:00.030) 0:00:44.909 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/manage_test_interface.yml:45 Tuesday 06 February 2024 16:25:45 +0000 (0:00:00.022) 0:00:44.931 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.012732", "end": "2024-02-06 16:25:45.751022", "rc": 0, "start": "2024-02-06 16:25:45.738290" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/manage_test_interface.yml:52 Tuesday 06 February 2024 16:25:45 +0000 (0:00:00.253) 0:00:45.185 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/manage_test_interface.yml:58 Tuesday 06 February 2024 16:25:45 +0000 (0:00:00.023) 0:00:45.208 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/manage_test_interface.yml:65 Tuesday 06 February 2024 16:25:45 +0000 (0:00:00.022) 0:00:45.230 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/manage_test_interface.yml:71 Tuesday 06 February 2024 16:25:45 +0000 (0:00:00.021) 0:00:45.252 ****** 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 16:25:45 +0000 (0:00:00.010) 0:00:45.262 ****** =============================================================================== Install iproute --------------------------------------------------------- 2.75s /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.71s /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.71s /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.61s /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Check which services are running ----------- 2.53s /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.52s /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.50s /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.35s /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Enable and start NetworkManager ------------ 1.22s /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:88 linux-system-roles.network : Check which packages are installed --------- 1.15s /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Configure networking connection profiles --- 0.99s /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Check which packages are installed --------- 0.98s /WORKDIR/git-bond_options_rewrite_8cztfey/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_rewrite_8cztfey/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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Configure networking connection profiles --- 0.95s /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:125 Gathering Facts --------------------------------------------------------- 0.93s /WORKDIR/git-bond_options_rewrite_8cztfey/tests/tests_auto_gateway_nm.yml:6 --- Gathering Facts --------------------------------------------------------- 0.82s /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tests_auto_gateway.yml:3 Create veth interface veth0 --------------------------------------------- 0.80s /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/manage_test_interface.yml:28 linux-system-roles.network : Enable and start NetworkManager ------------ 0.74s /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:88 Create veth interface veth0 --------------------------------------------- 0.74s /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/manage_test_interface.yml:28 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---