# 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-weekly-ciyhmr6ljt/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-weekly-ciyhmr6ljt/tests/tests_auto_gateway_initscripts.yml:4 Saturday 09 December 2023 13:42:51 +0000 (0:00:00.017) 0:00:00.017 ***** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/tests_auto_gateway_initscripts.yml:8 Saturday 09 December 2023 13:42:52 +0000 (0:00:00.713) 0:00:00.731 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/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-weekly-ciyhmr6ljt/tests/tasks/el_repo_setup.yml:3 Saturday 09 December 2023 13:42:52 +0000 (0:00:00.021) 0:00:00.752 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/tasks/el_repo_setup.yml:19 Saturday 09 December 2023 13:42:52 +0000 (0:00:00.387) 0:00:01.140 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/tasks/el_repo_setup.yml:24 Saturday 09 December 2023 13:42:52 +0000 (0:00:00.271) 0:00:01.411 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/tasks/el_repo_setup.yml:28 Saturday 09 December 2023 13:42:52 +0000 (0:00:00.019) 0:00:01.431 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/tasks/el_repo_setup.yml:53 Saturday 09 December 2023 13:42:52 +0000 (0:00:00.016) 0:00:01.448 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/tasks/enable_epel.yml:8 Saturday 09 December 2023 13:42:52 +0000 (0:00:00.029) 0:00:01.477 ***** changed: [sut] => { "attempts": 1, "changed": true, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "delta": "0:00:00.560619", "end": "2023-12-09 13:42:53.760000", "rc": 0, "start": "2023-12-09 13:42:53.199381" } STDOUT: Retrieving https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm Verifying packages... Preparing packages... epel-release-8-19.el8.noarch Many EPEL packages require the CodeReady Builder (CRB) repository. It is recommended that you run /usr/bin/crb enable to enable the CRB repository. TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/tasks/enable_epel.yml:24 Saturday 09 December 2023 13:42:53 +0000 (0:00:00.816) 0:00:02.294 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/tasks/enable_epel.yml:30 Saturday 09 December 2023 13:42:53 +0000 (0:00:00.015) 0:00:02.309 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/tasks/enable_epel.yml:35 Saturday 09 December 2023 13:42:53 +0000 (0:00:00.018) 0:00:02.328 ***** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.382326", "end": "2023-12-09 13:42:54.375498", "rc": 0, "start": "2023-12-09 13:42:53.993172" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/tasks/enable_epel.yml:40 Saturday 09 December 2023 13:42:54 +0000 (0:00:00.589) 0:00:02.918 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/tests_auto_gateway_initscripts.yml:10 Saturday 09 December 2023 13:42:54 +0000 (0:00:00.034) 0:00:02.953 ***** 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-weekly-ciyhmr6ljt/tests/playbooks/tests_auto_gateway.yml:3 Saturday 09 December 2023 13:42:54 +0000 (0:00:00.014) 0:00:02.967 ***** ok: [sut] META: ran handlers TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tests_auto_gateway.yml:9 Saturday 09 December 2023 13:42:54 +0000 (0:00:00.496) 0:00:03.463 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 09 December 2023 13:42:54 +0000 (0:00:00.024) 0:00:03.487 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 09 December 2023 13:42:54 +0000 (0:00:00.014) 0:00:03.501 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003662", "end": "2023-12-09 13:42:55.159220", "rc": 0, "start": "2023-12-09 13:42:55.155558" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 09 December 2023 13:42:55 +0000 (0:00:00.208) 0:00:03.710 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 09 December 2023 13:42:55 +0000 (0:00:00.015) 0:00:03.726 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tests_auto_gateway.yml:11 Saturday 09 December 2023 13:42:55 +0000 (0:00:00.011) 0:00:03.738 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/manage_test_interface.yml:3 Saturday 09 December 2023 13:42:55 +0000 (0:00:00.030) 0:00:03.768 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/manage_test_interface.yml:8 Saturday 09 December 2023 13:42:55 +0000 (0:00:00.011) 0:00:03.780 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/manage_test_interface.yml:13 Saturday 09 December 2023 13:42:55 +0000 (0:00:00.011) 0:00:03.791 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 09 December 2023 13:42:55 +0000 (0:00:00.014) 0:00:03.805 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 09 December 2023 13:42:55 +0000 (0:00:00.031) 0:00:03.837 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003463", "end": "2023-12-09 13:42:55.493759", "rc": 0, "start": "2023-12-09 13:42:55.490296" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 09 December 2023 13:42:55 +0000 (0:00:00.187) 0:00:04.025 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 09 December 2023 13:42:55 +0000 (0:00:00.012) 0:00:04.037 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/manage_test_interface.yml:16 Saturday 09 December 2023 13:42:55 +0000 (0:00:00.014) 0:00:04.051 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: iproute TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/manage_test_interface.yml:24 Saturday 09 December 2023 13:43:03 +0000 (0:00:08.090) 0:00:12.142 ***** 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.051430", "end": "2023-12-09 13:43:03.852856", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2023-12-09 13:43:03.801426" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.008254", "end": "2023-12-09 13:43:04.115971", "item": "ip link set peerveth0 up", "rc": 0, "start": "2023-12-09 13:43:04.107717" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.007082", "end": "2023-12-09 13:43:04.303398", "item": "ip link set veth0 up", "rc": 0, "start": "2023-12-09 13:43:04.296316" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/manage_test_interface.yml:33 Saturday 09 December 2023 13:43:04 +0000 (0:00:00.713) 0:00:12.855 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.082918", "end": "2023-12-09 13:43:04.619947", "rc": 0, "start": "2023-12-09 13:43:04.537029" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/manage_test_interface.yml:41 Saturday 09 December 2023 13:43:04 +0000 (0:00:00.306) 0:00:13.162 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/manage_test_interface.yml:48 Saturday 09 December 2023 13:43:04 +0000 (0:00:00.015) 0:00:13.178 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/manage_test_interface.yml:54 Saturday 09 December 2023 13:43:04 +0000 (0:00:00.013) 0:00:13.192 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/manage_test_interface.yml:61 Saturday 09 December 2023 13:43:04 +0000 (0:00:00.028) 0:00:13.220 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/manage_test_interface.yml:67 Saturday 09 December 2023 13:43:04 +0000 (0:00:00.014) 0:00:13.234 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tests_auto_gateway.yml:15 Saturday 09 December 2023 13:43:04 +0000 (0:00:00.052) 0:00:13.287 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 09 December 2023 13:43:04 +0000 (0:00:00.089) 0:00:13.376 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 09 December 2023 13:43:04 +0000 (0:00:00.024) 0:00:13.400 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1702129383.8508065, "block_size": 4096, "blocks": 0, "ctime": 1702129383.8508065, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21979, "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": 1702129383.8508065, "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-weekly-ciyhmr6ljt/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 09 December 2023 13:43:05 +0000 (0:00:00.193) 0:00:13.594 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tests_auto_gateway.yml:17 Saturday 09 December 2023 13:43:05 +0000 (0:00:00.034) 0:00:13.628 ***** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 09 December 2023 13:43:05 +0000 (0:00:00.015) 0:00:13.644 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 09 December 2023 13:43:05 +0000 (0:00:00.071) 0:00:13.716 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 09 December 2023 13:43:05 +0000 (0:00:00.012) 0:00:13.728 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 09 December 2023 13:43:05 +0000 (0:00:00.013) 0:00:13.742 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 09 December 2023 13:43:05 +0000 (0:00:00.011) 0:00:13.753 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 09 December 2023 13:43:06 +0000 (0:00:01.648) 0:00:15.402 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 09 December 2023 13:43:08 +0000 (0:00:01.357) 0:00:16.759 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 09 December 2023 13:43:08 +0000 (0:00:00.040) 0:00:16.800 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 09 December 2023 13:43:08 +0000 (0:00:00.050) 0:00:16.850 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 09 December 2023 13:43:08 +0000 (0:00:00.024) 0:00:16.875 ***** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: network-scripts-team-1.31-4.el8.x86_64", "Installed: network-scripts-10.00.18-1.el8.x86_64" ] } lsrpackages: dhcp-client network-scripts TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 09 December 2023 13:43:11 +0000 (0:00:03.058) 0:00:19.933 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 09 December 2023 13:43:11 +0000 (0:00:00.023) 0:00:19.957 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 09 December 2023 13:43:11 +0000 (0:00:00.028) 0:00:19.985 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 09 December 2023 13:43:11 +0000 (0:00:00.027) 0:00:20.013 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 09 December 2023 13:43:11 +0000 (0:00:00.022) 0:00:20.036 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 09 December 2023 13:43:11 +0000 (0:00:00.026) 0:00:20.062 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 09 December 2023 13:43:12 +0000 (0:00:00.866) 0:00:20.929 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2422znlmr3f2/tmp7e_kjz5a" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 09 December 2023 13:43:12 +0000 (0:00:00.327) 0:00:21.256 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 09 December 2023 13:43:19 +0000 (0:00:06.680) 0:00:27.937 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 09 December 2023 13:43:19 +0000 (0:00:00.030) 0:00:27.967 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 09 December 2023 13:43:19 +0000 (0:00:00.077) 0:00:28.045 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 09 December 2023 13:43:19 +0000 (0:00:00.071) 0:00:28.116 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 09 December 2023 13:43:19 +0000 (0:00:00.044) 0:00:28.161 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tests_auto_gateway.yml:42 Saturday 09 December 2023 13:43:19 +0000 (0:00:00.315) 0:00:28.477 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 09 December 2023 13:43:20 +0000 (0:00:00.102) 0:00:28.579 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 09 December 2023 13:43:20 +0000 (0:00:00.087) 0:00:28.666 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1702129383.8508065, "block_size": 4096, "blocks": 0, "ctime": 1702129383.8508065, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21979, "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": 1702129383.8508065, "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-weekly-ciyhmr6ljt/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 09 December 2023 13:43:20 +0000 (0:00:00.198) 0:00:28.865 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tests_auto_gateway.yml:44 Saturday 09 December 2023 13:43:20 +0000 (0:00:00.025) 0:00:28.890 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 09 December 2023 13:43:20 +0000 (0:00:00.050) 0:00:28.941 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 09 December 2023 13:43:20 +0000 (0:00:00.041) 0:00:28.982 ***** 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-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 09 December 2023 13:43:20 +0000 (0:00:00.022) 0:00:29.004 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1702129393.1797457, "block_size": 4096, "blocks": 8, "ctime": 1702129393.1587465, "dev": 51715, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 16798130, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1702129393.1587465, "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-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 09 December 2023 13:43:20 +0000 (0:00:00.224) 0:00:29.229 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 09 December 2023 13:43:20 +0000 (0:00:00.025) 0:00:29.255 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.021728", "end": "2023-12-09 13:43:20.944298", "rc": 1, "start": "2023-12-09 13:43:20.922570" } 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-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 09 December 2023 13:43:20 +0000 (0:00:00.242) 0:00:29.497 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 09 December 2023 13:43:21 +0000 (0:00:00.036) 0:00:29.534 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003449", "end": "2023-12-09 13:43:21.212925", "rc": 0, "start": "2023-12-09 13:43:21.209476" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 09 December 2023 13:43:21 +0000 (0:00:00.230) 0:00:29.765 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 09 December 2023 13:43:21 +0000 (0:00:00.040) 0:00:29.805 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003516", "end": "2023-12-09 13:43:21.515275", "rc": 0, "start": "2023-12-09 13:43:21.511759" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 09 December 2023 13:43:21 +0000 (0:00:00.266) 0:00:30.071 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 09 December 2023 13:43:21 +0000 (0:00:00.051) 0:00:30.123 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 09 December 2023 13:43:21 +0000 (0:00:00.051) 0:00:30.174 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 09 December 2023 13:43:21 +0000 (0:00:00.028) 0:00:30.202 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tests_auto_gateway.yml:48 Saturday 09 December 2023 13:43:21 +0000 (0:00:00.024) 0:00:30.227 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003999", "end": "2023-12-09 13:43:21.896613", "rc": 0, "start": "2023-12-09 13:43:21.892614" } STDOUT: default via 10.31.40.1 dev eth0 proto dhcp src 10.31.41.185 metric 100 default via 203.0.113.1 dev veth0 metric 65535 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.41.185 metric 100 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-weekly-ciyhmr6ljt/tests/playbooks/tests_auto_gateway.yml:52 Saturday 09 December 2023 13:43:21 +0000 (0:00:00.219) 0:00:30.446 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tests_auto_gateway.yml:58 Saturday 09 December 2023 13:43:21 +0000 (0:00:00.031) 0:00:30.478 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.004134", "end": "2023-12-09 13:43:22.153352", "rc": 0, "start": "2023-12-09 13:43:22.149218" } 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-weekly-ciyhmr6ljt/tests/playbooks/tests_auto_gateway.yml:62 Saturday 09 December 2023 13:43:22 +0000 (0:00:00.217) 0:00:30.696 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tests_auto_gateway.yml:69 Saturday 09 December 2023 13:43:22 +0000 (0:00:00.071) 0:00:30.768 ***** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 09 December 2023 13:43:22 +0000 (0:00:00.027) 0:00:30.796 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 09 December 2023 13:43:22 +0000 (0:00:00.077) 0:00:30.873 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 09 December 2023 13:43:22 +0000 (0:00:00.044) 0:00:30.917 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 09 December 2023 13:43:22 +0000 (0:00:00.035) 0:00:30.952 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 09 December 2023 13:43:22 +0000 (0:00:00.038) 0:00:30.991 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 09 December 2023 13:43:24 +0000 (0:00:01.737) 0:00:32.729 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 09 December 2023 13:43:25 +0000 (0:00:01.340) 0:00:34.069 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 09 December 2023 13:43:25 +0000 (0:00:00.038) 0:00:34.108 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 09 December 2023 13:43:25 +0000 (0:00:00.033) 0:00:34.141 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 09 December 2023 13:43:25 +0000 (0:00:00.101) 0:00:34.243 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 09 December 2023 13:43:25 +0000 (0:00:00.084) 0:00:34.327 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 09 December 2023 13:43:25 +0000 (0:00:00.053) 0:00:34.380 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 09 December 2023 13:43:25 +0000 (0:00:00.038) 0:00:34.419 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 09 December 2023 13:43:25 +0000 (0:00:00.027) 0:00:34.447 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 09 December 2023 13:43:25 +0000 (0:00:00.025) 0:00:34.472 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 09 December 2023 13:43:25 +0000 (0:00:00.035) 0:00:34.508 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 09 December 2023 13:43:26 +0000 (0:00:00.437) 0:00:34.945 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2422znlmr3f2/tmpzt1ve68l" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 09 December 2023 13:43:26 +0000 (0:00:00.498) 0:00:35.444 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 09 December 2023 13:43:27 +0000 (0:00:00.719) 0:00:36.164 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 09 December 2023 13:43:27 +0000 (0:00:00.290) 0:00:36.455 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 09 December 2023 13:43:28 +0000 (0:00:00.060) 0:00:36.515 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 09 December 2023 13:43:28 +0000 (0:00:00.038) 0:00:36.554 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 09 December 2023 13:43:28 +0000 (0:00:00.070) 0:00:36.624 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tests_auto_gateway.yml:81 Saturday 09 December 2023 13:43:28 +0000 (0:00:00.287) 0:00:36.911 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/manage_test_interface.yml:3 Saturday 09 December 2023 13:43:28 +0000 (0:00:00.164) 0:00:37.076 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/manage_test_interface.yml:8 Saturday 09 December 2023 13:43:28 +0000 (0:00:00.101) 0:00:37.178 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/manage_test_interface.yml:13 Saturday 09 December 2023 13:43:28 +0000 (0:00:00.082) 0:00:37.261 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 09 December 2023 13:43:28 +0000 (0:00:00.136) 0:00:37.398 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 09 December 2023 13:43:28 +0000 (0:00:00.092) 0:00:37.490 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003347", "end": "2023-12-09 13:43:29.173025", "rc": 0, "start": "2023-12-09 13:43:29.169678" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 09 December 2023 13:43:29 +0000 (0:00:00.291) 0:00:37.782 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 09 December 2023 13:43:29 +0000 (0:00:00.070) 0:00:37.852 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/manage_test_interface.yml:16 Saturday 09 December 2023 13:43:29 +0000 (0:00:00.150) 0:00:38.002 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: iproute TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/manage_test_interface.yml:24 Saturday 09 December 2023 13:43:31 +0000 (0:00:01.902) 0:00:39.905 ***** 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-weekly-ciyhmr6ljt/tests/playbooks/tasks/manage_test_interface.yml:33 Saturday 09 December 2023 13:43:31 +0000 (0:00:00.054) 0:00:39.960 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/manage_test_interface.yml:41 Saturday 09 December 2023 13:43:31 +0000 (0:00:00.035) 0:00:39.995 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.012431", "end": "2023-12-09 13:43:31.683894", "rc": 0, "start": "2023-12-09 13:43:31.671463" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/manage_test_interface.yml:48 Saturday 09 December 2023 13:43:31 +0000 (0:00:00.248) 0:00:40.243 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/manage_test_interface.yml:54 Saturday 09 December 2023 13:43:31 +0000 (0:00:00.060) 0:00:40.304 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/manage_test_interface.yml:61 Saturday 09 December 2023 13:43:31 +0000 (0:00:00.061) 0:00:40.365 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/manage_test_interface.yml:67 Saturday 09 December 2023 13:43:31 +0000 (0:00:00.053) 0:00:40.419 ***** 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-weekly-ciyhmr6ljt/tests/playbooks/tests_auto_gateway.yml:85 Saturday 09 December 2023 13:43:31 +0000 (0:00:00.042) 0:00:40.461 ***** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tests_auto_gateway.yml:89 Saturday 09 December 2023 13:43:32 +0000 (0:00:00.067) 0:00:40.528 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/manage_test_interface.yml:3 Saturday 09 December 2023 13:43:32 +0000 (0:00:00.082) 0:00:40.611 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/manage_test_interface.yml:8 Saturday 09 December 2023 13:43:32 +0000 (0:00:00.055) 0:00:40.666 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/manage_test_interface.yml:13 Saturday 09 December 2023 13:43:32 +0000 (0:00:00.110) 0:00:40.777 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 09 December 2023 13:43:32 +0000 (0:00:00.116) 0:00:40.893 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 09 December 2023 13:43:32 +0000 (0:00:00.112) 0:00:41.006 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003828", "end": "2023-12-09 13:43:32.746130", "rc": 0, "start": "2023-12-09 13:43:32.742302" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 09 December 2023 13:43:32 +0000 (0:00:00.342) 0:00:41.348 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 09 December 2023 13:43:32 +0000 (0:00:00.037) 0:00:41.386 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/manage_test_interface.yml:16 Saturday 09 December 2023 13:43:32 +0000 (0:00:00.063) 0:00:41.449 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: iproute TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/manage_test_interface.yml:24 Saturday 09 December 2023 13:43:34 +0000 (0:00:01.541) 0:00:42.991 ***** 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.013296", "end": "2023-12-09 13:43:34.822042", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2023-12-09 13:43:34.808746" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.006900", "end": "2023-12-09 13:43:35.164389", "item": "ip link set peerveth0 up", "rc": 0, "start": "2023-12-09 13:43:35.157489" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.007889", "end": "2023-12-09 13:43:35.421160", "item": "ip link set veth0 up", "rc": 0, "start": "2023-12-09 13:43:35.413271" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/manage_test_interface.yml:33 Saturday 09 December 2023 13:43:35 +0000 (0:00:00.984) 0:00:43.976 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.023354", "end": "2023-12-09 13:43:35.693957", "rc": 0, "start": "2023-12-09 13:43:35.670603" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/manage_test_interface.yml:41 Saturday 09 December 2023 13:43:35 +0000 (0:00:00.276) 0:00:44.252 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/manage_test_interface.yml:48 Saturday 09 December 2023 13:43:35 +0000 (0:00:00.058) 0:00:44.311 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/manage_test_interface.yml:54 Saturday 09 December 2023 13:43:35 +0000 (0:00:00.096) 0:00:44.408 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/manage_test_interface.yml:61 Saturday 09 December 2023 13:43:35 +0000 (0:00:00.039) 0:00:44.447 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/manage_test_interface.yml:67 Saturday 09 December 2023 13:43:36 +0000 (0:00:00.133) 0:00:44.581 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 09 December 2023 13:43:36 +0000 (0:00:00.035) 0:00:44.617 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 09 December 2023 13:43:36 +0000 (0:00:00.056) 0:00:44.674 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 09 December 2023 13:43:36 +0000 (0:00:00.047) 0:00:44.721 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 09 December 2023 13:43:36 +0000 (0:00:00.068) 0:00:44.790 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 09 December 2023 13:43:36 +0000 (0:00:00.080) 0:00:44.871 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 09 December 2023 13:43:38 +0000 (0:00:01.681) 0:00:46.553 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 09 December 2023 13:43:39 +0000 (0:00:01.371) 0:00:47.924 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 09 December 2023 13:43:39 +0000 (0:00:00.071) 0:00:47.995 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 09 December 2023 13:43:39 +0000 (0:00:00.059) 0:00:48.054 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 09 December 2023 13:43:39 +0000 (0:00:00.101) 0:00:48.155 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 09 December 2023 13:43:39 +0000 (0:00:00.082) 0:00:48.238 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 09 December 2023 13:43:39 +0000 (0:00:00.032) 0:00:48.271 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 09 December 2023 13:43:39 +0000 (0:00:00.027) 0:00:48.298 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 09 December 2023 13:43:39 +0000 (0:00:00.028) 0:00:48.326 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 09 December 2023 13:43:39 +0000 (0:00:00.022) 0:00:48.349 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 09 December 2023 13:43:39 +0000 (0:00:00.023) 0:00:48.373 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 09 December 2023 13:43:40 +0000 (0:00:00.389) 0:00:48.762 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2422znlmr3f2/tmpofq3lsrz" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 09 December 2023 13:43:40 +0000 (0:00:00.396) 0:00:49.159 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 09 December 2023 13:43:47 +0000 (0:00:06.557) 0:00:55.717 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 09 December 2023 13:43:47 +0000 (0:00:00.026) 0:00:55.743 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 09 December 2023 13:43:47 +0000 (0:00:00.043) 0:00:55.787 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 09 December 2023 13:43:47 +0000 (0:00:00.038) 0:00:55.825 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 09 December 2023 13:43:47 +0000 (0:00:00.023) 0:00:55.848 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tests_auto_gateway.yml:110 Saturday 09 December 2023 13:43:47 +0000 (0:00:00.226) 0:00:56.075 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 09 December 2023 13:43:47 +0000 (0:00:00.061) 0:00:56.137 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 09 December 2023 13:43:47 +0000 (0:00:00.051) 0:00:56.188 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1702129414.8126736, "block_size": 4096, "blocks": 0, "ctime": 1702129414.8126736, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 22565, "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": 1702129414.8126736, "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-weekly-ciyhmr6ljt/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 09 December 2023 13:43:47 +0000 (0:00:00.308) 0:00:56.497 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tests_auto_gateway.yml:112 Saturday 09 December 2023 13:43:48 +0000 (0:00:00.048) 0:00:56.545 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 09 December 2023 13:43:48 +0000 (0:00:00.119) 0:00:56.665 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 09 December 2023 13:43:48 +0000 (0:00:00.077) 0:00:56.742 ***** 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-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 09 December 2023 13:43:48 +0000 (0:00:00.064) 0:00:56.807 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1702129420.969531, "block_size": 4096, "blocks": 8, "ctime": 1702129420.9495318, "dev": 51715, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 16798130, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1702129420.9495318, "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-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 09 December 2023 13:43:48 +0000 (0:00:00.262) 0:00:57.070 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 09 December 2023 13:43:48 +0000 (0:00:00.037) 0:00:57.107 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.021735", "end": "2023-12-09 13:43:48.796176", "rc": 1, "start": "2023-12-09 13:43:48.774441" } 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-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 09 December 2023 13:43:48 +0000 (0:00:00.231) 0:00:57.338 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 09 December 2023 13:43:48 +0000 (0:00:00.035) 0:00:57.374 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003397", "end": "2023-12-09 13:43:49.071361", "rc": 0, "start": "2023-12-09 13:43:49.067964" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 09 December 2023 13:43:49 +0000 (0:00:00.244) 0:00:57.619 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 09 December 2023 13:43:49 +0000 (0:00:00.106) 0:00:57.726 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003287", "end": "2023-12-09 13:43:49.505990", "rc": 0, "start": "2023-12-09 13:43:49.502703" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 09 December 2023 13:43:49 +0000 (0:00:00.342) 0:00:58.068 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 09 December 2023 13:43:49 +0000 (0:00:00.062) 0:00:58.131 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 09 December 2023 13:43:49 +0000 (0:00:00.290) 0:00:58.422 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 09 December 2023 13:43:49 +0000 (0:00:00.071) 0:00:58.493 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tests_auto_gateway.yml:116 Saturday 09 December 2023 13:43:50 +0000 (0:00:00.043) 0:00:58.537 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003869", "end": "2023-12-09 13:43:50.234861", "rc": 0, "start": "2023-12-09 13:43:50.230992" } STDOUT: default via 10.31.40.1 dev eth0 proto dhcp src 10.31.41.185 metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.41.185 metric 100 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-weekly-ciyhmr6ljt/tests/playbooks/tests_auto_gateway.yml:120 Saturday 09 December 2023 13:43:50 +0000 (0:00:00.256) 0:00:58.794 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tests_auto_gateway.yml:126 Saturday 09 December 2023 13:43:50 +0000 (0:00:00.062) 0:00:58.857 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.004185", "end": "2023-12-09 13:43:50.568511", "rc": 0, "start": "2023-12-09 13:43:50.564326" } 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-weekly-ciyhmr6ljt/tests/playbooks/tests_auto_gateway.yml:130 Saturday 09 December 2023 13:43:50 +0000 (0:00:00.263) 0:00:59.120 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tests_auto_gateway.yml:137 Saturday 09 December 2023 13:43:50 +0000 (0:00:00.051) 0:00:59.172 ***** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 09 December 2023 13:43:50 +0000 (0:00:00.037) 0:00:59.209 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 09 December 2023 13:43:50 +0000 (0:00:00.053) 0:00:59.263 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 09 December 2023 13:43:50 +0000 (0:00:00.076) 0:00:59.339 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 09 December 2023 13:43:50 +0000 (0:00:00.043) 0:00:59.383 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 09 December 2023 13:43:50 +0000 (0:00:00.050) 0:00:59.434 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 09 December 2023 13:43:52 +0000 (0:00:01.828) 0:01:01.262 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 09 December 2023 13:43:54 +0000 (0:00:01.338) 0:01:02.601 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 09 December 2023 13:43:54 +0000 (0:00:00.065) 0:01:02.666 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 09 December 2023 13:43:54 +0000 (0:00:00.046) 0:01:02.713 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 09 December 2023 13:43:54 +0000 (0:00:00.042) 0:01:02.755 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 09 December 2023 13:43:54 +0000 (0:00:00.075) 0:01:02.830 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 09 December 2023 13:43:54 +0000 (0:00:00.061) 0:01:02.891 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 09 December 2023 13:43:54 +0000 (0:00:00.056) 0:01:02.949 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 09 December 2023 13:43:54 +0000 (0:00:00.068) 0:01:03.017 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 09 December 2023 13:43:54 +0000 (0:00:00.035) 0:01:03.053 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 09 December 2023 13:43:54 +0000 (0:00:00.035) 0:01:03.088 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 09 December 2023 13:43:55 +0000 (0:00:00.583) 0:01:03.672 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2422znlmr3f2/tmptschz6mx" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 09 December 2023 13:43:55 +0000 (0:00:00.505) 0:01:04.177 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 09 December 2023 13:43:56 +0000 (0:00:00.663) 0:01:04.841 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 09 December 2023 13:43:56 +0000 (0:00:00.065) 0:01:04.906 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 09 December 2023 13:43:56 +0000 (0:00:00.049) 0:01:04.955 ***** 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-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 09 December 2023 13:43:56 +0000 (0:00:00.042) 0:01:04.998 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 09 December 2023 13:43:56 +0000 (0:00:00.036) 0:01:05.034 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tests_auto_gateway.yml:149 Saturday 09 December 2023 13:43:56 +0000 (0:00:00.246) 0:01:05.281 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/manage_test_interface.yml:3 Saturday 09 December 2023 13:43:56 +0000 (0:00:00.221) 0:01:05.502 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/manage_test_interface.yml:8 Saturday 09 December 2023 13:43:57 +0000 (0:00:00.044) 0:01:05.547 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/manage_test_interface.yml:13 Saturday 09 December 2023 13:43:57 +0000 (0:00:00.039) 0:01:05.587 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 09 December 2023 13:43:57 +0000 (0:00:00.049) 0:01:05.636 ***** included: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 09 December 2023 13:43:57 +0000 (0:00:00.138) 0:01:05.775 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003529", "end": "2023-12-09 13:43:57.450014", "rc": 0, "start": "2023-12-09 13:43:57.446485" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 09 December 2023 13:43:57 +0000 (0:00:00.221) 0:01:05.996 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 09 December 2023 13:43:57 +0000 (0:00:00.050) 0:01:06.047 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/manage_test_interface.yml:16 Saturday 09 December 2023 13:43:57 +0000 (0:00:00.034) 0:01:06.081 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: iproute TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/manage_test_interface.yml:24 Saturday 09 December 2023 13:43:59 +0000 (0:00:01.478) 0:01:07.559 ***** 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-weekly-ciyhmr6ljt/tests/playbooks/tasks/manage_test_interface.yml:33 Saturday 09 December 2023 13:43:59 +0000 (0:00:00.134) 0:01:07.694 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/manage_test_interface.yml:41 Saturday 09 December 2023 13:43:59 +0000 (0:00:00.093) 0:01:07.788 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.011378", "end": "2023-12-09 13:43:59.496574", "rc": 0, "start": "2023-12-09 13:43:59.485196" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/manage_test_interface.yml:48 Saturday 09 December 2023 13:43:59 +0000 (0:00:00.268) 0:01:08.056 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/manage_test_interface.yml:54 Saturday 09 December 2023 13:43:59 +0000 (0:00:00.028) 0:01:08.085 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/manage_test_interface.yml:61 Saturday 09 December 2023 13:43:59 +0000 (0:00:00.029) 0:01:08.114 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/manage_test_interface.yml:67 Saturday 09 December 2023 13:43:59 +0000 (0:00:00.034) 0:01:08.148 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=138 changed=7 unreachable=0 failed=0 skipped=89 rescued=0 ignored=2 Saturday 09 December 2023 13:43:59 +0000 (0:00:00.040) 0:01:08.189 ***** =============================================================================== Install iproute --------------------------------------------------------- 8.09s /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Configure networking connection profiles --- 6.68s /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Configure networking connection profiles --- 6.56s /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Install packages --------------------------- 3.06s /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:30 Install iproute --------------------------------------------------------- 1.90s /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Check which services are running ----------- 1.83s /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.74s /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.68s /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.65s /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Install iproute --------------------------------------------------------- 1.54s /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 1.48s /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Configure networking connection profiles --- 1.38s /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Check which packages are installed --------- 1.37s /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.36s /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.34s /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.34s /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Enable network service --------------------- 1.02s /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:105 linux-system-roles.network : Ensure initscripts network file dependency is present --- 1.00s /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:113 Create veth interface veth0 --------------------------------------------- 0.98s /WORKDIR/git-weekly-ciyhmr6ljt/tests/playbooks/tasks/manage_test_interface.yml:24 linux-system-roles.network : Enable network service --------------------- 0.87s /WORKDIR/git-weekly-ciyhmr6ljt/tests/roles/linux-system-roles.network/tasks/main.yml:105 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the yum, dnf or zypper module rather than running 'rpm'. If you need to use command because yum, dnf or zypper 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. [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. ---^---^---^---^---^---