# 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_rewritev3ckusxb/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_rewritev3ckusxb/tests/tests_auto_gateway_nm.yml:6 Wednesday 31 January 2024 23:29:01 +0000 (0:00:00.025) 0:00:00.025 ***** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/tests_auto_gateway_nm.yml:9 Wednesday 31 January 2024 23:29:02 +0000 (0:00:00.982) 0:00:01.007 ***** included: /WORKDIR/git-bond_options_rewritev3ckusxb/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_rewritev3ckusxb/tests/tasks/el_repo_setup.yml:3 Wednesday 31 January 2024 23:29:02 +0000 (0:00:00.021) 0:00:01.028 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/tasks/el_repo_setup.yml:19 Wednesday 31 January 2024 23:29:02 +0000 (0:00:00.549) 0:00:01.578 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/tasks/el_repo_setup.yml:24 Wednesday 31 January 2024 23:29:03 +0000 (0:00:00.313) 0:00:01.892 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/tasks/el_repo_setup.yml:28 Wednesday 31 January 2024 23:29:03 +0000 (0:00:00.029) 0:00:01.922 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/tasks/el_repo_setup.yml:53 Wednesday 31 January 2024 23:29:03 +0000 (0:00:00.026) 0:00:01.948 ***** included: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 38] ********************************************************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/tasks/enable_epel.yml:8 Wednesday 31 January 2024 23:29:03 +0000 (0:00:00.046) 0:00:01.994 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/tasks/enable_epel.yml:24 Wednesday 31 January 2024 23:29:03 +0000 (0:00:00.014) 0:00:02.009 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/tasks/enable_epel.yml:30 Wednesday 31 January 2024 23:29:03 +0000 (0:00:00.014) 0:00:02.024 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/tasks/enable_epel.yml:35 Wednesday 31 January 2024 23:29:03 +0000 (0:00:00.014) 0:00:02.038 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/tasks/enable_epel.yml:40 Wednesday 31 January 2024 23:29:03 +0000 (0:00:00.013) 0:00:02.051 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/tests_auto_gateway_nm.yml:11 Wednesday 31 January 2024 23:29:03 +0000 (0:00:00.014) 0:00:02.066 ***** 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_rewritev3ckusxb/tests/playbooks/tests_auto_gateway.yml:3 Wednesday 31 January 2024 23:29:03 +0000 (0:00:00.019) 0:00:02.085 ***** ok: [sut] META: ran handlers TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tests_auto_gateway.yml:9 Wednesday 31 January 2024 23:29:04 +0000 (0:00:00.794) 0:00:02.879 ***** included: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 31 January 2024 23:29:04 +0000 (0:00:00.036) 0:00:02.915 ***** included: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 31 January 2024 23:29:04 +0000 (0:00:00.021) 0:00:02.937 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004874", "end": "2024-01-31 23:29:05.610650", "rc": 0, "start": "2024-01-31 23:29:04.605776" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 31 January 2024 23:29:05 +0000 (0:00:01.338) 0:00:04.275 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 31 January 2024 23:29:05 +0000 (0:00:00.017) 0:00:04.293 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tests_auto_gateway.yml:11 Wednesday 31 January 2024 23:29:05 +0000 (0:00:00.019) 0:00:04.312 ***** included: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 31 January 2024 23:29:05 +0000 (0:00:00.058) 0:00:04.371 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 31 January 2024 23:29:05 +0000 (0:00:00.017) 0:00:04.388 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 31 January 2024 23:29:05 +0000 (0:00:00.017) 0:00:04.405 ***** included: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 31 January 2024 23:29:05 +0000 (0:00:00.022) 0:00:04.427 ***** included: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 31 January 2024 23:29:05 +0000 (0:00:00.021) 0:00:04.449 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004930", "end": "2024-01-31 23:29:07.000133", "rc": 0, "start": "2024-01-31 23:29:05.995203" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 31 January 2024 23:29:07 +0000 (0:00:01.212) 0:00:05.661 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 31 January 2024 23:29:07 +0000 (0:00:00.016) 0:00:05.678 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 31 January 2024 23:29:07 +0000 (0:00:00.015) 0:00:05.694 ***** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/manage_test_interface.yml:28 Wednesday 31 January 2024 23:29:09 +0000 (0:00:02.593) 0:00:08.287 ***** 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.053544", "end": "2024-01-31 23:29:09.896559", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-01-31 23:29:09.843015" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003978", "end": "2024-01-31 23:29:10.156035", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-01-31 23:29:10.152057" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004100", "end": "2024-01-31 23:29:10.359810", "item": "ip link set veth0 up", "rc": 0, "start": "2024-01-31 23:29:10.355710" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/manage_test_interface.yml:37 Wednesday 31 January 2024 23:29:10 +0000 (0:00:00.735) 0:00:09.023 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.099111", "end": "2024-01-31 23:29:10.671092", "rc": 0, "start": "2024-01-31 23:29:10.571981" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/manage_test_interface.yml:45 Wednesday 31 January 2024 23:29:10 +0000 (0:00:00.311) 0:00:09.335 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/manage_test_interface.yml:52 Wednesday 31 January 2024 23:29:10 +0000 (0:00:00.015) 0:00:09.350 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 31 January 2024 23:29:10 +0000 (0:00:00.015) 0:00:09.366 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/manage_test_interface.yml:65 Wednesday 31 January 2024 23:29:10 +0000 (0:00:00.015) 0:00:09.381 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/manage_test_interface.yml:71 Wednesday 31 January 2024 23:29:10 +0000 (0:00:00.016) 0:00:09.397 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tests_auto_gateway.yml:15 Wednesday 31 January 2024 23:29:10 +0000 (0:00:00.014) 0:00:09.412 ***** included: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 31 January 2024 23:29:10 +0000 (0:00:00.038) 0:00:09.450 ***** included: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 31 January 2024 23:29:10 +0000 (0:00:00.018) 0:00:09.469 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1706743749.8949976, "block_size": 4096, "blocks": 0, "ctime": 1706743749.8949976, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26234, "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": 1706743749.8949976, "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_rewritev3ckusxb/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 31 January 2024 23:29:11 +0000 (0:00:00.212) 0:00:09.681 ***** 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_rewritev3ckusxb/tests/playbooks/tests_auto_gateway.yml:17 Wednesday 31 January 2024 23:29:11 +0000 (0:00:00.020) 0:00:09.701 ***** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 31 January 2024 23:29:11 +0000 (0:00:00.015) 0:00:09.716 ***** included: /WORKDIR/git-bond_options_rewritev3ckusxb/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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 31 January 2024 23:29:11 +0000 (0:00:00.121) 0:00:09.838 ***** 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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 31 January 2024 23:29:11 +0000 (0:00:00.019) 0:00:09.857 ***** 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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 31 January 2024 23:29:11 +0000 (0:00:00.015) 0:00:09.873 ***** 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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 31 January 2024 23:29:11 +0000 (0:00:00.019) 0:00:09.893 ***** 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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 31 January 2024 23:29:13 +0000 (0:00:02.314) 0:00:12.207 ***** 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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 31 January 2024 23:29:14 +0000 (0:00:01.235) 0:00:13.443 ***** 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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 31 January 2024 23:29:14 +0000 (0:00:00.033) 0:00:13.476 ***** 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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 31 January 2024 23:29:14 +0000 (0:00:00.035) 0:00:13.512 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 31 January 2024 23:29:14 +0000 (0:00:00.033) 0:00:13.545 ***** 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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 31 January 2024 23:29:14 +0000 (0:00:00.075) 0:00:13.621 ***** 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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 31 January 2024 23:29:15 +0000 (0:00:00.038) 0:00:13.659 ***** 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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 31 January 2024 23:29:15 +0000 (0:00:00.047) 0:00:13.706 ***** 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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 31 January 2024 23:29:15 +0000 (0:00:00.068) 0:00:13.775 ***** 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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 31 January 2024 23:29:15 +0000 (0:00:00.804) 0:00:14.580 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 31 January 2024 23:29:15 +0000 (0:00:00.048) 0:00:14.628 ***** 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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 31 January 2024 23:29:16 +0000 (0:00:00.034) 0:00:14.663 ***** 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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 31 January 2024 23:29:16 +0000 (0:00:00.030) 0:00:14.693 ***** 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, 0bcb9a6d-4090-4c49-910d-055376566df0 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 0bcb9a6d-4090-4c49-910d-055376566df0 (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 31 January 2024 23:29:17 +0000 (0:00:00.950) 0:00:15.643 ***** 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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 31 January 2024 23:29:17 +0000 (0:00:00.033) 0:00:15.677 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 0bcb9a6d-4090-4c49-910d-055376566df0", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 0bcb9a6d-4090-4c49-910d-055376566df0 (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 31 January 2024 23:29:17 +0000 (0:00:00.036) 0:00:15.714 ***** 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, 0bcb9a6d-4090-4c49-910d-055376566df0\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 0bcb9a6d-4090-4c49-910d-055376566df0 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 0bcb9a6d-4090-4c49-910d-055376566df0", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 0bcb9a6d-4090-4c49-910d-055376566df0 (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 31 January 2024 23:29:17 +0000 (0:00:00.035) 0:00:15.750 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 31 January 2024 23:29:17 +0000 (0:00:00.033) 0:00:15.783 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tests_auto_gateway.yml:42 Wednesday 31 January 2024 23:29:17 +0000 (0:00:00.287) 0:00:16.070 ***** included: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 31 January 2024 23:29:17 +0000 (0:00:00.072) 0:00:16.143 ***** included: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 31 January 2024 23:29:17 +0000 (0:00:00.054) 0:00:16.197 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1706743749.8949976, "block_size": 4096, "blocks": 0, "ctime": 1706743749.8949976, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26234, "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": 1706743749.8949976, "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_rewritev3ckusxb/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 31 January 2024 23:29:17 +0000 (0:00:00.227) 0:00:16.424 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tests_auto_gateway.yml:44 Wednesday 31 January 2024 23:29:17 +0000 (0:00:00.038) 0:00:16.463 ***** included: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 31 January 2024 23:29:17 +0000 (0:00:00.120) 0:00:16.583 ***** included: /WORKDIR/git-bond_options_rewritev3ckusxb/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_rewritev3ckusxb/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 31 January 2024 23:29:18 +0000 (0:00:00.074) 0:00:16.658 ***** 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_rewritev3ckusxb/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 31 January 2024 23:29:18 +0000 (0:00:00.032) 0:00:16.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_rewritev3ckusxb/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 31 January 2024 23:29:18 +0000 (0:00:00.228) 0:00:16.920 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 31 January 2024 23:29:18 +0000 (0:00:00.040) 0:00:16.961 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.073097", "end": "2024-01-31 23:29:18.586906", "rc": 0, "start": "2024-01-31 23:29:18.513809" } 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_rewritev3ckusxb/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 31 January 2024 23:29:18 +0000 (0:00:00.306) 0:00:17.267 ***** 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_rewritev3ckusxb/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 31 January 2024 23:29:18 +0000 (0:00:00.037) 0:00:17.305 ***** 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_rewritev3ckusxb/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 31 January 2024 23:29:18 +0000 (0:00:00.038) 0:00:17.343 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 31 January 2024 23:29:18 +0000 (0:00:00.037) 0:00:17.380 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 31 January 2024 23:29:18 +0000 (0:00:00.032) 0:00:17.413 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 31 January 2024 23:29:18 +0000 (0:00:00.036) 0:00:17.449 ***** 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_rewritev3ckusxb/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 31 January 2024 23:29:18 +0000 (0:00:00.040) 0:00:17.489 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 31 January 2024 23:29:18 +0000 (0:00:00.088) 0:00:17.577 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tests_auto_gateway.yml:48 Wednesday 31 January 2024 23:29:18 +0000 (0:00:00.034) 0:00:17.612 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.004326", "end": "2024-01-31 23:29:19.167342", "rc": 0, "start": "2024-01-31 23:29:19.163016" } STDOUT: default via 10.31.8.1 dev eth0 proto dhcp src 10.31.9.43 metric 100 default via 203.0.113.1 dev veth0 proto static metric 65535 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.9.43 metric 100 203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 metric 65535 TASK [Assert default ipv4 route is present] ************************************ task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tests_auto_gateway.yml:52 Wednesday 31 January 2024 23:29:19 +0000 (0:00:00.234) 0:00:17.846 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tests_auto_gateway.yml:58 Wednesday 31 January 2024 23:29:19 +0000 (0:00:00.034) 0:00:17.880 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003963", "end": "2024-01-31 23:29:19.431853", "rc": 0, "start": "2024-01-31 23:29:19.427890" } 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_rewritev3ckusxb/tests/playbooks/tests_auto_gateway.yml:62 Wednesday 31 January 2024 23:29:19 +0000 (0:00:00.228) 0:00:18.109 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tests_auto_gateway.yml:69 Wednesday 31 January 2024 23:29:19 +0000 (0:00:00.034) 0:00:18.144 ***** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 31 January 2024 23:29:19 +0000 (0:00:00.031) 0:00:18.175 ***** included: /WORKDIR/git-bond_options_rewritev3ckusxb/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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 31 January 2024 23:29:19 +0000 (0:00:00.065) 0:00:18.241 ***** 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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 31 January 2024 23:29:19 +0000 (0:00:00.038) 0:00:18.279 ***** 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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 31 January 2024 23:29:19 +0000 (0:00:00.033) 0:00:18.313 ***** 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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 31 January 2024 23:29:19 +0000 (0:00:00.033) 0:00:18.346 ***** 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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 31 January 2024 23:29:21 +0000 (0:00:02.274) 0:00:20.620 ***** 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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 31 January 2024 23:29:22 +0000 (0:00:00.942) 0:00:21.562 ***** 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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 31 January 2024 23:29:22 +0000 (0:00:00.043) 0:00:21.605 ***** 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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 31 January 2024 23:29:23 +0000 (0:00:00.044) 0:00:21.650 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 31 January 2024 23:29:23 +0000 (0:00:00.084) 0:00:21.735 ***** 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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 31 January 2024 23:29:23 +0000 (0:00:00.070) 0:00:21.805 ***** 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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 31 January 2024 23:29:23 +0000 (0:00:00.034) 0:00:21.840 ***** 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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 31 January 2024 23:29:23 +0000 (0:00:00.031) 0:00:21.872 ***** 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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 31 January 2024 23:29:23 +0000 (0:00:00.039) 0:00:21.911 ***** 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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 31 January 2024 23:29:23 +0000 (0:00:00.579) 0:00:22.490 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 31 January 2024 23:29:23 +0000 (0:00:00.039) 0:00:22.530 ***** 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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 31 January 2024 23:29:23 +0000 (0:00:00.031) 0:00:22.562 ***** 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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 31 January 2024 23:29:23 +0000 (0:00:00.031) 0:00:22.593 ***** 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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 31 January 2024 23:29:24 +0000 (0:00:00.495) 0:00:23.088 ***** 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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 31 January 2024 23:29:24 +0000 (0:00:00.031) 0:00:23.120 ***** 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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 31 January 2024 23:29:24 +0000 (0:00:00.032) 0:00:23.153 ***** 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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 31 January 2024 23:29:24 +0000 (0:00:00.079) 0:00:23.232 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 31 January 2024 23:29:24 +0000 (0:00:00.034) 0:00:23.266 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tests_auto_gateway.yml:81 Wednesday 31 January 2024 23:29:24 +0000 (0:00:00.219) 0:00:23.486 ***** included: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 31 January 2024 23:29:24 +0000 (0:00:00.093) 0:00:23.579 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 31 January 2024 23:29:24 +0000 (0:00:00.047) 0:00:23.627 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 31 January 2024 23:29:25 +0000 (0:00:00.047) 0:00:23.675 ***** included: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 31 January 2024 23:29:25 +0000 (0:00:00.066) 0:00:23.741 ***** included: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 31 January 2024 23:29:25 +0000 (0:00:00.050) 0:00:23.792 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003843", "end": "2024-01-31 23:29:25.344468", "rc": 0, "start": "2024-01-31 23:29:25.340625" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 31 January 2024 23:29:25 +0000 (0:00:00.245) 0:00:24.038 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 31 January 2024 23:29:25 +0000 (0:00:00.038) 0:00:24.076 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 31 January 2024 23:29:25 +0000 (0:00:00.038) 0:00:24.114 ***** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/manage_test_interface.yml:28 Wednesday 31 January 2024 23:29:27 +0000 (0:00:02.469) 0:00:26.584 ***** 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_rewritev3ckusxb/tests/playbooks/tasks/manage_test_interface.yml:37 Wednesday 31 January 2024 23:29:28 +0000 (0:00:00.055) 0:00:26.639 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/manage_test_interface.yml:45 Wednesday 31 January 2024 23:29:28 +0000 (0:00:00.042) 0:00:26.682 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.009268", "end": "2024-01-31 23:29:28.246906", "rc": 0, "start": "2024-01-31 23:29:28.237638" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/manage_test_interface.yml:52 Wednesday 31 January 2024 23:29:28 +0000 (0:00:00.258) 0:00:26.941 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 31 January 2024 23:29:28 +0000 (0:00:00.039) 0:00:26.980 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/manage_test_interface.yml:65 Wednesday 31 January 2024 23:29:28 +0000 (0:00:00.032) 0:00:27.013 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/manage_test_interface.yml:71 Wednesday 31 January 2024 23:29:28 +0000 (0:00:00.086) 0:00:27.099 ***** 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_rewritev3ckusxb/tests/playbooks/tests_auto_gateway.yml:85 Wednesday 31 January 2024 23:29:28 +0000 (0:00:00.036) 0:00:27.135 ***** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tests_auto_gateway.yml:89 Wednesday 31 January 2024 23:29:28 +0000 (0:00:00.033) 0:00:27.169 ***** included: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 31 January 2024 23:29:28 +0000 (0:00:00.086) 0:00:27.255 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 31 January 2024 23:29:28 +0000 (0:00:00.030) 0:00:27.286 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 31 January 2024 23:29:28 +0000 (0:00:00.046) 0:00:27.333 ***** included: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 31 January 2024 23:29:28 +0000 (0:00:00.069) 0:00:27.402 ***** included: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 31 January 2024 23:29:28 +0000 (0:00:00.063) 0:00:27.465 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003780", "end": "2024-01-31 23:29:29.039553", "rc": 0, "start": "2024-01-31 23:29:29.035773" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 31 January 2024 23:29:29 +0000 (0:00:00.261) 0:00:27.727 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 31 January 2024 23:29:29 +0000 (0:00:00.037) 0:00:27.764 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 31 January 2024 23:29:29 +0000 (0:00:00.043) 0:00:27.807 ***** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/manage_test_interface.yml:28 Wednesday 31 January 2024 23:29:31 +0000 (0:00:02.462) 0:00:30.270 ***** 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.007430", "end": "2024-01-31 23:29:31.836029", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-01-31 23:29:31.828599" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004440", "end": "2024-01-31 23:29:32.092466", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-01-31 23:29:32.088026" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004007", "end": "2024-01-31 23:29:32.299959", "item": "ip link set veth0 up", "rc": 0, "start": "2024-01-31 23:29:32.295952" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/manage_test_interface.yml:37 Wednesday 31 January 2024 23:29:32 +0000 (0:00:00.719) 0:00:30.989 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.023778", "end": "2024-01-31 23:29:32.568376", "rc": 0, "start": "2024-01-31 23:29:32.544598" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/manage_test_interface.yml:45 Wednesday 31 January 2024 23:29:32 +0000 (0:00:00.272) 0:00:31.262 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/manage_test_interface.yml:52 Wednesday 31 January 2024 23:29:32 +0000 (0:00:00.044) 0:00:31.306 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 31 January 2024 23:29:32 +0000 (0:00:00.038) 0:00:31.345 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/manage_test_interface.yml:65 Wednesday 31 January 2024 23:29:32 +0000 (0:00:00.035) 0:00:31.381 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/manage_test_interface.yml:71 Wednesday 31 January 2024 23:29:32 +0000 (0:00:00.045) 0:00:31.427 ***** 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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 31 January 2024 23:29:32 +0000 (0:00:00.097) 0:00:31.524 ***** included: /WORKDIR/git-bond_options_rewritev3ckusxb/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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 31 January 2024 23:29:32 +0000 (0:00:00.062) 0:00:31.587 ***** 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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 31 January 2024 23:29:32 +0000 (0:00:00.042) 0:00:31.630 ***** 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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 31 January 2024 23:29:33 +0000 (0:00:00.035) 0:00:31.665 ***** 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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 31 January 2024 23:29:33 +0000 (0:00:00.046) 0:00:31.711 ***** 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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 31 January 2024 23:29:35 +0000 (0:00:02.241) 0:00:33.953 ***** 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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 31 January 2024 23:29:36 +0000 (0:00:01.055) 0:00:35.008 ***** 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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 31 January 2024 23:29:36 +0000 (0:00:00.036) 0:00:35.045 ***** 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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 31 January 2024 23:29:36 +0000 (0:00:00.035) 0:00:35.081 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 31 January 2024 23:29:36 +0000 (0:00:00.035) 0:00:35.116 ***** 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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 31 January 2024 23:29:36 +0000 (0:00:00.084) 0:00:35.200 ***** 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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 31 January 2024 23:29:36 +0000 (0:00:00.036) 0:00:35.237 ***** 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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 31 January 2024 23:29:36 +0000 (0:00:00.041) 0:00:35.279 ***** 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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 31 January 2024 23:29:36 +0000 (0:00:00.047) 0:00:35.326 ***** 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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 31 January 2024 23:29:37 +0000 (0:00:00.597) 0:00:35.924 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 31 January 2024 23:29:37 +0000 (0:00:00.053) 0:00:35.977 ***** 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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 31 January 2024 23:29:37 +0000 (0:00:00.036) 0:00:36.014 ***** 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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 31 January 2024 23:29:37 +0000 (0:00:00.043) 0:00:36.057 ***** 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, da9e8930-d0d7-4235-a732-8c2e1d14439b [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, da9e8930-d0d7-4235-a732-8c2e1d14439b (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 31 January 2024 23:29:37 +0000 (0:00:00.542) 0:00:36.600 ***** 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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 31 January 2024 23:29:37 +0000 (0:00:00.031) 0:00:36.631 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, da9e8930-d0d7-4235-a732-8c2e1d14439b", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, da9e8930-d0d7-4235-a732-8c2e1d14439b (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 31 January 2024 23:29:38 +0000 (0:00:00.031) 0:00:36.663 ***** 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, da9e8930-d0d7-4235-a732-8c2e1d14439b\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, da9e8930-d0d7-4235-a732-8c2e1d14439b (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, da9e8930-d0d7-4235-a732-8c2e1d14439b", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, da9e8930-d0d7-4235-a732-8c2e1d14439b (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 31 January 2024 23:29:38 +0000 (0:00:00.029) 0:00:36.692 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 31 January 2024 23:29:38 +0000 (0:00:00.028) 0:00:36.721 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tests_auto_gateway.yml:110 Wednesday 31 January 2024 23:29:38 +0000 (0:00:00.227) 0:00:36.949 ***** included: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 31 January 2024 23:29:38 +0000 (0:00:00.093) 0:00:37.043 ***** included: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 31 January 2024 23:29:38 +0000 (0:00:00.070) 0:00:37.113 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1706743771.8327997, "block_size": 4096, "blocks": 0, "ctime": 1706743771.8327997, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26820, "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": 1706743771.8327997, "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_rewritev3ckusxb/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 31 January 2024 23:29:38 +0000 (0:00:00.228) 0:00:37.341 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tests_auto_gateway.yml:112 Wednesday 31 January 2024 23:29:38 +0000 (0:00:00.042) 0:00:37.384 ***** included: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 31 January 2024 23:29:38 +0000 (0:00:00.150) 0:00:37.535 ***** included: /WORKDIR/git-bond_options_rewritev3ckusxb/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_rewritev3ckusxb/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 31 January 2024 23:29:38 +0000 (0:00:00.063) 0:00:37.599 ***** 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_rewritev3ckusxb/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 31 January 2024 23:29:39 +0000 (0:00:00.042) 0:00:37.642 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 31 January 2024 23:29:39 +0000 (0:00:00.241) 0:00:37.883 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 31 January 2024 23:29:39 +0000 (0:00:00.039) 0:00:37.923 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.022774", "end": "2024-01-31 23:29:39.499430", "rc": 0, "start": "2024-01-31 23:29:39.476656" } 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_rewritev3ckusxb/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 31 January 2024 23:29:39 +0000 (0:00:00.263) 0:00:38.187 ***** 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_rewritev3ckusxb/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 31 January 2024 23:29:39 +0000 (0:00:00.034) 0:00:38.221 ***** 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_rewritev3ckusxb/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 31 January 2024 23:29:39 +0000 (0:00:00.033) 0:00:38.255 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 31 January 2024 23:29:39 +0000 (0:00:00.035) 0:00:38.291 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 31 January 2024 23:29:39 +0000 (0:00:00.039) 0:00:38.330 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 31 January 2024 23:29:39 +0000 (0:00:00.034) 0:00:38.365 ***** 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_rewritev3ckusxb/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 31 January 2024 23:29:39 +0000 (0:00:00.037) 0:00:38.403 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 31 January 2024 23:29:39 +0000 (0:00:00.036) 0:00:38.439 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tests_auto_gateway.yml:116 Wednesday 31 January 2024 23:29:39 +0000 (0:00:00.100) 0:00:38.540 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.004034", "end": "2024-01-31 23:29:40.096238", "rc": 0, "start": "2024-01-31 23:29:40.092204" } STDOUT: default via 10.31.8.1 dev eth0 proto dhcp src 10.31.9.43 metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.9.43 metric 100 203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 metric 101 TASK [Assert default ipv4 route is absent] ************************************* task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tests_auto_gateway.yml:120 Wednesday 31 January 2024 23:29:40 +0000 (0:00:00.244) 0:00:38.784 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tests_auto_gateway.yml:126 Wednesday 31 January 2024 23:29:40 +0000 (0:00:00.048) 0:00:38.833 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.004011", "end": "2024-01-31 23:29:40.415330", "rc": 0, "start": "2024-01-31 23:29:40.411319" } 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_rewritev3ckusxb/tests/playbooks/tests_auto_gateway.yml:130 Wednesday 31 January 2024 23:29:40 +0000 (0:00:00.263) 0:00:39.097 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tests_auto_gateway.yml:137 Wednesday 31 January 2024 23:29:40 +0000 (0:00:00.049) 0:00:39.146 ***** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 31 January 2024 23:29:40 +0000 (0:00:00.035) 0:00:39.182 ***** included: /WORKDIR/git-bond_options_rewritev3ckusxb/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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 31 January 2024 23:29:40 +0000 (0:00:00.057) 0:00:39.239 ***** 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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 31 January 2024 23:29:40 +0000 (0:00:00.039) 0:00:39.278 ***** 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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 31 January 2024 23:29:40 +0000 (0:00:00.032) 0:00:39.311 ***** 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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 31 January 2024 23:29:40 +0000 (0:00:00.031) 0:00:39.343 ***** 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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 31 January 2024 23:29:42 +0000 (0:00:02.277) 0:00:41.620 ***** 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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 31 January 2024 23:29:43 +0000 (0:00:00.932) 0:00:42.552 ***** 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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 31 January 2024 23:29:43 +0000 (0:00:00.030) 0:00:42.583 ***** 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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 31 January 2024 23:29:43 +0000 (0:00:00.029) 0:00:42.613 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 31 January 2024 23:29:44 +0000 (0:00:00.029) 0:00:42.642 ***** 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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 31 January 2024 23:29:44 +0000 (0:00:00.098) 0:00:42.741 ***** 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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 31 January 2024 23:29:44 +0000 (0:00:00.031) 0:00:42.772 ***** 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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 31 January 2024 23:29:44 +0000 (0:00:00.029) 0:00:42.802 ***** 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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 31 January 2024 23:29:44 +0000 (0:00:00.036) 0:00:42.838 ***** 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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 31 January 2024 23:29:44 +0000 (0:00:00.586) 0:00:43.425 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 31 January 2024 23:29:44 +0000 (0:00:00.040) 0:00:43.465 ***** 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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 31 January 2024 23:29:44 +0000 (0:00:00.032) 0:00:43.498 ***** 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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 31 January 2024 23:29:44 +0000 (0:00:00.030) 0:00:43.529 ***** 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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 31 January 2024 23:29:45 +0000 (0:00:00.523) 0:00:44.053 ***** 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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 31 January 2024 23:29:45 +0000 (0:00:00.030) 0:00:44.083 ***** 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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 31 January 2024 23:29:45 +0000 (0:00:00.031) 0:00:44.115 ***** 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_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 31 January 2024 23:29:45 +0000 (0:00:00.033) 0:00:44.149 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 31 January 2024 23:29:45 +0000 (0:00:00.076) 0:00:44.225 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tests_auto_gateway.yml:149 Wednesday 31 January 2024 23:29:45 +0000 (0:00:00.218) 0:00:44.444 ***** included: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 31 January 2024 23:29:45 +0000 (0:00:00.093) 0:00:44.537 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 31 January 2024 23:29:45 +0000 (0:00:00.031) 0:00:44.568 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 31 January 2024 23:29:45 +0000 (0:00:00.030) 0:00:44.599 ***** included: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 31 January 2024 23:29:46 +0000 (0:00:00.048) 0:00:44.648 ***** included: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 31 January 2024 23:29:46 +0000 (0:00:00.045) 0:00:44.693 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004526", "end": "2024-01-31 23:29:47.244570", "rc": 0, "start": "2024-01-31 23:29:46.240044" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 31 January 2024 23:29:47 +0000 (0:00:01.301) 0:00:45.995 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 31 January 2024 23:29:47 +0000 (0:00:00.043) 0:00:46.038 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 31 January 2024 23:29:47 +0000 (0:00:00.045) 0:00:46.084 ***** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/manage_test_interface.yml:28 Wednesday 31 January 2024 23:29:49 +0000 (0:00:02.487) 0:00:48.571 ***** 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_rewritev3ckusxb/tests/playbooks/tasks/manage_test_interface.yml:37 Wednesday 31 January 2024 23:29:49 +0000 (0:00:00.061) 0:00:48.633 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/manage_test_interface.yml:45 Wednesday 31 January 2024 23:29:50 +0000 (0:00:00.038) 0:00:48.671 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.018938", "end": "2024-01-31 23:29:50.252017", "rc": 0, "start": "2024-01-31 23:29:50.233079" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/manage_test_interface.yml:52 Wednesday 31 January 2024 23:29:50 +0000 (0:00:00.265) 0:00:48.937 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 31 January 2024 23:29:50 +0000 (0:00:00.036) 0:00:48.973 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/manage_test_interface.yml:65 Wednesday 31 January 2024 23:29:50 +0000 (0:00:00.092) 0:00:49.065 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/manage_test_interface.yml:71 Wednesday 31 January 2024 23:29:50 +0000 (0:00:00.037) 0:00:49.103 ***** 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 Wednesday 31 January 2024 23:29:50 +0000 (0:00:00.014) 0:00:49.118 ***** =============================================================================== Install iproute --------------------------------------------------------- 2.59s /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.49s /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.47s /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.46s /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Check which services are running ----------- 2.31s /WORKDIR/git-bond_options_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.28s /WORKDIR/git-bond_options_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.27s /WORKDIR/git-bond_options_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.24s /WORKDIR/git-bond_options_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Gather current interface info ------------------------------------------- 1.34s /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 1.30s /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/get_current_interfaces.yml:3 linux-system-roles.network : Check which packages are installed --------- 1.24s /WORKDIR/git-bond_options_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Gather current interface info ------------------------------------------- 1.21s /WORKDIR/git-bond_options_rewritev3ckusxb/tests/playbooks/tasks/get_current_interfaces.yml:3 linux-system-roles.network : Enable and start NetworkManager ------------ 1.17s /WORKDIR/git-bond_options_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:88 linux-system-roles.network : Check which packages are installed --------- 1.06s /WORKDIR/git-bond_options_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Configure networking connection profiles --- 1.02s /WORKDIR/git-bond_options_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:125 Gathering Facts --------------------------------------------------------- 0.98s /WORKDIR/git-bond_options_rewritev3ckusxb/tests/tests_auto_gateway_nm.yml:6 --- linux-system-roles.network : Configure networking connection profiles --- 0.95s /WORKDIR/git-bond_options_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Check which packages are installed --------- 0.94s /WORKDIR/git-bond_options_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.93s /WORKDIR/git-bond_options_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Enable and start NetworkManager ------------ 0.80s /WORKDIR/git-bond_options_rewritev3ckusxb/tests/roles/linux-system-roles.network/tasks/main.yml:88 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---