# 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_initscripts.yml *********************************** 2 plays in /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/tests_auto_gateway_initscripts.yml PLAY [Run playbook 'playbooks/tests_auto_gateway.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/tests_auto_gateway_initscripts.yml:5 Thursday 29 February 2024 00:04:10 +0000 (0:00:00.013) 0:00:00.013 ***** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/tests_auto_gateway_initscripts.yml:8 Thursday 29 February 2024 00:04:11 +0000 (0:00:00.745) 0:00:00.758 ***** included: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/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-nm_plugin_hotfixhyjmvyzv/tests/tasks/el_repo_setup.yml:3 Thursday 29 February 2024 00:04:11 +0000 (0:00:00.016) 0:00:00.774 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/tasks/el_repo_setup.yml:19 Thursday 29 February 2024 00:04:11 +0000 (0:00:00.377) 0:00:01.152 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/tasks/el_repo_setup.yml:24 Thursday 29 February 2024 00:04:11 +0000 (0:00:00.288) 0:00:01.441 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/tasks/el_repo_setup.yml:28 Thursday 29 February 2024 00:04:11 +0000 (0:00:00.022) 0:00:01.463 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/tasks/el_repo_setup.yml:53 Thursday 29 February 2024 00:04:11 +0000 (0:00:00.019) 0:00:01.483 ***** included: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/tasks/enable_epel.yml:8 Thursday 29 February 2024 00:04:12 +0000 (0:00:00.033) 0:00:01.517 ***** 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-nm_plugin_hotfixhyjmvyzv/tests/tasks/enable_epel.yml:24 Thursday 29 February 2024 00:04:12 +0000 (0:00:00.267) 0:00:01.785 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/tasks/enable_epel.yml:30 Thursday 29 February 2024 00:04:12 +0000 (0:00:00.011) 0:00:01.796 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/tasks/enable_epel.yml:35 Thursday 29 February 2024 00:04:12 +0000 (0:00:00.011) 0:00:01.808 ***** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.275084", "end": "2024-02-29 00:04:12.785287", "rc": 0, "start": "2024-02-29 00:04:12.510203" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/tasks/enable_epel.yml:40 Thursday 29 February 2024 00:04:12 +0000 (0:00:00.492) 0:00:02.300 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/tests_auto_gateway_initscripts.yml:10 Thursday 29 February 2024 00:04:12 +0000 (0:00:00.012) 0:00:02.313 ***** ok: [sut] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for testing auto_gateway setting] *********************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tests_auto_gateway.yml:3 Thursday 29 February 2024 00:04:12 +0000 (0:00:00.032) 0:00:02.345 ***** ok: [sut] META: ran handlers TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tests_auto_gateway.yml:9 Thursday 29 February 2024 00:04:13 +0000 (0:00:00.549) 0:00:02.894 ***** included: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 29 February 2024 00:04:13 +0000 (0:00:00.025) 0:00:02.920 ***** included: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 29 February 2024 00:04:13 +0000 (0:00:00.015) 0:00:02.935 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003710", "end": "2024-02-29 00:04:13.642813", "rc": 0, "start": "2024-02-29 00:04:13.639103" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 29 February 2024 00:04:13 +0000 (0:00:00.214) 0:00:03.150 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 29 February 2024 00:04:13 +0000 (0:00:00.013) 0:00:03.164 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tests_auto_gateway.yml:11 Thursday 29 February 2024 00:04:13 +0000 (0:00:00.012) 0:00:03.176 ***** included: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 29 February 2024 00:04:13 +0000 (0:00:00.031) 0:00:03.208 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 29 February 2024 00:04:13 +0000 (0:00:00.012) 0:00:03.220 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 29 February 2024 00:04:13 +0000 (0:00:00.012) 0:00:03.233 ***** included: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 29 February 2024 00:04:13 +0000 (0:00:00.016) 0:00:03.249 ***** included: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 29 February 2024 00:04:13 +0000 (0:00:00.015) 0:00:03.264 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004030", "end": "2024-02-29 00:04:13.970542", "rc": 0, "start": "2024-02-29 00:04:13.966512" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 29 February 2024 00:04:13 +0000 (0:00:00.214) 0:00:03.479 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 29 February 2024 00:04:14 +0000 (0:00:00.012) 0:00:03.492 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 29 February 2024 00:04:14 +0000 (0:00:00.012) 0:00:03.504 ***** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/manage_test_interface.yml:28 Thursday 29 February 2024 00:04:17 +0000 (0:00:03.371) 0:00:06.876 ***** 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.022550", "end": "2024-02-29 00:04:17.641143", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-02-29 00:04:17.618593" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004806", "end": "2024-02-29 00:04:17.887394", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-02-29 00:04:17.882588" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004754", "end": "2024-02-29 00:04:18.106094", "item": "ip link set veth0 up", "rc": 0, "start": "2024-02-29 00:04:18.101340" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/manage_test_interface.yml:37 Thursday 29 February 2024 00:04:18 +0000 (0:00:00.739) 0:00:07.616 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.154093", "end": "2024-02-29 00:04:18.479277", "rc": 0, "start": "2024-02-29 00:04:18.325184" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/manage_test_interface.yml:45 Thursday 29 February 2024 00:04:18 +0000 (0:00:00.372) 0:00:07.988 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/manage_test_interface.yml:52 Thursday 29 February 2024 00:04:18 +0000 (0:00:00.011) 0:00:08.000 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/manage_test_interface.yml:58 Thursday 29 February 2024 00:04:18 +0000 (0:00:00.011) 0:00:08.012 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/manage_test_interface.yml:65 Thursday 29 February 2024 00:04:18 +0000 (0:00:00.011) 0:00:08.023 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/manage_test_interface.yml:71 Thursday 29 February 2024 00:04:18 +0000 (0:00:00.011) 0:00:08.035 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tests_auto_gateway.yml:15 Thursday 29 February 2024 00:04:18 +0000 (0:00:00.010) 0:00:08.046 ***** included: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 29 February 2024 00:04:18 +0000 (0:00:00.029) 0:00:08.076 ***** included: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 29 February 2024 00:04:18 +0000 (0:00:00.014) 0:00:08.090 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1709165057.6305501, "block_size": 4096, "blocks": 0, "ctime": 1709165057.6305501, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21792, "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": 1709165057.6305501, "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-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 29 February 2024 00:04:18 +0000 (0:00:00.222) 0:00:08.313 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tests_auto_gateway.yml:17 Thursday 29 February 2024 00:04:18 +0000 (0:00:00.017) 0:00:08.330 ***** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 29 February 2024 00:04:18 +0000 (0:00:00.024) 0:00:08.355 ***** included: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/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-nm_plugin_hotfixhyjmvyzv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 29 February 2024 00:04:18 +0000 (0:00:00.021) 0:00:08.376 ***** 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-nm_plugin_hotfixhyjmvyzv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 29 February 2024 00:04:18 +0000 (0:00:00.022) 0:00:08.398 ***** 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-nm_plugin_hotfixhyjmvyzv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 29 February 2024 00:04:18 +0000 (0:00:00.021) 0:00:08.420 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 29 February 2024 00:04:18 +0000 (0:00:00.027) 0:00:08.448 ***** 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-nm_plugin_hotfixhyjmvyzv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 29 February 2024 00:04:20 +0000 (0:00:01.670) 0:00:10.119 ***** 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-nm_plugin_hotfixhyjmvyzv/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 29 February 2024 00:04:22 +0000 (0:00:01.645) 0:00:11.764 ***** ok: [sut] => {} MSG: Using network provider: initscripts 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-nm_plugin_hotfixhyjmvyzv/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 29 February 2024 00:04:22 +0000 (0:00:00.025) 0:00:11.789 ***** 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-nm_plugin_hotfixhyjmvyzv/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 29 February 2024 00:04:22 +0000 (0:00:00.025) 0:00:11.815 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 29 February 2024 00:04:22 +0000 (0:00:00.025) 0:00:11.840 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/roles/linux-system-roles.network/tasks/main.yml:42 Thursday 29 February 2024 00:04:22 +0000 (0:00:00.026) 0:00:11.867 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 29 February 2024 00:04:22 +0000 (0:00:00.021) 0:00:11.888 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/roles/linux-system-roles.network/tasks/main.yml:72 Thursday 29 February 2024 00:04:22 +0000 (0:00:00.025) 0:00:11.913 ***** changed: [sut] => { "attempts": 1, "changed": true, "rc": 0, "results": [ "Installed: network-scripts-10.00.18-1.el8.x86_64", "Installed: network-scripts-team-1.31-4.el8.x86_64" ] } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 29 February 2024 00:04:27 +0000 (0:00:04.922) 0:00:16.836 ***** 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-nm_plugin_hotfixhyjmvyzv/tests/roles/linux-system-roles.network/tasks/main.yml:100 Thursday 29 February 2024 00:04:27 +0000 (0:00:00.022) 0:00:16.858 ***** 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-nm_plugin_hotfixhyjmvyzv/tests/roles/linux-system-roles.network/tasks/main.yml:117 Thursday 29 February 2024 00:04:27 +0000 (0:00:00.022) 0:00:16.881 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/roles/linux-system-roles.network/tasks/main.yml:131 Thursday 29 February 2024 00:04:27 +0000 (0:00:00.027) 0:00:16.909 ***** 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/roles/linux-system-roles.network/tasks/main.yml:142 Thursday 29 February 2024 00:04:27 +0000 (0:00:00.024) 0:00:16.933 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/roles/linux-system-roles.network/tasks/main.yml:151 Thursday 29 February 2024 00:04:27 +0000 (0:00:00.022) 0:00:16.956 ***** changed: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/roles/linux-system-roles.network/tasks/main.yml:159 Thursday 29 February 2024 00:04:28 +0000 (0:00:00.903) 0:00:17.860 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2603qw50abng/tmprf8lfe8c" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/roles/linux-system-roles.network/tasks/main.yml:168 Thursday 29 February 2024 00:04:28 +0000 (0:00:00.328) 0:00:18.188 ***** 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": "initscripts" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0' [004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified) [005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\n"', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/roles/linux-system-roles.network/tasks/main.yml:180 Thursday 29 February 2024 00:04:35 +0000 (0:00:06.722) 0:00:24.911 ***** 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-nm_plugin_hotfixhyjmvyzv/tests/roles/linux-system-roles.network/tasks/main.yml:186 Thursday 29 February 2024 00:04:35 +0000 (0:00:00.046) 0:00:24.957 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)", "[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\n\"', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/roles/linux-system-roles.network/tasks/main.yml:190 Thursday 29 February 2024 00:04:35 +0000 (0:00:00.031) 0:00:24.989 ***** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)\n[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\n\"', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)", "[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\n\"', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/roles/linux-system-roles.network/tasks/main.yml:195 Thursday 29 February 2024 00:04:35 +0000 (0:00:00.067) 0:00:25.057 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/roles/linux-system-roles.network/tasks/main.yml:201 Thursday 29 February 2024 00:04:35 +0000 (0:00:00.029) 0:00:25.087 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tests_auto_gateway.yml:42 Thursday 29 February 2024 00:04:35 +0000 (0:00:00.295) 0:00:25.382 ***** included: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 29 February 2024 00:04:35 +0000 (0:00:00.059) 0:00:25.442 ***** included: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 29 February 2024 00:04:35 +0000 (0:00:00.036) 0:00:25.478 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1709165057.6305501, "block_size": 4096, "blocks": 0, "ctime": 1709165057.6305501, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21792, "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": 1709165057.6305501, "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-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 29 February 2024 00:04:36 +0000 (0:00:00.260) 0:00:25.738 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tests_auto_gateway.yml:44 Thursday 29 February 2024 00:04:36 +0000 (0:00:00.056) 0:00:25.795 ***** included: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 29 February 2024 00:04:36 +0000 (0:00:00.079) 0:00:25.875 ***** included: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 29 February 2024 00:04:36 +0000 (0:00:00.056) 0:00:25.931 ***** 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-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 29 February 2024 00:04:36 +0000 (0:00:00.046) 0:00:25.978 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1709165069.1525166, "block_size": 4096, "blocks": 8, "ctime": 1709165069.1285164, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5976919, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1709165069.1285164, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 277, "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-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 29 February 2024 00:04:36 +0000 (0:00:00.288) 0:00:26.266 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 29 February 2024 00:04:36 +0000 (0:00:00.027) 0:00:26.294 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.022963", "end": "2024-02-29 00:04:37.040029", "rc": 1, "start": "2024-02-29 00:04:37.017066" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 29 February 2024 00:04:37 +0000 (0:00:00.265) 0:00:26.559 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 29 February 2024 00:04:37 +0000 (0:00:00.025) 0:00:26.585 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003817", "end": "2024-02-29 00:04:37.304604", "rc": 0, "start": "2024-02-29 00:04:37.300787" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 29 February 2024 00:04:37 +0000 (0:00:00.270) 0:00:26.856 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 29 February 2024 00:04:37 +0000 (0:00:00.044) 0:00:26.900 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003516", "end": "2024-02-29 00:04:37.619614", "rc": 0, "start": "2024-02-29 00:04:37.616098" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 29 February 2024 00:04:37 +0000 (0:00:00.249) 0:00:27.150 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 29 February 2024 00:04:37 +0000 (0:00:00.032) 0:00:27.182 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 29 February 2024 00:04:37 +0000 (0:00:00.031) 0:00:27.213 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 29 February 2024 00:04:37 +0000 (0:00:00.027) 0:00:27.241 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tests_auto_gateway.yml:48 Thursday 29 February 2024 00:04:37 +0000 (0:00:00.033) 0:00:27.274 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.004350", "end": "2024-02-29 00:04:37.982319", "rc": 0, "start": "2024-02-29 00:04:37.977969" } STDOUT: default via 10.31.40.1 dev eth0 proto dhcp src 10.31.41.198 metric 100 default via 203.0.113.1 dev veth0 metric 65535 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.41.198 metric 100 169.254.0.0/16 dev veth0 scope link metric 1004 203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 TASK [Assert default ipv4 route is present] ************************************ task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tests_auto_gateway.yml:52 Thursday 29 February 2024 00:04:38 +0000 (0:00:00.225) 0:00:27.500 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tests_auto_gateway.yml:58 Thursday 29 February 2024 00:04:38 +0000 (0:00:00.024) 0:00:27.525 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.004609", "end": "2024-02-29 00:04:38.237310", "rc": 0, "start": "2024-02-29 00:04:38.232701" } STDOUT: ::1 dev lo proto kernel metric 256 pref medium 2001:db8::/64 dev veth0 proto kernel metric 256 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 256 pref medium default via 2001:db8::1 dev veth0 metric 1 pref medium TASK [Assert default ipv6 route is present] ************************************ task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tests_auto_gateway.yml:62 Thursday 29 February 2024 00:04:38 +0000 (0:00:00.278) 0:00:27.804 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tests_auto_gateway.yml:69 Thursday 29 February 2024 00:04:38 +0000 (0:00:00.024) 0:00:27.828 ***** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 29 February 2024 00:04:38 +0000 (0:00:00.032) 0:00:27.861 ***** included: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/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-nm_plugin_hotfixhyjmvyzv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 29 February 2024 00:04:38 +0000 (0:00:00.041) 0:00:27.902 ***** 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-nm_plugin_hotfixhyjmvyzv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 29 February 2024 00:04:38 +0000 (0:00:00.030) 0:00:27.932 ***** 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-nm_plugin_hotfixhyjmvyzv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 29 February 2024 00:04:38 +0000 (0:00:00.024) 0:00:27.957 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 29 February 2024 00:04:38 +0000 (0:00:00.031) 0:00:27.989 ***** 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-nm_plugin_hotfixhyjmvyzv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 29 February 2024 00:04:40 +0000 (0:00:01.712) 0:00:29.701 ***** 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-nm_plugin_hotfixhyjmvyzv/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 29 February 2024 00:04:41 +0000 (0:00:01.507) 0:00:31.209 ***** ok: [sut] => {} MSG: Using network provider: initscripts 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-nm_plugin_hotfixhyjmvyzv/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 29 February 2024 00:04:41 +0000 (0:00:00.023) 0:00:31.233 ***** 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-nm_plugin_hotfixhyjmvyzv/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 29 February 2024 00:04:41 +0000 (0:00:00.022) 0:00:31.255 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 29 February 2024 00:04:41 +0000 (0:00:00.021) 0:00:31.277 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/roles/linux-system-roles.network/tasks/main.yml:42 Thursday 29 February 2024 00:04:41 +0000 (0:00:00.027) 0:00:31.305 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 29 February 2024 00:04:41 +0000 (0:00:00.022) 0:00:31.327 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/roles/linux-system-roles.network/tasks/main.yml:72 Thursday 29 February 2024 00:04:41 +0000 (0:00:00.024) 0:00:31.352 ***** 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-nm_plugin_hotfixhyjmvyzv/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 29 February 2024 00:04:41 +0000 (0:00:00.043) 0:00:31.395 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/roles/linux-system-roles.network/tasks/main.yml:100 Thursday 29 February 2024 00:04:41 +0000 (0:00:00.022) 0:00:31.417 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/roles/linux-system-roles.network/tasks/main.yml:117 Thursday 29 February 2024 00:04:41 +0000 (0:00:00.021) 0:00:31.439 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/roles/linux-system-roles.network/tasks/main.yml:131 Thursday 29 February 2024 00:04:41 +0000 (0:00:00.027) 0:00:31.467 ***** 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/roles/linux-system-roles.network/tasks/main.yml:142 Thursday 29 February 2024 00:04:42 +0000 (0:00:00.056) 0:00:31.524 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/roles/linux-system-roles.network/tasks/main.yml:151 Thursday 29 February 2024 00:04:42 +0000 (0:00:00.022) 0:00:31.547 ***** 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/roles/linux-system-roles.network/tasks/main.yml:159 Thursday 29 February 2024 00:04:42 +0000 (0:00:00.391) 0:00:31.938 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2603qw50abng/tmplyspk7vq" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/roles/linux-system-roles.network/tasks/main.yml:168 Thursday 29 February 2024 00:04:42 +0000 (0:00:00.365) 0:00:32.303 ***** 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": "initscripts" } }, "changed": true } STDERR: [003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active) [004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='b''', err='b"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' [005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/roles/linux-system-roles.network/tasks/main.yml:180 Thursday 29 February 2024 00:04:43 +0000 (0:00:00.548) 0:00:32.851 ***** 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-nm_plugin_hotfixhyjmvyzv/tests/roles/linux-system-roles.network/tasks/main.yml:186 Thursday 29 February 2024 00:04:43 +0000 (0:00:00.022) 0:00:32.874 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)", "[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/roles/linux-system-roles.network/tasks/main.yml:190 Thursday 29 February 2024 00:04:43 +0000 (0:00:00.028) 0:00:32.902 ***** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)\n[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)", "[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/roles/linux-system-roles.network/tasks/main.yml:195 Thursday 29 February 2024 00:04:43 +0000 (0:00:00.026) 0:00:32.929 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/roles/linux-system-roles.network/tasks/main.yml:201 Thursday 29 February 2024 00:04:43 +0000 (0:00:00.022) 0:00:32.951 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tests_auto_gateway.yml:81 Thursday 29 February 2024 00:04:43 +0000 (0:00:00.222) 0:00:33.174 ***** included: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 29 February 2024 00:04:43 +0000 (0:00:00.098) 0:00:33.273 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 29 February 2024 00:04:43 +0000 (0:00:00.023) 0:00:33.296 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 29 February 2024 00:04:43 +0000 (0:00:00.022) 0:00:33.318 ***** included: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 29 February 2024 00:04:43 +0000 (0:00:00.035) 0:00:33.354 ***** included: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 29 February 2024 00:04:43 +0000 (0:00:00.036) 0:00:33.391 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003820", "end": "2024-02-29 00:04:44.101571", "rc": 0, "start": "2024-02-29 00:04:44.097751" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 29 February 2024 00:04:44 +0000 (0:00:00.233) 0:00:33.624 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 29 February 2024 00:04:44 +0000 (0:00:00.041) 0:00:33.665 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 29 February 2024 00:04:44 +0000 (0:00:00.038) 0:00:33.704 ***** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/manage_test_interface.yml:28 Thursday 29 February 2024 00:04:47 +0000 (0:00:02.919) 0:00:36.623 ***** 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-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/manage_test_interface.yml:37 Thursday 29 February 2024 00:04:47 +0000 (0:00:00.041) 0:00:36.664 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/manage_test_interface.yml:45 Thursday 29 February 2024 00:04:47 +0000 (0:00:00.024) 0:00:36.689 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.013232", "end": "2024-02-29 00:04:47.419046", "rc": 0, "start": "2024-02-29 00:04:47.405814" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/manage_test_interface.yml:52 Thursday 29 February 2024 00:04:47 +0000 (0:00:00.252) 0:00:36.942 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/manage_test_interface.yml:58 Thursday 29 February 2024 00:04:47 +0000 (0:00:00.025) 0:00:36.967 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/manage_test_interface.yml:65 Thursday 29 February 2024 00:04:47 +0000 (0:00:00.022) 0:00:36.990 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/manage_test_interface.yml:71 Thursday 29 February 2024 00:04:47 +0000 (0:00:00.023) 0:00:37.014 ***** 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-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tests_auto_gateway.yml:85 Thursday 29 February 2024 00:04:47 +0000 (0:00:00.021) 0:00:37.036 ***** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tests_auto_gateway.yml:89 Thursday 29 February 2024 00:04:47 +0000 (0:00:00.022) 0:00:37.058 ***** included: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 29 February 2024 00:04:47 +0000 (0:00:00.053) 0:00:37.111 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 29 February 2024 00:04:47 +0000 (0:00:00.055) 0:00:37.166 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 29 February 2024 00:04:47 +0000 (0:00:00.023) 0:00:37.190 ***** included: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 29 February 2024 00:04:47 +0000 (0:00:00.044) 0:00:37.234 ***** included: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 29 February 2024 00:04:47 +0000 (0:00:00.036) 0:00:37.270 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003607", "end": "2024-02-29 00:04:47.980491", "rc": 0, "start": "2024-02-29 00:04:47.976884" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 29 February 2024 00:04:48 +0000 (0:00:00.228) 0:00:37.499 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 29 February 2024 00:04:48 +0000 (0:00:00.024) 0:00:37.523 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 29 February 2024 00:04:48 +0000 (0:00:00.022) 0:00:37.546 ***** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/manage_test_interface.yml:28 Thursday 29 February 2024 00:04:50 +0000 (0:00:02.903) 0:00:40.449 ***** 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.012999", "end": "2024-02-29 00:04:51.175423", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-02-29 00:04:51.162424" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004833", "end": "2024-02-29 00:04:51.436279", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-02-29 00:04:51.431446" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004894", "end": "2024-02-29 00:04:51.653295", "item": "ip link set veth0 up", "rc": 0, "start": "2024-02-29 00:04:51.648401" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/manage_test_interface.yml:37 Thursday 29 February 2024 00:04:51 +0000 (0:00:00.739) 0:00:41.189 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.023751", "end": "2024-02-29 00:04:51.922838", "rc": 0, "start": "2024-02-29 00:04:51.899087" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/manage_test_interface.yml:45 Thursday 29 February 2024 00:04:51 +0000 (0:00:00.257) 0:00:41.446 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/manage_test_interface.yml:52 Thursday 29 February 2024 00:04:51 +0000 (0:00:00.027) 0:00:41.474 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/manage_test_interface.yml:58 Thursday 29 February 2024 00:04:52 +0000 (0:00:00.024) 0:00:41.499 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/manage_test_interface.yml:65 Thursday 29 February 2024 00:04:52 +0000 (0:00:00.027) 0:00:41.526 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/manage_test_interface.yml:71 Thursday 29 February 2024 00:04:52 +0000 (0:00:00.027) 0:00:41.553 ***** 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-nm_plugin_hotfixhyjmvyzv/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 29 February 2024 00:04:52 +0000 (0:00:00.023) 0:00:41.577 ***** included: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/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-nm_plugin_hotfixhyjmvyzv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 29 February 2024 00:04:52 +0000 (0:00:00.062) 0:00:41.640 ***** 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-nm_plugin_hotfixhyjmvyzv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 29 February 2024 00:04:52 +0000 (0:00:00.123) 0:00:41.763 ***** 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-nm_plugin_hotfixhyjmvyzv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 29 February 2024 00:04:52 +0000 (0:00:00.024) 0:00:41.787 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 29 February 2024 00:04:52 +0000 (0:00:00.022) 0:00:41.810 ***** 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-nm_plugin_hotfixhyjmvyzv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 29 February 2024 00:04:54 +0000 (0:00:01.698) 0:00:43.508 ***** 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-nm_plugin_hotfixhyjmvyzv/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 29 February 2024 00:04:55 +0000 (0:00:01.472) 0:00:44.981 ***** ok: [sut] => {} MSG: Using network provider: initscripts 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-nm_plugin_hotfixhyjmvyzv/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 29 February 2024 00:04:55 +0000 (0:00:00.073) 0:00:45.055 ***** 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-nm_plugin_hotfixhyjmvyzv/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 29 February 2024 00:04:55 +0000 (0:00:00.026) 0:00:45.082 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 29 February 2024 00:04:55 +0000 (0:00:00.026) 0:00:45.108 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/roles/linux-system-roles.network/tasks/main.yml:42 Thursday 29 February 2024 00:04:55 +0000 (0:00:00.029) 0:00:45.137 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 29 February 2024 00:04:55 +0000 (0:00:00.025) 0:00:45.163 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/roles/linux-system-roles.network/tasks/main.yml:72 Thursday 29 February 2024 00:04:55 +0000 (0:00:00.032) 0:00:45.196 ***** 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-nm_plugin_hotfixhyjmvyzv/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 29 February 2024 00:04:55 +0000 (0:00:00.047) 0:00:45.244 ***** 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-nm_plugin_hotfixhyjmvyzv/tests/roles/linux-system-roles.network/tasks/main.yml:100 Thursday 29 February 2024 00:04:55 +0000 (0:00:00.024) 0:00:45.268 ***** 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-nm_plugin_hotfixhyjmvyzv/tests/roles/linux-system-roles.network/tasks/main.yml:117 Thursday 29 February 2024 00:04:55 +0000 (0:00:00.021) 0:00:45.290 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/roles/linux-system-roles.network/tasks/main.yml:131 Thursday 29 February 2024 00:04:55 +0000 (0:00:00.025) 0:00:45.315 ***** 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/roles/linux-system-roles.network/tasks/main.yml:142 Thursday 29 February 2024 00:04:55 +0000 (0:00:00.022) 0:00:45.338 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/roles/linux-system-roles.network/tasks/main.yml:151 Thursday 29 February 2024 00:04:55 +0000 (0:00:00.024) 0:00:45.362 ***** 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/roles/linux-system-roles.network/tasks/main.yml:159 Thursday 29 February 2024 00:04:56 +0000 (0:00:00.443) 0:00:45.806 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2603qw50abng/tmpv0oa3fi3" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/roles/linux-system-roles.network/tasks/main.yml:168 Thursday 29 February 2024 00:04:56 +0000 (0:00:00.360) 0:00:46.167 ***** 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": "initscripts" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0' [004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified) [005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\n"', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/roles/linux-system-roles.network/tasks/main.yml:180 Thursday 29 February 2024 00:05:03 +0000 (0:00:06.605) 0:00:52.772 ***** 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-nm_plugin_hotfixhyjmvyzv/tests/roles/linux-system-roles.network/tasks/main.yml:186 Thursday 29 February 2024 00:05:03 +0000 (0:00:00.029) 0:00:52.802 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)", "[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\n\"', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/roles/linux-system-roles.network/tasks/main.yml:190 Thursday 29 February 2024 00:05:03 +0000 (0:00:00.025) 0:00:52.827 ***** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)\n[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\n\"', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)", "[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\n\"', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/roles/linux-system-roles.network/tasks/main.yml:195 Thursday 29 February 2024 00:05:03 +0000 (0:00:00.025) 0:00:52.853 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/roles/linux-system-roles.network/tasks/main.yml:201 Thursday 29 February 2024 00:05:03 +0000 (0:00:00.023) 0:00:52.877 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tests_auto_gateway.yml:110 Thursday 29 February 2024 00:05:03 +0000 (0:00:00.228) 0:00:53.105 ***** included: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 29 February 2024 00:05:03 +0000 (0:00:00.109) 0:00:53.215 ***** included: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 29 February 2024 00:05:03 +0000 (0:00:00.063) 0:00:53.279 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1709165091.166793, "block_size": 4096, "blocks": 0, "ctime": 1709165091.166793, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 22378, "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": 1709165091.166793, "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-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 29 February 2024 00:05:04 +0000 (0:00:00.230) 0:00:53.509 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tests_auto_gateway.yml:112 Thursday 29 February 2024 00:05:04 +0000 (0:00:00.031) 0:00:53.541 ***** included: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 29 February 2024 00:05:04 +0000 (0:00:00.057) 0:00:53.598 ***** included: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 29 February 2024 00:05:04 +0000 (0:00:00.038) 0:00:53.637 ***** 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-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 29 February 2024 00:05:04 +0000 (0:00:00.028) 0:00:53.665 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1709165097.0405166, "block_size": 4096, "blocks": 8, "ctime": 1709165097.0175166, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5976919, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1709165097.0175166, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 263, "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-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 29 February 2024 00:05:04 +0000 (0:00:00.238) 0:00:53.904 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 29 February 2024 00:05:04 +0000 (0:00:00.047) 0:00:53.951 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.022704", "end": "2024-02-29 00:05:04.707503", "rc": 1, "start": "2024-02-29 00:05:04.684799" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 29 February 2024 00:05:04 +0000 (0:00:00.287) 0:00:54.239 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 29 February 2024 00:05:04 +0000 (0:00:00.063) 0:00:54.302 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003800", "end": "2024-02-29 00:05:05.016843", "rc": 0, "start": "2024-02-29 00:05:05.013043" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 29 February 2024 00:05:05 +0000 (0:00:00.269) 0:00:54.572 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 29 February 2024 00:05:05 +0000 (0:00:00.033) 0:00:54.605 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003841", "end": "2024-02-29 00:05:05.319420", "rc": 0, "start": "2024-02-29 00:05:05.315579" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 29 February 2024 00:05:05 +0000 (0:00:00.247) 0:00:54.853 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 29 February 2024 00:05:05 +0000 (0:00:00.033) 0:00:54.886 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 29 February 2024 00:05:05 +0000 (0:00:00.028) 0:00:54.914 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 29 February 2024 00:05:05 +0000 (0:00:00.026) 0:00:54.941 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tests_auto_gateway.yml:116 Thursday 29 February 2024 00:05:05 +0000 (0:00:00.024) 0:00:54.965 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.004376", "end": "2024-02-29 00:05:05.676459", "rc": 0, "start": "2024-02-29 00:05:05.672083" } STDOUT: default via 10.31.40.1 dev eth0 proto dhcp src 10.31.41.198 metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.41.198 metric 100 169.254.0.0/16 dev veth0 scope link metric 1006 203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 TASK [Assert default ipv4 route is absent] ************************************* task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tests_auto_gateway.yml:120 Thursday 29 February 2024 00:05:05 +0000 (0:00:00.232) 0:00:55.198 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tests_auto_gateway.yml:126 Thursday 29 February 2024 00:05:05 +0000 (0:00:00.030) 0:00:55.228 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.004588", "end": "2024-02-29 00:05:05.948280", "rc": 0, "start": "2024-02-29 00:05:05.943692" } STDOUT: ::1 dev lo proto kernel metric 256 pref medium 2001:db8::/64 dev veth0 proto kernel metric 256 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 256 pref medium default via 2001:db8::1 dev veth0 metric 1 pref medium TASK [Assert default ipv6 route is absent] ************************************* task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tests_auto_gateway.yml:130 Thursday 29 February 2024 00:05:05 +0000 (0:00:00.239) 0:00:55.467 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tests_auto_gateway.yml:137 Thursday 29 February 2024 00:05:06 +0000 (0:00:00.021) 0:00:55.489 ***** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 29 February 2024 00:05:06 +0000 (0:00:00.023) 0:00:55.512 ***** included: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/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-nm_plugin_hotfixhyjmvyzv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 29 February 2024 00:05:06 +0000 (0:00:00.105) 0:00:55.618 ***** 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-nm_plugin_hotfixhyjmvyzv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 29 February 2024 00:05:06 +0000 (0:00:00.029) 0:00:55.648 ***** 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-nm_plugin_hotfixhyjmvyzv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 29 February 2024 00:05:06 +0000 (0:00:00.022) 0:00:55.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-nm_plugin_hotfixhyjmvyzv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 29 February 2024 00:05:06 +0000 (0:00:00.022) 0:00:55.693 ***** 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-nm_plugin_hotfixhyjmvyzv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 29 February 2024 00:05:07 +0000 (0:00:01.731) 0:00:57.425 ***** 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-nm_plugin_hotfixhyjmvyzv/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 29 February 2024 00:05:09 +0000 (0:00:01.545) 0:00:58.971 ***** ok: [sut] => {} MSG: Using network provider: initscripts 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-nm_plugin_hotfixhyjmvyzv/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 29 February 2024 00:05:09 +0000 (0:00:00.052) 0:00:59.023 ***** 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-nm_plugin_hotfixhyjmvyzv/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 29 February 2024 00:05:09 +0000 (0:00:00.055) 0:00:59.079 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 29 February 2024 00:05:09 +0000 (0:00:00.040) 0:00:59.120 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/roles/linux-system-roles.network/tasks/main.yml:42 Thursday 29 February 2024 00:05:09 +0000 (0:00:00.049) 0:00:59.169 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 29 February 2024 00:05:09 +0000 (0:00:00.030) 0:00:59.200 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/roles/linux-system-roles.network/tasks/main.yml:72 Thursday 29 February 2024 00:05:09 +0000 (0:00:00.031) 0:00:59.232 ***** 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-nm_plugin_hotfixhyjmvyzv/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 29 February 2024 00:05:09 +0000 (0:00:00.058) 0:00:59.290 ***** 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-nm_plugin_hotfixhyjmvyzv/tests/roles/linux-system-roles.network/tasks/main.yml:100 Thursday 29 February 2024 00:05:09 +0000 (0:00:00.033) 0:00:59.324 ***** 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-nm_plugin_hotfixhyjmvyzv/tests/roles/linux-system-roles.network/tasks/main.yml:117 Thursday 29 February 2024 00:05:09 +0000 (0:00:00.048) 0:00:59.373 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/roles/linux-system-roles.network/tasks/main.yml:131 Thursday 29 February 2024 00:05:09 +0000 (0:00:00.037) 0:00:59.410 ***** 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/roles/linux-system-roles.network/tasks/main.yml:142 Thursday 29 February 2024 00:05:09 +0000 (0:00:00.026) 0:00:59.436 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/roles/linux-system-roles.network/tasks/main.yml:151 Thursday 29 February 2024 00:05:09 +0000 (0:00:00.026) 0:00:59.463 ***** 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/roles/linux-system-roles.network/tasks/main.yml:159 Thursday 29 February 2024 00:05:10 +0000 (0:00:00.394) 0:00:59.858 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2603qw50abng/tmp_jhjdy8k" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/roles/linux-system-roles.network/tasks/main.yml:168 Thursday 29 February 2024 00:05:10 +0000 (0:00:00.360) 0:01:00.219 ***** 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": "initscripts" } }, "changed": true } STDERR: [003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active) [004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='b''', err='b"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' [005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/roles/linux-system-roles.network/tasks/main.yml:180 Thursday 29 February 2024 00:05:11 +0000 (0:00:00.576) 0:01:00.795 ***** 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-nm_plugin_hotfixhyjmvyzv/tests/roles/linux-system-roles.network/tasks/main.yml:186 Thursday 29 February 2024 00:05:11 +0000 (0:00:00.039) 0:01:00.834 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)", "[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/roles/linux-system-roles.network/tasks/main.yml:190 Thursday 29 February 2024 00:05:11 +0000 (0:00:00.052) 0:01:00.887 ***** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)\n[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)", "[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/roles/linux-system-roles.network/tasks/main.yml:195 Thursday 29 February 2024 00:05:11 +0000 (0:00:00.039) 0:01:00.926 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/roles/linux-system-roles.network/tasks/main.yml:201 Thursday 29 February 2024 00:05:11 +0000 (0:00:00.032) 0:01:00.959 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tests_auto_gateway.yml:149 Thursday 29 February 2024 00:05:11 +0000 (0:00:00.297) 0:01:01.256 ***** included: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 29 February 2024 00:05:11 +0000 (0:00:00.097) 0:01:01.353 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 29 February 2024 00:05:11 +0000 (0:00:00.067) 0:01:01.421 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 29 February 2024 00:05:11 +0000 (0:00:00.040) 0:01:01.461 ***** included: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 29 February 2024 00:05:12 +0000 (0:00:00.052) 0:01:01.513 ***** included: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 29 February 2024 00:05:12 +0000 (0:00:00.052) 0:01:01.566 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003552", "end": "2024-02-29 00:05:12.279245", "rc": 0, "start": "2024-02-29 00:05:12.275693" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 29 February 2024 00:05:12 +0000 (0:00:00.233) 0:01:01.799 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 29 February 2024 00:05:12 +0000 (0:00:00.026) 0:01:01.826 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 29 February 2024 00:05:12 +0000 (0:00:00.027) 0:01:01.854 ***** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/manage_test_interface.yml:28 Thursday 29 February 2024 00:05:15 +0000 (0:00:02.894) 0:01:04.748 ***** 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-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/manage_test_interface.yml:37 Thursday 29 February 2024 00:05:15 +0000 (0:00:00.034) 0:01:04.783 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/manage_test_interface.yml:45 Thursday 29 February 2024 00:05:15 +0000 (0:00:00.023) 0:01:04.807 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.013214", "end": "2024-02-29 00:05:15.525897", "rc": 0, "start": "2024-02-29 00:05:15.512683" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/manage_test_interface.yml:52 Thursday 29 February 2024 00:05:15 +0000 (0:00:00.238) 0:01:05.045 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/manage_test_interface.yml:58 Thursday 29 February 2024 00:05:15 +0000 (0:00:00.023) 0:01:05.069 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/manage_test_interface.yml:65 Thursday 29 February 2024 00:05:15 +0000 (0:00:00.065) 0:01:05.134 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/manage_test_interface.yml:71 Thursday 29 February 2024 00:05:15 +0000 (0:00:00.041) 0:01:05.176 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify network state restored to default] ******************************** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tests_auto_gateway.yml:153 Thursday 29 February 2024 00:05:15 +0000 (0:00:00.032) 0:01:05.209 ***** included: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/check_network_dns.yml:6 Thursday 29 February 2024 00:05:15 +0000 (0:00:00.068) 0:01:05.278 ***** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :\nfi\n", "delta": "0:00:00.011068", "end": "2024-02-29 00:05:16.060851", "rc": 0, "start": "2024-02-29 00:05:16.049783" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 0e:05:44:30:e9:15 brd ff:ff:ff:ff:ff:ff inet 10.31.41.198/22 brd 10.31.43.255 scope global dynamic noprefixroute eth0 valid_lft 2801sec preferred_lft 2801sec inet6 fe80::c05:44ff:fe30:e915/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.40.1 dev eth0 proto dhcp src 10.31.41.198 metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.41.198 metric 100 IP -6 ROUTE ::1 dev lo proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com testing-farm nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and network connectivity] ************************************* task path: /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/check_network_dns.yml:24 Thursday 29 February 2024 00:05:16 +0000 (0:00:00.303) 0:01:05.581 ***** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:00.329629", "end": "2024-02-29 00:05:16.623843", "rc": 0, "start": "2024-02-29 00:05:16.294214" } STDOUT: CHECK DNS AND CONNECTIVITY 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 1297 0 --:--:-- --:--:-- --:--:-- 1297 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 291 100 291 0 0 14550 0 --:--:-- --:--:-- --:--:-- 14550 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=141 changed=6 unreachable=0 failed=0 skipped=101 rescued=0 ignored=2 Thursday 29 February 2024 00:05:16 +0000 (0:00:00.553) 0:01:06.134 ***** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 6.72s /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/roles/linux-system-roles.network/tasks/main.yml:168 linux-system-roles.network : Configure networking connection profiles --- 6.61s /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/roles/linux-system-roles.network/tasks/main.yml:168 linux-system-roles.network : Install packages --------------------------- 4.92s /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/roles/linux-system-roles.network/tasks/main.yml:72 Install iproute --------------------------------------------------------- 3.37s /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.92s /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.90s /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.89s /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Check which services are running ----------- 1.73s /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.71s /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.70s /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.67s /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.65s /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.55s /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.51s /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.47s /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Configure networking connection profiles --- 1.12s /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/roles/linux-system-roles.network/tasks/main.yml:168 linux-system-roles.network : Enable network service --------------------- 0.90s /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/roles/linux-system-roles.network/tasks/main.yml:151 linux-system-roles.network : Enable network service --------------------- 0.79s /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/roles/linux-system-roles.network/tasks/main.yml:151 Gathering Facts --------------------------------------------------------- 0.75s /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/tests_auto_gateway_initscripts.yml:5 Create veth interface veth0 --------------------------------------------- 0.74s /WORKDIR/git-nm_plugin_hotfixhyjmvyzv/tests/playbooks/tasks/manage_test_interface.yml:28 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---