# 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_rewritepl2tn22t/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_rewritepl2tn22t/tests/tests_auto_gateway_nm.yml:6 Friday 02 February 2024 18:44:43 +0000 (0:00:00.022) 0:00:00.022 ******* ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/tests_auto_gateway_nm.yml:9 Friday 02 February 2024 18:44:43 +0000 (0:00:00.781) 0:00:00.804 ******* included: /WORKDIR/git-bond_options_rewritepl2tn22t/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_rewritepl2tn22t/tests/tasks/el_repo_setup.yml:3 Friday 02 February 2024 18:44:43 +0000 (0:00:00.020) 0:00:00.825 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/tasks/el_repo_setup.yml:19 Friday 02 February 2024 18:44:44 +0000 (0:00:00.393) 0:00:01.218 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/tasks/el_repo_setup.yml:24 Friday 02 February 2024 18:44:44 +0000 (0:00:00.273) 0:00:01.491 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/tasks/el_repo_setup.yml:28 Friday 02 February 2024 18:44:44 +0000 (0:00:00.029) 0:00:01.520 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/tasks/el_repo_setup.yml:53 Friday 02 February 2024 18:44:44 +0000 (0:00:00.023) 0:00:01.544 ******* included: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/tasks/enable_epel.yml:8 Friday 02 February 2024 18:44:44 +0000 (0:00:00.039) 0:00:01.583 ******* 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_rewritepl2tn22t/tests/tasks/enable_epel.yml:24 Friday 02 February 2024 18:44:44 +0000 (0:00:00.263) 0:00:01.847 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/tasks/enable_epel.yml:30 Friday 02 February 2024 18:44:44 +0000 (0:00:00.022) 0:00:01.869 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/tasks/enable_epel.yml:35 Friday 02 February 2024 18:44:44 +0000 (0:00:00.027) 0:00:01.896 ******* ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.244681", "end": "2024-02-02 18:44:45.297423", "rc": 0, "start": "2024-02-02 18:44:45.052742" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/tasks/enable_epel.yml:40 Friday 02 February 2024 18:44:45 +0000 (0:00:00.438) 0:00:02.334 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/tests_auto_gateway_nm.yml:11 Friday 02 February 2024 18:44:45 +0000 (0:00:00.013) 0:00:02.348 ******* 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_rewritepl2tn22t/tests/playbooks/tests_auto_gateway.yml:3 Friday 02 February 2024 18:44:45 +0000 (0:00:00.015) 0:00:02.364 ******* ok: [sut] META: ran handlers TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tests_auto_gateway.yml:9 Friday 02 February 2024 18:44:50 +0000 (0:00:05.542) 0:00:07.906 ******* included: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/show_interfaces.yml:3 Friday 02 February 2024 18:44:50 +0000 (0:00:00.041) 0:00:07.947 ******* included: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 02 February 2024 18:44:50 +0000 (0:00:00.024) 0:00:07.971 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003277", "end": "2024-02-02 18:44:51.126434", "rc": 0, "start": "2024-02-02 18:44:51.123157" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 02 February 2024 18:44:51 +0000 (0:00:00.190) 0:00:08.162 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/show_interfaces.yml:5 Friday 02 February 2024 18:44:51 +0000 (0:00:00.017) 0:00:08.179 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tests_auto_gateway.yml:11 Friday 02 February 2024 18:44:51 +0000 (0:00:00.015) 0:00:08.194 ******* included: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/manage_test_interface.yml:3 Friday 02 February 2024 18:44:51 +0000 (0:00:00.042) 0:00:08.237 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/manage_test_interface.yml:8 Friday 02 February 2024 18:44:51 +0000 (0:00:00.014) 0:00:08.251 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/manage_test_interface.yml:13 Friday 02 February 2024 18:44:51 +0000 (0:00:00.012) 0:00:08.263 ******* included: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/show_interfaces.yml:3 Friday 02 February 2024 18:44:51 +0000 (0:00:00.018) 0:00:08.282 ******* included: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 02 February 2024 18:44:51 +0000 (0:00:00.017) 0:00:08.299 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003424", "end": "2024-02-02 18:44:51.456165", "rc": 0, "start": "2024-02-02 18:44:51.452741" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 02 February 2024 18:44:51 +0000 (0:00:00.193) 0:00:08.493 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/show_interfaces.yml:5 Friday 02 February 2024 18:44:51 +0000 (0:00:00.014) 0:00:08.508 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/manage_test_interface.yml:16 Friday 02 February 2024 18:44:51 +0000 (0:00:00.014) 0:00:08.523 ******* ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/manage_test_interface.yml:28 Friday 02 February 2024 18:44:54 +0000 (0:00:02.831) 0:00:11.355 ******* 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.014026", "end": "2024-02-02 18:44:54.528063", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-02-02 18:44:54.514037" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003885", "end": "2024-02-02 18:44:54.746797", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-02-02 18:44:54.742912" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004175", "end": "2024-02-02 18:44:54.931114", "item": "ip link set veth0 up", "rc": 0, "start": "2024-02-02 18:44:54.926939" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/manage_test_interface.yml:37 Friday 02 February 2024 18:44:54 +0000 (0:00:00.613) 0:00:11.968 ******* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.022151", "end": "2024-02-02 18:44:55.145186", "rc": 0, "start": "2024-02-02 18:44:55.123035" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/manage_test_interface.yml:45 Friday 02 February 2024 18:44:55 +0000 (0:00:00.218) 0:00:12.186 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/manage_test_interface.yml:52 Friday 02 February 2024 18:44:55 +0000 (0:00:00.017) 0:00:12.204 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/manage_test_interface.yml:58 Friday 02 February 2024 18:44:55 +0000 (0:00:00.017) 0:00:12.221 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/manage_test_interface.yml:65 Friday 02 February 2024 18:44:55 +0000 (0:00:00.017) 0:00:12.238 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/manage_test_interface.yml:71 Friday 02 February 2024 18:44:55 +0000 (0:00:00.015) 0:00:12.254 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tests_auto_gateway.yml:15 Friday 02 February 2024 18:44:55 +0000 (0:00:00.015) 0:00:12.269 ******* included: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/assert_device_present.yml:3 Friday 02 February 2024 18:44:55 +0000 (0:00:00.041) 0:00:12.311 ******* included: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 02 February 2024 18:44:55 +0000 (0:00:00.018) 0:00:12.329 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1706899494.5178149, "block_size": 4096, "blocks": 0, "ctime": 1706899494.5178149, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 22799, "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": 1706899494.5178149, "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_rewritepl2tn22t/tests/playbooks/tasks/assert_device_present.yml:5 Friday 02 February 2024 18:44:55 +0000 (0:00:00.190) 0:00:12.519 ******* 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_rewritepl2tn22t/tests/playbooks/tests_auto_gateway.yml:17 Friday 02 February 2024 18:44:55 +0000 (0:00:00.019) 0:00:12.539 ******* ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 02 February 2024 18:44:55 +0000 (0:00:00.014) 0:00:12.553 ******* included: /WORKDIR/git-bond_options_rewritepl2tn22t/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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 02 February 2024 18:44:55 +0000 (0:00:00.088) 0:00:12.642 ******* 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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 02 February 2024 18:44:55 +0000 (0:00:00.015) 0:00:12.657 ******* 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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 02 February 2024 18:44:55 +0000 (0:00:00.013) 0:00:12.671 ******* 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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 02 February 2024 18:44:55 +0000 (0:00:00.013) 0:00:12.685 ******* 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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 02 February 2024 18:44:57 +0000 (0:00:01.565) 0:00:14.250 ******* 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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 02 February 2024 18:44:58 +0000 (0:00:01.543) 0:00:15.794 ******* 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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 02 February 2024 18:44:58 +0000 (0:00:00.028) 0:00:15.823 ******* 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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 02 February 2024 18:44:58 +0000 (0:00:00.030) 0:00:15.853 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 02 February 2024 18:44:58 +0000 (0:00:00.036) 0:00:15.889 ******* 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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:43 Friday 02 February 2024 18:44:58 +0000 (0:00:00.072) 0:00:15.962 ******* 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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:58 Friday 02 February 2024 18:44:58 +0000 (0:00:00.032) 0:00:15.994 ******* 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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:74 Friday 02 February 2024 18:44:59 +0000 (0:00:00.033) 0:00:16.028 ******* 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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:88 Friday 02 February 2024 18:44:59 +0000 (0:00:00.038) 0:00:16.067 ******* 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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:99 Friday 02 February 2024 18:44:59 +0000 (0:00:00.556) 0:00:16.623 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:108 Friday 02 February 2024 18:44:59 +0000 (0:00:00.034) 0:00:16.657 ******* 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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:116 Friday 02 February 2024 18:44:59 +0000 (0:00:00.028) 0:00:16.686 ******* 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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:125 Friday 02 February 2024 18:44:59 +0000 (0:00:00.025) 0:00:16.712 ******* 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, 9a17f319-fac3-4877-b4e7-294b63562118 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 9a17f319-fac3-4877-b4e7-294b63562118 (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:137 Friday 02 February 2024 18:45:00 +0000 (0:00:00.724) 0:00:17.436 ******* 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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:143 Friday 02 February 2024 18:45:00 +0000 (0:00:00.036) 0:00:17.473 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 9a17f319-fac3-4877-b4e7-294b63562118", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 9a17f319-fac3-4877-b4e7-294b63562118 (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:147 Friday 02 February 2024 18:45:00 +0000 (0:00:00.030) 0:00:17.504 ******* 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, 9a17f319-fac3-4877-b4e7-294b63562118\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 9a17f319-fac3-4877-b4e7-294b63562118 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 9a17f319-fac3-4877-b4e7-294b63562118", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 9a17f319-fac3-4877-b4e7-294b63562118 (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:152 Friday 02 February 2024 18:45:00 +0000 (0:00:00.030) 0:00:17.534 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:158 Friday 02 February 2024 18:45:00 +0000 (0:00:00.026) 0:00:17.560 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tests_auto_gateway.yml:42 Friday 02 February 2024 18:45:00 +0000 (0:00:00.261) 0:00:17.822 ******* included: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/assert_device_present.yml:3 Friday 02 February 2024 18:45:00 +0000 (0:00:00.061) 0:00:17.884 ******* included: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 02 February 2024 18:45:00 +0000 (0:00:00.045) 0:00:17.930 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1706899494.5178149, "block_size": 4096, "blocks": 0, "ctime": 1706899494.5178149, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 22799, "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": 1706899494.5178149, "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_rewritepl2tn22t/tests/playbooks/tasks/assert_device_present.yml:5 Friday 02 February 2024 18:45:01 +0000 (0:00:00.207) 0:00:18.137 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tests_auto_gateway.yml:44 Friday 02 February 2024 18:45:01 +0000 (0:00:00.033) 0:00:18.171 ******* included: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 02 February 2024 18:45:01 +0000 (0:00:00.070) 0:00:18.241 ******* included: /WORKDIR/git-bond_options_rewritepl2tn22t/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_rewritepl2tn22t/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 02 February 2024 18:45:01 +0000 (0:00:00.089) 0:00:18.331 ******* 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_rewritepl2tn22t/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 02 February 2024 18:45:01 +0000 (0:00:00.028) 0:00:18.359 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1706899500.3214266, "block_size": 4096, "blocks": 8, "ctime": 1706899500.2784278, "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": 1706899500.2784278, "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_rewritepl2tn22t/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 02 February 2024 18:45:01 +0000 (0:00:00.208) 0:00:18.568 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 02 February 2024 18:45:01 +0000 (0:00:00.030) 0:00:18.598 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.023066", "end": "2024-02-02 18:45:01.777938", "rc": 0, "start": "2024-02-02 18:45:01.754872" } 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_rewritepl2tn22t/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 02 February 2024 18:45:01 +0000 (0:00:00.232) 0:00:18.830 ******* 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_rewritepl2tn22t/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 02 February 2024 18:45:01 +0000 (0:00:00.031) 0:00:18.862 ******* 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_rewritepl2tn22t/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 02 February 2024 18:45:01 +0000 (0:00:00.032) 0:00:18.895 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 02 February 2024 18:45:01 +0000 (0:00:00.030) 0:00:18.926 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 02 February 2024 18:45:01 +0000 (0:00:00.029) 0:00:18.955 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 02 February 2024 18:45:01 +0000 (0:00:00.031) 0:00:18.987 ******* 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_rewritepl2tn22t/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 02 February 2024 18:45:02 +0000 (0:00:00.032) 0:00:19.019 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 02 February 2024 18:45:02 +0000 (0:00:00.042) 0:00:19.061 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tests_auto_gateway.yml:48 Friday 02 February 2024 18:45:02 +0000 (0:00:00.036) 0:00:19.098 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.004231", "end": "2024-02-02 18:45:02.257119", "rc": 0, "start": "2024-02-02 18:45:02.252888" } STDOUT: default via 10.31.44.1 dev eth0 proto dhcp src 10.31.46.202 metric 100 default via 203.0.113.1 dev veth0 proto static metric 65535 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.46.202 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_rewritepl2tn22t/tests/playbooks/tests_auto_gateway.yml:52 Friday 02 February 2024 18:45:02 +0000 (0:00:00.243) 0:00:19.342 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tests_auto_gateway.yml:58 Friday 02 February 2024 18:45:02 +0000 (0:00:00.038) 0:00:19.381 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003832", "end": "2024-02-02 18:45:02.539507", "rc": 0, "start": "2024-02-02 18:45:02.535675" } 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_rewritepl2tn22t/tests/playbooks/tests_auto_gateway.yml:62 Friday 02 February 2024 18:45:02 +0000 (0:00:00.210) 0:00:19.591 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tests_auto_gateway.yml:69 Friday 02 February 2024 18:45:02 +0000 (0:00:00.031) 0:00:19.623 ******* ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 02 February 2024 18:45:02 +0000 (0:00:00.027) 0:00:19.650 ******* included: /WORKDIR/git-bond_options_rewritepl2tn22t/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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 02 February 2024 18:45:02 +0000 (0:00:00.048) 0:00:19.699 ******* 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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 02 February 2024 18:45:02 +0000 (0:00:00.033) 0:00:19.733 ******* 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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 02 February 2024 18:45:02 +0000 (0:00:00.029) 0:00:19.762 ******* 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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 02 February 2024 18:45:02 +0000 (0:00:00.026) 0:00:19.789 ******* 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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 02 February 2024 18:45:04 +0000 (0:00:01.562) 0:00:21.352 ******* 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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 02 February 2024 18:45:05 +0000 (0:00:01.334) 0:00:22.686 ******* 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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 02 February 2024 18:45:05 +0000 (0:00:00.031) 0:00:22.718 ******* 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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 02 February 2024 18:45:05 +0000 (0:00:00.032) 0:00:22.751 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 02 February 2024 18:45:05 +0000 (0:00:00.031) 0:00:22.782 ******* 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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:43 Friday 02 February 2024 18:45:05 +0000 (0:00:00.064) 0:00:22.847 ******* 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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:58 Friday 02 February 2024 18:45:05 +0000 (0:00:00.032) 0:00:22.880 ******* 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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:74 Friday 02 February 2024 18:45:05 +0000 (0:00:00.029) 0:00:22.909 ******* 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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:88 Friday 02 February 2024 18:45:05 +0000 (0:00:00.034) 0:00:22.943 ******* 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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:99 Friday 02 February 2024 18:45:06 +0000 (0:00:00.394) 0:00:23.337 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:108 Friday 02 February 2024 18:45:06 +0000 (0:00:00.031) 0:00:23.369 ******* 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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:116 Friday 02 February 2024 18:45:06 +0000 (0:00:00.025) 0:00:23.395 ******* 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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:125 Friday 02 February 2024 18:45:06 +0000 (0:00:00.026) 0:00:23.421 ******* 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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:137 Friday 02 February 2024 18:45:06 +0000 (0:00:00.413) 0:00:23.835 ******* 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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:143 Friday 02 February 2024 18:45:06 +0000 (0:00:00.028) 0:00:23.864 ******* 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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:147 Friday 02 February 2024 18:45:06 +0000 (0:00:00.031) 0:00:23.896 ******* 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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:152 Friday 02 February 2024 18:45:06 +0000 (0:00:00.044) 0:00:23.940 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:158 Friday 02 February 2024 18:45:06 +0000 (0:00:00.038) 0:00:23.979 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tests_auto_gateway.yml:81 Friday 02 February 2024 18:45:07 +0000 (0:00:00.202) 0:00:24.182 ******* included: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/manage_test_interface.yml:3 Friday 02 February 2024 18:45:07 +0000 (0:00:00.063) 0:00:24.246 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/manage_test_interface.yml:8 Friday 02 February 2024 18:45:07 +0000 (0:00:00.057) 0:00:24.303 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/manage_test_interface.yml:13 Friday 02 February 2024 18:45:07 +0000 (0:00:00.026) 0:00:24.329 ******* included: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/show_interfaces.yml:3 Friday 02 February 2024 18:45:07 +0000 (0:00:00.044) 0:00:24.374 ******* included: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 02 February 2024 18:45:07 +0000 (0:00:00.041) 0:00:24.416 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003347", "end": "2024-02-02 18:45:07.571036", "rc": 0, "start": "2024-02-02 18:45:07.567689" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 02 February 2024 18:45:07 +0000 (0:00:00.205) 0:00:24.621 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/show_interfaces.yml:5 Friday 02 February 2024 18:45:07 +0000 (0:00:00.031) 0:00:24.653 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/manage_test_interface.yml:16 Friday 02 February 2024 18:45:07 +0000 (0:00:00.031) 0:00:24.684 ******* ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/manage_test_interface.yml:28 Friday 02 February 2024 18:45:10 +0000 (0:00:02.617) 0:00:27.302 ******* 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_rewritepl2tn22t/tests/playbooks/tasks/manage_test_interface.yml:37 Friday 02 February 2024 18:45:10 +0000 (0:00:00.059) 0:00:27.362 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/manage_test_interface.yml:45 Friday 02 February 2024 18:45:10 +0000 (0:00:00.036) 0:00:27.398 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.009764", "end": "2024-02-02 18:45:10.567529", "rc": 0, "start": "2024-02-02 18:45:10.557765" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/manage_test_interface.yml:52 Friday 02 February 2024 18:45:10 +0000 (0:00:00.224) 0:00:27.623 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/manage_test_interface.yml:58 Friday 02 February 2024 18:45:10 +0000 (0:00:00.043) 0:00:27.667 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/manage_test_interface.yml:65 Friday 02 February 2024 18:45:10 +0000 (0:00:00.040) 0:00:27.707 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/manage_test_interface.yml:71 Friday 02 February 2024 18:45:10 +0000 (0:00:00.034) 0:00:27.742 ******* 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_rewritepl2tn22t/tests/playbooks/tests_auto_gateway.yml:85 Friday 02 February 2024 18:45:10 +0000 (0:00:00.028) 0:00:27.770 ******* ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tests_auto_gateway.yml:89 Friday 02 February 2024 18:45:10 +0000 (0:00:00.030) 0:00:27.801 ******* included: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/manage_test_interface.yml:3 Friday 02 February 2024 18:45:10 +0000 (0:00:00.073) 0:00:27.874 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/manage_test_interface.yml:8 Friday 02 February 2024 18:45:10 +0000 (0:00:00.030) 0:00:27.904 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/manage_test_interface.yml:13 Friday 02 February 2024 18:45:10 +0000 (0:00:00.032) 0:00:27.937 ******* included: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/show_interfaces.yml:3 Friday 02 February 2024 18:45:10 +0000 (0:00:00.050) 0:00:27.988 ******* included: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 02 February 2024 18:45:11 +0000 (0:00:00.097) 0:00:28.085 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003411", "end": "2024-02-02 18:45:11.244767", "rc": 0, "start": "2024-02-02 18:45:11.241356" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 02 February 2024 18:45:11 +0000 (0:00:00.216) 0:00:28.302 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/show_interfaces.yml:5 Friday 02 February 2024 18:45:11 +0000 (0:00:00.034) 0:00:28.336 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/manage_test_interface.yml:16 Friday 02 February 2024 18:45:11 +0000 (0:00:00.035) 0:00:28.372 ******* ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/manage_test_interface.yml:28 Friday 02 February 2024 18:45:13 +0000 (0:00:02.600) 0:00:30.972 ******* 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.012138", "end": "2024-02-02 18:45:14.141077", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-02-02 18:45:14.128939" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003823", "end": "2024-02-02 18:45:14.358873", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-02-02 18:45:14.355050" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004396", "end": "2024-02-02 18:45:14.545933", "item": "ip link set veth0 up", "rc": 0, "start": "2024-02-02 18:45:14.541537" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/manage_test_interface.yml:37 Friday 02 February 2024 18:45:14 +0000 (0:00:00.629) 0:00:31.602 ******* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.024294", "end": "2024-02-02 18:45:14.784901", "rc": 0, "start": "2024-02-02 18:45:14.760607" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/manage_test_interface.yml:45 Friday 02 February 2024 18:45:14 +0000 (0:00:00.234) 0:00:31.837 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/manage_test_interface.yml:52 Friday 02 February 2024 18:45:14 +0000 (0:00:00.066) 0:00:31.903 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/manage_test_interface.yml:58 Friday 02 February 2024 18:45:14 +0000 (0:00:00.039) 0:00:31.942 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/manage_test_interface.yml:65 Friday 02 February 2024 18:45:14 +0000 (0:00:00.030) 0:00:31.973 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/manage_test_interface.yml:71 Friday 02 February 2024 18:45:14 +0000 (0:00:00.035) 0:00:32.008 ******* 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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 02 February 2024 18:45:15 +0000 (0:00:00.031) 0:00:32.039 ******* included: /WORKDIR/git-bond_options_rewritepl2tn22t/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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 02 February 2024 18:45:15 +0000 (0:00:00.066) 0:00:32.106 ******* 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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 02 February 2024 18:45:15 +0000 (0:00:00.047) 0:00:32.153 ******* 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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 02 February 2024 18:45:15 +0000 (0:00:00.041) 0:00:32.195 ******* 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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 02 February 2024 18:45:15 +0000 (0:00:00.054) 0:00:32.250 ******* 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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 02 February 2024 18:45:16 +0000 (0:00:01.587) 0:00:33.837 ******* 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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 02 February 2024 18:45:18 +0000 (0:00:01.326) 0:00:35.164 ******* 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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 02 February 2024 18:45:18 +0000 (0:00:00.037) 0:00:35.202 ******* 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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 02 February 2024 18:45:18 +0000 (0:00:00.030) 0:00:35.233 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 02 February 2024 18:45:18 +0000 (0:00:00.029) 0:00:35.263 ******* 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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:43 Friday 02 February 2024 18:45:18 +0000 (0:00:00.065) 0:00:35.329 ******* 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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:58 Friday 02 February 2024 18:45:18 +0000 (0:00:00.033) 0:00:35.363 ******* 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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:74 Friday 02 February 2024 18:45:18 +0000 (0:00:00.030) 0:00:35.393 ******* 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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:88 Friday 02 February 2024 18:45:18 +0000 (0:00:00.037) 0:00:35.431 ******* 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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:99 Friday 02 February 2024 18:45:18 +0000 (0:00:00.376) 0:00:35.807 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:108 Friday 02 February 2024 18:45:18 +0000 (0:00:00.048) 0:00:35.856 ******* 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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:116 Friday 02 February 2024 18:45:18 +0000 (0:00:00.033) 0:00:35.889 ******* 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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:125 Friday 02 February 2024 18:45:18 +0000 (0:00:00.036) 0:00:35.926 ******* 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, 9f7fec31-928f-4fd7-9b4e-8c178cffdd8b [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 9f7fec31-928f-4fd7-9b4e-8c178cffdd8b (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:137 Friday 02 February 2024 18:45:19 +0000 (0:00:00.425) 0:00:36.352 ******* 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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:143 Friday 02 February 2024 18:45:19 +0000 (0:00:00.040) 0:00:36.392 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 9f7fec31-928f-4fd7-9b4e-8c178cffdd8b", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 9f7fec31-928f-4fd7-9b4e-8c178cffdd8b (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:147 Friday 02 February 2024 18:45:19 +0000 (0:00:00.033) 0:00:36.425 ******* 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, 9f7fec31-928f-4fd7-9b4e-8c178cffdd8b\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 9f7fec31-928f-4fd7-9b4e-8c178cffdd8b (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 9f7fec31-928f-4fd7-9b4e-8c178cffdd8b", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 9f7fec31-928f-4fd7-9b4e-8c178cffdd8b (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:152 Friday 02 February 2024 18:45:19 +0000 (0:00:00.033) 0:00:36.458 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:158 Friday 02 February 2024 18:45:19 +0000 (0:00:00.029) 0:00:36.488 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tests_auto_gateway.yml:110 Friday 02 February 2024 18:45:19 +0000 (0:00:00.211) 0:00:36.700 ******* included: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/assert_device_present.yml:3 Friday 02 February 2024 18:45:19 +0000 (0:00:00.103) 0:00:36.803 ******* included: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 02 February 2024 18:45:19 +0000 (0:00:00.113) 0:00:36.917 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1706899514.1323636, "block_size": 4096, "blocks": 0, "ctime": 1706899514.1323636, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 23385, "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": 1706899514.1323636, "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_rewritepl2tn22t/tests/playbooks/tasks/assert_device_present.yml:5 Friday 02 February 2024 18:45:20 +0000 (0:00:00.216) 0:00:37.133 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tests_auto_gateway.yml:112 Friday 02 February 2024 18:45:20 +0000 (0:00:00.045) 0:00:37.179 ******* included: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 02 February 2024 18:45:20 +0000 (0:00:00.097) 0:00:37.277 ******* included: /WORKDIR/git-bond_options_rewritepl2tn22t/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_rewritepl2tn22t/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 02 February 2024 18:45:20 +0000 (0:00:00.048) 0:00:37.325 ******* 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_rewritepl2tn22t/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 02 February 2024 18:45:20 +0000 (0:00:00.028) 0:00:37.354 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1706899519.237794, "block_size": 4096, "blocks": 8, "ctime": 1706899519.236794, "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": 1706899519.236794, "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_rewritepl2tn22t/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 02 February 2024 18:45:20 +0000 (0:00:00.204) 0:00:37.559 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 02 February 2024 18:45:20 +0000 (0:00:00.030) 0:00:37.590 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.021606", "end": "2024-02-02 18:45:20.765642", "rc": 0, "start": "2024-02-02 18:45:20.744036" } 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_rewritepl2tn22t/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 02 February 2024 18:45:20 +0000 (0:00:00.227) 0:00:37.817 ******* 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_rewritepl2tn22t/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 02 February 2024 18:45:20 +0000 (0:00:00.031) 0:00:37.849 ******* 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_rewritepl2tn22t/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 02 February 2024 18:45:20 +0000 (0:00:00.034) 0:00:37.884 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 02 February 2024 18:45:20 +0000 (0:00:00.070) 0:00:37.954 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 02 February 2024 18:45:20 +0000 (0:00:00.029) 0:00:37.984 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 02 February 2024 18:45:20 +0000 (0:00:00.030) 0:00:38.014 ******* 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_rewritepl2tn22t/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 02 February 2024 18:45:21 +0000 (0:00:00.032) 0:00:38.047 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 02 February 2024 18:45:21 +0000 (0:00:00.032) 0:00:38.079 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tests_auto_gateway.yml:116 Friday 02 February 2024 18:45:21 +0000 (0:00:00.033) 0:00:38.113 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.004282", "end": "2024-02-02 18:45:21.270029", "rc": 0, "start": "2024-02-02 18:45:21.265747" } STDOUT: default via 10.31.44.1 dev eth0 proto dhcp src 10.31.46.202 metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.46.202 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_rewritepl2tn22t/tests/playbooks/tests_auto_gateway.yml:120 Friday 02 February 2024 18:45:21 +0000 (0:00:00.207) 0:00:38.320 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tests_auto_gateway.yml:126 Friday 02 February 2024 18:45:21 +0000 (0:00:00.032) 0:00:38.353 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003912", "end": "2024-02-02 18:45:21.510710", "rc": 0, "start": "2024-02-02 18:45:21.506798" } 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_rewritepl2tn22t/tests/playbooks/tests_auto_gateway.yml:130 Friday 02 February 2024 18:45:21 +0000 (0:00:00.210) 0:00:38.563 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tests_auto_gateway.yml:137 Friday 02 February 2024 18:45:21 +0000 (0:00:00.030) 0:00:38.594 ******* ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 02 February 2024 18:45:21 +0000 (0:00:00.029) 0:00:38.623 ******* included: /WORKDIR/git-bond_options_rewritepl2tn22t/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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 02 February 2024 18:45:21 +0000 (0:00:00.050) 0:00:38.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 : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 02 February 2024 18:45:21 +0000 (0:00:00.037) 0:00:38.711 ******* 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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 02 February 2024 18:45:21 +0000 (0:00:00.029) 0:00:38.741 ******* 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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 02 February 2024 18:45:21 +0000 (0:00:00.041) 0:00:38.782 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 02 February 2024 18:45:23 +0000 (0:00:01.586) 0:00:40.369 ******* 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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 02 February 2024 18:45:24 +0000 (0:00:01.325) 0:00:41.694 ******* 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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 02 February 2024 18:45:24 +0000 (0:00:00.039) 0:00:41.733 ******* 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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 02 February 2024 18:45:24 +0000 (0:00:00.027) 0:00:41.761 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 02 February 2024 18:45:24 +0000 (0:00:00.033) 0:00:41.795 ******* 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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:43 Friday 02 February 2024 18:45:24 +0000 (0:00:00.092) 0:00:41.887 ******* 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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:58 Friday 02 February 2024 18:45:24 +0000 (0:00:00.026) 0:00:41.914 ******* 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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:74 Friday 02 February 2024 18:45:24 +0000 (0:00:00.027) 0:00:41.942 ******* 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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:88 Friday 02 February 2024 18:45:24 +0000 (0:00:00.031) 0:00:41.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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:99 Friday 02 February 2024 18:45:25 +0000 (0:00:00.360) 0:00:42.334 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:108 Friday 02 February 2024 18:45:25 +0000 (0:00:00.033) 0:00:42.368 ******* 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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:116 Friday 02 February 2024 18:45:25 +0000 (0:00:00.026) 0:00:42.394 ******* 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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:125 Friday 02 February 2024 18:45:25 +0000 (0:00:00.028) 0:00:42.422 ******* 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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:137 Friday 02 February 2024 18:45:25 +0000 (0:00:00.414) 0:00:42.837 ******* 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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:143 Friday 02 February 2024 18:45:25 +0000 (0:00:00.027) 0:00:42.864 ******* 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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:147 Friday 02 February 2024 18:45:25 +0000 (0:00:00.028) 0:00:42.893 ******* 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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:152 Friday 02 February 2024 18:45:25 +0000 (0:00:00.040) 0:00:42.933 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:158 Friday 02 February 2024 18:45:25 +0000 (0:00:00.027) 0:00:42.961 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tests_auto_gateway.yml:149 Friday 02 February 2024 18:45:26 +0000 (0:00:00.199) 0:00:43.160 ******* included: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/manage_test_interface.yml:3 Friday 02 February 2024 18:45:26 +0000 (0:00:00.115) 0:00:43.275 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/manage_test_interface.yml:8 Friday 02 February 2024 18:45:26 +0000 (0:00:00.029) 0:00:43.305 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/manage_test_interface.yml:13 Friday 02 February 2024 18:45:26 +0000 (0:00:00.029) 0:00:43.334 ******* included: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/show_interfaces.yml:3 Friday 02 February 2024 18:45:26 +0000 (0:00:00.052) 0:00:43.387 ******* included: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 02 February 2024 18:45:26 +0000 (0:00:00.062) 0:00:43.449 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003241", "end": "2024-02-02 18:45:26.606501", "rc": 0, "start": "2024-02-02 18:45:26.603260" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 02 February 2024 18:45:26 +0000 (0:00:00.218) 0:00:43.668 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/show_interfaces.yml:5 Friday 02 February 2024 18:45:26 +0000 (0:00:00.042) 0:00:43.710 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/manage_test_interface.yml:16 Friday 02 February 2024 18:45:26 +0000 (0:00:00.041) 0:00:43.752 ******* ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/manage_test_interface.yml:28 Friday 02 February 2024 18:45:29 +0000 (0:00:02.615) 0:00:46.367 ******* 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_rewritepl2tn22t/tests/playbooks/tasks/manage_test_interface.yml:37 Friday 02 February 2024 18:45:29 +0000 (0:00:00.042) 0:00:46.409 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/manage_test_interface.yml:45 Friday 02 February 2024 18:45:29 +0000 (0:00:00.029) 0:00:46.439 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.014727", "end": "2024-02-02 18:45:29.608625", "rc": 0, "start": "2024-02-02 18:45:29.593898" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/manage_test_interface.yml:52 Friday 02 February 2024 18:45:29 +0000 (0:00:00.221) 0:00:46.660 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/manage_test_interface.yml:58 Friday 02 February 2024 18:45:29 +0000 (0:00:00.028) 0:00:46.689 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/manage_test_interface.yml:65 Friday 02 February 2024 18:45:29 +0000 (0:00:00.029) 0:00:46.719 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/manage_test_interface.yml:71 Friday 02 February 2024 18:45:29 +0000 (0:00:00.033) 0:00:46.752 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=129 changed=4 unreachable=0 failed=0 skipped=98 rescued=0 ignored=0 Friday 02 February 2024 18:45:29 +0000 (0:00:00.013) 0:00:46.766 ******* =============================================================================== Gathering Facts --------------------------------------------------------- 5.54s /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tests_auto_gateway.yml:3 Install iproute --------------------------------------------------------- 2.83s /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.62s /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.62s /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.60s /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Check which services are running ----------- 1.59s /WORKDIR/git-bond_options_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.59s /WORKDIR/git-bond_options_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.57s /WORKDIR/git-bond_options_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.56s /WORKDIR/git-bond_options_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.54s /WORKDIR/git-bond_options_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.33s /WORKDIR/git-bond_options_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.33s /WORKDIR/git-bond_options_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.33s /WORKDIR/git-bond_options_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Configure networking connection profiles --- 0.83s /WORKDIR/git-bond_options_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:125 Gathering Facts --------------------------------------------------------- 0.78s /WORKDIR/git-bond_options_rewritepl2tn22t/tests/tests_auto_gateway_nm.yml:6 --- linux-system-roles.network : Enable and start NetworkManager ------------ 0.75s /WORKDIR/git-bond_options_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:88 linux-system-roles.network : Configure networking connection profiles --- 0.72s /WORKDIR/git-bond_options_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:125 Create veth interface veth0 --------------------------------------------- 0.63s /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/manage_test_interface.yml:28 Create veth interface veth0 --------------------------------------------- 0.61s /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/manage_test_interface.yml:28 linux-system-roles.network : Enable and start NetworkManager ------------ 0.56s /WORKDIR/git-bond_options_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:88 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---