# 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_rewritesn2ilal8/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_rewritesn2ilal8/tests/tests_auto_gateway_nm.yml:6 Tuesday 06 February 2024 22:01:33 +0000 (0:00:00.012) 0:00:00.012 ****** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/tests_auto_gateway_nm.yml:9 Tuesday 06 February 2024 22:01:34 +0000 (0:00:00.644) 0:00:00.657 ****** included: /WORKDIR/git-bond_options_rewritesn2ilal8/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_rewritesn2ilal8/tests/tasks/el_repo_setup.yml:3 Tuesday 06 February 2024 22:01:34 +0000 (0:00:00.011) 0:00:00.668 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/tasks/el_repo_setup.yml:19 Tuesday 06 February 2024 22:01:34 +0000 (0:00:00.385) 0:00:01.053 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/tasks/el_repo_setup.yml:24 Tuesday 06 February 2024 22:01:34 +0000 (0:00:00.288) 0:00:01.342 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/tasks/el_repo_setup.yml:28 Tuesday 06 February 2024 22:01:35 +0000 (0:00:00.020) 0:00:01.362 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/tasks/el_repo_setup.yml:53 Tuesday 06 February 2024 22:01:35 +0000 (0:00:00.017) 0:00:01.379 ****** included: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/tasks/enable_epel.yml:8 Tuesday 06 February 2024 22:01:35 +0000 (0:00:00.048) 0:00:01.428 ****** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "rc": 0 } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/tasks/enable_epel.yml:24 Tuesday 06 February 2024 22:01:35 +0000 (0:00:00.350) 0:00:01.778 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/tasks/enable_epel.yml:30 Tuesday 06 February 2024 22:01:35 +0000 (0:00:00.011) 0:00:01.790 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/tasks/enable_epel.yml:35 Tuesday 06 February 2024 22:01:35 +0000 (0:00:00.010) 0:00:01.801 ****** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.248834", "end": "2024-02-06 22:01:35.860953", "rc": 0, "start": "2024-02-06 22:01:35.612119" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/tasks/enable_epel.yml:40 Tuesday 06 February 2024 22:01:35 +0000 (0:00:00.438) 0:00:02.240 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/tests_auto_gateway_nm.yml:11 Tuesday 06 February 2024 22:01:35 +0000 (0:00:00.015) 0:00:02.256 ****** 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_rewritesn2ilal8/tests/playbooks/tests_auto_gateway.yml:3 Tuesday 06 February 2024 22:01:35 +0000 (0:00:00.012) 0:00:02.269 ****** ok: [sut] META: ran handlers TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tests_auto_gateway.yml:9 Tuesday 06 February 2024 22:01:36 +0000 (0:00:00.483) 0:00:02.752 ****** included: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 22:01:36 +0000 (0:00:00.023) 0:00:02.776 ****** included: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 22:01:36 +0000 (0:00:00.014) 0:00:02.790 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003460", "end": "2024-02-06 22:01:36.604528", "rc": 0, "start": "2024-02-06 22:01:36.601068" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 22:01:36 +0000 (0:00:00.192) 0:00:02.983 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 22:01:36 +0000 (0:00:00.012) 0:00:02.995 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tests_auto_gateway.yml:11 Tuesday 06 February 2024 22:01:36 +0000 (0:00:00.011) 0:00:03.007 ****** included: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 06 February 2024 22:01:36 +0000 (0:00:00.029) 0:00:03.036 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 06 February 2024 22:01:36 +0000 (0:00:00.009) 0:00:03.046 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 06 February 2024 22:01:36 +0000 (0:00:00.009) 0:00:03.056 ****** included: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 22:01:36 +0000 (0:00:00.013) 0:00:03.069 ****** included: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 22:01:36 +0000 (0:00:00.014) 0:00:03.083 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003545", "end": "2024-02-06 22:01:36.899196", "rc": 0, "start": "2024-02-06 22:01:36.895651" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 22:01:36 +0000 (0:00:00.194) 0:00:03.278 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 22:01:36 +0000 (0:00:00.012) 0:00:03.290 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 06 February 2024 22:01:36 +0000 (0:00:00.011) 0:00:03.302 ****** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/manage_test_interface.yml:28 Tuesday 06 February 2024 22:01:39 +0000 (0:00:02.888) 0:00:06.191 ****** 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.014653", "end": "2024-02-06 22:01:40.019373", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-02-06 22:01:40.004720" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004281", "end": "2024-02-06 22:01:40.266840", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-02-06 22:01:40.262559" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004381", "end": "2024-02-06 22:01:40.467713", "item": "ip link set veth0 up", "rc": 0, "start": "2024-02-06 22:01:40.463332" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/manage_test_interface.yml:37 Tuesday 06 February 2024 22:01:40 +0000 (0:00:00.655) 0:00:06.846 ****** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.060112", "end": "2024-02-06 22:01:40.713746", "rc": 0, "start": "2024-02-06 22:01:40.653634" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/manage_test_interface.yml:45 Tuesday 06 February 2024 22:01:40 +0000 (0:00:00.246) 0:00:07.093 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/manage_test_interface.yml:52 Tuesday 06 February 2024 22:01:40 +0000 (0:00:00.012) 0:00:07.105 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/manage_test_interface.yml:58 Tuesday 06 February 2024 22:01:40 +0000 (0:00:00.010) 0:00:07.115 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/manage_test_interface.yml:65 Tuesday 06 February 2024 22:01:40 +0000 (0:00:00.010) 0:00:07.126 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/manage_test_interface.yml:71 Tuesday 06 February 2024 22:01:40 +0000 (0:00:00.013) 0:00:07.140 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tests_auto_gateway.yml:15 Tuesday 06 February 2024 22:01:40 +0000 (0:00:00.014) 0:00:07.154 ****** included: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 06 February 2024 22:01:40 +0000 (0:00:00.060) 0:00:07.215 ****** included: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 22:01:40 +0000 (0:00:00.015) 0:00:07.230 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707256900.0085325, "block_size": 4096, "blocks": 0, "ctime": 1707256900.0085325, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 23376, "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": 1707256900.0085325, "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_rewritesn2ilal8/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 06 February 2024 22:01:41 +0000 (0:00:00.191) 0:00:07.422 ****** 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_rewritesn2ilal8/tests/playbooks/tests_auto_gateway.yml:17 Tuesday 06 February 2024 22:01:41 +0000 (0:00:00.013) 0:00:07.435 ****** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 22:01:41 +0000 (0:00:00.039) 0:00:07.475 ****** included: /WORKDIR/git-bond_options_rewritesn2ilal8/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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:01:41 +0000 (0:00:00.070) 0:00:07.545 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 22:01:41 +0000 (0:00:00.012) 0:00:07.557 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 22:01:41 +0000 (0:00:00.009) 0:00:07.567 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 22:01:41 +0000 (0:00:00.009) 0:00:07.577 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 22:01:42 +0000 (0:00:01.526) 0:00:09.103 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 22:01:44 +0000 (0:00:01.434) 0:00:10.538 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 22:01:44 +0000 (0:00:00.087) 0:00:10.625 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 22:01:44 +0000 (0:00:00.034) 0:00:10.660 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 22:01:44 +0000 (0:00:00.026) 0:00:10.687 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 22:01:44 +0000 (0:00:00.047) 0:00:10.735 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 22:01:44 +0000 (0:00:00.022) 0:00:10.757 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 22:01:44 +0000 (0:00:00.023) 0:00:10.781 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 22:01:44 +0000 (0:00:00.026) 0:00:10.807 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 22:01:44 +0000 (0:00:00.500) 0:00:11.307 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 22:01:44 +0000 (0:00:00.035) 0:00:11.343 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 22:01:45 +0000 (0:00:00.035) 0:00:11.378 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 22:01:45 +0000 (0:00:00.026) 0:00:11.404 ****** 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, 1783eeb1-734e-4db5-a081-7e726c19dbd8 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 1783eeb1-734e-4db5-a081-7e726c19dbd8 (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 22:01:45 +0000 (0:00:00.571) 0:00:11.976 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 22:01:45 +0000 (0:00:00.034) 0:00:12.011 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 1783eeb1-734e-4db5-a081-7e726c19dbd8", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 1783eeb1-734e-4db5-a081-7e726c19dbd8 (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 22:01:45 +0000 (0:00:00.032) 0:00:12.044 ****** 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, 1783eeb1-734e-4db5-a081-7e726c19dbd8\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 1783eeb1-734e-4db5-a081-7e726c19dbd8 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 1783eeb1-734e-4db5-a081-7e726c19dbd8", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 1783eeb1-734e-4db5-a081-7e726c19dbd8 (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 22:01:45 +0000 (0:00:00.060) 0:00:12.104 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 22:01:45 +0000 (0:00:00.022) 0:00:12.127 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tests_auto_gateway.yml:42 Tuesday 06 February 2024 22:01:46 +0000 (0:00:00.245) 0:00:12.373 ****** included: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 06 February 2024 22:01:46 +0000 (0:00:00.062) 0:00:12.435 ****** included: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 22:01:46 +0000 (0:00:00.036) 0:00:12.471 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707256900.0085325, "block_size": 4096, "blocks": 0, "ctime": 1707256900.0085325, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 23376, "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": 1707256900.0085325, "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_rewritesn2ilal8/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 06 February 2024 22:01:46 +0000 (0:00:00.214) 0:00:12.686 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tests_auto_gateway.yml:44 Tuesday 06 February 2024 22:01:46 +0000 (0:00:00.025) 0:00:12.711 ****** included: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 06 February 2024 22:01:46 +0000 (0:00:00.074) 0:00:12.786 ****** included: /WORKDIR/git-bond_options_rewritesn2ilal8/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_rewritesn2ilal8/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 22:01:46 +0000 (0:00:00.040) 0:00:12.826 ****** 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_rewritesn2ilal8/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 22:01:46 +0000 (0:00:00.044) 0:00:12.870 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707256905.5463622, "block_size": 4096, "blocks": 8, "ctime": 1707256905.5043623, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5028087, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707256905.5043623, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 396, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 22:01:46 +0000 (0:00:00.197) 0:00:13.068 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 22:01:46 +0000 (0:00:00.026) 0:00:13.094 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.022706", "end": "2024-02-06 22:01:46.926741", "rc": 0, "start": "2024-02-06 22:01:46.904035" } STDOUT: veth0 /etc/sysconfig/network-scripts/ifcfg-veth0 TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 22:01:46 +0000 (0:00:00.226) 0:00:13.321 ****** 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_rewritesn2ilal8/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 22:01:46 +0000 (0:00:00.037) 0:00:13.359 ****** 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_rewritesn2ilal8/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 22:01:47 +0000 (0:00:00.035) 0:00:13.394 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 22:01:47 +0000 (0:00:00.033) 0:00:13.427 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 22:01:47 +0000 (0:00:00.035) 0:00:13.463 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 06 February 2024 22:01:47 +0000 (0:00:00.027) 0:00:13.490 ****** 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_rewritesn2ilal8/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 06 February 2024 22:01:47 +0000 (0:00:00.077) 0:00:13.567 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 06 February 2024 22:01:47 +0000 (0:00:00.039) 0:00:13.606 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tests_auto_gateway.yml:48 Tuesday 06 February 2024 22:01:47 +0000 (0:00:00.044) 0:00:13.651 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.004317", "end": "2024-02-06 22:01:47.469263", "rc": 0, "start": "2024-02-06 22:01:47.464946" } STDOUT: default via 10.31.44.1 dev eth0 proto dhcp src 10.31.47.220 metric 100 default via 203.0.113.1 dev veth0 proto static metric 65535 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.47.220 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_rewritesn2ilal8/tests/playbooks/tests_auto_gateway.yml:52 Tuesday 06 February 2024 22:01:47 +0000 (0:00:00.221) 0:00:13.872 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tests_auto_gateway.yml:58 Tuesday 06 February 2024 22:01:47 +0000 (0:00:00.047) 0:00:13.920 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003796", "end": "2024-02-06 22:01:47.762213", "rc": 0, "start": "2024-02-06 22:01:47.758417" } STDOUT: ::1 dev lo proto kernel metric 256 pref medium 2001:db8::/64 dev veth0 proto kernel metric 101 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium fe80::/64 dev veth0 proto kernel metric 1024 pref medium default via 2001:db8::1 dev veth0 proto static metric 101 pref medium TASK [Assert default ipv6 route is present] ************************************ task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tests_auto_gateway.yml:62 Tuesday 06 February 2024 22:01:47 +0000 (0:00:00.234) 0:00:14.154 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tests_auto_gateway.yml:69 Tuesday 06 February 2024 22:01:47 +0000 (0:00:00.027) 0:00:14.182 ****** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 22:01:47 +0000 (0:00:00.082) 0:00:14.264 ****** included: /WORKDIR/git-bond_options_rewritesn2ilal8/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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:01:47 +0000 (0:00:00.066) 0:00:14.330 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 22:01:48 +0000 (0:00:00.036) 0:00:14.367 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 22:01:48 +0000 (0:00:00.053) 0:00:14.420 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 22:01:48 +0000 (0:00:00.051) 0:00:14.471 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 22:01:49 +0000 (0:00:01.528) 0:00:16.000 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 22:01:51 +0000 (0:00:01.395) 0:00:17.396 ****** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 22:01:51 +0000 (0:00:00.033) 0:00:17.430 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 22:01:51 +0000 (0:00:00.031) 0:00:17.461 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 22:01:51 +0000 (0:00:00.057) 0:00:17.519 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 22:01:51 +0000 (0:00:00.080) 0:00:17.599 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 22:01:51 +0000 (0:00:00.056) 0:00:17.656 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 22:01:51 +0000 (0:00:00.063) 0:00:17.720 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 22:01:51 +0000 (0:00:00.052) 0:00:17.772 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 22:01:51 +0000 (0:00:00.413) 0:00:18.185 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 22:01:51 +0000 (0:00:00.032) 0:00:18.217 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 22:01:51 +0000 (0:00:00.053) 0:00:18.271 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 22:01:51 +0000 (0:00:00.048) 0:00:18.320 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 22:01:52 +0000 (0:00:00.415) 0:00:18.735 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 22:01:52 +0000 (0:00:00.023) 0:00:18.758 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 22:01:52 +0000 (0:00:00.057) 0:00:18.815 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 22:01:52 +0000 (0:00:00.027) 0:00:18.843 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 22:01:52 +0000 (0:00:00.031) 0:00:18.875 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tests_auto_gateway.yml:81 Tuesday 06 February 2024 22:01:52 +0000 (0:00:00.193) 0:00:19.068 ****** included: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 06 February 2024 22:01:52 +0000 (0:00:00.054) 0:00:19.122 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 06 February 2024 22:01:52 +0000 (0:00:00.023) 0:00:19.145 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 06 February 2024 22:01:52 +0000 (0:00:00.022) 0:00:19.168 ****** included: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 22:01:52 +0000 (0:00:00.036) 0:00:19.205 ****** included: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 22:01:52 +0000 (0:00:00.035) 0:00:19.240 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003497", "end": "2024-02-06 22:01:53.055013", "rc": 0, "start": "2024-02-06 22:01:53.051516" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 22:01:53 +0000 (0:00:00.204) 0:00:19.445 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 22:01:53 +0000 (0:00:00.024) 0:00:19.469 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 06 February 2024 22:01:53 +0000 (0:00:00.023) 0:00:19.492 ****** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/manage_test_interface.yml:28 Tuesday 06 February 2024 22:01:55 +0000 (0:00:02.618) 0:00:22.110 ****** 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_rewritesn2ilal8/tests/playbooks/tasks/manage_test_interface.yml:37 Tuesday 06 February 2024 22:01:55 +0000 (0:00:00.032) 0:00:22.143 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/manage_test_interface.yml:45 Tuesday 06 February 2024 22:01:55 +0000 (0:00:00.022) 0:00:22.166 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.011240", "end": "2024-02-06 22:01:55.987935", "rc": 0, "start": "2024-02-06 22:01:55.976695" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/manage_test_interface.yml:52 Tuesday 06 February 2024 22:01:56 +0000 (0:00:00.216) 0:00:22.382 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/manage_test_interface.yml:58 Tuesday 06 February 2024 22:01:56 +0000 (0:00:00.036) 0:00:22.418 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/manage_test_interface.yml:65 Tuesday 06 February 2024 22:01:56 +0000 (0:00:00.042) 0:00:22.461 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/manage_test_interface.yml:71 Tuesday 06 February 2024 22:01:56 +0000 (0:00:00.026) 0:00:22.488 ****** 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_rewritesn2ilal8/tests/playbooks/tests_auto_gateway.yml:85 Tuesday 06 February 2024 22:01:56 +0000 (0:00:00.032) 0:00:22.521 ****** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tests_auto_gateway.yml:89 Tuesday 06 February 2024 22:01:56 +0000 (0:00:00.028) 0:00:22.550 ****** included: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 06 February 2024 22:01:56 +0000 (0:00:00.102) 0:00:22.652 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 06 February 2024 22:01:56 +0000 (0:00:00.037) 0:00:22.689 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 06 February 2024 22:01:56 +0000 (0:00:00.026) 0:00:22.716 ****** included: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 22:01:56 +0000 (0:00:00.045) 0:00:22.761 ****** included: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 22:01:56 +0000 (0:00:00.037) 0:00:22.799 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003466", "end": "2024-02-06 22:01:56.613314", "rc": 0, "start": "2024-02-06 22:01:56.609848" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 22:01:56 +0000 (0:00:00.207) 0:00:23.006 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 22:01:56 +0000 (0:00:00.026) 0:00:23.032 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 06 February 2024 22:01:56 +0000 (0:00:00.031) 0:00:23.064 ****** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/manage_test_interface.yml:28 Tuesday 06 February 2024 22:01:59 +0000 (0:00:02.593) 0:00:25.657 ****** 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.011530", "end": "2024-02-06 22:01:59.483778", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-02-06 22:01:59.472248" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004066", "end": "2024-02-06 22:01:59.711272", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-02-06 22:01:59.707206" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004370", "end": "2024-02-06 22:01:59.920630", "item": "ip link set veth0 up", "rc": 0, "start": "2024-02-06 22:01:59.916260" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/manage_test_interface.yml:37 Tuesday 06 February 2024 22:01:59 +0000 (0:00:00.695) 0:00:26.352 ****** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.023951", "end": "2024-02-06 22:02:00.223690", "rc": 0, "start": "2024-02-06 22:02:00.199739" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/manage_test_interface.yml:45 Tuesday 06 February 2024 22:02:00 +0000 (0:00:00.284) 0:00:26.637 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/manage_test_interface.yml:52 Tuesday 06 February 2024 22:02:00 +0000 (0:00:00.035) 0:00:26.673 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/manage_test_interface.yml:58 Tuesday 06 February 2024 22:02:00 +0000 (0:00:00.032) 0:00:26.706 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/manage_test_interface.yml:65 Tuesday 06 February 2024 22:02:00 +0000 (0:00:00.027) 0:00:26.733 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/manage_test_interface.yml:71 Tuesday 06 February 2024 22:02:00 +0000 (0:00:00.026) 0:00:26.759 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 22:02:00 +0000 (0:00:00.027) 0:00:26.786 ****** included: /WORKDIR/git-bond_options_rewritesn2ilal8/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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:02:00 +0000 (0:00:00.058) 0:00:26.845 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 22:02:00 +0000 (0:00:00.031) 0:00:26.877 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 22:02:00 +0000 (0:00:00.088) 0:00:26.965 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 22:02:00 +0000 (0:00:00.031) 0:00:26.996 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 22:02:02 +0000 (0:00:01.538) 0:00:28.535 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 22:02:03 +0000 (0:00:01.327) 0:00:29.862 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 22:02:03 +0000 (0:00:00.026) 0:00:29.888 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 22:02:03 +0000 (0:00:00.024) 0:00:29.913 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 22:02:03 +0000 (0:00:00.120) 0:00:30.034 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 22:02:03 +0000 (0:00:00.089) 0:00:30.123 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 22:02:03 +0000 (0:00:00.028) 0:00:30.152 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 22:02:03 +0000 (0:00:00.027) 0:00:30.179 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 22:02:03 +0000 (0:00:00.034) 0:00:30.214 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 22:02:04 +0000 (0:00:00.364) 0:00:30.578 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 22:02:04 +0000 (0:00:00.032) 0:00:30.610 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 22:02:04 +0000 (0:00:00.025) 0:00:30.636 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 22:02:04 +0000 (0:00:00.023) 0:00:30.660 ****** 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, 56f2405f-0992-4a92-96e9-7c66f30690e8 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 56f2405f-0992-4a92-96e9-7c66f30690e8 (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 22:02:04 +0000 (0:00:00.438) 0:00:31.098 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 22:02:04 +0000 (0:00:00.047) 0:00:31.145 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 56f2405f-0992-4a92-96e9-7c66f30690e8", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 56f2405f-0992-4a92-96e9-7c66f30690e8 (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 22:02:04 +0000 (0:00:00.036) 0:00:31.182 ****** 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, 56f2405f-0992-4a92-96e9-7c66f30690e8\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 56f2405f-0992-4a92-96e9-7c66f30690e8 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 56f2405f-0992-4a92-96e9-7c66f30690e8", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 56f2405f-0992-4a92-96e9-7c66f30690e8 (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 22:02:04 +0000 (0:00:00.031) 0:00:31.214 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 22:02:04 +0000 (0:00:00.035) 0:00:31.250 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tests_auto_gateway.yml:110 Tuesday 06 February 2024 22:02:05 +0000 (0:00:00.247) 0:00:31.498 ****** included: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 06 February 2024 22:02:05 +0000 (0:00:00.055) 0:00:31.553 ****** included: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 22:02:05 +0000 (0:00:00.037) 0:00:31.590 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707256919.4760206, "block_size": 4096, "blocks": 0, "ctime": 1707256919.4760206, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 23962, "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": 1707256919.4760206, "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_rewritesn2ilal8/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 06 February 2024 22:02:05 +0000 (0:00:00.207) 0:00:31.797 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tests_auto_gateway.yml:112 Tuesday 06 February 2024 22:02:05 +0000 (0:00:00.027) 0:00:31.825 ****** included: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 06 February 2024 22:02:05 +0000 (0:00:00.078) 0:00:31.904 ****** included: /WORKDIR/git-bond_options_rewritesn2ilal8/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_rewritesn2ilal8/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 22:02:05 +0000 (0:00:00.048) 0:00:31.953 ****** 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_rewritesn2ilal8/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 22:02:05 +0000 (0:00:00.024) 0:00:31.978 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707256924.6133096, "block_size": 4096, "blocks": 8, "ctime": 1707256924.6123097, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5028087, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707256924.6123097, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 323, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 22:02:05 +0000 (0:00:00.222) 0:00:32.200 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 22:02:05 +0000 (0:00:00.120) 0:00:32.320 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.021591", "end": "2024-02-06 22:02:06.150559", "rc": 0, "start": "2024-02-06 22:02:06.128968" } STDOUT: veth0 /etc/sysconfig/network-scripts/ifcfg-veth0 TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 22:02:06 +0000 (0:00:00.222) 0:00:32.542 ****** 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_rewritesn2ilal8/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 22:02:06 +0000 (0:00:00.026) 0:00:32.568 ****** 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_rewritesn2ilal8/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 22:02:06 +0000 (0:00:00.028) 0:00:32.597 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 22:02:06 +0000 (0:00:00.026) 0:00:32.623 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 22:02:06 +0000 (0:00:00.025) 0:00:32.649 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 06 February 2024 22:02:06 +0000 (0:00:00.026) 0:00:32.675 ****** 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_rewritesn2ilal8/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 06 February 2024 22:02:06 +0000 (0:00:00.029) 0:00:32.705 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 06 February 2024 22:02:06 +0000 (0:00:00.041) 0:00:32.747 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tests_auto_gateway.yml:116 Tuesday 06 February 2024 22:02:06 +0000 (0:00:00.031) 0:00:32.778 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003807", "end": "2024-02-06 22:02:06.595870", "rc": 0, "start": "2024-02-06 22:02:06.592063" } STDOUT: default via 10.31.44.1 dev eth0 proto dhcp src 10.31.47.220 metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.47.220 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_rewritesn2ilal8/tests/playbooks/tests_auto_gateway.yml:120 Tuesday 06 February 2024 22:02:06 +0000 (0:00:00.207) 0:00:32.986 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tests_auto_gateway.yml:126 Tuesday 06 February 2024 22:02:06 +0000 (0:00:00.025) 0:00:33.012 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003901", "end": "2024-02-06 22:02:06.825303", "rc": 0, "start": "2024-02-06 22:02:06.821402" } STDOUT: ::1 dev lo proto kernel metric 256 pref medium 2001:db8::/64 dev veth0 proto kernel metric 101 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium fe80::/64 dev veth0 proto kernel metric 1024 pref medium TASK [Assert default ipv6 route is absent] ************************************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tests_auto_gateway.yml:130 Tuesday 06 February 2024 22:02:06 +0000 (0:00:00.205) 0:00:33.217 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tests_auto_gateway.yml:137 Tuesday 06 February 2024 22:02:06 +0000 (0:00:00.026) 0:00:33.243 ****** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 22:02:06 +0000 (0:00:00.036) 0:00:33.280 ****** included: /WORKDIR/git-bond_options_rewritesn2ilal8/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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:02:07 +0000 (0:00:00.154) 0:00:33.435 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 22:02:07 +0000 (0:00:00.062) 0:00:33.497 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 22:02:07 +0000 (0:00:00.066) 0:00:33.563 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 22:02:07 +0000 (0:00:00.072) 0:00:33.636 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 22:02:08 +0000 (0:00:01.558) 0:00:35.194 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 22:02:10 +0000 (0:00:01.403) 0:00:36.598 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 22:02:10 +0000 (0:00:00.024) 0:00:36.622 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 22:02:10 +0000 (0:00:00.022) 0:00:36.645 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 22:02:10 +0000 (0:00:00.024) 0:00:36.669 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 22:02:10 +0000 (0:00:00.044) 0:00:36.714 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 22:02:10 +0000 (0:00:00.023) 0:00:36.738 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 22:02:10 +0000 (0:00:00.023) 0:00:36.761 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 22:02:10 +0000 (0:00:00.029) 0:00:36.791 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 22:02:10 +0000 (0:00:00.345) 0:00:37.137 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 22:02:10 +0000 (0:00:00.026) 0:00:37.163 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 22:02:10 +0000 (0:00:00.023) 0:00:37.186 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 22:02:10 +0000 (0:00:00.023) 0:00:37.210 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 22:02:11 +0000 (0:00:00.403) 0:00:37.613 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 22:02:11 +0000 (0:00:00.025) 0:00:37.639 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 22:02:11 +0000 (0:00:00.038) 0:00:37.678 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 22:02:11 +0000 (0:00:00.104) 0:00:37.782 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 22:02:11 +0000 (0:00:00.026) 0:00:37.809 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tests_auto_gateway.yml:149 Tuesday 06 February 2024 22:02:11 +0000 (0:00:00.200) 0:00:38.009 ****** included: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 06 February 2024 22:02:11 +0000 (0:00:00.086) 0:00:38.096 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 06 February 2024 22:02:11 +0000 (0:00:00.032) 0:00:38.128 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 06 February 2024 22:02:11 +0000 (0:00:00.110) 0:00:38.239 ****** included: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 22:02:11 +0000 (0:00:00.044) 0:00:38.283 ****** included: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 22:02:11 +0000 (0:00:00.044) 0:00:38.328 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003410", "end": "2024-02-06 22:02:12.174405", "rc": 0, "start": "2024-02-06 22:02:12.170995" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 22:02:12 +0000 (0:00:00.260) 0:00:38.588 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 22:02:12 +0000 (0:00:00.029) 0:00:38.617 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 06 February 2024 22:02:12 +0000 (0:00:00.055) 0:00:38.673 ****** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/manage_test_interface.yml:28 Tuesday 06 February 2024 22:02:14 +0000 (0:00:02.638) 0:00:41.311 ****** 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_rewritesn2ilal8/tests/playbooks/tasks/manage_test_interface.yml:37 Tuesday 06 February 2024 22:02:15 +0000 (0:00:00.120) 0:00:41.431 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/manage_test_interface.yml:45 Tuesday 06 February 2024 22:02:15 +0000 (0:00:00.053) 0:00:41.485 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.009721", "end": "2024-02-06 22:02:15.338537", "rc": 0, "start": "2024-02-06 22:02:15.328816" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/manage_test_interface.yml:52 Tuesday 06 February 2024 22:02:15 +0000 (0:00:00.272) 0:00:41.757 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/manage_test_interface.yml:58 Tuesday 06 February 2024 22:02:15 +0000 (0:00:00.041) 0:00:41.798 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/manage_test_interface.yml:65 Tuesday 06 February 2024 22:02:15 +0000 (0:00:00.053) 0:00:41.852 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/manage_test_interface.yml:71 Tuesday 06 February 2024 22:02:15 +0000 (0:00:00.027) 0:00:41.879 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=129 changed=4 unreachable=0 failed=0 skipped=98 rescued=0 ignored=0 Tuesday 06 February 2024 22:02:15 +0000 (0:00:00.013) 0:00:41.892 ****** =============================================================================== Install iproute --------------------------------------------------------- 2.89s /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.64s /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.62s /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.59s /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Check which services are running ----------- 1.56s /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.54s /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.53s /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.53s /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.43s /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.40s /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.40s /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.33s /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Configure networking connection profiles --- 0.82s /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Enable and start NetworkManager ------------ 0.76s /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:88 Create veth interface veth0 --------------------------------------------- 0.70s /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/manage_test_interface.yml:28 Create veth interface veth0 --------------------------------------------- 0.66s /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/manage_test_interface.yml:28 Gathering Facts --------------------------------------------------------- 0.64s /WORKDIR/git-bond_options_rewritesn2ilal8/tests/tests_auto_gateway_nm.yml:6 --- linux-system-roles.network : Configure networking connection profiles --- 0.57s /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Enable and start NetworkManager ------------ 0.50s /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:88 Gathering Facts --------------------------------------------------------- 0.48s /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tests_auto_gateway.yml:3 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the dnf module rather than running 'dnf'. If you need to use command because dnf is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ---^---^---^---^---^---