# 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_hotfix_jagk25i/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_hotfix_jagk25i/tests/tests_auto_gateway_initscripts.yml:5 Thursday 22 February 2024 03:00:29 +0000 (0:00:00.023) 0:00:00.023 ***** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/tests_auto_gateway_initscripts.yml:8 Thursday 22 February 2024 03:00:30 +0000 (0:00:00.676) 0:00:00.700 ***** included: /WORKDIR/git-nm_plugin_hotfix_jagk25i/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_hotfix_jagk25i/tests/tasks/el_repo_setup.yml:3 Thursday 22 February 2024 03:00:30 +0000 (0:00:00.010) 0:00:00.711 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/tasks/el_repo_setup.yml:19 Thursday 22 February 2024 03:00:30 +0000 (0:00:00.322) 0:00:01.033 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/tasks/el_repo_setup.yml:24 Thursday 22 February 2024 03:00:30 +0000 (0:00:00.256) 0:00:01.289 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/tasks/el_repo_setup.yml:28 Thursday 22 February 2024 03:00:30 +0000 (0:00:00.018) 0:00:01.308 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/tasks/el_repo_setup.yml:53 Thursday 22 February 2024 03:00:30 +0000 (0:00:00.016) 0:00:01.325 ***** included: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/tasks/enable_epel.yml:8 Thursday 22 February 2024 03:00:30 +0000 (0:00:00.030) 0:00:01.355 ***** 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_hotfix_jagk25i/tests/tasks/enable_epel.yml:24 Thursday 22 February 2024 03:00:31 +0000 (0:00:00.337) 0:00:01.692 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/tasks/enable_epel.yml:30 Thursday 22 February 2024 03:00:31 +0000 (0:00:00.010) 0:00:01.703 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/tasks/enable_epel.yml:35 Thursday 22 February 2024 03:00:31 +0000 (0:00:00.011) 0:00:01.714 ***** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.237831", "end": "2024-02-22 03:00:31.455030", "rc": 0, "start": "2024-02-22 03:00:31.217199" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/tasks/enable_epel.yml:40 Thursday 22 February 2024 03:00:31 +0000 (0:00:00.430) 0:00:02.145 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/tests_auto_gateway_initscripts.yml:10 Thursday 22 February 2024 03:00:31 +0000 (0:00:00.009) 0:00:02.154 ***** 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_hotfix_jagk25i/tests/playbooks/tests_auto_gateway.yml:3 Thursday 22 February 2024 03:00:31 +0000 (0:00:00.010) 0:00:02.165 ***** ok: [sut] META: ran handlers TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tests_auto_gateway.yml:9 Thursday 22 February 2024 03:00:31 +0000 (0:00:00.455) 0:00:02.620 ***** included: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 22 February 2024 03:00:31 +0000 (0:00:00.024) 0:00:02.644 ***** included: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 22 February 2024 03:00:31 +0000 (0:00:00.013) 0:00:02.658 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002914", "end": "2024-02-22 03:00:32.150427", "rc": 0, "start": "2024-02-22 03:00:32.147513" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 22 February 2024 03:00:32 +0000 (0:00:00.179) 0:00:02.838 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 22 February 2024 03:00:32 +0000 (0:00:00.011) 0:00:02.850 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tests_auto_gateway.yml:11 Thursday 22 February 2024 03:00:32 +0000 (0:00:00.010) 0:00:02.860 ***** included: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 22 February 2024 03:00:32 +0000 (0:00:00.029) 0:00:02.890 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 22 February 2024 03:00:32 +0000 (0:00:00.009) 0:00:02.899 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 22 February 2024 03:00:32 +0000 (0:00:00.009) 0:00:02.909 ***** included: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 22 February 2024 03:00:32 +0000 (0:00:00.013) 0:00:02.922 ***** included: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 22 February 2024 03:00:32 +0000 (0:00:00.011) 0:00:02.934 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002936", "end": "2024-02-22 03:00:32.427138", "rc": 0, "start": "2024-02-22 03:00:32.424202" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 22 February 2024 03:00:32 +0000 (0:00:00.181) 0:00:03.115 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 22 February 2024 03:00:32 +0000 (0:00:00.010) 0:00:03.126 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 22 February 2024 03:00:32 +0000 (0:00:00.010) 0:00:03.137 ***** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/manage_test_interface.yml:28 Thursday 22 February 2024 03:00:35 +0000 (0:00:02.813) 0:00:05.950 ***** 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.012202", "end": "2024-02-22 03:00:35.457992", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-02-22 03:00:35.445790" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003348", "end": "2024-02-22 03:00:35.681412", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-02-22 03:00:35.678064" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.003818", "end": "2024-02-22 03:00:35.867918", "item": "ip link set veth0 up", "rc": 0, "start": "2024-02-22 03:00:35.864100" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/manage_test_interface.yml:37 Thursday 22 February 2024 03:00:35 +0000 (0:00:00.608) 0:00:06.559 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.113279", "end": "2024-02-22 03:00:36.163853", "rc": 0, "start": "2024-02-22 03:00:36.050574" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/manage_test_interface.yml:45 Thursday 22 February 2024 03:00:36 +0000 (0:00:00.296) 0:00:06.855 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/manage_test_interface.yml:52 Thursday 22 February 2024 03:00:36 +0000 (0:00:00.011) 0:00:06.866 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/manage_test_interface.yml:58 Thursday 22 February 2024 03:00:36 +0000 (0:00:00.011) 0:00:06.878 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/manage_test_interface.yml:65 Thursday 22 February 2024 03:00:36 +0000 (0:00:00.010) 0:00:06.888 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/manage_test_interface.yml:71 Thursday 22 February 2024 03:00:36 +0000 (0:00:00.010) 0:00:06.898 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tests_auto_gateway.yml:15 Thursday 22 February 2024 03:00:36 +0000 (0:00:00.009) 0:00:06.908 ***** included: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 22 February 2024 03:00:36 +0000 (0:00:00.027) 0:00:06.936 ***** included: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 22 February 2024 03:00:36 +0000 (0:00:00.015) 0:00:06.951 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1708570835.456285, "block_size": 4096, "blocks": 0, "ctime": 1708570835.456285, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21638, "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": 1708570835.456285, "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_hotfix_jagk25i/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 22 February 2024 03:00:36 +0000 (0:00:00.182) 0:00:07.134 ***** 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_hotfix_jagk25i/tests/playbooks/tests_auto_gateway.yml:17 Thursday 22 February 2024 03:00:36 +0000 (0:00:00.017) 0:00:07.151 ***** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 22 February 2024 03:00:36 +0000 (0:00:00.012) 0:00:07.164 ***** included: /WORKDIR/git-nm_plugin_hotfix_jagk25i/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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 22 February 2024 03:00:36 +0000 (0:00:00.020) 0:00:07.185 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 22 February 2024 03:00:36 +0000 (0:00:00.012) 0:00:07.197 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 22 February 2024 03:00:36 +0000 (0:00:00.011) 0:00:07.209 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 22 February 2024 03:00:36 +0000 (0:00:00.015) 0:00:07.224 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 22 February 2024 03:00:37 +0000 (0:00:01.433) 0:00:08.657 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 22 February 2024 03:00:39 +0000 (0:00:01.459) 0:00:10.117 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 22 February 2024 03:00:39 +0000 (0:00:00.023) 0:00:10.140 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 22 February 2024 03:00:39 +0000 (0:00:00.021) 0:00:10.161 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 22 February 2024 03:00:39 +0000 (0:00:00.022) 0:00:10.184 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:39 Thursday 22 February 2024 03:00:45 +0000 (0:00:06.130) 0:00:16.315 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:49 Thursday 22 February 2024 03:00:45 +0000 (0:00:00.023) 0:00:16.338 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:66 Thursday 22 February 2024 03:00:45 +0000 (0:00:00.024) 0:00:16.363 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:79 Thursday 22 February 2024 03:00:50 +0000 (0:00:04.390) 0:00:20.753 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:94 Thursday 22 February 2024 03:00:50 +0000 (0:00:00.022) 0:00:20.775 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:111 Thursday 22 February 2024 03:00:50 +0000 (0:00:00.021) 0:00:20.797 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:125 Thursday 22 February 2024 03:00:50 +0000 (0:00:00.025) 0:00:20.822 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:136 Thursday 22 February 2024 03:00:50 +0000 (0:00:00.021) 0:00:20.844 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:145 Thursday 22 February 2024 03:00:50 +0000 (0:00:00.040) 0:00:20.884 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:153 Thursday 22 February 2024 03:00:50 +0000 (0:00:00.775) 0:00:21.660 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-22892vlki7h3/tmpcwkh6dcw" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:162 Thursday 22 February 2024 03:00:51 +0000 (0:00:00.324) 0:00:21.985 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:174 Thursday 22 February 2024 03:00:57 +0000 (0:00:06.634) 0:00:28.619 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:180 Thursday 22 February 2024 03:00:57 +0000 (0:00:00.022) 0:00:28.641 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:184 Thursday 22 February 2024 03:00:57 +0000 (0:00:00.024) 0:00:28.665 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:189 Thursday 22 February 2024 03:00:58 +0000 (0:00:00.050) 0:00:28.716 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:195 Thursday 22 February 2024 03:00:58 +0000 (0:00:00.044) 0:00:28.761 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tests_auto_gateway.yml:42 Thursday 22 February 2024 03:00:58 +0000 (0:00:00.294) 0:00:29.055 ***** included: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 22 February 2024 03:00:58 +0000 (0:00:00.051) 0:00:29.107 ***** included: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 22 February 2024 03:00:58 +0000 (0:00:00.036) 0:00:29.143 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1708570835.456285, "block_size": 4096, "blocks": 0, "ctime": 1708570835.456285, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21638, "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": 1708570835.456285, "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_hotfix_jagk25i/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 22 February 2024 03:00:58 +0000 (0:00:00.207) 0:00:29.350 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tests_auto_gateway.yml:44 Thursday 22 February 2024 03:00:58 +0000 (0:00:00.026) 0:00:29.377 ***** included: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 22 February 2024 03:00:58 +0000 (0:00:00.065) 0:00:29.443 ***** included: /WORKDIR/git-nm_plugin_hotfix_jagk25i/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_hotfix_jagk25i/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 22 February 2024 03:00:58 +0000 (0:00:00.060) 0:00:29.503 ***** 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_hotfix_jagk25i/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 22 February 2024 03:00:58 +0000 (0:00:00.064) 0:00:29.568 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1708570851.6994293, "block_size": 4096, "blocks": 8, "ctime": 1708570851.6794293, "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": 1708570851.6794293, "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_hotfix_jagk25i/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 22 February 2024 03:00:59 +0000 (0:00:00.222) 0:00:29.790 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 22 February 2024 03:00:59 +0000 (0:00:00.024) 0:00:29.814 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.020840", "end": "2024-02-22 03:00:59.345998", "rc": 1, "start": "2024-02-22 03:00:59.325158" } 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_hotfix_jagk25i/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 22 February 2024 03:00:59 +0000 (0:00:00.230) 0:00:30.045 ***** 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_hotfix_jagk25i/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 22 February 2024 03:00:59 +0000 (0:00:00.023) 0:00:30.069 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.002688", "end": "2024-02-22 03:00:59.564807", "rc": 0, "start": "2024-02-22 03:00:59.562119" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 22 February 2024 03:00:59 +0000 (0:00:00.196) 0:00:30.266 ***** 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_hotfix_jagk25i/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 22 February 2024 03:00:59 +0000 (0:00:00.027) 0:00:30.293 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.002929", "end": "2024-02-22 03:00:59.790327", "rc": 0, "start": "2024-02-22 03:00:59.787398" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 22 February 2024 03:00:59 +0000 (0:00:00.197) 0:00:30.491 ***** 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_hotfix_jagk25i/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 22 February 2024 03:00:59 +0000 (0:00:00.026) 0:00:30.517 ***** 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_hotfix_jagk25i/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 22 February 2024 03:00:59 +0000 (0:00:00.024) 0:00:30.542 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 22 February 2024 03:00:59 +0000 (0:00:00.023) 0:00:30.566 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tests_auto_gateway.yml:48 Thursday 22 February 2024 03:00:59 +0000 (0:00:00.023) 0:00:30.589 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003766", "end": "2024-02-22 03:01:00.084928", "rc": 0, "start": "2024-02-22 03:01:00.081162" } STDOUT: default via 10.31.8.1 dev eth0 proto dhcp src 10.31.9.108 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.108 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_hotfix_jagk25i/tests/playbooks/tests_auto_gateway.yml:52 Thursday 22 February 2024 03:01:00 +0000 (0:00:00.196) 0:00:30.785 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tests_auto_gateway.yml:58 Thursday 22 February 2024 03:01:00 +0000 (0:00:00.054) 0:00:30.839 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003516", "end": "2024-02-22 03:01:00.335211", "rc": 0, "start": "2024-02-22 03:01:00.331695" } 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_hotfix_jagk25i/tests/playbooks/tests_auto_gateway.yml:62 Thursday 22 February 2024 03:01:00 +0000 (0:00:00.198) 0:00:31.038 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tests_auto_gateway.yml:69 Thursday 22 February 2024 03:01:00 +0000 (0:00:00.028) 0:00:31.066 ***** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 22 February 2024 03:01:00 +0000 (0:00:00.022) 0:00:31.089 ***** included: /WORKDIR/git-nm_plugin_hotfix_jagk25i/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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 22 February 2024 03:01:00 +0000 (0:00:00.039) 0:00:31.129 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 22 February 2024 03:01:00 +0000 (0:00:00.027) 0:00:31.156 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 22 February 2024 03:01:00 +0000 (0:00:00.022) 0:00:31.179 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 22 February 2024 03:01:00 +0000 (0:00:00.020) 0:00:31.199 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 22 February 2024 03:01:02 +0000 (0:00:01.550) 0:00:32.749 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 22 February 2024 03:01:03 +0000 (0:00:01.334) 0:00:34.083 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 22 February 2024 03:01:03 +0000 (0:00:00.023) 0:00:34.107 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 22 February 2024 03:01:03 +0000 (0:00:00.022) 0:00:34.129 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 22 February 2024 03:01:03 +0000 (0:00:00.022) 0:00:34.152 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:39 Thursday 22 February 2024 03:01:12 +0000 (0:00:08.570) 0:00:42.722 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:49 Thursday 22 February 2024 03:01:12 +0000 (0:00:00.023) 0:00:42.746 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:66 Thursday 22 February 2024 03:01:12 +0000 (0:00:00.028) 0:00:42.775 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:79 Thursday 22 February 2024 03:01:12 +0000 (0:00:00.043) 0:00:42.818 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:94 Thursday 22 February 2024 03:01:12 +0000 (0:00:00.020) 0:00:42.839 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:111 Thursday 22 February 2024 03:01:12 +0000 (0:00:00.021) 0:00:42.861 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:125 Thursday 22 February 2024 03:01:12 +0000 (0:00:00.025) 0:00:42.886 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:136 Thursday 22 February 2024 03:01:12 +0000 (0:00:00.020) 0:00:42.907 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:145 Thursday 22 February 2024 03:01:12 +0000 (0:00:00.020) 0:00:42.928 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:153 Thursday 22 February 2024 03:01:12 +0000 (0:00:00.336) 0:00:43.264 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-22892vlki7h3/tmpdqzzvr79" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:162 Thursday 22 February 2024 03:01:12 +0000 (0:00:00.289) 0:00:43.554 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:174 Thursday 22 February 2024 03:01:13 +0000 (0:00:00.428) 0:00:43.982 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:180 Thursday 22 February 2024 03:01:13 +0000 (0:00:00.021) 0:00:44.004 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:184 Thursday 22 February 2024 03:01:13 +0000 (0:00:00.050) 0:00:44.055 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:189 Thursday 22 February 2024 03:01:13 +0000 (0:00:00.024) 0:00:44.079 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:195 Thursday 22 February 2024 03:01:13 +0000 (0:00:00.022) 0:00:44.102 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tests_auto_gateway.yml:81 Thursday 22 February 2024 03:01:13 +0000 (0:00:00.188) 0:00:44.290 ***** included: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 22 February 2024 03:01:13 +0000 (0:00:00.052) 0:00:44.342 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 22 February 2024 03:01:13 +0000 (0:00:00.022) 0:00:44.365 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 22 February 2024 03:01:13 +0000 (0:00:00.031) 0:00:44.397 ***** included: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 22 February 2024 03:01:13 +0000 (0:00:00.044) 0:00:44.441 ***** included: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 22 February 2024 03:01:13 +0000 (0:00:00.046) 0:00:44.488 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002845", "end": "2024-02-22 03:01:13.985231", "rc": 0, "start": "2024-02-22 03:01:13.982386" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 22 February 2024 03:01:14 +0000 (0:00:00.197) 0:00:44.685 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 22 February 2024 03:01:14 +0000 (0:00:00.022) 0:00:44.708 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 22 February 2024 03:01:14 +0000 (0:00:00.059) 0:00:44.768 ***** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/manage_test_interface.yml:28 Thursday 22 February 2024 03:01:16 +0000 (0:00:02.665) 0:00:47.434 ***** 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_hotfix_jagk25i/tests/playbooks/tasks/manage_test_interface.yml:37 Thursday 22 February 2024 03:01:16 +0000 (0:00:00.032) 0:00:47.466 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/manage_test_interface.yml:45 Thursday 22 February 2024 03:01:16 +0000 (0:00:00.022) 0:00:47.489 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.011212", "end": "2024-02-22 03:01:16.995190", "rc": 0, "start": "2024-02-22 03:01:16.983978" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/manage_test_interface.yml:52 Thursday 22 February 2024 03:01:17 +0000 (0:00:00.212) 0:00:47.701 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/manage_test_interface.yml:58 Thursday 22 February 2024 03:01:17 +0000 (0:00:00.024) 0:00:47.726 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/manage_test_interface.yml:65 Thursday 22 February 2024 03:01:17 +0000 (0:00:00.035) 0:00:47.762 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/manage_test_interface.yml:71 Thursday 22 February 2024 03:01:17 +0000 (0:00:00.028) 0:00:47.790 ***** 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_hotfix_jagk25i/tests/playbooks/tests_auto_gateway.yml:85 Thursday 22 February 2024 03:01:17 +0000 (0:00:00.076) 0:00:47.867 ***** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tests_auto_gateway.yml:89 Thursday 22 February 2024 03:01:17 +0000 (0:00:00.023) 0:00:47.890 ***** included: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 22 February 2024 03:01:17 +0000 (0:00:00.057) 0:00:47.947 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 22 February 2024 03:01:17 +0000 (0:00:00.023) 0:00:47.971 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 22 February 2024 03:01:17 +0000 (0:00:00.021) 0:00:47.993 ***** included: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 22 February 2024 03:01:17 +0000 (0:00:00.035) 0:00:48.028 ***** included: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 22 February 2024 03:01:17 +0000 (0:00:00.035) 0:00:48.064 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002827", "end": "2024-02-22 03:01:17.558260", "rc": 0, "start": "2024-02-22 03:01:17.555433" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 22 February 2024 03:01:17 +0000 (0:00:00.195) 0:00:48.259 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 22 February 2024 03:01:17 +0000 (0:00:00.025) 0:00:48.284 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 22 February 2024 03:01:17 +0000 (0:00:00.048) 0:00:48.333 ***** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/manage_test_interface.yml:28 Thursday 22 February 2024 03:01:20 +0000 (0:00:02.516) 0:00:50.849 ***** 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.011152", "end": "2024-02-22 03:01:20.451403", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-02-22 03:01:20.440251" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003347", "end": "2024-02-22 03:01:20.664999", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-02-22 03:01:20.661652" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.003680", "end": "2024-02-22 03:01:20.857872", "item": "ip link set veth0 up", "rc": 0, "start": "2024-02-22 03:01:20.854192" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/manage_test_interface.yml:37 Thursday 22 February 2024 03:01:20 +0000 (0:00:00.712) 0:00:51.562 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.023057", "end": "2024-02-22 03:01:21.078216", "rc": 0, "start": "2024-02-22 03:01:21.055159" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/manage_test_interface.yml:45 Thursday 22 February 2024 03:01:21 +0000 (0:00:00.221) 0:00:51.784 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/manage_test_interface.yml:52 Thursday 22 February 2024 03:01:21 +0000 (0:00:00.024) 0:00:51.809 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/manage_test_interface.yml:58 Thursday 22 February 2024 03:01:21 +0000 (0:00:00.025) 0:00:51.834 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/manage_test_interface.yml:65 Thursday 22 February 2024 03:01:21 +0000 (0:00:00.031) 0:00:51.866 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/manage_test_interface.yml:71 Thursday 22 February 2024 03:01:21 +0000 (0:00:00.033) 0:00:51.899 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 22 February 2024 03:01:21 +0000 (0:00:00.076) 0:00:51.976 ***** included: /WORKDIR/git-nm_plugin_hotfix_jagk25i/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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 22 February 2024 03:01:21 +0000 (0:00:00.041) 0:00:52.018 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 22 February 2024 03:01:21 +0000 (0:00:00.046) 0:00:52.064 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 22 February 2024 03:01:21 +0000 (0:00:00.024) 0:00:52.089 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 22 February 2024 03:01:21 +0000 (0:00:00.026) 0:00:52.115 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 22 February 2024 03:01:22 +0000 (0:00:01.464) 0:00:53.579 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 22 February 2024 03:01:24 +0000 (0:00:01.326) 0:00:54.905 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 22 February 2024 03:01:24 +0000 (0:00:00.024) 0:00:54.930 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 22 February 2024 03:01:24 +0000 (0:00:00.025) 0:00:54.955 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 22 February 2024 03:01:24 +0000 (0:00:00.030) 0:00:54.986 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:39 Thursday 22 February 2024 03:01:30 +0000 (0:00:06.196) 0:01:01.183 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:49 Thursday 22 February 2024 03:01:30 +0000 (0:00:00.022) 0:01:01.205 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:66 Thursday 22 February 2024 03:01:30 +0000 (0:00:00.026) 0:01:01.231 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:79 Thursday 22 February 2024 03:01:30 +0000 (0:00:00.045) 0:01:01.276 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:94 Thursday 22 February 2024 03:01:30 +0000 (0:00:00.059) 0:01:01.335 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:111 Thursday 22 February 2024 03:01:30 +0000 (0:00:00.027) 0:01:01.363 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:125 Thursday 22 February 2024 03:01:30 +0000 (0:00:00.026) 0:01:01.389 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:136 Thursday 22 February 2024 03:01:30 +0000 (0:00:00.022) 0:01:01.411 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:145 Thursday 22 February 2024 03:01:30 +0000 (0:00:00.021) 0:01:01.433 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:153 Thursday 22 February 2024 03:01:31 +0000 (0:00:00.336) 0:01:01.769 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-22892vlki7h3/tmp6o5ewp2e" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:162 Thursday 22 February 2024 03:01:31 +0000 (0:00:00.289) 0:01:02.059 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:174 Thursday 22 February 2024 03:01:37 +0000 (0:00:06.531) 0:01:08.591 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:180 Thursday 22 February 2024 03:01:37 +0000 (0:00:00.022) 0:01:08.613 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:184 Thursday 22 February 2024 03:01:37 +0000 (0:00:00.023) 0:01:08.637 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:189 Thursday 22 February 2024 03:01:37 +0000 (0:00:00.024) 0:01:08.661 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:195 Thursday 22 February 2024 03:01:38 +0000 (0:00:00.020) 0:01:08.682 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tests_auto_gateway.yml:110 Thursday 22 February 2024 03:01:38 +0000 (0:00:00.187) 0:01:08.869 ***** included: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 22 February 2024 03:01:38 +0000 (0:00:00.055) 0:01:08.925 ***** included: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 22 February 2024 03:01:38 +0000 (0:00:00.037) 0:01:08.962 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1708570880.4435182, "block_size": 4096, "blocks": 0, "ctime": 1708570880.4435182, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 22224, "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": 1708570880.4435182, "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_hotfix_jagk25i/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 22 February 2024 03:01:38 +0000 (0:00:00.193) 0:01:09.155 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tests_auto_gateway.yml:112 Thursday 22 February 2024 03:01:38 +0000 (0:00:00.029) 0:01:09.184 ***** included: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 22 February 2024 03:01:38 +0000 (0:00:00.055) 0:01:09.240 ***** included: /WORKDIR/git-nm_plugin_hotfix_jagk25i/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_hotfix_jagk25i/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 22 February 2024 03:01:38 +0000 (0:00:00.088) 0:01:09.328 ***** 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_hotfix_jagk25i/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 22 February 2024 03:01:38 +0000 (0:00:00.026) 0:01:09.354 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1708570891.6625917, "block_size": 4096, "blocks": 8, "ctime": 1708570891.6425915, "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": 1708570891.6425915, "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_hotfix_jagk25i/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 22 February 2024 03:01:38 +0000 (0:00:00.198) 0:01:09.553 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 22 February 2024 03:01:38 +0000 (0:00:00.034) 0:01:09.587 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.020680", "end": "2024-02-22 03:01:39.102871", "rc": 1, "start": "2024-02-22 03:01:39.082191" } 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_hotfix_jagk25i/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 22 February 2024 03:01:39 +0000 (0:00:00.233) 0:01:09.820 ***** 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_hotfix_jagk25i/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 22 February 2024 03:01:39 +0000 (0:00:00.041) 0:01:09.861 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.002651", "end": "2024-02-22 03:01:39.369442", "rc": 0, "start": "2024-02-22 03:01:39.366791" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 22 February 2024 03:01:39 +0000 (0:00:00.212) 0:01:10.073 ***** 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_hotfix_jagk25i/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 22 February 2024 03:01:39 +0000 (0:00:00.028) 0:01:10.101 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.002836", "end": "2024-02-22 03:01:39.599026", "rc": 0, "start": "2024-02-22 03:01:39.596190" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 22 February 2024 03:01:39 +0000 (0:00:00.200) 0:01:10.302 ***** 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_hotfix_jagk25i/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 22 February 2024 03:01:39 +0000 (0:00:00.030) 0:01:10.332 ***** 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_hotfix_jagk25i/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 22 February 2024 03:01:39 +0000 (0:00:00.027) 0:01:10.360 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 22 February 2024 03:01:39 +0000 (0:00:00.026) 0:01:10.387 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tests_auto_gateway.yml:116 Thursday 22 February 2024 03:01:39 +0000 (0:00:00.025) 0:01:10.413 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003431", "end": "2024-02-22 03:01:39.908936", "rc": 0, "start": "2024-02-22 03:01:39.905505" } STDOUT: default via 10.31.8.1 dev eth0 proto dhcp src 10.31.9.108 metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.9.108 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_hotfix_jagk25i/tests/playbooks/tests_auto_gateway.yml:120 Thursday 22 February 2024 03:01:40 +0000 (0:00:00.270) 0:01:10.683 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tests_auto_gateway.yml:126 Thursday 22 February 2024 03:01:40 +0000 (0:00:00.025) 0:01:10.708 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003544", "end": "2024-02-22 03:01:40.228681", "rc": 0, "start": "2024-02-22 03:01:40.225137" } 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_hotfix_jagk25i/tests/playbooks/tests_auto_gateway.yml:130 Thursday 22 February 2024 03:01:40 +0000 (0:00:00.257) 0:01:10.966 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tests_auto_gateway.yml:137 Thursday 22 February 2024 03:01:40 +0000 (0:00:00.041) 0:01:11.008 ***** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 22 February 2024 03:01:40 +0000 (0:00:00.026) 0:01:11.034 ***** included: /WORKDIR/git-nm_plugin_hotfix_jagk25i/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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 22 February 2024 03:01:40 +0000 (0:00:00.052) 0:01:11.087 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 22 February 2024 03:01:40 +0000 (0:00:00.056) 0:01:11.143 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 22 February 2024 03:01:40 +0000 (0:00:00.039) 0:01:11.183 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 22 February 2024 03:01:40 +0000 (0:00:00.024) 0:01:11.208 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 22 February 2024 03:01:42 +0000 (0:00:01.525) 0:01:12.733 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 22 February 2024 03:01:43 +0000 (0:00:01.288) 0:01:14.022 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 22 February 2024 03:01:43 +0000 (0:00:00.036) 0:01:14.059 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 22 February 2024 03:01:43 +0000 (0:00:00.035) 0:01:14.094 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 22 February 2024 03:01:43 +0000 (0:00:00.034) 0:01:14.128 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:39 Thursday 22 February 2024 03:01:51 +0000 (0:00:08.141) 0:01:22.270 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:49 Thursday 22 February 2024 03:01:51 +0000 (0:00:00.086) 0:01:22.357 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:66 Thursday 22 February 2024 03:01:51 +0000 (0:00:00.038) 0:01:22.395 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:79 Thursday 22 February 2024 03:01:51 +0000 (0:00:00.049) 0:01:22.444 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:94 Thursday 22 February 2024 03:01:51 +0000 (0:00:00.031) 0:01:22.476 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:111 Thursday 22 February 2024 03:01:51 +0000 (0:00:00.032) 0:01:22.509 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:125 Thursday 22 February 2024 03:01:51 +0000 (0:00:00.037) 0:01:22.546 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:136 Thursday 22 February 2024 03:01:51 +0000 (0:00:00.030) 0:01:22.577 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:145 Thursday 22 February 2024 03:01:51 +0000 (0:00:00.025) 0:01:22.602 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:153 Thursday 22 February 2024 03:01:52 +0000 (0:00:00.361) 0:01:22.963 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-22892vlki7h3/tmp3nm_b60r" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:162 Thursday 22 February 2024 03:01:52 +0000 (0:00:00.307) 0:01:23.271 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:174 Thursday 22 February 2024 03:01:53 +0000 (0:00:00.417) 0:01:23.688 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:180 Thursday 22 February 2024 03:01:53 +0000 (0:00:00.023) 0:01:23.712 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:184 Thursday 22 February 2024 03:01:53 +0000 (0:00:00.024) 0:01:23.736 ***** 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_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:189 Thursday 22 February 2024 03:01:53 +0000 (0:00:00.023) 0:01:23.760 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:195 Thursday 22 February 2024 03:01:53 +0000 (0:00:00.085) 0:01:23.845 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tests_auto_gateway.yml:149 Thursday 22 February 2024 03:01:53 +0000 (0:00:00.194) 0:01:24.040 ***** included: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 22 February 2024 03:01:53 +0000 (0:00:00.059) 0:01:24.100 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 22 February 2024 03:01:53 +0000 (0:00:00.037) 0:01:24.137 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 22 February 2024 03:01:53 +0000 (0:00:00.022) 0:01:24.160 ***** included: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 22 February 2024 03:01:53 +0000 (0:00:00.042) 0:01:24.203 ***** included: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 22 February 2024 03:01:53 +0000 (0:00:00.036) 0:01:24.240 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002842", "end": "2024-02-22 03:01:53.736460", "rc": 0, "start": "2024-02-22 03:01:53.733618" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 22 February 2024 03:01:53 +0000 (0:00:00.196) 0:01:24.436 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 22 February 2024 03:01:53 +0000 (0:00:00.023) 0:01:24.460 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 22 February 2024 03:01:53 +0000 (0:00:00.022) 0:01:24.482 ***** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/manage_test_interface.yml:28 Thursday 22 February 2024 03:01:56 +0000 (0:00:02.671) 0:01:27.153 ***** 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_hotfix_jagk25i/tests/playbooks/tasks/manage_test_interface.yml:37 Thursday 22 February 2024 03:01:56 +0000 (0:00:00.032) 0:01:27.186 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/manage_test_interface.yml:45 Thursday 22 February 2024 03:01:56 +0000 (0:00:00.024) 0:01:27.211 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.009497", "end": "2024-02-22 03:01:56.714031", "rc": 0, "start": "2024-02-22 03:01:56.704534" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/manage_test_interface.yml:52 Thursday 22 February 2024 03:01:56 +0000 (0:00:00.211) 0:01:27.422 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/manage_test_interface.yml:58 Thursday 22 February 2024 03:01:56 +0000 (0:00:00.025) 0:01:27.447 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/manage_test_interface.yml:65 Thursday 22 February 2024 03:01:56 +0000 (0:00:00.022) 0:01:27.470 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/manage_test_interface.yml:71 Thursday 22 February 2024 03:01:56 +0000 (0:00:00.023) 0:01:27.493 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify network state restored to default] ******************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tests_auto_gateway.yml:153 Thursday 22 February 2024 03:01:56 +0000 (0:00:00.056) 0:01:27.549 ***** included: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/check_network_dns.yml:6 Thursday 22 February 2024 03:01:56 +0000 (0:00:00.057) 0:01:27.607 ***** 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.009209", "end": "2024-02-22 03:01:57.113666", "rc": 0, "start": "2024-02-22 03:01:57.104457" } 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:74:55:33:50:8d brd ff:ff:ff:ff:ff:ff inet 10.31.9.108/22 brd 10.31.11.255 scope global dynamic noprefixroute eth0 valid_lft 2813sec preferred_lft 2813sec inet6 fe80::1074:55ff:fe33:508d/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.108 metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.9.108 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_hotfix_jagk25i/tests/playbooks/tasks/check_network_dns.yml:24 Thursday 22 February 2024 03:01:57 +0000 (0:00:00.208) 0:01:27.816 ***** 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.277047", "end": "2024-02-22 03:01:57.589960", "rc": 0, "start": "2024-02-22 03:01:57.312913" } STDOUT: CHECK DNS AND CONNECTIVITY 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 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 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 3177 0 --:--:-- --:--:-- --:--:-- 3177 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 291 100 291 0 0 6191 0 --:--:-- --:--:-- --:--:-- 6191 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=145 changed=7 unreachable=0 failed=0 skipped=97 rescued=0 ignored=2 Thursday 22 February 2024 03:01:57 +0000 (0:00:00.462) 0:01:28.278 ***** =============================================================================== linux-system-roles.network : Check if updates for network packages are available through the DNF package manager -- 16.71s /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:28 linux-system-roles.network : Configure networking connection profiles --- 6.63s /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:162 linux-system-roles.network : Configure networking connection profiles --- 6.53s /WORKDIR/git-nm_plugin_hotfix_jagk25i/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.20s /WORKDIR/git-nm_plugin_hotfix_jagk25i/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 --- 6.13s /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:28 linux-system-roles.network : Install packages --------------------------- 4.39s /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:66 Install iproute --------------------------------------------------------- 2.81s /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.67s /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.67s /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.52s /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Check which services are running ----------- 1.55s /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.53s /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.46s /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.46s /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which services are running ----------- 1.43s /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.33s /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.33s /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.29s /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Configure networking connection profiles --- 0.85s /WORKDIR/git-nm_plugin_hotfix_jagk25i/tests/roles/linux-system-roles.network/tasks/main.yml:162 linux-system-roles.network : Enable network service --------------------- 0.78s /WORKDIR/git-nm_plugin_hotfix_jagk25i/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. ---^---^---^---^---^---