# 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_hotfixaw4w083t/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_hotfixaw4w083t/tests/tests_auto_gateway_initscripts.yml:5 Tuesday 27 February 2024 22:35:18 +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_hotfixaw4w083t/tests/tests_auto_gateway_initscripts.yml:8 Tuesday 27 February 2024 22:35:18 +0000 (0:00:00.733) 0:00:00.746 ****** included: /WORKDIR/git-nm_plugin_hotfixaw4w083t/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_hotfixaw4w083t/tests/tasks/el_repo_setup.yml:3 Tuesday 27 February 2024 22:35:18 +0000 (0:00:00.010) 0:00:00.757 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/tasks/el_repo_setup.yml:19 Tuesday 27 February 2024 22:35:19 +0000 (0:00:00.369) 0:00:01.126 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/tasks/el_repo_setup.yml:24 Tuesday 27 February 2024 22:35:19 +0000 (0:00:00.250) 0:00:01.376 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/tasks/el_repo_setup.yml:28 Tuesday 27 February 2024 22:35:19 +0000 (0:00:00.020) 0:00:01.396 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/tasks/el_repo_setup.yml:53 Tuesday 27 February 2024 22:35:19 +0000 (0:00:00.019) 0:00:01.415 ****** included: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/tasks/enable_epel.yml:8 Tuesday 27 February 2024 22:35:19 +0000 (0:00:00.033) 0:00:01.449 ****** 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_hotfixaw4w083t/tests/tasks/enable_epel.yml:24 Tuesday 27 February 2024 22:35:19 +0000 (0:00:00.246) 0:00:01.696 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/tasks/enable_epel.yml:30 Tuesday 27 February 2024 22:35:19 +0000 (0:00:00.017) 0:00:01.714 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/tasks/enable_epel.yml:35 Tuesday 27 February 2024 22:35:19 +0000 (0:00:00.012) 0:00:01.727 ****** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.271706", "end": "2024-02-27 22:35:20.211222", "rc": 0, "start": "2024-02-27 22:35:19.939516" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/tasks/enable_epel.yml:40 Tuesday 27 February 2024 22:35:20 +0000 (0:00:00.482) 0:00:02.209 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/tests_auto_gateway_initscripts.yml:10 Tuesday 27 February 2024 22:35:20 +0000 (0:00:00.027) 0:00:02.237 ****** 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_hotfixaw4w083t/tests/playbooks/tests_auto_gateway.yml:3 Tuesday 27 February 2024 22:35:20 +0000 (0:00:00.018) 0:00:02.256 ****** ok: [sut] META: ran handlers TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tests_auto_gateway.yml:9 Tuesday 27 February 2024 22:35:20 +0000 (0:00:00.508) 0:00:02.764 ****** included: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 27 February 2024 22:35:20 +0000 (0:00:00.026) 0:00:02.791 ****** included: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 27 February 2024 22:35:20 +0000 (0:00:00.013) 0:00:02.804 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003848", "end": "2024-02-27 22:35:21.015193", "rc": 0, "start": "2024-02-27 22:35:21.011345" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 27 February 2024 22:35:21 +0000 (0:00:00.196) 0:00:03.001 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 27 February 2024 22:35:21 +0000 (0:00:00.012) 0:00:03.014 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tests_auto_gateway.yml:11 Tuesday 27 February 2024 22:35:21 +0000 (0:00:00.013) 0:00:03.027 ****** included: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 27 February 2024 22:35:21 +0000 (0:00:00.030) 0:00:03.057 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 27 February 2024 22:35:21 +0000 (0:00:00.017) 0:00:03.075 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 27 February 2024 22:35:21 +0000 (0:00:00.010) 0:00:03.086 ****** included: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 27 February 2024 22:35:21 +0000 (0:00:00.020) 0:00:03.107 ****** included: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 27 February 2024 22:35:21 +0000 (0:00:00.015) 0:00:03.122 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003981", "end": "2024-02-27 22:35:21.342228", "rc": 0, "start": "2024-02-27 22:35:21.338247" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 27 February 2024 22:35:21 +0000 (0:00:00.204) 0:00:03.326 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 27 February 2024 22:35:21 +0000 (0:00:00.012) 0:00:03.339 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 27 February 2024 22:35:21 +0000 (0:00:00.012) 0:00:03.351 ****** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tasks/manage_test_interface.yml:28 Tuesday 27 February 2024 22:35:24 +0000 (0:00:03.220) 0:00:06.572 ****** 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.013900", "end": "2024-02-27 22:35:24.796973", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-02-27 22:35:24.783073" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004699", "end": "2024-02-27 22:35:25.044597", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-02-27 22:35:25.039898" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.005372", "end": "2024-02-27 22:35:25.237949", "item": "ip link set veth0 up", "rc": 0, "start": "2024-02-27 22:35:25.232577" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tasks/manage_test_interface.yml:37 Tuesday 27 February 2024 22:35:25 +0000 (0:00:00.653) 0:00:07.225 ****** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.148279", "end": "2024-02-27 22:35:25.587497", "rc": 0, "start": "2024-02-27 22:35:25.439218" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tasks/manage_test_interface.yml:45 Tuesday 27 February 2024 22:35:25 +0000 (0:00:00.349) 0:00:07.574 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tasks/manage_test_interface.yml:52 Tuesday 27 February 2024 22:35:25 +0000 (0:00:00.012) 0:00:07.587 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tasks/manage_test_interface.yml:58 Tuesday 27 February 2024 22:35:25 +0000 (0:00:00.013) 0:00:07.600 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tasks/manage_test_interface.yml:65 Tuesday 27 February 2024 22:35:25 +0000 (0:00:00.013) 0:00:07.614 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tasks/manage_test_interface.yml:71 Tuesday 27 February 2024 22:35:25 +0000 (0:00:00.012) 0:00:07.626 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tests_auto_gateway.yml:15 Tuesday 27 February 2024 22:35:25 +0000 (0:00:00.011) 0:00:07.638 ****** included: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 27 February 2024 22:35:25 +0000 (0:00:00.029) 0:00:07.667 ****** included: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 27 February 2024 22:35:25 +0000 (0:00:00.014) 0:00:07.682 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1709073324.794935, "block_size": 4096, "blocks": 0, "ctime": 1709073324.794935, "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": 1709073324.794935, "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_hotfixaw4w083t/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 27 February 2024 22:35:25 +0000 (0:00:00.198) 0:00:07.880 ****** 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_hotfixaw4w083t/tests/playbooks/tests_auto_gateway.yml:17 Tuesday 27 February 2024 22:35:25 +0000 (0:00:00.016) 0:00:07.896 ****** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 27 February 2024 22:35:25 +0000 (0:00:00.015) 0:00:07.911 ****** included: /WORKDIR/git-nm_plugin_hotfixaw4w083t/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_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 27 February 2024 22:35:25 +0000 (0:00:00.019) 0:00:07.931 ****** 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_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 27 February 2024 22:35:25 +0000 (0:00:00.015) 0:00:07.947 ****** 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_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 27 February 2024 22:35:25 +0000 (0:00:00.011) 0:00:07.958 ****** 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_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 27 February 2024 22:35:26 +0000 (0:00:00.011) 0:00:07.970 ****** 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_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 27 February 2024 22:35:27 +0000 (0:00:01.667) 0:00:09.638 ****** 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_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 27 February 2024 22:35:29 +0000 (0:00:01.538) 0:00:11.176 ****** 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_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 27 February 2024 22:35:29 +0000 (0:00:00.023) 0:00:11.199 ****** 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_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 27 February 2024 22:35:29 +0000 (0:00:00.023) 0:00:11.223 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/main.yml:28 Tuesday 27 February 2024 22:35:29 +0000 (0:00:00.024) 0:00:11.247 ****** changed: [sut] => { "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" ] } MSG: Check mode: No changes made, but would have if not in check mode TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/main.yml:39 Tuesday 27 February 2024 22:35:37 +0000 (0:00:08.329) 0:00:19.577 ****** 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_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/main.yml:49 Tuesday 27 February 2024 22:35:37 +0000 (0:00:00.028) 0:00:19.605 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/main.yml:66 Tuesday 27 February 2024 22:35:37 +0000 (0:00:00.058) 0:00:19.664 ****** 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_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/main.yml:79 Tuesday 27 February 2024 22:35:42 +0000 (0:00:04.557) 0:00:24.221 ****** 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_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/main.yml:94 Tuesday 27 February 2024 22:35:42 +0000 (0:00:00.024) 0:00:24.246 ****** 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_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/main.yml:111 Tuesday 27 February 2024 22:35:42 +0000 (0:00:00.026) 0:00:24.272 ****** 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_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 27 February 2024 22:35:42 +0000 (0:00:00.052) 0:00:24.325 ****** 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_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/main.yml:136 Tuesday 27 February 2024 22:35:42 +0000 (0:00:00.033) 0:00:24.358 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/main.yml:145 Tuesday 27 February 2024 22:35:42 +0000 (0:00:00.031) 0:00:24.390 ****** 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_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/main.yml:153 Tuesday 27 February 2024 22:35:43 +0000 (0:00:00.895) 0:00:25.286 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2430xi7xutkp/tmpe7k3rkoh" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/main.yml:162 Tuesday 27 February 2024 22:35:43 +0000 (0:00:00.334) 0:00:25.620 ****** 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_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/main.yml:174 Tuesday 27 February 2024 22:35:50 +0000 (0:00:06.679) 0:00:32.299 ****** 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_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/main.yml:180 Tuesday 27 February 2024 22:35:50 +0000 (0:00:00.023) 0:00:32.322 ****** 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_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/main.yml:184 Tuesday 27 February 2024 22:35:50 +0000 (0:00:00.027) 0:00:32.350 ****** 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_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/main.yml:189 Tuesday 27 February 2024 22:35:50 +0000 (0:00:00.024) 0:00:32.375 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/main.yml:195 Tuesday 27 February 2024 22:35:50 +0000 (0:00:00.051) 0:00:32.426 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tests_auto_gateway.yml:42 Tuesday 27 February 2024 22:35:50 +0000 (0:00:00.255) 0:00:32.682 ****** included: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 27 February 2024 22:35:50 +0000 (0:00:00.051) 0:00:32.733 ****** included: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 27 February 2024 22:35:50 +0000 (0:00:00.036) 0:00:32.769 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1709073324.794935, "block_size": 4096, "blocks": 0, "ctime": 1709073324.794935, "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": 1709073324.794935, "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_hotfixaw4w083t/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 27 February 2024 22:35:51 +0000 (0:00:00.211) 0:00:32.981 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tests_auto_gateway.yml:44 Tuesday 27 February 2024 22:35:51 +0000 (0:00:00.030) 0:00:33.011 ****** included: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 27 February 2024 22:35:51 +0000 (0:00:00.064) 0:00:33.075 ****** included: /WORKDIR/git-nm_plugin_hotfixaw4w083t/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_hotfixaw4w083t/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 27 February 2024 22:35:51 +0000 (0:00:00.041) 0:00:33.116 ****** 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_hotfixaw4w083t/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 27 February 2024 22:35:51 +0000 (0:00:00.023) 0:00:33.140 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1709073344.0740957, "block_size": 4096, "blocks": 8, "ctime": 1709073344.0510967, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5976919, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1709073344.0510967, "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_hotfixaw4w083t/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 27 February 2024 22:35:51 +0000 (0:00:00.220) 0:00:33.360 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 27 February 2024 22:35:51 +0000 (0:00:00.030) 0:00:33.391 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.022363", "end": "2024-02-27 22:35:51.627156", "rc": 1, "start": "2024-02-27 22:35:51.604793" } 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_hotfixaw4w083t/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 27 February 2024 22:35:51 +0000 (0:00:00.232) 0:00:33.624 ****** 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_hotfixaw4w083t/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 27 February 2024 22:35:51 +0000 (0:00:00.023) 0:00:33.647 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003812", "end": "2024-02-27 22:35:51.862073", "rc": 0, "start": "2024-02-27 22:35:51.858261" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 27 February 2024 22:35:51 +0000 (0:00:00.218) 0:00:33.865 ****** 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_hotfixaw4w083t/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 27 February 2024 22:35:51 +0000 (0:00:00.030) 0:00:33.896 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003678", "end": "2024-02-27 22:35:52.110705", "rc": 0, "start": "2024-02-27 22:35:52.107027" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 27 February 2024 22:35:52 +0000 (0:00:00.236) 0:00:34.133 ****** 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_hotfixaw4w083t/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 27 February 2024 22:35:52 +0000 (0:00:00.061) 0:00:34.194 ****** 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_hotfixaw4w083t/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 27 February 2024 22:35:52 +0000 (0:00:00.031) 0:00:34.225 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 27 February 2024 22:35:52 +0000 (0:00:00.034) 0:00:34.260 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tests_auto_gateway.yml:48 Tuesday 27 February 2024 22:35:52 +0000 (0:00:00.028) 0:00:34.288 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.004385", "end": "2024-02-27 22:35:52.526738", "rc": 0, "start": "2024-02-27 22:35:52.522353" } STDOUT: default via 10.31.8.1 dev eth0 proto dhcp src 10.31.9.53 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.9.53 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_hotfixaw4w083t/tests/playbooks/tests_auto_gateway.yml:52 Tuesday 27 February 2024 22:35:52 +0000 (0:00:00.238) 0:00:34.526 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tests_auto_gateway.yml:58 Tuesday 27 February 2024 22:35:52 +0000 (0:00:00.025) 0:00:34.551 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.004312", "end": "2024-02-27 22:35:52.761601", "rc": 0, "start": "2024-02-27 22:35:52.757289" } 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_hotfixaw4w083t/tests/playbooks/tests_auto_gateway.yml:62 Tuesday 27 February 2024 22:35:52 +0000 (0:00:00.253) 0:00:34.805 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tests_auto_gateway.yml:69 Tuesday 27 February 2024 22:35:52 +0000 (0:00:00.024) 0:00:34.830 ****** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 27 February 2024 22:35:52 +0000 (0:00:00.025) 0:00:34.855 ****** included: /WORKDIR/git-nm_plugin_hotfixaw4w083t/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_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 27 February 2024 22:35:52 +0000 (0:00:00.042) 0:00:34.897 ****** 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_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 27 February 2024 22:35:52 +0000 (0:00:00.029) 0:00:34.927 ****** 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_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 27 February 2024 22:35:52 +0000 (0:00:00.023) 0:00:34.950 ****** 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_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 27 February 2024 22:35:53 +0000 (0:00:00.024) 0:00:34.974 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 27 February 2024 22:35:54 +0000 (0:00:01.692) 0:00:36.667 ****** 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_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 27 February 2024 22:35:56 +0000 (0:00:01.382) 0:00:38.049 ****** 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_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 27 February 2024 22:35:56 +0000 (0:00:00.024) 0:00:38.074 ****** 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_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 27 February 2024 22:35:56 +0000 (0:00:00.025) 0:00:38.099 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/main.yml:28 Tuesday 27 February 2024 22:35:56 +0000 (0:00:00.027) 0:00:38.127 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/main.yml:39 Tuesday 27 February 2024 22:36:04 +0000 (0:00:08.682) 0:00:46.810 ****** 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_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/main.yml:49 Tuesday 27 February 2024 22:36:04 +0000 (0:00:00.059) 0:00:46.869 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/main.yml:66 Tuesday 27 February 2024 22:36:04 +0000 (0:00:00.029) 0:00:46.899 ****** 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_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/main.yml:79 Tuesday 27 February 2024 22:36:04 +0000 (0:00:00.048) 0:00:46.948 ****** 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_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/main.yml:94 Tuesday 27 February 2024 22:36:05 +0000 (0:00:00.040) 0:00:46.989 ****** 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_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/main.yml:111 Tuesday 27 February 2024 22:36:05 +0000 (0:00:00.046) 0:00:47.035 ****** 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_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 27 February 2024 22:36:05 +0000 (0:00:00.033) 0:00:47.068 ****** 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_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/main.yml:136 Tuesday 27 February 2024 22:36:05 +0000 (0:00:00.043) 0:00:47.112 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/main.yml:145 Tuesday 27 February 2024 22:36:05 +0000 (0:00:00.027) 0:00:47.139 ****** 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_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/main.yml:153 Tuesday 27 February 2024 22:36:05 +0000 (0:00:00.365) 0:00:47.505 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2430xi7xutkp/tmp40h9e1ou" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/main.yml:162 Tuesday 27 February 2024 22:36:05 +0000 (0:00:00.319) 0:00:47.824 ****** 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_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/main.yml:174 Tuesday 27 February 2024 22:36:06 +0000 (0:00:00.466) 0:00:48.291 ****** 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_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/main.yml:180 Tuesday 27 February 2024 22:36:06 +0000 (0:00:00.023) 0:00:48.315 ****** 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_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/main.yml:184 Tuesday 27 February 2024 22:36:06 +0000 (0:00:00.068) 0:00:48.384 ****** 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_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/main.yml:189 Tuesday 27 February 2024 22:36:06 +0000 (0:00:00.030) 0:00:48.415 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/main.yml:195 Tuesday 27 February 2024 22:36:06 +0000 (0:00:00.039) 0:00:48.454 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tests_auto_gateway.yml:81 Tuesday 27 February 2024 22:36:06 +0000 (0:00:00.216) 0:00:48.670 ****** included: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 27 February 2024 22:36:06 +0000 (0:00:00.054) 0:00:48.725 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 27 February 2024 22:36:06 +0000 (0:00:00.024) 0:00:48.750 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 27 February 2024 22:36:06 +0000 (0:00:00.023) 0:00:48.774 ****** included: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 27 February 2024 22:36:06 +0000 (0:00:00.038) 0:00:48.812 ****** included: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 27 February 2024 22:36:06 +0000 (0:00:00.038) 0:00:48.851 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003885", "end": "2024-02-27 22:36:07.089772", "rc": 0, "start": "2024-02-27 22:36:07.085887" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 27 February 2024 22:36:07 +0000 (0:00:00.247) 0:00:49.098 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 27 February 2024 22:36:07 +0000 (0:00:00.024) 0:00:49.122 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 27 February 2024 22:36:07 +0000 (0:00:00.025) 0:00:49.148 ****** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tasks/manage_test_interface.yml:28 Tuesday 27 February 2024 22:36:09 +0000 (0:00:02.723) 0:00:51.871 ****** 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_hotfixaw4w083t/tests/playbooks/tasks/manage_test_interface.yml:37 Tuesday 27 February 2024 22:36:09 +0000 (0:00:00.037) 0:00:51.908 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tasks/manage_test_interface.yml:45 Tuesday 27 February 2024 22:36:09 +0000 (0:00:00.035) 0:00:51.944 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.014673", "end": "2024-02-27 22:36:10.169268", "rc": 0, "start": "2024-02-27 22:36:10.154595" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tasks/manage_test_interface.yml:52 Tuesday 27 February 2024 22:36:10 +0000 (0:00:00.225) 0:00:52.169 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tasks/manage_test_interface.yml:58 Tuesday 27 February 2024 22:36:10 +0000 (0:00:00.024) 0:00:52.194 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tasks/manage_test_interface.yml:65 Tuesday 27 February 2024 22:36:10 +0000 (0:00:00.023) 0:00:52.218 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tasks/manage_test_interface.yml:71 Tuesday 27 February 2024 22:36:10 +0000 (0:00:00.062) 0:00:52.280 ****** 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_hotfixaw4w083t/tests/playbooks/tests_auto_gateway.yml:85 Tuesday 27 February 2024 22:36:10 +0000 (0:00:00.024) 0:00:52.304 ****** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tests_auto_gateway.yml:89 Tuesday 27 February 2024 22:36:10 +0000 (0:00:00.024) 0:00:52.329 ****** included: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 27 February 2024 22:36:10 +0000 (0:00:00.058) 0:00:52.388 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 27 February 2024 22:36:10 +0000 (0:00:00.022) 0:00:52.411 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 27 February 2024 22:36:10 +0000 (0:00:00.021) 0:00:52.433 ****** included: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 27 February 2024 22:36:10 +0000 (0:00:00.037) 0:00:52.470 ****** included: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 27 February 2024 22:36:10 +0000 (0:00:00.035) 0:00:52.506 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003890", "end": "2024-02-27 22:36:10.719506", "rc": 0, "start": "2024-02-27 22:36:10.715616" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 27 February 2024 22:36:10 +0000 (0:00:00.211) 0:00:52.717 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 27 February 2024 22:36:10 +0000 (0:00:00.030) 0:00:52.748 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 27 February 2024 22:36:10 +0000 (0:00:00.022) 0:00:52.770 ****** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tasks/manage_test_interface.yml:28 Tuesday 27 February 2024 22:36:13 +0000 (0:00:02.671) 0:00:55.441 ****** 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.012734", "end": "2024-02-27 22:36:13.677368", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-02-27 22:36:13.664634" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004745", "end": "2024-02-27 22:36:13.937462", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-02-27 22:36:13.932717" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004828", "end": "2024-02-27 22:36:14.130169", "item": "ip link set veth0 up", "rc": 0, "start": "2024-02-27 22:36:14.125341" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tasks/manage_test_interface.yml:37 Tuesday 27 February 2024 22:36:14 +0000 (0:00:00.686) 0:00:56.128 ****** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.024496", "end": "2024-02-27 22:36:14.363361", "rc": 0, "start": "2024-02-27 22:36:14.338865" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tasks/manage_test_interface.yml:45 Tuesday 27 February 2024 22:36:14 +0000 (0:00:00.238) 0:00:56.366 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tasks/manage_test_interface.yml:52 Tuesday 27 February 2024 22:36:14 +0000 (0:00:00.035) 0:00:56.401 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tasks/manage_test_interface.yml:58 Tuesday 27 February 2024 22:36:14 +0000 (0:00:00.026) 0:00:56.428 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tasks/manage_test_interface.yml:65 Tuesday 27 February 2024 22:36:14 +0000 (0:00:00.026) 0:00:56.455 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tasks/manage_test_interface.yml:71 Tuesday 27 February 2024 22:36:14 +0000 (0:00:00.026) 0:00:56.482 ****** 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_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 27 February 2024 22:36:14 +0000 (0:00:00.067) 0:00:56.549 ****** included: /WORKDIR/git-nm_plugin_hotfixaw4w083t/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_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 27 February 2024 22:36:14 +0000 (0:00:00.042) 0:00:56.592 ****** 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_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 27 February 2024 22:36:14 +0000 (0:00:00.029) 0:00:56.622 ****** 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_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 27 February 2024 22:36:14 +0000 (0:00:00.024) 0:00:56.647 ****** 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_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 27 February 2024 22:36:14 +0000 (0:00:00.048) 0:00:56.695 ****** 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_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 27 February 2024 22:36:16 +0000 (0:00:01.685) 0:00:58.381 ****** 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_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 27 February 2024 22:36:17 +0000 (0:00:01.376) 0:00:59.757 ****** 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_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 27 February 2024 22:36:17 +0000 (0:00:00.037) 0:00:59.795 ****** 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_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 27 February 2024 22:36:17 +0000 (0:00:00.036) 0:00:59.831 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/main.yml:28 Tuesday 27 February 2024 22:36:17 +0000 (0:00:00.033) 0:00:59.864 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/main.yml:39 Tuesday 27 February 2024 22:36:24 +0000 (0:00:06.460) 0:01:06.325 ****** 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_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/main.yml:49 Tuesday 27 February 2024 22:36:24 +0000 (0:00:00.074) 0:01:06.400 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/main.yml:66 Tuesday 27 February 2024 22:36:24 +0000 (0:00:00.043) 0:01:06.443 ****** 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_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/main.yml:79 Tuesday 27 February 2024 22:36:24 +0000 (0:00:00.068) 0:01:06.511 ****** 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_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/main.yml:94 Tuesday 27 February 2024 22:36:24 +0000 (0:00:00.025) 0:01:06.537 ****** 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_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/main.yml:111 Tuesday 27 February 2024 22:36:24 +0000 (0:00:00.045) 0:01:06.582 ****** 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_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 27 February 2024 22:36:24 +0000 (0:00:00.033) 0:01:06.615 ****** 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_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/main.yml:136 Tuesday 27 February 2024 22:36:24 +0000 (0:00:00.026) 0:01:06.641 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/main.yml:145 Tuesday 27 February 2024 22:36:24 +0000 (0:00:00.023) 0:01:06.664 ****** 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_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/main.yml:153 Tuesday 27 February 2024 22:36:25 +0000 (0:00:00.368) 0:01:07.033 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2430xi7xutkp/tmp0z0hpmhy" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/main.yml:162 Tuesday 27 February 2024 22:36:25 +0000 (0:00:00.338) 0:01:07.371 ****** 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_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/main.yml:174 Tuesday 27 February 2024 22:36:31 +0000 (0:00:06.579) 0:01:13.951 ****** 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_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/main.yml:180 Tuesday 27 February 2024 22:36:32 +0000 (0:00:00.023) 0:01:13.975 ****** 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_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/main.yml:184 Tuesday 27 February 2024 22:36:32 +0000 (0:00:00.024) 0:01:13.999 ****** 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_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/main.yml:189 Tuesday 27 February 2024 22:36:32 +0000 (0:00:00.024) 0:01:14.024 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/main.yml:195 Tuesday 27 February 2024 22:36:32 +0000 (0:00:00.022) 0:01:14.047 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tests_auto_gateway.yml:110 Tuesday 27 February 2024 22:36:32 +0000 (0:00:00.206) 0:01:14.253 ****** included: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 27 February 2024 22:36:32 +0000 (0:00:00.093) 0:01:14.347 ****** included: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 27 February 2024 22:36:32 +0000 (0:00:00.036) 0:01:14.383 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1709073373.6689978, "block_size": 4096, "blocks": 0, "ctime": 1709073373.6689978, "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": 1709073373.6689978, "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_hotfixaw4w083t/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 27 February 2024 22:36:32 +0000 (0:00:00.207) 0:01:14.591 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tests_auto_gateway.yml:112 Tuesday 27 February 2024 22:36:32 +0000 (0:00:00.029) 0:01:14.621 ****** included: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 27 February 2024 22:36:32 +0000 (0:00:00.059) 0:01:14.681 ****** included: /WORKDIR/git-nm_plugin_hotfixaw4w083t/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_hotfixaw4w083t/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 27 February 2024 22:36:32 +0000 (0:00:00.047) 0:01:14.728 ****** 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_hotfixaw4w083t/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 27 February 2024 22:36:32 +0000 (0:00:00.046) 0:01:14.774 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1709073385.7394772, "block_size": 4096, "blocks": 8, "ctime": 1709073385.7164779, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5976919, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1709073385.7164779, "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_hotfixaw4w083t/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 27 February 2024 22:36:33 +0000 (0:00:00.213) 0:01:14.988 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 27 February 2024 22:36:33 +0000 (0:00:00.025) 0:01:15.014 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.022876", "end": "2024-02-27 22:36:33.254193", "rc": 1, "start": "2024-02-27 22:36:33.231317" } 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_hotfixaw4w083t/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 27 February 2024 22:36:33 +0000 (0:00:00.325) 0:01:15.339 ****** 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_hotfixaw4w083t/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 27 February 2024 22:36:33 +0000 (0:00:00.047) 0:01:15.386 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003759", "end": "2024-02-27 22:36:33.612339", "rc": 0, "start": "2024-02-27 22:36:33.608580" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 27 February 2024 22:36:33 +0000 (0:00:00.225) 0:01:15.611 ****** 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_hotfixaw4w083t/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 27 February 2024 22:36:33 +0000 (0:00:00.030) 0:01:15.642 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003670", "end": "2024-02-27 22:36:33.859650", "rc": 0, "start": "2024-02-27 22:36:33.855980" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 27 February 2024 22:36:33 +0000 (0:00:00.215) 0:01:15.857 ****** 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_hotfixaw4w083t/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 27 February 2024 22:36:33 +0000 (0:00:00.030) 0:01:15.888 ****** 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_hotfixaw4w083t/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 27 February 2024 22:36:33 +0000 (0:00:00.027) 0:01:15.916 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 27 February 2024 22:36:33 +0000 (0:00:00.027) 0:01:15.944 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tests_auto_gateway.yml:116 Tuesday 27 February 2024 22:36:34 +0000 (0:00:00.058) 0:01:16.003 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.004436", "end": "2024-02-27 22:36:34.221283", "rc": 0, "start": "2024-02-27 22:36:34.216847" } STDOUT: default via 10.31.8.1 dev eth0 proto dhcp src 10.31.9.53 metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.9.53 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_hotfixaw4w083t/tests/playbooks/tests_auto_gateway.yml:120 Tuesday 27 February 2024 22:36:34 +0000 (0:00:00.228) 0:01:16.232 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tests_auto_gateway.yml:126 Tuesday 27 February 2024 22:36:34 +0000 (0:00:00.027) 0:01:16.259 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.004544", "end": "2024-02-27 22:36:34.470615", "rc": 0, "start": "2024-02-27 22:36:34.466071" } 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_hotfixaw4w083t/tests/playbooks/tests_auto_gateway.yml:130 Tuesday 27 February 2024 22:36:34 +0000 (0:00:00.207) 0:01:16.467 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tests_auto_gateway.yml:137 Tuesday 27 February 2024 22:36:34 +0000 (0:00:00.025) 0:01:16.493 ****** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 27 February 2024 22:36:34 +0000 (0:00:00.044) 0:01:16.538 ****** included: /WORKDIR/git-nm_plugin_hotfixaw4w083t/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_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 27 February 2024 22:36:34 +0000 (0:00:00.149) 0:01:16.687 ****** 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_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 27 February 2024 22:36:34 +0000 (0:00:00.040) 0:01:16.728 ****** 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_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 27 February 2024 22:36:34 +0000 (0:00:00.026) 0:01:16.755 ****** 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_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 27 February 2024 22:36:34 +0000 (0:00:00.025) 0:01:16.780 ****** 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_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 27 February 2024 22:36:36 +0000 (0:00:01.735) 0:01:18.516 ****** 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_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 27 February 2024 22:36:37 +0000 (0:00:01.357) 0:01:19.873 ****** 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_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 27 February 2024 22:36:37 +0000 (0:00:00.024) 0:01:19.898 ****** 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_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 27 February 2024 22:36:38 +0000 (0:00:00.094) 0:01:19.992 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/main.yml:28 Tuesday 27 February 2024 22:36:38 +0000 (0:00:00.025) 0:01:20.018 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/main.yml:39 Tuesday 27 February 2024 22:36:46 +0000 (0:00:08.698) 0:01:28.717 ****** 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_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/main.yml:49 Tuesday 27 February 2024 22:36:46 +0000 (0:00:00.037) 0:01:28.754 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/main.yml:66 Tuesday 27 February 2024 22:36:46 +0000 (0:00:00.033) 0:01:28.788 ****** 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_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/main.yml:79 Tuesday 27 February 2024 22:36:46 +0000 (0:00:00.053) 0:01:28.841 ****** 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_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/main.yml:94 Tuesday 27 February 2024 22:36:46 +0000 (0:00:00.026) 0:01:28.868 ****** 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_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/main.yml:111 Tuesday 27 February 2024 22:36:46 +0000 (0:00:00.040) 0:01:28.909 ****** 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_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 27 February 2024 22:36:46 +0000 (0:00:00.028) 0:01:28.937 ****** 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_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/main.yml:136 Tuesday 27 February 2024 22:36:46 +0000 (0:00:00.024) 0:01:28.961 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/main.yml:145 Tuesday 27 February 2024 22:36:47 +0000 (0:00:00.113) 0:01:29.074 ****** 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_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/main.yml:153 Tuesday 27 February 2024 22:36:47 +0000 (0:00:00.384) 0:01:29.459 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2430xi7xutkp/tmpljbh2_t6" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/main.yml:162 Tuesday 27 February 2024 22:36:47 +0000 (0:00:00.352) 0:01:29.812 ****** 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_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/main.yml:174 Tuesday 27 February 2024 22:36:48 +0000 (0:00:00.469) 0:01:30.281 ****** 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_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/main.yml:180 Tuesday 27 February 2024 22:36:48 +0000 (0:00:00.023) 0:01:30.305 ****** 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_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/main.yml:184 Tuesday 27 February 2024 22:36:48 +0000 (0:00:00.026) 0:01:30.331 ****** 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_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/main.yml:189 Tuesday 27 February 2024 22:36:48 +0000 (0:00:00.026) 0:01:30.357 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/main.yml:195 Tuesday 27 February 2024 22:36:48 +0000 (0:00:00.025) 0:01:30.383 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tests_auto_gateway.yml:149 Tuesday 27 February 2024 22:36:48 +0000 (0:00:00.207) 0:01:30.590 ****** included: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 27 February 2024 22:36:48 +0000 (0:00:00.059) 0:01:30.650 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 27 February 2024 22:36:48 +0000 (0:00:00.022) 0:01:30.673 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 27 February 2024 22:36:48 +0000 (0:00:00.094) 0:01:30.767 ****** included: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 27 February 2024 22:36:48 +0000 (0:00:00.049) 0:01:30.817 ****** included: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 27 February 2024 22:36:48 +0000 (0:00:00.050) 0:01:30.868 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003992", "end": "2024-02-27 22:36:49.081209", "rc": 0, "start": "2024-02-27 22:36:49.077217" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 27 February 2024 22:36:49 +0000 (0:00:00.210) 0:01:31.078 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 27 February 2024 22:36:49 +0000 (0:00:00.024) 0:01:31.103 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 27 February 2024 22:36:49 +0000 (0:00:00.023) 0:01:31.127 ****** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tasks/manage_test_interface.yml:28 Tuesday 27 February 2024 22:36:51 +0000 (0:00:02.675) 0:01:33.803 ****** 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_hotfixaw4w083t/tests/playbooks/tasks/manage_test_interface.yml:37 Tuesday 27 February 2024 22:36:51 +0000 (0:00:00.036) 0:01:33.839 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tasks/manage_test_interface.yml:45 Tuesday 27 February 2024 22:36:51 +0000 (0:00:00.103) 0:01:33.943 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.010678", "end": "2024-02-27 22:36:52.191880", "rc": 0, "start": "2024-02-27 22:36:52.181202" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tasks/manage_test_interface.yml:52 Tuesday 27 February 2024 22:36:52 +0000 (0:00:00.266) 0:01:34.210 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tasks/manage_test_interface.yml:58 Tuesday 27 February 2024 22:36:52 +0000 (0:00:00.032) 0:01:34.242 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tasks/manage_test_interface.yml:65 Tuesday 27 February 2024 22:36:52 +0000 (0:00:00.028) 0:01:34.270 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tasks/manage_test_interface.yml:71 Tuesday 27 February 2024 22:36:52 +0000 (0:00:00.028) 0:01:34.299 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify network state restored to default] ******************************** task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tests_auto_gateway.yml:153 Tuesday 27 February 2024 22:36:52 +0000 (0:00:00.027) 0:01:34.326 ****** included: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tasks/check_network_dns.yml:6 Tuesday 27 February 2024 22:36:52 +0000 (0:00:00.065) 0:01:34.392 ****** 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.010580", "end": "2024-02-27 22:36:52.621919", "rc": 0, "start": "2024-02-27 22:36:52.611339" } 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:b5:bc:6d:96:41 brd ff:ff:ff:ff:ff:ff inet 10.31.9.53/22 brd 10.31.11.255 scope global dynamic noprefixroute eth0 valid_lft 2790sec preferred_lft 2790sec inet6 fe80::10b5:bcff:fe6d:9641/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.8.1 dev eth0 proto dhcp src 10.31.9.53 metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.9.53 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_hotfixaw4w083t/tests/playbooks/tasks/check_network_dns.yml:24 Tuesday 27 February 2024 22:36:52 +0000 (0:00:00.229) 0:01:34.621 ****** 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.269841", "end": "2024-02-27 22:36:53.127756", "rc": 0, "start": "2024-02-27 22:36:52.857915" } STDOUT: CHECK DNS AND CONNECTIVITY 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 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.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 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: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 12200 0 --:--:-- --:--:-- --:--:-- 12200 % 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 2309 0 --:--:-- --:--:-- --:--:-- 2328 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=145 changed=7 unreachable=0 failed=0 skipped=97 rescued=0 ignored=2 Tuesday 27 February 2024 22:36:53 +0000 (0:00:00.490) 0:01:35.111 ****** =============================================================================== linux-system-roles.network : Check if updates for network packages are available through the DNF package manager -- 17.38s /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/main.yml:28 linux-system-roles.network : Check if updates for network packages are available through the DNF package manager --- 8.33s /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/main.yml:28 linux-system-roles.network : Configure networking connection profiles --- 6.68s /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/main.yml:162 linux-system-roles.network : Configure networking connection profiles --- 6.58s /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/main.yml:162 linux-system-roles.network : Check if updates for network packages are available through the DNF package manager --- 6.46s /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/main.yml:28 linux-system-roles.network : Install packages --------------------------- 4.56s /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/main.yml:66 Install iproute --------------------------------------------------------- 3.22s /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.72s /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.68s /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.67s /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Check which services are running ----------- 1.74s /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.69s /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.69s /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.67s /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.54s /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.38s /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.38s /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.36s /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Configure networking connection profiles --- 0.94s /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/main.yml:162 linux-system-roles.network : Enable network service --------------------- 0.90s /WORKDIR/git-nm_plugin_hotfixaw4w083t/tests/roles/linux-system-roles.network/tasks/main.yml:145 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---