# 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_rewrite3efwbews/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_rewrite3efwbews/tests/tests_auto_gateway_nm.yml:6 Tuesday 13 February 2024 14:02:36 +0000 (0:00:00.011) 0:00:00.011 ****** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/tests_auto_gateway_nm.yml:9 Tuesday 13 February 2024 14:02:37 +0000 (0:00:00.702) 0:00:00.714 ****** included: /WORKDIR/git-bond_options_rewrite3efwbews/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_rewrite3efwbews/tests/tasks/el_repo_setup.yml:3 Tuesday 13 February 2024 14:02:37 +0000 (0:00:00.010) 0:00:00.725 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/tasks/el_repo_setup.yml:19 Tuesday 13 February 2024 14:02:38 +0000 (0:00:00.351) 0:00:01.076 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/tasks/el_repo_setup.yml:24 Tuesday 13 February 2024 14:02:38 +0000 (0:00:00.285) 0:00:01.361 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/tasks/el_repo_setup.yml:28 Tuesday 13 February 2024 14:02:38 +0000 (0:00:00.024) 0:00:01.386 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/tasks/el_repo_setup.yml:53 Tuesday 13 February 2024 14:02:38 +0000 (0:00:00.018) 0:00:01.404 ****** included: /WORKDIR/git-bond_options_rewrite3efwbews/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/tasks/enable_epel.yml:8 Tuesday 13 February 2024 14:02:38 +0000 (0:00:00.046) 0:00:01.451 ****** 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_rewrite3efwbews/tests/tasks/enable_epel.yml:24 Tuesday 13 February 2024 14:02:38 +0000 (0:00:00.232) 0:00:01.683 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/tasks/enable_epel.yml:30 Tuesday 13 February 2024 14:02:38 +0000 (0:00:00.011) 0:00:01.695 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/tasks/enable_epel.yml:35 Tuesday 13 February 2024 14:02:38 +0000 (0:00:00.011) 0:00:01.707 ****** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.241770", "end": "2024-02-13 14:02:39.046780", "rc": 0, "start": "2024-02-13 14:02:38.805010" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/tasks/enable_epel.yml:40 Tuesday 13 February 2024 14:02:39 +0000 (0:00:00.426) 0:00:02.133 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/tests_auto_gateway_nm.yml:11 Tuesday 13 February 2024 14:02:39 +0000 (0:00:00.009) 0:00:02.143 ****** 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_rewrite3efwbews/tests/playbooks/tests_auto_gateway.yml:3 Tuesday 13 February 2024 14:02:39 +0000 (0:00:00.010) 0:00:02.153 ****** ok: [sut] META: ran handlers TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tests_auto_gateway.yml:9 Tuesday 13 February 2024 14:02:39 +0000 (0:00:00.476) 0:00:02.629 ****** included: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 14:02:39 +0000 (0:00:00.023) 0:00:02.653 ****** included: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 14:02:39 +0000 (0:00:00.013) 0:00:02.667 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003326", "end": "2024-02-13 14:02:39.766733", "rc": 0, "start": "2024-02-13 14:02:39.763407" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 14:02:39 +0000 (0:00:00.196) 0:00:02.863 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 14:02:39 +0000 (0:00:00.023) 0:00:02.887 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tests_auto_gateway.yml:11 Tuesday 13 February 2024 14:02:39 +0000 (0:00:00.043) 0:00:02.931 ****** included: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 13 February 2024 14:02:39 +0000 (0:00:00.039) 0:00:02.970 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 13 February 2024 14:02:39 +0000 (0:00:00.012) 0:00:02.983 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 13 February 2024 14:02:39 +0000 (0:00:00.011) 0:00:02.995 ****** included: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 14:02:39 +0000 (0:00:00.019) 0:00:03.014 ****** included: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 14:02:39 +0000 (0:00:00.014) 0:00:03.028 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003377", "end": "2024-02-13 14:02:40.129261", "rc": 0, "start": "2024-02-13 14:02:40.125884" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 14:02:40 +0000 (0:00:00.187) 0:00:03.216 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 14:02:40 +0000 (0:00:00.012) 0:00:03.228 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 13 February 2024 14:02:40 +0000 (0:00:00.014) 0:00:03.242 ****** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/manage_test_interface.yml:28 Tuesday 13 February 2024 14:02:43 +0000 (0:00:02.835) 0:00:06.078 ****** 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.012362", "end": "2024-02-13 14:02:43.211476", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-02-13 14:02:43.199114" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003864", "end": "2024-02-13 14:02:43.424947", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-02-13 14:02:43.421083" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004211", "end": "2024-02-13 14:02:43.610201", "item": "ip link set veth0 up", "rc": 0, "start": "2024-02-13 14:02:43.605990" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/manage_test_interface.yml:37 Tuesday 13 February 2024 14:02:43 +0000 (0:00:00.620) 0:00:06.698 ****** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.022625", "end": "2024-02-13 14:02:43.819044", "rc": 0, "start": "2024-02-13 14:02:43.796419" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/manage_test_interface.yml:45 Tuesday 13 February 2024 14:02:43 +0000 (0:00:00.220) 0:00:06.918 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/manage_test_interface.yml:52 Tuesday 13 February 2024 14:02:43 +0000 (0:00:00.046) 0:00:06.965 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/manage_test_interface.yml:58 Tuesday 13 February 2024 14:02:43 +0000 (0:00:00.026) 0:00:06.991 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/manage_test_interface.yml:65 Tuesday 13 February 2024 14:02:43 +0000 (0:00:00.016) 0:00:07.008 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/manage_test_interface.yml:71 Tuesday 13 February 2024 14:02:43 +0000 (0:00:00.013) 0:00:07.021 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tests_auto_gateway.yml:15 Tuesday 13 February 2024 14:02:43 +0000 (0:00:00.010) 0:00:07.032 ****** included: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 13 February 2024 14:02:43 +0000 (0:00:00.031) 0:00:07.063 ****** included: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 13 February 2024 14:02:44 +0000 (0:00:00.015) 0:00:07.079 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707832963.2031565, "block_size": 4096, "blocks": 0, "ctime": 1707832963.2031565, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 22795, "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": 1707832963.2031565, "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_rewrite3efwbews/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 13 February 2024 14:02:44 +0000 (0:00:00.214) 0:00:07.294 ****** 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_rewrite3efwbews/tests/playbooks/tests_auto_gateway.yml:17 Tuesday 13 February 2024 14:02:44 +0000 (0:00:00.016) 0:00:07.310 ****** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 13 February 2024 14:02:44 +0000 (0:00:00.009) 0:00:07.319 ****** included: /WORKDIR/git-bond_options_rewrite3efwbews/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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 13 February 2024 14:02:44 +0000 (0:00:00.065) 0:00:07.385 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 13 February 2024 14:02:44 +0000 (0:00:00.013) 0:00:07.399 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 13 February 2024 14:02:44 +0000 (0:00:00.011) 0:00:07.411 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 13 February 2024 14:02:44 +0000 (0:00:00.010) 0:00:07.421 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 13 February 2024 14:02:45 +0000 (0:00:01.552) 0:00:08.974 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 13 February 2024 14:02:47 +0000 (0:00:01.421) 0:00:10.395 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 13 February 2024 14:02:47 +0000 (0:00:00.029) 0:00:10.425 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 13 February 2024 14:02:47 +0000 (0:00:00.026) 0:00:10.452 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 13 February 2024 14:02:47 +0000 (0:00:00.049) 0:00:10.502 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 13 February 2024 14:02:47 +0000 (0:00:00.046) 0:00:10.549 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 13 February 2024 14:02:47 +0000 (0:00:00.021) 0:00:10.570 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 13 February 2024 14:02:47 +0000 (0:00:00.022) 0:00:10.593 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 13 February 2024 14:02:47 +0000 (0:00:00.025) 0:00:10.618 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 13 February 2024 14:02:48 +0000 (0:00:00.593) 0:00:11.212 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 13 February 2024 14:02:48 +0000 (0:00:00.051) 0:00:11.263 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 13 February 2024 14:02:48 +0000 (0:00:00.039) 0:00:11.303 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 13 February 2024 14:02:48 +0000 (0:00:00.021) 0:00:11.325 ****** 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, 542bbd95-9149-4cd7-8597-3bc220ef79e1 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 542bbd95-9149-4cd7-8597-3bc220ef79e1 (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 13 February 2024 14:02:48 +0000 (0:00:00.561) 0:00:11.886 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 13 February 2024 14:02:48 +0000 (0:00:00.024) 0:00:11.911 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 542bbd95-9149-4cd7-8597-3bc220ef79e1", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 542bbd95-9149-4cd7-8597-3bc220ef79e1 (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 13 February 2024 14:02:48 +0000 (0:00:00.030) 0:00:11.942 ****** 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, 542bbd95-9149-4cd7-8597-3bc220ef79e1\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 542bbd95-9149-4cd7-8597-3bc220ef79e1 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 542bbd95-9149-4cd7-8597-3bc220ef79e1", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 542bbd95-9149-4cd7-8597-3bc220ef79e1 (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 13 February 2024 14:02:48 +0000 (0:00:00.035) 0:00:11.977 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 13 February 2024 14:02:48 +0000 (0:00:00.066) 0:00:12.044 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tests_auto_gateway.yml:42 Tuesday 13 February 2024 14:02:49 +0000 (0:00:00.263) 0:00:12.307 ****** included: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 13 February 2024 14:02:49 +0000 (0:00:00.052) 0:00:12.360 ****** included: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 13 February 2024 14:02:49 +0000 (0:00:00.036) 0:00:12.396 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707832963.2031565, "block_size": 4096, "blocks": 0, "ctime": 1707832963.2031565, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 22795, "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": 1707832963.2031565, "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_rewrite3efwbews/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 13 February 2024 14:02:49 +0000 (0:00:00.199) 0:00:12.596 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tests_auto_gateway.yml:44 Tuesday 13 February 2024 14:02:49 +0000 (0:00:00.024) 0:00:12.620 ****** included: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 13 February 2024 14:02:49 +0000 (0:00:00.058) 0:00:12.679 ****** included: /WORKDIR/git-bond_options_rewrite3efwbews/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_rewrite3efwbews/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 13 February 2024 14:02:49 +0000 (0:00:00.045) 0:00:12.724 ****** 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_rewrite3efwbews/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 13 February 2024 14:02:49 +0000 (0:00:00.032) 0:00:12.757 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707832968.760764, "block_size": 4096, "blocks": 8, "ctime": 1707832968.7177656, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5899592, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707832968.7177656, "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_rewrite3efwbews/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 13 February 2024 14:02:49 +0000 (0:00:00.236) 0:00:12.993 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 13 February 2024 14:02:49 +0000 (0:00:00.023) 0:00:13.017 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.021859", "end": "2024-02-13 14:02:50.136087", "rc": 0, "start": "2024-02-13 14:02:50.114228" } 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_rewrite3efwbews/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 13 February 2024 14:02:50 +0000 (0:00:00.217) 0:00:13.234 ****** 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_rewrite3efwbews/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 13 February 2024 14:02:50 +0000 (0:00:00.024) 0:00:13.259 ****** 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_rewrite3efwbews/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 13 February 2024 14:02:50 +0000 (0:00:00.023) 0:00:13.283 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 13 February 2024 14:02:50 +0000 (0:00:00.023) 0:00:13.306 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 13 February 2024 14:02:50 +0000 (0:00:00.032) 0:00:13.338 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 13 February 2024 14:02:50 +0000 (0:00:00.030) 0:00:13.369 ****** 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_rewrite3efwbews/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 13 February 2024 14:02:50 +0000 (0:00:00.027) 0:00:13.396 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 13 February 2024 14:02:50 +0000 (0:00:00.024) 0:00:13.420 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tests_auto_gateway.yml:48 Tuesday 13 February 2024 14:02:50 +0000 (0:00:00.023) 0:00:13.443 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.004123", "end": "2024-02-13 14:02:50.547346", "rc": 0, "start": "2024-02-13 14:02:50.543223" } STDOUT: default via 10.31.40.1 dev eth0 proto dhcp src 10.31.43.249 metric 100 default via 203.0.113.1 dev veth0 proto static metric 65535 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.43.249 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_rewrite3efwbews/tests/playbooks/tests_auto_gateway.yml:52 Tuesday 13 February 2024 14:02:50 +0000 (0:00:00.203) 0:00:13.647 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tests_auto_gateway.yml:58 Tuesday 13 February 2024 14:02:50 +0000 (0:00:00.033) 0:00:13.680 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003985", "end": "2024-02-13 14:02:50.799947", "rc": 0, "start": "2024-02-13 14:02:50.795962" } 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_rewrite3efwbews/tests/playbooks/tests_auto_gateway.yml:62 Tuesday 13 February 2024 14:02:50 +0000 (0:00:00.220) 0:00:13.901 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tests_auto_gateway.yml:69 Tuesday 13 February 2024 14:02:50 +0000 (0:00:00.025) 0:00:13.926 ****** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 13 February 2024 14:02:50 +0000 (0:00:00.060) 0:00:13.987 ****** included: /WORKDIR/git-bond_options_rewrite3efwbews/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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 13 February 2024 14:02:50 +0000 (0:00:00.042) 0:00:14.029 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 13 February 2024 14:02:50 +0000 (0:00:00.028) 0:00:14.057 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 13 February 2024 14:02:51 +0000 (0:00:00.022) 0:00:14.080 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 13 February 2024 14:02:51 +0000 (0:00:00.022) 0:00:14.102 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 13 February 2024 14:02:52 +0000 (0:00:01.483) 0:00:15.586 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 13 February 2024 14:02:53 +0000 (0:00:01.345) 0:00:16.931 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 13 February 2024 14:02:53 +0000 (0:00:00.022) 0:00:16.954 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 13 February 2024 14:02:53 +0000 (0:00:00.020) 0:00:16.975 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 13 February 2024 14:02:53 +0000 (0:00:00.020) 0:00:16.996 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 13 February 2024 14:02:53 +0000 (0:00:00.042) 0:00:17.038 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 13 February 2024 14:02:53 +0000 (0:00:00.022) 0:00:17.061 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 13 February 2024 14:02:54 +0000 (0:00:00.032) 0:00:17.094 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 13 February 2024 14:02:54 +0000 (0:00:00.042) 0:00:17.136 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 13 February 2024 14:02:54 +0000 (0:00:00.411) 0:00:17.547 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 13 February 2024 14:02:54 +0000 (0:00:00.025) 0:00:17.573 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 13 February 2024 14:02:54 +0000 (0:00:00.021) 0:00:17.595 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 13 February 2024 14:02:54 +0000 (0:00:00.021) 0:00:17.616 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 13 February 2024 14:02:55 +0000 (0:00:00.485) 0:00:18.101 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 13 February 2024 14:02:55 +0000 (0:00:00.023) 0:00:18.125 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 13 February 2024 14:02:55 +0000 (0:00:00.025) 0:00:18.151 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 13 February 2024 14:02:55 +0000 (0:00:00.023) 0:00:18.174 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 13 February 2024 14:02:55 +0000 (0:00:00.020) 0:00:18.195 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tests_auto_gateway.yml:81 Tuesday 13 February 2024 14:02:55 +0000 (0:00:00.188) 0:00:18.383 ****** included: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 13 February 2024 14:02:55 +0000 (0:00:00.054) 0:00:18.437 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 13 February 2024 14:02:55 +0000 (0:00:00.022) 0:00:18.460 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 13 February 2024 14:02:55 +0000 (0:00:00.021) 0:00:18.482 ****** included: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 14:02:55 +0000 (0:00:00.035) 0:00:18.518 ****** included: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 14:02:55 +0000 (0:00:00.035) 0:00:18.553 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003412", "end": "2024-02-13 14:02:55.653016", "rc": 0, "start": "2024-02-13 14:02:55.649604" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 14:02:55 +0000 (0:00:00.204) 0:00:18.758 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 14:02:55 +0000 (0:00:00.117) 0:00:18.875 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 13 February 2024 14:02:55 +0000 (0:00:00.025) 0:00:18.901 ****** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/manage_test_interface.yml:28 Tuesday 13 February 2024 14:02:58 +0000 (0:00:02.548) 0:00:21.450 ****** 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_rewrite3efwbews/tests/playbooks/tasks/manage_test_interface.yml:37 Tuesday 13 February 2024 14:02:58 +0000 (0:00:00.033) 0:00:21.483 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/manage_test_interface.yml:45 Tuesday 13 February 2024 14:02:58 +0000 (0:00:00.024) 0:00:21.508 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.010987", "end": "2024-02-13 14:02:58.618808", "rc": 0, "start": "2024-02-13 14:02:58.607821" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/manage_test_interface.yml:52 Tuesday 13 February 2024 14:02:58 +0000 (0:00:00.213) 0:00:21.721 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/manage_test_interface.yml:58 Tuesday 13 February 2024 14:02:58 +0000 (0:00:00.022) 0:00:21.744 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/manage_test_interface.yml:65 Tuesday 13 February 2024 14:02:58 +0000 (0:00:00.023) 0:00:21.767 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/manage_test_interface.yml:71 Tuesday 13 February 2024 14:02:58 +0000 (0:00:00.059) 0:00:21.827 ****** 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_rewrite3efwbews/tests/playbooks/tests_auto_gateway.yml:85 Tuesday 13 February 2024 14:02:58 +0000 (0:00:00.023) 0:00:21.851 ****** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tests_auto_gateway.yml:89 Tuesday 13 February 2024 14:02:58 +0000 (0:00:00.023) 0:00:21.874 ****** included: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 13 February 2024 14:02:58 +0000 (0:00:00.054) 0:00:21.928 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 13 February 2024 14:02:58 +0000 (0:00:00.029) 0:00:21.958 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 13 February 2024 14:02:58 +0000 (0:00:00.029) 0:00:21.987 ****** included: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 14:02:58 +0000 (0:00:00.042) 0:00:22.030 ****** included: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 14:02:59 +0000 (0:00:00.045) 0:00:22.075 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003456", "end": "2024-02-13 14:02:59.179895", "rc": 0, "start": "2024-02-13 14:02:59.176439" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 14:02:59 +0000 (0:00:00.217) 0:00:22.293 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 14:02:59 +0000 (0:00:00.050) 0:00:22.343 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 13 February 2024 14:02:59 +0000 (0:00:00.031) 0:00:22.375 ****** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/manage_test_interface.yml:28 Tuesday 13 February 2024 14:03:01 +0000 (0:00:02.579) 0:00:24.954 ****** 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.006709", "end": "2024-02-13 14:03:02.069314", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-02-13 14:03:02.062605" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003709", "end": "2024-02-13 14:03:02.290319", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-02-13 14:03:02.286610" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004432", "end": "2024-02-13 14:03:02.469595", "item": "ip link set veth0 up", "rc": 0, "start": "2024-02-13 14:03:02.465163" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/manage_test_interface.yml:37 Tuesday 13 February 2024 14:03:02 +0000 (0:00:00.615) 0:00:25.570 ****** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.022239", "end": "2024-02-13 14:03:02.690084", "rc": 0, "start": "2024-02-13 14:03:02.667845" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/manage_test_interface.yml:45 Tuesday 13 February 2024 14:03:02 +0000 (0:00:00.219) 0:00:25.789 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/manage_test_interface.yml:52 Tuesday 13 February 2024 14:03:02 +0000 (0:00:00.023) 0:00:25.813 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/manage_test_interface.yml:58 Tuesday 13 February 2024 14:03:02 +0000 (0:00:00.022) 0:00:25.836 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/manage_test_interface.yml:65 Tuesday 13 February 2024 14:03:02 +0000 (0:00:00.023) 0:00:25.860 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/manage_test_interface.yml:71 Tuesday 13 February 2024 14:03:02 +0000 (0:00:00.080) 0:00:25.940 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 13 February 2024 14:03:02 +0000 (0:00:00.024) 0:00:25.964 ****** included: /WORKDIR/git-bond_options_rewrite3efwbews/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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 13 February 2024 14:03:02 +0000 (0:00:00.041) 0:00:26.005 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 13 February 2024 14:03:02 +0000 (0:00:00.033) 0:00:26.038 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 13 February 2024 14:03:02 +0000 (0:00:00.026) 0:00:26.065 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 13 February 2024 14:03:03 +0000 (0:00:00.022) 0:00:26.087 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 13 February 2024 14:03:04 +0000 (0:00:01.485) 0:00:27.573 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 13 February 2024 14:03:05 +0000 (0:00:01.425) 0:00:28.998 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 13 February 2024 14:03:05 +0000 (0:00:00.030) 0:00:29.029 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 13 February 2024 14:03:05 +0000 (0:00:00.025) 0:00:29.055 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 13 February 2024 14:03:06 +0000 (0:00:00.025) 0:00:29.080 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 13 February 2024 14:03:06 +0000 (0:00:00.063) 0:00:29.143 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 13 February 2024 14:03:06 +0000 (0:00:00.026) 0:00:29.170 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 13 February 2024 14:03:06 +0000 (0:00:00.046) 0:00:29.217 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 13 February 2024 14:03:06 +0000 (0:00:00.047) 0:00:29.265 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 13 February 2024 14:03:06 +0000 (0:00:00.369) 0:00:29.635 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 13 February 2024 14:03:06 +0000 (0:00:00.038) 0:00:29.673 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 13 February 2024 14:03:06 +0000 (0:00:00.033) 0:00:29.706 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 13 February 2024 14:03:06 +0000 (0:00:00.024) 0:00:29.730 ****** 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, b5908a5c-379c-4c89-a3b1-8932168d8fab [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, b5908a5c-379c-4c89-a3b1-8932168d8fab (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 13 February 2024 14:03:07 +0000 (0:00:00.551) 0:00:30.282 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 13 February 2024 14:03:07 +0000 (0:00:00.093) 0:00:30.376 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, b5908a5c-379c-4c89-a3b1-8932168d8fab", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, b5908a5c-379c-4c89-a3b1-8932168d8fab (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 13 February 2024 14:03:07 +0000 (0:00:00.044) 0:00:30.420 ****** 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, b5908a5c-379c-4c89-a3b1-8932168d8fab\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, b5908a5c-379c-4c89-a3b1-8932168d8fab (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, b5908a5c-379c-4c89-a3b1-8932168d8fab", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, b5908a5c-379c-4c89-a3b1-8932168d8fab (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 13 February 2024 14:03:07 +0000 (0:00:00.026) 0:00:30.447 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 13 February 2024 14:03:07 +0000 (0:00:00.026) 0:00:30.473 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tests_auto_gateway.yml:110 Tuesday 13 February 2024 14:03:07 +0000 (0:00:00.210) 0:00:30.683 ****** included: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 13 February 2024 14:03:07 +0000 (0:00:00.100) 0:00:30.784 ****** included: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 13 February 2024 14:03:07 +0000 (0:00:00.039) 0:00:30.823 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707832982.066697, "block_size": 4096, "blocks": 0, "ctime": 1707832982.066697, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 23381, "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": 1707832982.066697, "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_rewrite3efwbews/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 13 February 2024 14:03:07 +0000 (0:00:00.232) 0:00:31.056 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tests_auto_gateway.yml:112 Tuesday 13 February 2024 14:03:08 +0000 (0:00:00.027) 0:00:31.084 ****** included: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 13 February 2024 14:03:08 +0000 (0:00:00.062) 0:00:31.147 ****** included: /WORKDIR/git-bond_options_rewrite3efwbews/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_rewrite3efwbews/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 13 February 2024 14:03:08 +0000 (0:00:00.133) 0:00:31.280 ****** 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_rewrite3efwbews/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 13 February 2024 14:03:08 +0000 (0:00:00.037) 0:00:31.318 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707832987.1490645, "block_size": 4096, "blocks": 8, "ctime": 1707832987.1090662, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5899592, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707832987.1090662, "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_rewrite3efwbews/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 13 February 2024 14:03:08 +0000 (0:00:00.278) 0:00:31.596 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 13 February 2024 14:03:08 +0000 (0:00:00.030) 0:00:31.627 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.021328", "end": "2024-02-13 14:03:08.779755", "rc": 0, "start": "2024-02-13 14:03:08.758427" } 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_rewrite3efwbews/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 13 February 2024 14:03:08 +0000 (0:00:00.253) 0:00:31.880 ****** 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_rewrite3efwbews/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 13 February 2024 14:03:08 +0000 (0:00:00.025) 0:00:31.906 ****** 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_rewrite3efwbews/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 13 February 2024 14:03:08 +0000 (0:00:00.030) 0:00:31.936 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 13 February 2024 14:03:08 +0000 (0:00:00.031) 0:00:31.967 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 13 February 2024 14:03:08 +0000 (0:00:00.031) 0:00:31.999 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 13 February 2024 14:03:08 +0000 (0:00:00.033) 0:00:32.032 ****** 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_rewrite3efwbews/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 13 February 2024 14:03:08 +0000 (0:00:00.025) 0:00:32.057 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 13 February 2024 14:03:09 +0000 (0:00:00.024) 0:00:32.082 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tests_auto_gateway.yml:116 Tuesday 13 February 2024 14:03:09 +0000 (0:00:00.047) 0:00:32.129 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003852", "end": "2024-02-13 14:03:09.230840", "rc": 0, "start": "2024-02-13 14:03:09.226988" } STDOUT: default via 10.31.40.1 dev eth0 proto dhcp src 10.31.43.249 metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.43.249 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_rewrite3efwbews/tests/playbooks/tests_auto_gateway.yml:120 Tuesday 13 February 2024 14:03:09 +0000 (0:00:00.207) 0:00:32.337 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tests_auto_gateway.yml:126 Tuesday 13 February 2024 14:03:09 +0000 (0:00:00.024) 0:00:32.362 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003678", "end": "2024-02-13 14:03:09.464928", "rc": 0, "start": "2024-02-13 14:03:09.461250" } 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_rewrite3efwbews/tests/playbooks/tests_auto_gateway.yml:130 Tuesday 13 February 2024 14:03:09 +0000 (0:00:00.238) 0:00:32.600 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tests_auto_gateway.yml:137 Tuesday 13 February 2024 14:03:09 +0000 (0:00:00.027) 0:00:32.627 ****** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 13 February 2024 14:03:09 +0000 (0:00:00.028) 0:00:32.656 ****** included: /WORKDIR/git-bond_options_rewrite3efwbews/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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 13 February 2024 14:03:09 +0000 (0:00:00.039) 0:00:32.695 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 13 February 2024 14:03:09 +0000 (0:00:00.027) 0:00:32.722 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 13 February 2024 14:03:09 +0000 (0:00:00.020) 0:00:32.743 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 13 February 2024 14:03:09 +0000 (0:00:00.020) 0:00:32.763 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 13 February 2024 14:03:11 +0000 (0:00:01.515) 0:00:34.279 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 13 February 2024 14:03:12 +0000 (0:00:01.412) 0:00:35.691 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 13 February 2024 14:03:12 +0000 (0:00:00.027) 0:00:35.719 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 13 February 2024 14:03:12 +0000 (0:00:00.050) 0:00:35.769 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 13 February 2024 14:03:12 +0000 (0:00:00.031) 0:00:35.801 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 13 February 2024 14:03:12 +0000 (0:00:00.060) 0:00:35.861 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 13 February 2024 14:03:12 +0000 (0:00:00.045) 0:00:35.907 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 13 February 2024 14:03:12 +0000 (0:00:00.033) 0:00:35.940 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 13 February 2024 14:03:12 +0000 (0:00:00.031) 0:00:35.971 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 13 February 2024 14:03:13 +0000 (0:00:00.377) 0:00:36.349 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 13 February 2024 14:03:13 +0000 (0:00:00.044) 0:00:36.394 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 13 February 2024 14:03:13 +0000 (0:00:00.023) 0:00:36.418 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 13 February 2024 14:03:13 +0000 (0:00:00.027) 0:00:36.445 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 13 February 2024 14:03:13 +0000 (0:00:00.519) 0:00:36.965 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 13 February 2024 14:03:13 +0000 (0:00:00.025) 0:00:36.990 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 13 February 2024 14:03:13 +0000 (0:00:00.029) 0:00:37.020 ****** 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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 13 February 2024 14:03:13 +0000 (0:00:00.024) 0:00:37.044 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 13 February 2024 14:03:13 +0000 (0:00:00.022) 0:00:37.067 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tests_auto_gateway.yml:149 Tuesday 13 February 2024 14:03:14 +0000 (0:00:00.203) 0:00:37.270 ****** included: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 13 February 2024 14:03:14 +0000 (0:00:00.062) 0:00:37.332 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 13 February 2024 14:03:14 +0000 (0:00:00.024) 0:00:37.357 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 13 February 2024 14:03:14 +0000 (0:00:00.025) 0:00:37.382 ****** included: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 14:03:14 +0000 (0:00:00.039) 0:00:37.422 ****** included: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 14:03:14 +0000 (0:00:00.049) 0:00:37.471 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003508", "end": "2024-02-13 14:03:14.575230", "rc": 0, "start": "2024-02-13 14:03:14.571722" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 14:03:14 +0000 (0:00:00.224) 0:00:37.696 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 14:03:14 +0000 (0:00:00.067) 0:00:37.763 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 13 February 2024 14:03:14 +0000 (0:00:00.036) 0:00:37.800 ****** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/manage_test_interface.yml:28 Tuesday 13 February 2024 14:03:17 +0000 (0:00:02.639) 0:00:40.440 ****** 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_rewrite3efwbews/tests/playbooks/tasks/manage_test_interface.yml:37 Tuesday 13 February 2024 14:03:17 +0000 (0:00:00.031) 0:00:40.472 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/manage_test_interface.yml:45 Tuesday 13 February 2024 14:03:17 +0000 (0:00:00.023) 0:00:40.495 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.008385", "end": "2024-02-13 14:03:17.603301", "rc": 0, "start": "2024-02-13 14:03:17.594916" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/manage_test_interface.yml:52 Tuesday 13 February 2024 14:03:17 +0000 (0:00:00.213) 0:00:40.708 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/manage_test_interface.yml:58 Tuesday 13 February 2024 14:03:17 +0000 (0:00:00.025) 0:00:40.734 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/manage_test_interface.yml:65 Tuesday 13 February 2024 14:03:17 +0000 (0:00:00.027) 0:00:40.761 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/manage_test_interface.yml:71 Tuesday 13 February 2024 14:03:17 +0000 (0:00:00.062) 0:00:40.824 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify network state restored to default] ******************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tests_auto_gateway.yml:153 Tuesday 13 February 2024 14:03:17 +0000 (0:00:00.025) 0:00:40.849 ****** included: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Verify DNS and ping still work] ****************************************** task path: /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/check_network_dns.yml:6 Tuesday 13 February 2024 14:03:17 +0000 (0:00:00.097) 0:00:40.946 ****** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :\nfi\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:00.185373", "end": "2024-02-13 14:03:18.250114", "rc": 0, "start": "2024-02-13 14:03:18.064741" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 0e:0f:bd:73:bf:eb brd ff:ff:ff:ff:ff:ff inet 10.31.43.249/22 brd 10.31.43.255 scope global dynamic noprefixroute eth0 valid_lft 2787sec preferred_lft 2787sec inet6 fe80::c0f:bdff:fe73:bfeb/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.40.1 dev eth0 proto dhcp src 10.31.43.249 metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.43.249 metric 100 RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com testing-farm nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 CHECK DNS AND CONNECTIVITY 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 3177 0 --:--:-- --:--:-- --:--:-- 3177 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 291 100 291 0 0 5017 0 --:--:-- --:--:-- --:--:-- 5017 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=131 changed=4 unreachable=0 failed=0 skipped=98 rescued=0 ignored=0 Tuesday 13 February 2024 14:03:18 +0000 (0:00:00.389) 0:00:41.336 ****** =============================================================================== Install iproute --------------------------------------------------------- 2.84s /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.64s /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.58s /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.55s /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Check which services are running ----------- 1.55s /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.52s /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.49s /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.48s /WORKDIR/git-bond_options_rewrite3efwbews/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_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.42s /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.41s /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.35s /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Configure networking connection profiles --- 1.00s /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Enable and start NetworkManager ------------ 0.79s /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:88 Gathering Facts --------------------------------------------------------- 0.70s /WORKDIR/git-bond_options_rewrite3efwbews/tests/tests_auto_gateway_nm.yml:6 --- Create veth interface veth0 --------------------------------------------- 0.62s /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/manage_test_interface.yml:28 Create veth interface veth0 --------------------------------------------- 0.62s /WORKDIR/git-bond_options_rewrite3efwbews/tests/playbooks/tasks/manage_test_interface.yml:28 linux-system-roles.network : Enable and start NetworkManager ------------ 0.59s /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:88 linux-system-roles.network : Configure networking connection profiles --- 0.56s /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Configure networking connection profiles --- 0.55s /WORKDIR/git-bond_options_rewrite3efwbews/tests/roles/linux-system-roles.network/tasks/main.yml:125 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---