# 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-cig1u0vx4n/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-cig1u0vx4n/tests/tests_auto_gateway_initscripts.yml:5 Saturday 10 February 2024 13:22:00 +0000 (0:00:00.012) 0:00:00.012 ***** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/tests_auto_gateway_initscripts.yml:8 Saturday 10 February 2024 13:22:01 +0000 (0:00:00.637) 0:00:00.650 ***** included: /WORKDIR/git-weekly-cig1u0vx4n/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-cig1u0vx4n/tests/tasks/el_repo_setup.yml:3 Saturday 10 February 2024 13:22:01 +0000 (0:00:00.013) 0:00:00.663 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/tasks/el_repo_setup.yml:19 Saturday 10 February 2024 13:22:01 +0000 (0:00:00.425) 0:00:01.088 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/tasks/el_repo_setup.yml:24 Saturday 10 February 2024 13:22:02 +0000 (0:00:00.264) 0:00:01.353 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/tasks/el_repo_setup.yml:28 Saturday 10 February 2024 13:22:02 +0000 (0:00:00.022) 0:00:01.375 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/tasks/el_repo_setup.yml:53 Saturday 10 February 2024 13:22:02 +0000 (0:00:00.019) 0:00:01.394 ***** included: /WORKDIR/git-weekly-cig1u0vx4n/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/tasks/enable_epel.yml:8 Saturday 10 February 2024 13:22:02 +0000 (0:00:00.064) 0:00:01.459 ***** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "rc": 0 } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/tasks/enable_epel.yml:24 Saturday 10 February 2024 13:22:02 +0000 (0:00:00.275) 0:00:01.734 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/tasks/enable_epel.yml:30 Saturday 10 February 2024 13:22:02 +0000 (0:00:00.017) 0:00:01.751 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/tasks/enable_epel.yml:35 Saturday 10 February 2024 13:22:02 +0000 (0:00:00.010) 0:00:01.762 ***** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:01.255413", "end": "2024-02-10 13:22:03.892379", "rc": 0, "start": "2024-02-10 13:22:02.636966" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/tasks/enable_epel.yml:40 Saturday 10 February 2024 13:22:03 +0000 (0:00:01.487) 0:00:03.250 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/tests_auto_gateway_initscripts.yml:10 Saturday 10 February 2024 13:22:04 +0000 (0:00:00.051) 0:00:03.301 ***** 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-cig1u0vx4n/tests/playbooks/tests_auto_gateway.yml:3 Saturday 10 February 2024 13:22:04 +0000 (0:00:00.054) 0:00:03.356 ***** ok: [sut] META: ran handlers TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tests_auto_gateway.yml:9 Saturday 10 February 2024 13:22:04 +0000 (0:00:00.535) 0:00:03.891 ***** included: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 10 February 2024 13:22:04 +0000 (0:00:00.035) 0:00:03.927 ***** included: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 10 February 2024 13:22:04 +0000 (0:00:00.027) 0:00:03.954 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003475", "end": "2024-02-10 13:22:04.831395", "rc": 0, "start": "2024-02-10 13:22:04.827920" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 10 February 2024 13:22:04 +0000 (0:00:00.210) 0:00:04.165 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 10 February 2024 13:22:04 +0000 (0:00:00.031) 0:00:04.196 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tests_auto_gateway.yml:11 Saturday 10 February 2024 13:22:04 +0000 (0:00:00.014) 0:00:04.211 ***** included: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tasks/manage_test_interface.yml:3 Saturday 10 February 2024 13:22:04 +0000 (0:00:00.070) 0:00:04.282 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tasks/manage_test_interface.yml:8 Saturday 10 February 2024 13:22:05 +0000 (0:00:00.030) 0:00:04.313 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tasks/manage_test_interface.yml:13 Saturday 10 February 2024 13:22:05 +0000 (0:00:00.048) 0:00:04.362 ***** included: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 10 February 2024 13:22:05 +0000 (0:00:00.018) 0:00:04.381 ***** included: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 10 February 2024 13:22:05 +0000 (0:00:00.033) 0:00:04.414 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003532", "end": "2024-02-10 13:22:05.338652", "rc": 0, "start": "2024-02-10 13:22:05.335120" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 10 February 2024 13:22:05 +0000 (0:00:00.251) 0:00:04.666 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 10 February 2024 13:22:05 +0000 (0:00:00.034) 0:00:04.701 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tasks/manage_test_interface.yml:16 Saturday 10 February 2024 13:22:05 +0000 (0:00:00.022) 0:00:04.723 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: iproute TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tasks/manage_test_interface.yml:24 Saturday 10 February 2024 13:22:08 +0000 (0:00:03.244) 0:00:07.968 ***** 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.012908", "end": "2024-02-10 13:22:08.859140", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-02-10 13:22:08.846232" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004054", "end": "2024-02-10 13:22:09.090571", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-02-10 13:22:09.086517" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004505", "end": "2024-02-10 13:22:09.278787", "item": "ip link set veth0 up", "rc": 0, "start": "2024-02-10 13:22:09.274282" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tasks/manage_test_interface.yml:33 Saturday 10 February 2024 13:22:09 +0000 (0:00:00.626) 0:00:08.594 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.093039", "end": "2024-02-10 13:22:09.564436", "rc": 0, "start": "2024-02-10 13:22:09.471397" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tasks/manage_test_interface.yml:41 Saturday 10 February 2024 13:22:09 +0000 (0:00:00.290) 0:00:08.885 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tasks/manage_test_interface.yml:48 Saturday 10 February 2024 13:22:09 +0000 (0:00:00.011) 0:00:08.897 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tasks/manage_test_interface.yml:54 Saturday 10 February 2024 13:22:09 +0000 (0:00:00.011) 0:00:08.908 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tasks/manage_test_interface.yml:61 Saturday 10 February 2024 13:22:09 +0000 (0:00:00.010) 0:00:08.918 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tasks/manage_test_interface.yml:67 Saturday 10 February 2024 13:22:09 +0000 (0:00:00.010) 0:00:08.929 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tests_auto_gateway.yml:15 Saturday 10 February 2024 13:22:09 +0000 (0:00:00.009) 0:00:08.939 ***** included: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 10 February 2024 13:22:09 +0000 (0:00:00.025) 0:00:08.964 ***** included: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 10 February 2024 13:22:09 +0000 (0:00:00.013) 0:00:08.978 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1707571328.8572688, "block_size": 4096, "blocks": 0, "ctime": 1707571328.8572688, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21587, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/veth0", "lnk_target": "../../devices/virtual/net/veth0", "mode": "0777", "mtime": 1707571328.8572688, "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-cig1u0vx4n/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 10 February 2024 13:22:09 +0000 (0:00:00.192) 0:00:09.170 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tests_auto_gateway.yml:17 Saturday 10 February 2024 13:22:09 +0000 (0:00:00.017) 0:00:09.188 ***** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 10 February 2024 13:22:09 +0000 (0:00:00.015) 0:00:09.203 ***** included: /WORKDIR/git-weekly-cig1u0vx4n/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-cig1u0vx4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 10 February 2024 13:22:09 +0000 (0:00:00.068) 0:00:09.272 ***** 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-cig1u0vx4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 10 February 2024 13:22:09 +0000 (0:00:00.014) 0:00:09.286 ***** 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-cig1u0vx4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 10 February 2024 13:22:10 +0000 (0:00:00.035) 0:00:09.322 ***** 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-cig1u0vx4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 10 February 2024 13:22:10 +0000 (0:00:00.029) 0:00:09.351 ***** 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-cig1u0vx4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 10 February 2024 13:22:11 +0000 (0:00:01.550) 0:00:10.901 ***** 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-cig1u0vx4n/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 10 February 2024 13:22:13 +0000 (0:00:01.446) 0:00:12.348 ***** 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-cig1u0vx4n/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 10 February 2024 13:22:13 +0000 (0:00:00.026) 0:00:12.375 ***** 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-cig1u0vx4n/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 10 February 2024 13:22:13 +0000 (0:00:00.055) 0:00:12.431 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 10 February 2024 13:22:13 +0000 (0:00:00.038) 0:00:12.470 ***** 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-cig1u0vx4n/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 10 February 2024 13:22:17 +0000 (0:00:04.063) 0:00:16.533 ***** 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-cig1u0vx4n/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 10 February 2024 13:22:17 +0000 (0:00:00.039) 0:00:16.573 ***** 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-cig1u0vx4n/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 10 February 2024 13:22:17 +0000 (0:00:00.034) 0:00:16.608 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 10 February 2024 13:22:17 +0000 (0:00:00.038) 0:00:16.646 ***** 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-cig1u0vx4n/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 10 February 2024 13:22:17 +0000 (0:00:00.024) 0:00:16.670 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 10 February 2024 13:22:17 +0000 (0:00:00.025) 0:00:16.696 ***** 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-cig1u0vx4n/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 10 February 2024 13:22:18 +0000 (0:00:00.893) 0:00:17.590 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2477anzeugm6/tmpdwkrkvz_" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 10 February 2024 13:22:18 +0000 (0:00:00.453) 0:00:18.043 ***** 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-cig1u0vx4n/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 10 February 2024 13:22:25 +0000 (0:00:06.839) 0:00:24.883 ***** 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-cig1u0vx4n/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 10 February 2024 13:22:25 +0000 (0:00:00.023) 0:00:24.907 ***** 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-cig1u0vx4n/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 10 February 2024 13:22:25 +0000 (0:00:00.062) 0:00:24.970 ***** 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-cig1u0vx4n/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 10 February 2024 13:22:25 +0000 (0:00:00.085) 0:00:25.055 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 10 February 2024 13:22:25 +0000 (0:00:00.044) 0:00:25.100 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tests_auto_gateway.yml:42 Saturday 10 February 2024 13:22:26 +0000 (0:00:00.258) 0:00:25.358 ***** included: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 10 February 2024 13:22:26 +0000 (0:00:00.052) 0:00:25.411 ***** included: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 10 February 2024 13:22:26 +0000 (0:00:00.047) 0:00:25.458 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1707571328.8572688, "block_size": 4096, "blocks": 0, "ctime": 1707571328.8572688, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21587, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/veth0", "lnk_target": "../../devices/virtual/net/veth0", "mode": "0777", "mtime": 1707571328.8572688, "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-cig1u0vx4n/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 10 February 2024 13:22:26 +0000 (0:00:00.255) 0:00:25.714 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tests_auto_gateway.yml:44 Saturday 10 February 2024 13:22:26 +0000 (0:00:00.050) 0:00:25.764 ***** included: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 10 February 2024 13:22:26 +0000 (0:00:00.055) 0:00:25.819 ***** included: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 10 February 2024 13:22:26 +0000 (0:00:00.059) 0:00:25.879 ***** 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-cig1u0vx4n/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 10 February 2024 13:22:26 +0000 (0:00:00.051) 0:00:25.931 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1707571339.2123828, "block_size": 4096, "blocks": 8, "ctime": 1707571339.191383, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5899592, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707571339.191383, "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-cig1u0vx4n/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 10 February 2024 13:22:26 +0000 (0:00:00.302) 0:00:26.234 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 10 February 2024 13:22:26 +0000 (0:00:00.034) 0:00:26.268 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.022420", "end": "2024-02-10 13:22:27.170681", "rc": 1, "start": "2024-02-10 13:22:27.148261" } 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-cig1u0vx4n/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 10 February 2024 13:22:27 +0000 (0:00:00.229) 0:00:26.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-cig1u0vx4n/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 10 February 2024 13:22:27 +0000 (0:00:00.024) 0:00:26.522 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003444", "end": "2024-02-10 13:22:27.406551", "rc": 0, "start": "2024-02-10 13:22:27.403107" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 10 February 2024 13:22:27 +0000 (0:00:00.220) 0:00:26.742 ***** 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-cig1u0vx4n/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 10 February 2024 13:22:27 +0000 (0:00:00.058) 0:00:26.800 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003455", "end": "2024-02-10 13:22:27.723282", "rc": 0, "start": "2024-02-10 13:22:27.719827" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 10 February 2024 13:22:27 +0000 (0:00:00.259) 0:00:27.060 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 10 February 2024 13:22:27 +0000 (0:00:00.073) 0:00:27.133 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 10 February 2024 13:22:27 +0000 (0:00:00.031) 0:00:27.165 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 10 February 2024 13:22:27 +0000 (0:00:00.044) 0:00:27.210 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tests_auto_gateway.yml:48 Saturday 10 February 2024 13:22:27 +0000 (0:00:00.027) 0:00:27.237 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.004113", "end": "2024-02-10 13:22:28.138854", "rc": 0, "start": "2024-02-10 13:22:28.134741" } STDOUT: default via 10.31.8.1 dev eth0 proto dhcp src 10.31.10.230 metric 100 default via 203.0.113.1 dev veth0 metric 65535 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.10.230 metric 100 169.254.0.0/16 dev veth0 scope link metric 1004 203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 TASK [Assert default ipv4 route is present] ************************************ task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tests_auto_gateway.yml:52 Saturday 10 February 2024 13:22:28 +0000 (0:00:00.260) 0:00:27.497 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tests_auto_gateway.yml:58 Saturday 10 February 2024 13:22:28 +0000 (0:00:00.047) 0:00:27.545 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003961", "end": "2024-02-10 13:22:28.464713", "rc": 0, "start": "2024-02-10 13:22:28.460752" } 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-cig1u0vx4n/tests/playbooks/tests_auto_gateway.yml:62 Saturday 10 February 2024 13:22:28 +0000 (0:00:00.305) 0:00:27.850 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tests_auto_gateway.yml:69 Saturday 10 February 2024 13:22:28 +0000 (0:00:00.107) 0:00:27.957 ***** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 10 February 2024 13:22:28 +0000 (0:00:00.040) 0:00:27.998 ***** included: /WORKDIR/git-weekly-cig1u0vx4n/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-cig1u0vx4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 10 February 2024 13:22:28 +0000 (0:00:00.065) 0:00:28.063 ***** 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-cig1u0vx4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 10 February 2024 13:22:28 +0000 (0:00:00.043) 0:00:28.107 ***** 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-cig1u0vx4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 10 February 2024 13:22:28 +0000 (0:00:00.029) 0:00:28.136 ***** 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-cig1u0vx4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 10 February 2024 13:22:28 +0000 (0:00:00.027) 0:00:28.164 ***** 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-cig1u0vx4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 10 February 2024 13:22:30 +0000 (0:00:01.619) 0:00:29.784 ***** 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-cig1u0vx4n/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 10 February 2024 13:22:31 +0000 (0:00:01.440) 0:00:31.224 ***** 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-cig1u0vx4n/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 10 February 2024 13:22:31 +0000 (0:00:00.055) 0:00:31.279 ***** 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-cig1u0vx4n/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 10 February 2024 13:22:32 +0000 (0:00:00.106) 0:00:31.385 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 10 February 2024 13:22:32 +0000 (0:00:00.044) 0:00:31.430 ***** 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-cig1u0vx4n/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 10 February 2024 13:22:32 +0000 (0:00:00.121) 0:00:31.551 ***** 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-cig1u0vx4n/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 10 February 2024 13:22:32 +0000 (0:00:00.036) 0:00:31.588 ***** 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-cig1u0vx4n/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 10 February 2024 13:22:32 +0000 (0:00:00.024) 0:00:31.612 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 10 February 2024 13:22:32 +0000 (0:00:00.041) 0:00:31.654 ***** 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-cig1u0vx4n/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 10 February 2024 13:22:32 +0000 (0:00:00.036) 0:00:31.691 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 10 February 2024 13:22:32 +0000 (0:00:00.022) 0:00:31.714 ***** 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-cig1u0vx4n/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 10 February 2024 13:22:32 +0000 (0:00:00.352) 0:00:32.067 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2477anzeugm6/tmpi2f3rsu8" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 10 February 2024 13:22:33 +0000 (0:00:00.426) 0:00:32.493 ***** 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-cig1u0vx4n/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 10 February 2024 13:22:33 +0000 (0:00:00.488) 0:00:32.982 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 10 February 2024 13:22:33 +0000 (0:00:00.026) 0:00:33.009 ***** 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-cig1u0vx4n/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 10 February 2024 13:22:33 +0000 (0:00:00.032) 0:00:33.041 ***** 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-cig1u0vx4n/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 10 February 2024 13:22:33 +0000 (0:00:00.058) 0:00:33.100 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 10 February 2024 13:22:33 +0000 (0:00:00.054) 0:00:33.154 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tests_auto_gateway.yml:81 Saturday 10 February 2024 13:22:34 +0000 (0:00:00.224) 0:00:33.378 ***** included: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tasks/manage_test_interface.yml:3 Saturday 10 February 2024 13:22:34 +0000 (0:00:00.076) 0:00:33.455 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tasks/manage_test_interface.yml:8 Saturday 10 February 2024 13:22:34 +0000 (0:00:00.049) 0:00:33.505 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tasks/manage_test_interface.yml:13 Saturday 10 February 2024 13:22:34 +0000 (0:00:00.036) 0:00:33.542 ***** included: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 10 February 2024 13:22:34 +0000 (0:00:00.046) 0:00:33.588 ***** included: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 10 February 2024 13:22:34 +0000 (0:00:00.043) 0:00:33.632 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003532", "end": "2024-02-10 13:22:34.511426", "rc": 0, "start": "2024-02-10 13:22:34.507894" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 10 February 2024 13:22:34 +0000 (0:00:00.203) 0:00:33.835 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 10 February 2024 13:22:34 +0000 (0:00:00.027) 0:00:33.863 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tasks/manage_test_interface.yml:16 Saturday 10 February 2024 13:22:34 +0000 (0:00:00.025) 0:00:33.889 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: iproute TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tasks/manage_test_interface.yml:24 Saturday 10 February 2024 13:22:37 +0000 (0:00:02.634) 0:00:36.523 ***** 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-cig1u0vx4n/tests/playbooks/tasks/manage_test_interface.yml:33 Saturday 10 February 2024 13:22:37 +0000 (0:00:00.050) 0:00:36.574 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tasks/manage_test_interface.yml:41 Saturday 10 February 2024 13:22:37 +0000 (0:00:00.126) 0:00:36.700 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.014613", "end": "2024-02-10 13:22:37.651652", "rc": 0, "start": "2024-02-10 13:22:37.637039" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tasks/manage_test_interface.yml:48 Saturday 10 February 2024 13:22:37 +0000 (0:00:00.285) 0:00:36.985 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tasks/manage_test_interface.yml:54 Saturday 10 February 2024 13:22:37 +0000 (0:00:00.026) 0:00:37.012 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tasks/manage_test_interface.yml:61 Saturday 10 February 2024 13:22:37 +0000 (0:00:00.024) 0:00:37.036 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tasks/manage_test_interface.yml:67 Saturday 10 February 2024 13:22:37 +0000 (0:00:00.055) 0:00:37.091 ***** 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-cig1u0vx4n/tests/playbooks/tests_auto_gateway.yml:85 Saturday 10 February 2024 13:22:37 +0000 (0:00:00.029) 0:00:37.121 ***** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tests_auto_gateway.yml:89 Saturday 10 February 2024 13:22:37 +0000 (0:00:00.025) 0:00:37.146 ***** included: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tasks/manage_test_interface.yml:3 Saturday 10 February 2024 13:22:37 +0000 (0:00:00.081) 0:00:37.228 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tasks/manage_test_interface.yml:8 Saturday 10 February 2024 13:22:37 +0000 (0:00:00.043) 0:00:37.271 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tasks/manage_test_interface.yml:13 Saturday 10 February 2024 13:22:38 +0000 (0:00:00.030) 0:00:37.302 ***** included: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 10 February 2024 13:22:38 +0000 (0:00:00.046) 0:00:37.348 ***** included: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 10 February 2024 13:22:38 +0000 (0:00:00.047) 0:00:37.396 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003582", "end": "2024-02-10 13:22:38.285736", "rc": 0, "start": "2024-02-10 13:22:38.282154" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 10 February 2024 13:22:38 +0000 (0:00:00.215) 0:00:37.612 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 10 February 2024 13:22:38 +0000 (0:00:00.023) 0:00:37.636 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tasks/manage_test_interface.yml:16 Saturday 10 February 2024 13:22:38 +0000 (0:00:00.021) 0:00:37.657 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: iproute TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tasks/manage_test_interface.yml:24 Saturday 10 February 2024 13:22:41 +0000 (0:00:02.664) 0:00:40.322 ***** 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.012805", "end": "2024-02-10 13:22:41.235046", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-02-10 13:22:41.222241" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004068", "end": "2024-02-10 13:22:41.462512", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-02-10 13:22:41.458444" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004695", "end": "2024-02-10 13:22:41.648879", "item": "ip link set veth0 up", "rc": 0, "start": "2024-02-10 13:22:41.644184" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tasks/manage_test_interface.yml:33 Saturday 10 February 2024 13:22:41 +0000 (0:00:00.665) 0:00:40.987 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.023469", "end": "2024-02-10 13:22:41.893400", "rc": 0, "start": "2024-02-10 13:22:41.869931" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tasks/manage_test_interface.yml:41 Saturday 10 February 2024 13:22:41 +0000 (0:00:00.247) 0:00:41.234 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tasks/manage_test_interface.yml:48 Saturday 10 February 2024 13:22:41 +0000 (0:00:00.046) 0:00:41.281 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tasks/manage_test_interface.yml:54 Saturday 10 February 2024 13:22:42 +0000 (0:00:00.072) 0:00:41.354 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tasks/manage_test_interface.yml:61 Saturday 10 February 2024 13:22:42 +0000 (0:00:00.028) 0:00:41.382 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tasks/manage_test_interface.yml:67 Saturday 10 February 2024 13:22:42 +0000 (0:00:00.038) 0:00:41.421 ***** 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-cig1u0vx4n/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 10 February 2024 13:22:42 +0000 (0:00:00.035) 0:00:41.457 ***** included: /WORKDIR/git-weekly-cig1u0vx4n/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-cig1u0vx4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 10 February 2024 13:22:42 +0000 (0:00:00.077) 0:00:41.535 ***** 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-cig1u0vx4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 10 February 2024 13:22:42 +0000 (0:00:00.049) 0:00:41.584 ***** 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-cig1u0vx4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 10 February 2024 13:22:42 +0000 (0:00:00.027) 0:00:41.611 ***** 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-cig1u0vx4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 10 February 2024 13:22:42 +0000 (0:00:00.030) 0:00:41.642 ***** 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-cig1u0vx4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 10 February 2024 13:22:43 +0000 (0:00:01.630) 0:00:43.273 ***** 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-cig1u0vx4n/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 10 February 2024 13:22:45 +0000 (0:00:01.348) 0:00:44.622 ***** 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-cig1u0vx4n/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 10 February 2024 13:22:45 +0000 (0:00:00.087) 0:00:44.709 ***** 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-cig1u0vx4n/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 10 February 2024 13:22:45 +0000 (0:00:00.025) 0:00:44.735 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 10 February 2024 13:22:45 +0000 (0:00:00.042) 0:00:44.778 ***** 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-cig1u0vx4n/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 10 February 2024 13:22:45 +0000 (0:00:00.059) 0:00:44.838 ***** 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-cig1u0vx4n/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 10 February 2024 13:22:45 +0000 (0:00:00.044) 0:00:44.883 ***** 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-cig1u0vx4n/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 10 February 2024 13:22:45 +0000 (0:00:00.033) 0:00:44.916 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 10 February 2024 13:22:45 +0000 (0:00:00.082) 0:00:44.998 ***** 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-cig1u0vx4n/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 10 February 2024 13:22:45 +0000 (0:00:00.031) 0:00:45.029 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 10 February 2024 13:22:45 +0000 (0:00:00.033) 0:00:45.062 ***** 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-cig1u0vx4n/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 10 February 2024 13:22:46 +0000 (0:00:00.383) 0:00:45.446 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2477anzeugm6/tmpc6fbl21u" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 10 February 2024 13:22:46 +0000 (0:00:00.423) 0:00:45.870 ***** 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-cig1u0vx4n/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 10 February 2024 13:22:53 +0000 (0:00:06.550) 0:00:52.420 ***** 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-cig1u0vx4n/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 10 February 2024 13:22:53 +0000 (0:00:00.034) 0:00:52.455 ***** 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-cig1u0vx4n/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 10 February 2024 13:22:53 +0000 (0:00:00.029) 0:00:52.485 ***** 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-cig1u0vx4n/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 10 February 2024 13:22:53 +0000 (0:00:00.024) 0:00:52.510 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 10 February 2024 13:22:53 +0000 (0:00:00.031) 0:00:52.541 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tests_auto_gateway.yml:110 Saturday 10 February 2024 13:22:53 +0000 (0:00:00.248) 0:00:52.789 ***** included: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 10 February 2024 13:22:53 +0000 (0:00:00.109) 0:00:52.899 ***** included: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 10 February 2024 13:22:53 +0000 (0:00:00.041) 0:00:52.940 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1707571361.226056, "block_size": 4096, "blocks": 0, "ctime": 1707571361.226056, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 22173, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/veth0", "lnk_target": "../../devices/virtual/net/veth0", "mode": "0777", "mtime": 1707571361.226056, "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-cig1u0vx4n/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 10 February 2024 13:22:53 +0000 (0:00:00.217) 0:00:53.157 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tests_auto_gateway.yml:112 Saturday 10 February 2024 13:22:53 +0000 (0:00:00.042) 0:00:53.199 ***** included: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 10 February 2024 13:22:53 +0000 (0:00:00.086) 0:00:53.286 ***** included: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 10 February 2024 13:22:54 +0000 (0:00:00.061) 0:00:53.347 ***** 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-cig1u0vx4n/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 10 February 2024 13:22:54 +0000 (0:00:00.033) 0:00:53.381 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1707571366.894336, "block_size": 4096, "blocks": 8, "ctime": 1707571366.874336, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5899592, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707571366.874336, "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-cig1u0vx4n/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 10 February 2024 13:22:54 +0000 (0:00:00.299) 0:00:53.680 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 10 February 2024 13:22:54 +0000 (0:00:00.027) 0:00:53.708 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.022286", "end": "2024-02-10 13:22:54.608514", "rc": 1, "start": "2024-02-10 13:22:54.586228" } 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-cig1u0vx4n/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 10 February 2024 13:22:54 +0000 (0:00:00.225) 0:00:53.933 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 10 February 2024 13:22:54 +0000 (0:00:00.101) 0:00:54.034 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003388", "end": "2024-02-10 13:22:54.927607", "rc": 0, "start": "2024-02-10 13:22:54.924219" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 10 February 2024 13:22:54 +0000 (0:00:00.222) 0:00:54.257 ***** 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-cig1u0vx4n/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 10 February 2024 13:22:54 +0000 (0:00:00.034) 0:00:54.291 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003290", "end": "2024-02-10 13:22:55.175212", "rc": 0, "start": "2024-02-10 13:22:55.171922" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 10 February 2024 13:22:55 +0000 (0:00:00.257) 0:00:54.549 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 10 February 2024 13:22:55 +0000 (0:00:00.060) 0:00:54.609 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 10 February 2024 13:22:55 +0000 (0:00:00.048) 0:00:54.658 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 10 February 2024 13:22:55 +0000 (0:00:00.030) 0:00:54.688 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tests_auto_gateway.yml:116 Saturday 10 February 2024 13:22:55 +0000 (0:00:00.028) 0:00:54.717 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003834", "end": "2024-02-10 13:22:55.608396", "rc": 0, "start": "2024-02-10 13:22:55.604562" } STDOUT: default via 10.31.8.1 dev eth0 proto dhcp src 10.31.10.230 metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.10.230 metric 100 169.254.0.0/16 dev veth0 scope link metric 1006 203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 TASK [Assert default ipv4 route is absent] ************************************* task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tests_auto_gateway.yml:120 Saturday 10 February 2024 13:22:55 +0000 (0:00:00.241) 0:00:54.959 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tests_auto_gateway.yml:126 Saturday 10 February 2024 13:22:55 +0000 (0:00:00.031) 0:00:54.990 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.004240", "end": "2024-02-10 13:22:55.886373", "rc": 0, "start": "2024-02-10 13:22:55.882133" } 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-cig1u0vx4n/tests/playbooks/tests_auto_gateway.yml:130 Saturday 10 February 2024 13:22:55 +0000 (0:00:00.236) 0:00:55.226 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tests_auto_gateway.yml:137 Saturday 10 February 2024 13:22:55 +0000 (0:00:00.024) 0:00:55.251 ***** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 10 February 2024 13:22:55 +0000 (0:00:00.024) 0:00:55.276 ***** included: /WORKDIR/git-weekly-cig1u0vx4n/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-cig1u0vx4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 10 February 2024 13:22:56 +0000 (0:00:00.083) 0:00:55.360 ***** 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-cig1u0vx4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 10 February 2024 13:22:56 +0000 (0:00:00.074) 0:00:55.434 ***** 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-cig1u0vx4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 10 February 2024 13:22:56 +0000 (0:00:00.112) 0:00:55.547 ***** 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-cig1u0vx4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 10 February 2024 13:22:56 +0000 (0:00:00.043) 0:00:55.590 ***** 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-cig1u0vx4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 10 February 2024 13:22:57 +0000 (0:00:01.575) 0:00:57.166 ***** 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-cig1u0vx4n/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 10 February 2024 13:22:59 +0000 (0:00:01.387) 0:00:58.554 ***** 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-cig1u0vx4n/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 10 February 2024 13:22:59 +0000 (0:00:00.035) 0:00:58.590 ***** 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-cig1u0vx4n/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 10 February 2024 13:22:59 +0000 (0:00:00.028) 0:00:58.618 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 10 February 2024 13:22:59 +0000 (0:00:00.068) 0:00:58.686 ***** 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-cig1u0vx4n/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 10 February 2024 13:22:59 +0000 (0:00:00.046) 0:00:58.733 ***** 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-cig1u0vx4n/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 10 February 2024 13:22:59 +0000 (0:00:00.023) 0:00:58.756 ***** 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-cig1u0vx4n/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 10 February 2024 13:22:59 +0000 (0:00:00.023) 0:00:58.780 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 10 February 2024 13:22:59 +0000 (0:00:00.028) 0:00:58.808 ***** 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-cig1u0vx4n/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 10 February 2024 13:22:59 +0000 (0:00:00.022) 0:00:58.830 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 10 February 2024 13:22:59 +0000 (0:00:00.022) 0:00:58.853 ***** 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-cig1u0vx4n/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 10 February 2024 13:22:59 +0000 (0:00:00.364) 0:00:59.218 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2477anzeugm6/tmp5d7539k7" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 10 February 2024 13:23:00 +0000 (0:00:00.325) 0:00:59.543 ***** 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-cig1u0vx4n/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 10 February 2024 13:23:00 +0000 (0:00:00.469) 0:01:00.012 ***** 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-cig1u0vx4n/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 10 February 2024 13:23:00 +0000 (0:00:00.052) 0:01:00.065 ***** 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-cig1u0vx4n/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 10 February 2024 13:23:00 +0000 (0:00:00.105) 0:01:00.170 ***** 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-cig1u0vx4n/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 10 February 2024 13:23:00 +0000 (0:00:00.053) 0:01:00.224 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 10 February 2024 13:23:01 +0000 (0:00:00.099) 0:01:00.323 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tests_auto_gateway.yml:149 Saturday 10 February 2024 13:23:01 +0000 (0:00:00.294) 0:01:00.618 ***** included: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tasks/manage_test_interface.yml:3 Saturday 10 February 2024 13:23:01 +0000 (0:00:00.073) 0:01:00.691 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tasks/manage_test_interface.yml:8 Saturday 10 February 2024 13:23:01 +0000 (0:00:00.023) 0:01:00.715 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tasks/manage_test_interface.yml:13 Saturday 10 February 2024 13:23:01 +0000 (0:00:00.024) 0:01:00.739 ***** included: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 10 February 2024 13:23:01 +0000 (0:00:00.057) 0:01:00.797 ***** included: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 10 February 2024 13:23:01 +0000 (0:00:00.063) 0:01:00.860 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003482", "end": "2024-02-10 13:23:01.772966", "rc": 0, "start": "2024-02-10 13:23:01.769484" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 10 February 2024 13:23:01 +0000 (0:00:00.238) 0:01:01.099 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 10 February 2024 13:23:01 +0000 (0:00:00.024) 0:01:01.124 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tasks/manage_test_interface.yml:16 Saturday 10 February 2024 13:23:01 +0000 (0:00:00.023) 0:01:01.148 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: iproute TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tasks/manage_test_interface.yml:24 Saturday 10 February 2024 13:23:04 +0000 (0:00:02.615) 0:01:03.763 ***** 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-cig1u0vx4n/tests/playbooks/tasks/manage_test_interface.yml:33 Saturday 10 February 2024 13:23:04 +0000 (0:00:00.081) 0:01:03.845 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tasks/manage_test_interface.yml:41 Saturday 10 February 2024 13:23:04 +0000 (0:00:00.058) 0:01:03.904 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.008906", "end": "2024-02-10 13:23:04.808471", "rc": 0, "start": "2024-02-10 13:23:04.799565" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tasks/manage_test_interface.yml:48 Saturday 10 February 2024 13:23:04 +0000 (0:00:00.255) 0:01:04.159 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tasks/manage_test_interface.yml:54 Saturday 10 February 2024 13:23:04 +0000 (0:00:00.041) 0:01:04.201 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tasks/manage_test_interface.yml:61 Saturday 10 February 2024 13:23:04 +0000 (0:00:00.043) 0:01:04.245 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tasks/manage_test_interface.yml:67 Saturday 10 February 2024 13:23:05 +0000 (0:00:00.075) 0:01:04.321 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=138 changed=6 unreachable=0 failed=0 skipped=89 rescued=0 ignored=2 Saturday 10 February 2024 13:23:05 +0000 (0:00:00.027) 0:01:04.348 ***** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 6.84s /WORKDIR/git-weekly-cig1u0vx4n/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Configure networking connection profiles --- 6.55s /WORKDIR/git-weekly-cig1u0vx4n/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Install packages --------------------------- 4.06s /WORKDIR/git-weekly-cig1u0vx4n/tests/roles/linux-system-roles.network/tasks/main.yml:30 Install iproute --------------------------------------------------------- 3.24s /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.66s /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.63s /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.62s /WORKDIR/git-weekly-cig1u0vx4n/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Check which services are running ----------- 1.63s /WORKDIR/git-weekly-cig1u0vx4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.62s /WORKDIR/git-weekly-cig1u0vx4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.58s /WORKDIR/git-weekly-cig1u0vx4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.55s /WORKDIR/git-weekly-cig1u0vx4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Enable EPEL 8 ----------------------------------------------------------- 1.49s /WORKDIR/git-weekly-cig1u0vx4n/tests/tasks/enable_epel.yml:35 ----------------- linux-system-roles.network : Check which packages are installed --------- 1.45s /WORKDIR/git-weekly-cig1u0vx4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.44s /WORKDIR/git-weekly-cig1u0vx4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.39s /WORKDIR/git-weekly-cig1u0vx4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.35s /WORKDIR/git-weekly-cig1u0vx4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Configure networking connection profiles --- 0.96s /WORKDIR/git-weekly-cig1u0vx4n/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable network service --------------------- 0.89s /WORKDIR/git-weekly-cig1u0vx4n/tests/roles/linux-system-roles.network/tasks/main.yml:105 linux-system-roles.network : Ensure initscripts network file dependency is present --- 0.75s /WORKDIR/git-weekly-cig1u0vx4n/tests/roles/linux-system-roles.network/tasks/main.yml:113 linux-system-roles.network : Enable network service --------------------- 0.72s /WORKDIR/git-weekly-cig1u0vx4n/tests/roles/linux-system-roles.network/tasks/main.yml:105 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the dnf module rather than running 'dnf'. If you need to use command because dnf is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ---^---^---^---^---^---