# 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_hotfixx_wcrngk/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_hotfixx_wcrngk/tests/tests_auto_gateway_initscripts.yml:5 Tuesday 20 February 2024 20:30:14 +0000 (0:00:00.012) 0:00:00.012 ****** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/tests_auto_gateway_initscripts.yml:8 Tuesday 20 February 2024 20:30:15 +0000 (0:00:00.805) 0:00:00.818 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/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_hotfixx_wcrngk/tests/tasks/el_repo_setup.yml:3 Tuesday 20 February 2024 20:30:15 +0000 (0:00:00.012) 0:00:00.831 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/tasks/el_repo_setup.yml:19 Tuesday 20 February 2024 20:30:16 +0000 (0:00:00.353) 0:00:01.184 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/tasks/el_repo_setup.yml:24 Tuesday 20 February 2024 20:30:16 +0000 (0:00:00.271) 0:00:01.456 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/tasks/el_repo_setup.yml:28 Tuesday 20 February 2024 20:30:16 +0000 (0:00:00.024) 0:00:01.481 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/tasks/el_repo_setup.yml:53 Tuesday 20 February 2024 20:30:16 +0000 (0:00:00.019) 0:00:01.500 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/tasks/enable_epel.yml:8 Tuesday 20 February 2024 20:30:16 +0000 (0:00:00.032) 0:00:01.533 ****** 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_hotfixx_wcrngk/tests/tasks/enable_epel.yml:24 Tuesday 20 February 2024 20:30:16 +0000 (0:00:00.245) 0:00:01.778 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/tasks/enable_epel.yml:30 Tuesday 20 February 2024 20:30:16 +0000 (0:00:00.011) 0:00:01.789 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/tasks/enable_epel.yml:35 Tuesday 20 February 2024 20:30:16 +0000 (0:00:00.010) 0:00:01.800 ****** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.237725", "end": "2024-02-20 20:30:17.103814", "rc": 0, "start": "2024-02-20 20:30:16.866089" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/tasks/enable_epel.yml:40 Tuesday 20 February 2024 20:30:17 +0000 (0:00:00.414) 0:00:02.215 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/tests_auto_gateway_initscripts.yml:10 Tuesday 20 February 2024 20:30:17 +0000 (0:00:00.010) 0:00:02.226 ****** 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_hotfixx_wcrngk/tests/playbooks/tests_auto_gateway.yml:3 Tuesday 20 February 2024 20:30:17 +0000 (0:00:00.010) 0:00:02.237 ****** ok: [sut] META: ran handlers TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tests_auto_gateway.yml:9 Tuesday 20 February 2024 20:30:17 +0000 (0:00:00.471) 0:00:02.708 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 20 February 2024 20:30:17 +0000 (0:00:00.025) 0:00:02.733 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 20 February 2024 20:30:17 +0000 (0:00:00.026) 0:00:02.760 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003026", "end": "2024-02-20 20:30:17.834402", "rc": 0, "start": "2024-02-20 20:30:17.831376" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 20 February 2024 20:30:17 +0000 (0:00:00.185) 0:00:02.945 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 20 February 2024 20:30:17 +0000 (0:00:00.018) 0:00:02.963 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tests_auto_gateway.yml:11 Tuesday 20 February 2024 20:30:17 +0000 (0:00:00.015) 0:00:02.979 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 20 February 2024 20:30:17 +0000 (0:00:00.030) 0:00:03.010 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 20 February 2024 20:30:17 +0000 (0:00:00.012) 0:00:03.022 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 20 February 2024 20:30:17 +0000 (0:00:00.011) 0:00:03.034 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 20 February 2024 20:30:17 +0000 (0:00:00.014) 0:00:03.049 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 20 February 2024 20:30:17 +0000 (0:00:00.026) 0:00:03.075 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003018", "end": "2024-02-20 20:30:18.187644", "rc": 0, "start": "2024-02-20 20:30:18.184626" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 20 February 2024 20:30:18 +0000 (0:00:00.231) 0:00:03.307 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 20 February 2024 20:30:18 +0000 (0:00:00.012) 0:00:03.320 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 20 February 2024 20:30:18 +0000 (0:00:00.025) 0:00:03.345 ****** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/manage_test_interface.yml:28 Tuesday 20 February 2024 20:30:21 +0000 (0:00:02.875) 0:00:06.221 ****** 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.011506", "end": "2024-02-20 20:30:21.303073", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-02-20 20:30:21.291567" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003376", "end": "2024-02-20 20:30:21.521333", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-02-20 20:30:21.517957" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.003786", "end": "2024-02-20 20:30:21.695406", "item": "ip link set veth0 up", "rc": 0, "start": "2024-02-20 20:30:21.691620" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/manage_test_interface.yml:37 Tuesday 20 February 2024 20:30:21 +0000 (0:00:00.586) 0:00:06.808 ****** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.147456", "end": "2024-02-20 20:30:22.028555", "rc": 0, "start": "2024-02-20 20:30:21.881099" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/manage_test_interface.yml:45 Tuesday 20 February 2024 20:30:22 +0000 (0:00:00.363) 0:00:07.171 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/manage_test_interface.yml:52 Tuesday 20 February 2024 20:30:22 +0000 (0:00:00.028) 0:00:07.200 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/manage_test_interface.yml:58 Tuesday 20 February 2024 20:30:22 +0000 (0:00:00.012) 0:00:07.212 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/manage_test_interface.yml:65 Tuesday 20 February 2024 20:30:22 +0000 (0:00:00.012) 0:00:07.224 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/manage_test_interface.yml:71 Tuesday 20 February 2024 20:30:22 +0000 (0:00:00.014) 0:00:07.239 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tests_auto_gateway.yml:15 Tuesday 20 February 2024 20:30:22 +0000 (0:00:00.010) 0:00:07.250 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 20 February 2024 20:30:22 +0000 (0:00:00.046) 0:00:07.296 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 20 February 2024 20:30:22 +0000 (0:00:00.017) 0:00:07.313 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1708461021.3014603, "block_size": 4096, "blocks": 0, "ctime": 1708461021.3014603, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21587, "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": 1708461021.3014603, "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_hotfixx_wcrngk/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 20 February 2024 20:30:22 +0000 (0:00:00.190) 0:00:07.503 ****** 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_hotfixx_wcrngk/tests/playbooks/tests_auto_gateway.yml:17 Tuesday 20 February 2024 20:30:22 +0000 (0:00:00.014) 0:00:07.518 ****** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 20 February 2024 20:30:22 +0000 (0:00:00.014) 0:00:07.532 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 20 February 2024 20:30:22 +0000 (0:00:00.104) 0:00:07.637 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 20 February 2024 20:30:22 +0000 (0:00:00.024) 0:00:07.662 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 20 February 2024 20:30:22 +0000 (0:00:00.012) 0:00:07.675 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 20 February 2024 20:30:22 +0000 (0:00:00.019) 0:00:07.694 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 20 February 2024 20:30:24 +0000 (0:00:01.443) 0:00:09.138 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 20 February 2024 20:30:25 +0000 (0:00:01.433) 0:00:10.571 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 20 February 2024 20:30:25 +0000 (0:00:00.027) 0:00:10.598 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 20 February 2024 20:30:25 +0000 (0:00:00.078) 0:00:10.677 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 20 February 2024 20:30:25 +0000 (0:00:00.066) 0:00:10.743 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 20 February 2024 20:30:30 +0000 (0:00:04.880) 0:00:15.624 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 20 February 2024 20:30:30 +0000 (0:00:00.027) 0:00:15.651 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:72 Tuesday 20 February 2024 20:30:30 +0000 (0:00:00.042) 0:00:15.694 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 20 February 2024 20:30:30 +0000 (0:00:00.034) 0:00:15.729 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:102 Tuesday 20 February 2024 20:30:30 +0000 (0:00:00.072) 0:00:15.801 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 20 February 2024 20:30:30 +0000 (0:00:00.035) 0:00:15.837 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 20 February 2024 20:30:30 +0000 (0:00:00.039) 0:00:15.876 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:130 Tuesday 20 February 2024 20:30:31 +0000 (0:00:00.858) 0:00:16.735 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2287ggw4w0m1/tmpsapscxv5" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:139 Tuesday 20 February 2024 20:30:32 +0000 (0:00:00.503) 0:00:17.239 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:151 Tuesday 20 February 2024 20:30:38 +0000 (0:00:06.741) 0:00:23.980 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:157 Tuesday 20 February 2024 20:30:38 +0000 (0:00:00.028) 0:00:24.009 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:161 Tuesday 20 February 2024 20:30:38 +0000 (0:00:00.049) 0:00:24.058 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:166 Tuesday 20 February 2024 20:30:38 +0000 (0:00:00.025) 0:00:24.084 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:172 Tuesday 20 February 2024 20:30:39 +0000 (0:00:00.021) 0:00:24.105 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tests_auto_gateway.yml:42 Tuesday 20 February 2024 20:30:39 +0000 (0:00:00.236) 0:00:24.342 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 20 February 2024 20:30:39 +0000 (0:00:00.047) 0:00:24.390 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 20 February 2024 20:30:39 +0000 (0:00:00.043) 0:00:24.434 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1708461021.3014603, "block_size": 4096, "blocks": 0, "ctime": 1708461021.3014603, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21587, "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": 1708461021.3014603, "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_hotfixx_wcrngk/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 20 February 2024 20:30:39 +0000 (0:00:00.218) 0:00:24.653 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tests_auto_gateway.yml:44 Tuesday 20 February 2024 20:30:39 +0000 (0:00:00.024) 0:00:24.677 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 20 February 2024 20:30:39 +0000 (0:00:00.050) 0:00:24.728 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/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_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 20 February 2024 20:30:39 +0000 (0:00:00.077) 0:00:24.805 ****** 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_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 20 February 2024 20:30:39 +0000 (0:00:00.026) 0:00:24.831 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1708461032.6287048, "block_size": 4096, "blocks": 8, "ctime": 1708461032.6087058, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5976471, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1708461032.6087058, "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_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 20 February 2024 20:30:39 +0000 (0:00:00.197) 0:00:25.029 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 20 February 2024 20:30:39 +0000 (0:00:00.033) 0:00:25.063 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.020228", "end": "2024-02-20 20:30:40.181930", "rc": 1, "start": "2024-02-20 20:30:40.161702" } 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_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 20 February 2024 20:30:40 +0000 (0:00:00.247) 0:00:25.311 ****** 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_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 20 February 2024 20:30:40 +0000 (0:00:00.025) 0:00:25.336 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.002765", "end": "2024-02-20 20:30:40.411887", "rc": 0, "start": "2024-02-20 20:30:40.409122" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 20 February 2024 20:30:40 +0000 (0:00:00.210) 0:00:25.546 ****** 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_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 20 February 2024 20:30:40 +0000 (0:00:00.030) 0:00:25.577 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.002638", "end": "2024-02-20 20:30:40.650535", "rc": 0, "start": "2024-02-20 20:30:40.647897" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 20 February 2024 20:30:40 +0000 (0:00:00.212) 0:00:25.789 ****** 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_hotfixx_wcrngk/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 20 February 2024 20:30:40 +0000 (0:00:00.050) 0:00:25.840 ****** 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_hotfixx_wcrngk/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 20 February 2024 20:30:40 +0000 (0:00:00.026) 0:00:25.867 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 20 February 2024 20:30:40 +0000 (0:00:00.032) 0:00:25.899 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tests_auto_gateway.yml:48 Tuesday 20 February 2024 20:30:40 +0000 (0:00:00.045) 0:00:25.945 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003470", "end": "2024-02-20 20:30:41.027001", "rc": 0, "start": "2024-02-20 20:30:41.023531" } STDOUT: default via 10.31.8.1 dev eth0 proto dhcp src 10.31.10.112 metric 100 default via 203.0.113.1 dev veth0 metric 65535 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.10.112 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_hotfixx_wcrngk/tests/playbooks/tests_auto_gateway.yml:52 Tuesday 20 February 2024 20:30:41 +0000 (0:00:00.205) 0:00:26.151 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tests_auto_gateway.yml:58 Tuesday 20 February 2024 20:30:41 +0000 (0:00:00.059) 0:00:26.211 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003497", "end": "2024-02-20 20:30:41.284888", "rc": 0, "start": "2024-02-20 20:30:41.281391" } 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_hotfixx_wcrngk/tests/playbooks/tests_auto_gateway.yml:62 Tuesday 20 February 2024 20:30:41 +0000 (0:00:00.201) 0:00:26.412 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tests_auto_gateway.yml:69 Tuesday 20 February 2024 20:30:41 +0000 (0:00:00.029) 0:00:26.441 ****** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 20 February 2024 20:30:41 +0000 (0:00:00.049) 0:00:26.491 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 20 February 2024 20:30:41 +0000 (0:00:00.066) 0:00:26.557 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 20 February 2024 20:30:41 +0000 (0:00:00.068) 0:00:26.626 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 20 February 2024 20:30:41 +0000 (0:00:00.047) 0:00:26.673 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 20 February 2024 20:30:41 +0000 (0:00:00.037) 0:00:26.711 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 20 February 2024 20:30:43 +0000 (0:00:01.553) 0:00:28.264 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 20 February 2024 20:30:44 +0000 (0:00:01.370) 0:00:29.635 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 20 February 2024 20:30:44 +0000 (0:00:00.026) 0:00:29.662 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 20 February 2024 20:30:44 +0000 (0:00:00.022) 0:00:29.685 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 20 February 2024 20:30:44 +0000 (0:00:00.021) 0:00:29.706 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 20 February 2024 20:30:44 +0000 (0:00:00.044) 0:00:29.751 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 20 February 2024 20:30:44 +0000 (0:00:00.022) 0:00:29.773 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:72 Tuesday 20 February 2024 20:30:44 +0000 (0:00:00.021) 0:00:29.794 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 20 February 2024 20:30:44 +0000 (0:00:00.025) 0:00:29.819 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:102 Tuesday 20 February 2024 20:30:44 +0000 (0:00:00.025) 0:00:29.845 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 20 February 2024 20:30:44 +0000 (0:00:00.023) 0:00:29.869 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 20 February 2024 20:30:44 +0000 (0:00:00.022) 0:00:29.891 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:130 Tuesday 20 February 2024 20:30:45 +0000 (0:00:00.339) 0:00:30.231 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2287ggw4w0m1/tmpk2lldwh_" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:139 Tuesday 20 February 2024 20:30:45 +0000 (0:00:00.330) 0:00:30.562 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:151 Tuesday 20 February 2024 20:30:45 +0000 (0:00:00.428) 0:00:30.990 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:157 Tuesday 20 February 2024 20:30:45 +0000 (0:00:00.047) 0:00:31.037 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:161 Tuesday 20 February 2024 20:30:45 +0000 (0:00:00.033) 0:00:31.071 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:166 Tuesday 20 February 2024 20:30:46 +0000 (0:00:00.030) 0:00:31.102 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:172 Tuesday 20 February 2024 20:30:46 +0000 (0:00:00.050) 0:00:31.153 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tests_auto_gateway.yml:81 Tuesday 20 February 2024 20:30:46 +0000 (0:00:00.204) 0:00:31.357 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 20 February 2024 20:30:46 +0000 (0:00:00.057) 0:00:31.415 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 20 February 2024 20:30:46 +0000 (0:00:00.037) 0:00:31.452 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 20 February 2024 20:30:46 +0000 (0:00:00.038) 0:00:31.491 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 20 February 2024 20:30:46 +0000 (0:00:00.049) 0:00:31.540 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 20 February 2024 20:30:46 +0000 (0:00:00.074) 0:00:31.615 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003215", "end": "2024-02-20 20:30:46.688925", "rc": 0, "start": "2024-02-20 20:30:46.685710" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 20 February 2024 20:30:46 +0000 (0:00:00.202) 0:00:31.817 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 20 February 2024 20:30:46 +0000 (0:00:00.033) 0:00:31.851 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 20 February 2024 20:30:46 +0000 (0:00:00.040) 0:00:31.892 ****** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/manage_test_interface.yml:28 Tuesday 20 February 2024 20:30:49 +0000 (0:00:02.742) 0:00:34.634 ****** 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_hotfixx_wcrngk/tests/playbooks/tasks/manage_test_interface.yml:37 Tuesday 20 February 2024 20:30:49 +0000 (0:00:00.053) 0:00:34.688 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/manage_test_interface.yml:45 Tuesday 20 February 2024 20:30:49 +0000 (0:00:00.035) 0:00:34.723 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.012711", "end": "2024-02-20 20:30:49.804707", "rc": 0, "start": "2024-02-20 20:30:49.791996" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/manage_test_interface.yml:52 Tuesday 20 February 2024 20:30:49 +0000 (0:00:00.244) 0:00:34.967 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/manage_test_interface.yml:58 Tuesday 20 February 2024 20:30:49 +0000 (0:00:00.027) 0:00:34.995 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/manage_test_interface.yml:65 Tuesday 20 February 2024 20:30:49 +0000 (0:00:00.030) 0:00:35.026 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/manage_test_interface.yml:71 Tuesday 20 February 2024 20:30:49 +0000 (0:00:00.040) 0:00:35.066 ****** 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_hotfixx_wcrngk/tests/playbooks/tests_auto_gateway.yml:85 Tuesday 20 February 2024 20:30:50 +0000 (0:00:00.036) 0:00:35.102 ****** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tests_auto_gateway.yml:89 Tuesday 20 February 2024 20:30:50 +0000 (0:00:00.044) 0:00:35.147 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 20 February 2024 20:30:50 +0000 (0:00:00.097) 0:00:35.245 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 20 February 2024 20:30:50 +0000 (0:00:00.041) 0:00:35.286 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 20 February 2024 20:30:50 +0000 (0:00:00.041) 0:00:35.328 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 20 February 2024 20:30:50 +0000 (0:00:00.045) 0:00:35.373 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 20 February 2024 20:30:50 +0000 (0:00:00.037) 0:00:35.411 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003090", "end": "2024-02-20 20:30:50.522627", "rc": 0, "start": "2024-02-20 20:30:50.519537" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 20 February 2024 20:30:50 +0000 (0:00:00.239) 0:00:35.651 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 20 February 2024 20:30:50 +0000 (0:00:00.096) 0:00:35.747 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 20 February 2024 20:30:50 +0000 (0:00:00.059) 0:00:35.807 ****** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/manage_test_interface.yml:28 Tuesday 20 February 2024 20:30:53 +0000 (0:00:02.623) 0:00:38.430 ****** 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.005774", "end": "2024-02-20 20:30:53.534799", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-02-20 20:30:53.529025" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003367", "end": "2024-02-20 20:30:53.751033", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-02-20 20:30:53.747666" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004089", "end": "2024-02-20 20:30:53.948917", "item": "ip link set veth0 up", "rc": 0, "start": "2024-02-20 20:30:53.944828" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/manage_test_interface.yml:37 Tuesday 20 February 2024 20:30:54 +0000 (0:00:00.667) 0:00:39.098 ****** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.021086", "end": "2024-02-20 20:30:54.232783", "rc": 0, "start": "2024-02-20 20:30:54.211697" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/manage_test_interface.yml:45 Tuesday 20 February 2024 20:30:54 +0000 (0:00:00.260) 0:00:39.358 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/manage_test_interface.yml:52 Tuesday 20 February 2024 20:30:54 +0000 (0:00:00.043) 0:00:39.401 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/manage_test_interface.yml:58 Tuesday 20 February 2024 20:30:54 +0000 (0:00:00.040) 0:00:39.441 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/manage_test_interface.yml:65 Tuesday 20 February 2024 20:30:54 +0000 (0:00:00.032) 0:00:39.474 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/manage_test_interface.yml:71 Tuesday 20 February 2024 20:30:54 +0000 (0:00:00.035) 0:00:39.509 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 20 February 2024 20:30:54 +0000 (0:00:00.145) 0:00:39.655 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 20 February 2024 20:30:54 +0000 (0:00:00.088) 0:00:39.743 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 20 February 2024 20:30:54 +0000 (0:00:00.077) 0:00:39.820 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 20 February 2024 20:30:54 +0000 (0:00:00.034) 0:00:39.854 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 20 February 2024 20:30:54 +0000 (0:00:00.027) 0:00:39.882 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 20 February 2024 20:30:56 +0000 (0:00:01.457) 0:00:41.340 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 20 February 2024 20:30:57 +0000 (0:00:01.306) 0:00:42.646 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 20 February 2024 20:30:57 +0000 (0:00:00.024) 0:00:42.671 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 20 February 2024 20:30:57 +0000 (0:00:00.041) 0:00:42.713 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 20 February 2024 20:30:57 +0000 (0:00:00.034) 0:00:42.748 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 20 February 2024 20:30:57 +0000 (0:00:00.047) 0:00:42.795 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 20 February 2024 20:30:57 +0000 (0:00:00.027) 0:00:42.823 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:72 Tuesday 20 February 2024 20:30:57 +0000 (0:00:00.035) 0:00:42.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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 20 February 2024 20:30:57 +0000 (0:00:00.041) 0:00:42.900 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:102 Tuesday 20 February 2024 20:30:57 +0000 (0:00:00.063) 0:00:42.964 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 20 February 2024 20:30:57 +0000 (0:00:00.068) 0:00:43.032 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 20 February 2024 20:30:57 +0000 (0:00:00.048) 0:00:43.081 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:130 Tuesday 20 February 2024 20:30:58 +0000 (0:00:00.403) 0:00:43.485 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2287ggw4w0m1/tmpwix6jzuh" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:139 Tuesday 20 February 2024 20:30:58 +0000 (0:00:00.384) 0:00:43.869 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:151 Tuesday 20 February 2024 20:31:05 +0000 (0:00:06.505) 0:00:50.375 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:157 Tuesday 20 February 2024 20:31:05 +0000 (0:00:00.023) 0:00:50.399 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:161 Tuesday 20 February 2024 20:31:05 +0000 (0:00:00.025) 0:00:50.424 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:166 Tuesday 20 February 2024 20:31:05 +0000 (0:00:00.025) 0:00:50.449 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:172 Tuesday 20 February 2024 20:31:05 +0000 (0:00:00.023) 0:00:50.473 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tests_auto_gateway.yml:110 Tuesday 20 February 2024 20:31:05 +0000 (0:00:00.192) 0:00:50.665 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 20 February 2024 20:31:05 +0000 (0:00:00.095) 0:00:50.761 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 20 February 2024 20:31:05 +0000 (0:00:00.040) 0:00:50.801 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1708461053.53217, "block_size": 4096, "blocks": 0, "ctime": 1708461053.53217, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 22173, "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": 1708461053.53217, "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_hotfixx_wcrngk/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 20 February 2024 20:31:05 +0000 (0:00:00.197) 0:00:50.998 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tests_auto_gateway.yml:112 Tuesday 20 February 2024 20:31:05 +0000 (0:00:00.026) 0:00:51.025 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 20 February 2024 20:31:06 +0000 (0:00:00.072) 0:00:51.097 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/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_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 20 February 2024 20:31:06 +0000 (0:00:00.038) 0:00:51.135 ****** 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_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 20 February 2024 20:31:06 +0000 (0:00:00.022) 0:00:51.158 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1708461059.0303993, "block_size": 4096, "blocks": 8, "ctime": 1708461059.0293994, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5976462, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1708461059.0293994, "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_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 20 February 2024 20:31:06 +0000 (0:00:00.190) 0:00:51.348 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 20 February 2024 20:31:06 +0000 (0:00:00.040) 0:00:51.389 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.019693", "end": "2024-02-20 20:31:06.476916", "rc": 1, "start": "2024-02-20 20:31:06.457223" } 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_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 20 February 2024 20:31:06 +0000 (0:00:00.258) 0:00:51.647 ****** 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_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 20 February 2024 20:31:06 +0000 (0:00:00.027) 0:00:51.674 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.002714", "end": "2024-02-20 20:31:06.747834", "rc": 0, "start": "2024-02-20 20:31:06.745120" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 20 February 2024 20:31:06 +0000 (0:00:00.217) 0:00:51.892 ****** 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_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 20 February 2024 20:31:06 +0000 (0:00:00.045) 0:00:51.938 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.002796", "end": "2024-02-20 20:31:07.013229", "rc": 0, "start": "2024-02-20 20:31:07.010433" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 20 February 2024 20:31:07 +0000 (0:00:00.198) 0:00:52.137 ****** 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_hotfixx_wcrngk/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 20 February 2024 20:31:07 +0000 (0:00:00.032) 0:00:52.169 ****** 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_hotfixx_wcrngk/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 20 February 2024 20:31:07 +0000 (0:00:00.037) 0:00:52.206 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 20 February 2024 20:31:07 +0000 (0:00:00.044) 0:00:52.250 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tests_auto_gateway.yml:116 Tuesday 20 February 2024 20:31:07 +0000 (0:00:00.024) 0:00:52.275 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003322", "end": "2024-02-20 20:31:07.346790", "rc": 0, "start": "2024-02-20 20:31:07.343468" } STDOUT: default via 10.31.8.1 dev eth0 proto dhcp src 10.31.10.112 metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.10.112 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_hotfixx_wcrngk/tests/playbooks/tests_auto_gateway.yml:120 Tuesday 20 February 2024 20:31:07 +0000 (0:00:00.207) 0:00:52.483 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tests_auto_gateway.yml:126 Tuesday 20 February 2024 20:31:07 +0000 (0:00:00.038) 0:00:52.521 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003402", "end": "2024-02-20 20:31:07.614872", "rc": 0, "start": "2024-02-20 20:31:07.611470" } 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_hotfixx_wcrngk/tests/playbooks/tests_auto_gateway.yml:130 Tuesday 20 February 2024 20:31:07 +0000 (0:00:00.226) 0:00:52.748 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tests_auto_gateway.yml:137 Tuesday 20 February 2024 20:31:07 +0000 (0:00:00.058) 0:00:52.806 ****** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 20 February 2024 20:31:07 +0000 (0:00:00.035) 0:00:52.841 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 20 February 2024 20:31:07 +0000 (0:00:00.085) 0:00:52.927 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 20 February 2024 20:31:07 +0000 (0:00:00.029) 0:00:52.956 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 20 February 2024 20:31:07 +0000 (0:00:00.022) 0:00:52.979 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 20 February 2024 20:31:07 +0000 (0:00:00.021) 0:00:53.001 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 20 February 2024 20:31:09 +0000 (0:00:01.454) 0:00:54.455 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 20 February 2024 20:31:10 +0000 (0:00:01.349) 0:00:55.804 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 20 February 2024 20:31:10 +0000 (0:00:00.025) 0:00:55.830 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 20 February 2024 20:31:10 +0000 (0:00:00.034) 0:00:55.865 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 20 February 2024 20:31:10 +0000 (0:00:00.025) 0:00:55.890 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 20 February 2024 20:31:10 +0000 (0:00:00.076) 0:00:55.966 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 20 February 2024 20:31:10 +0000 (0:00:00.025) 0:00:55.992 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:72 Tuesday 20 February 2024 20:31:10 +0000 (0:00:00.023) 0:00:56.016 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 20 February 2024 20:31:10 +0000 (0:00:00.048) 0:00:56.065 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:102 Tuesday 20 February 2024 20:31:11 +0000 (0:00:00.033) 0:00:56.098 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 20 February 2024 20:31:11 +0000 (0:00:00.035) 0:00:56.134 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 20 February 2024 20:31:11 +0000 (0:00:00.041) 0:00:56.176 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:130 Tuesday 20 February 2024 20:31:11 +0000 (0:00:00.402) 0:00:56.578 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2287ggw4w0m1/tmpwu8g780j" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:139 Tuesday 20 February 2024 20:31:11 +0000 (0:00:00.345) 0:00:56.923 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:151 Tuesday 20 February 2024 20:31:12 +0000 (0:00:00.464) 0:00:57.387 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:157 Tuesday 20 February 2024 20:31:12 +0000 (0:00:00.029) 0:00:57.417 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:161 Tuesday 20 February 2024 20:31:12 +0000 (0:00:00.097) 0:00:57.514 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:166 Tuesday 20 February 2024 20:31:12 +0000 (0:00:00.026) 0:00:57.541 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:172 Tuesday 20 February 2024 20:31:12 +0000 (0:00:00.028) 0:00:57.569 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tests_auto_gateway.yml:149 Tuesday 20 February 2024 20:31:12 +0000 (0:00:00.241) 0:00:57.811 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 20 February 2024 20:31:12 +0000 (0:00:00.090) 0:00:57.901 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 20 February 2024 20:31:12 +0000 (0:00:00.023) 0:00:57.925 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 20 February 2024 20:31:12 +0000 (0:00:00.031) 0:00:57.957 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 20 February 2024 20:31:12 +0000 (0:00:00.045) 0:00:58.002 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 20 February 2024 20:31:12 +0000 (0:00:00.055) 0:00:58.058 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002888", "end": "2024-02-20 20:31:13.133551", "rc": 0, "start": "2024-02-20 20:31:13.130663" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 20 February 2024 20:31:13 +0000 (0:00:00.200) 0:00:58.258 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 20 February 2024 20:31:13 +0000 (0:00:00.038) 0:00:58.297 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 20 February 2024 20:31:13 +0000 (0:00:00.028) 0:00:58.326 ****** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/manage_test_interface.yml:28 Tuesday 20 February 2024 20:31:15 +0000 (0:00:02.618) 0:01:00.944 ****** 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_hotfixx_wcrngk/tests/playbooks/tasks/manage_test_interface.yml:37 Tuesday 20 February 2024 20:31:15 +0000 (0:00:00.036) 0:01:00.980 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/manage_test_interface.yml:45 Tuesday 20 February 2024 20:31:15 +0000 (0:00:00.027) 0:01:01.008 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.008791", "end": "2024-02-20 20:31:16.087500", "rc": 0, "start": "2024-02-20 20:31:16.078709" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/manage_test_interface.yml:52 Tuesday 20 February 2024 20:31:16 +0000 (0:00:00.204) 0:01:01.213 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/manage_test_interface.yml:58 Tuesday 20 February 2024 20:31:16 +0000 (0:00:00.023) 0:01:01.237 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/manage_test_interface.yml:65 Tuesday 20 February 2024 20:31:16 +0000 (0:00:00.024) 0:01:01.261 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/manage_test_interface.yml:71 Tuesday 20 February 2024 20:31:16 +0000 (0:00:00.025) 0:01:01.286 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify network state restored to default] ******************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tests_auto_gateway.yml:153 Tuesday 20 February 2024 20:31:16 +0000 (0:00:00.022) 0:01:01.308 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/check_network_dns.yml:6 Tuesday 20 February 2024 20:31:16 +0000 (0:00:00.104) 0:01:01.413 ****** 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.009099", "end": "2024-02-20 20:31:16.491563", "rc": 0, "start": "2024-02-20 20:31:16.482464" } 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 12:ba:38:1c:b9:ff brd ff:ff:ff:ff:ff:ff inet 10.31.10.112/22 brd 10.31.11.255 scope global dynamic noprefixroute eth0 valid_lft 2396sec preferred_lft 2396sec inet6 fe80::10ba:38ff:fe1c:b9ff/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.8.1 dev eth0 proto dhcp src 10.31.10.112 metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.10.112 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_hotfixx_wcrngk/tests/playbooks/tasks/check_network_dns.yml:24 Tuesday 20 February 2024 20:31:16 +0000 (0:00:00.200) 0:01:01.614 ****** 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.084837", "end": "2024-02-20 20:31:16.770713", "rc": 0, "start": "2024-02-20 20:31:16.685876" } STDOUT: CHECK DNS AND CONNECTIVITY 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 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 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 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 11730 0 --:--:-- --:--:-- --:--:-- 11730 % 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 8818 0 --:--:-- --:--:-- --:--:-- 8818 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=141 changed=6 unreachable=0 failed=0 skipped=93 rescued=0 ignored=2 Tuesday 20 February 2024 20:31:16 +0000 (0:00:00.299) 0:01:01.913 ****** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 6.74s /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:139 linux-system-roles.network : Configure networking connection profiles --- 6.51s /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:139 linux-system-roles.network : Install packages --------------------------- 4.88s /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:30 Install iproute --------------------------------------------------------- 2.88s /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.74s /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.62s /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.62s /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Check which services are running ----------- 1.55s /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.46s /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.45s /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.44s /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.43s /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.37s /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.35s /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.31s /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Configure networking connection profiles --- 0.89s /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:139 linux-system-roles.network : Enable network service --------------------- 0.86s /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:122 Gathering Facts --------------------------------------------------------- 0.81s /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/tests_auto_gateway_initscripts.yml:5 linux-system-roles.network : Enable network service --------------------- 0.74s /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Ensure initscripts network file dependency is present --- 0.68s /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:130 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---