# 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-cipmoietn5/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-cipmoietn5/tests/tests_auto_gateway_initscripts.yml:5 Saturday 17 February 2024 18:14:48 +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-cipmoietn5/tests/tests_auto_gateway_initscripts.yml:8 Saturday 17 February 2024 18:14:49 +0000 (0:00:01.341) 0:00:01.354 ***** included: /WORKDIR/git-weekly-cipmoietn5/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-cipmoietn5/tests/tasks/el_repo_setup.yml:3 Saturday 17 February 2024 18:14:49 +0000 (0:00:00.014) 0:00:01.368 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-cipmoietn5/tests/tasks/el_repo_setup.yml:19 Saturday 17 February 2024 18:14:49 +0000 (0:00:00.252) 0:00:01.621 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-weekly-cipmoietn5/tests/tasks/el_repo_setup.yml:24 Saturday 17 February 2024 18:14:49 +0000 (0:00:00.201) 0:00:01.822 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-weekly-cipmoietn5/tests/tasks/el_repo_setup.yml:28 Saturday 17 February 2024 18:14:49 +0000 (0:00:00.023) 0:00:01.846 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-weekly-cipmoietn5/tests/tasks/el_repo_setup.yml:53 Saturday 17 February 2024 18:14:49 +0000 (0:00:00.022) 0:00:01.869 ***** included: /WORKDIR/git-weekly-cipmoietn5/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 6] *********************************************************** task path: /WORKDIR/git-weekly-cipmoietn5/tests/tasks/enable_epel.yml:8 Saturday 17 February 2024 18:14:49 +0000 (0:00:00.042) 0:00:01.911 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-weekly-cipmoietn5/tests/tasks/enable_epel.yml:24 Saturday 17 February 2024 18:14:50 +0000 (0:00:00.014) 0:00:01.926 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-weekly-cipmoietn5/tests/tasks/enable_epel.yml:30 Saturday 17 February 2024 18:14:50 +0000 (0:00:00.013) 0:00:01.939 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-weekly-cipmoietn5/tests/tasks/enable_epel.yml:35 Saturday 17 February 2024 18:14:50 +0000 (0:00:00.015) 0:00:01.955 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-weekly-cipmoietn5/tests/tasks/enable_epel.yml:40 Saturday 17 February 2024 18:14:50 +0000 (0:00:00.013) 0:00:01.969 ***** changed: [sut] => { "changed": true, "checksum": "4bafddfe7badb0971135c888f25df1308b193622", "dest": "/etc/yum.repos.d/epel.repo", "gid": 0, "group": "root", "md5sum": "12399e686d606599d8958688eeeed500", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 155, "src": "/root/.ansible/tmp/ansible-tmp-1708193690.0874982-2794-262223563498285/source", "state": "file", "uid": 0 } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-weekly-cipmoietn5/tests/tests_auto_gateway_initscripts.yml:10 Saturday 17 February 2024 18:14:50 +0000 (0:00:00.521) 0:00:02.490 ***** 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-cipmoietn5/tests/playbooks/tests_auto_gateway.yml:3 Saturday 17 February 2024 18:14:50 +0000 (0:00:00.013) 0:00:02.504 ***** ok: [sut] META: ran handlers TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tests_auto_gateway.yml:9 Saturday 17 February 2024 18:14:51 +0000 (0:00:00.762) 0:00:03.266 ***** included: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 17 February 2024 18:14:51 +0000 (0:00:00.058) 0:00:03.324 ***** included: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 17 February 2024 18:14:51 +0000 (0:00:00.034) 0:00:03.359 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003208", "end": "2024-02-17 18:14:51.593392", "rc": 0, "start": "2024-02-17 18:14:51.590184" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 17 February 2024 18:14:51 +0000 (0:00:00.205) 0:00:03.565 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 17 February 2024 18:14:51 +0000 (0:00:00.036) 0:00:03.602 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tests_auto_gateway.yml:11 Saturday 17 February 2024 18:14:51 +0000 (0:00:00.018) 0:00:03.621 ***** included: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tasks/manage_test_interface.yml:3 Saturday 17 February 2024 18:14:51 +0000 (0:00:00.041) 0:00:03.662 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tasks/manage_test_interface.yml:8 Saturday 17 February 2024 18:14:51 +0000 (0:00:00.012) 0:00:03.674 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tasks/manage_test_interface.yml:13 Saturday 17 February 2024 18:14:51 +0000 (0:00:00.014) 0:00:03.689 ***** included: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 17 February 2024 18:14:51 +0000 (0:00:00.017) 0:00:03.706 ***** included: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 17 February 2024 18:14:51 +0000 (0:00:00.018) 0:00:03.725 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003261", "end": "2024-02-17 18:14:51.888450", "rc": 0, "start": "2024-02-17 18:14:51.885189" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 17 February 2024 18:14:51 +0000 (0:00:00.133) 0:00:03.858 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 17 February 2024 18:14:51 +0000 (0:00:00.016) 0:00:03.874 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tasks/manage_test_interface.yml:16 Saturday 17 February 2024 18:14:52 +0000 (0:00:00.045) 0:00:03.920 ***** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [ "iproute-2.6.32-57.el6.x86_64 providing iproute is already installed" ] } lsrpackages: iproute TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tasks/manage_test_interface.yml:28 Saturday 17 February 2024 18:14:52 +0000 (0:00:00.539) 0:00:04.459 ***** 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.040891", "end": "2024-02-17 18:14:52.663610", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-02-17 18:14:52.622719" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.006875", "end": "2024-02-17 18:14:52.849241", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-02-17 18:14:52.842366" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.003408", "end": "2024-02-17 18:14:52.975885", "item": "ip link set veth0 up", "rc": 0, "start": "2024-02-17 18:14:52.972477" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tasks/manage_test_interface.yml:37 Saturday 17 February 2024 18:14:53 +0000 (0:00:00.486) 0:00:04.946 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli d set veth0 managed true", "rc": 2 } MSG: [Errno 2] No such file or directory ...ignoring TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tasks/manage_test_interface.yml:45 Saturday 17 February 2024 18:14:53 +0000 (0:00:00.133) 0:00:05.079 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tasks/manage_test_interface.yml:52 Saturday 17 February 2024 18:14:53 +0000 (0:00:00.013) 0:00:05.093 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tasks/manage_test_interface.yml:58 Saturday 17 February 2024 18:14:53 +0000 (0:00:00.013) 0:00:05.107 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tasks/manage_test_interface.yml:65 Saturday 17 February 2024 18:14:53 +0000 (0:00:00.015) 0:00:05.123 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tasks/manage_test_interface.yml:71 Saturday 17 February 2024 18:14:53 +0000 (0:00:00.014) 0:00:05.137 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tests_auto_gateway.yml:15 Saturday 17 February 2024 18:14:53 +0000 (0:00:00.013) 0:00:05.151 ***** included: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 17 February 2024 18:14:53 +0000 (0:00:00.031) 0:00:05.182 ***** included: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 17 February 2024 18:14:53 +0000 (0:00:00.017) 0:00:05.200 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1708193692.8047945, "block_size": 4096, "blocks": 0, "ctime": 1708193692.785785, "dev": 0, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 6447, "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": 1708193692.785785, "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-cipmoietn5/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 17 February 2024 18:14:53 +0000 (0:00:00.133) 0:00:05.334 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tests_auto_gateway.yml:17 Saturday 17 February 2024 18:14:53 +0000 (0:00:00.014) 0:00:05.349 ***** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cipmoietn5/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 17 February 2024 18:14:53 +0000 (0:00:00.012) 0:00:05.361 ***** included: /WORKDIR/git-weekly-cipmoietn5/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-cipmoietn5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 17 February 2024 18:14:53 +0000 (0:00:00.070) 0:00:05.432 ***** 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-cipmoietn5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 17 February 2024 18:14:53 +0000 (0:00:00.015) 0:00:05.447 ***** 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-cipmoietn5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 17 February 2024 18:14:53 +0000 (0:00:00.012) 0:00:05.460 ***** 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-cipmoietn5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 17 February 2024 18:14:53 +0000 (0:00:00.012) 0:00:05.473 ***** 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-cipmoietn5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 17 February 2024 18:14:55 +0000 (0:00:01.645) 0:00:07.118 ***** 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-cipmoietn5/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 17 February 2024 18:14:55 +0000 (0:00:00.778) 0:00:07.897 ***** 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-cipmoietn5/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 17 February 2024 18:14:56 +0000 (0:00:00.023) 0:00:07.920 ***** 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-cipmoietn5/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 17 February 2024 18:14:56 +0000 (0:00:00.023) 0:00:07.944 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cipmoietn5/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 17 February 2024 18:14:56 +0000 (0:00:00.021) 0:00:07.965 ***** 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-cipmoietn5/tests/roles/linux-system-roles.network/tasks/main.yml:43 Saturday 17 February 2024 18:14:56 +0000 (0:00:00.044) 0:00:08.009 ***** 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-cipmoietn5/tests/roles/linux-system-roles.network/tasks/main.yml:58 Saturday 17 February 2024 18:14:56 +0000 (0:00:00.021) 0:00:08.031 ***** 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-cipmoietn5/tests/roles/linux-system-roles.network/tasks/main.yml:74 Saturday 17 February 2024 18:14:56 +0000 (0:00:00.022) 0:00:08.053 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cipmoietn5/tests/roles/linux-system-roles.network/tasks/main.yml:88 Saturday 17 February 2024 18:14:56 +0000 (0:00:00.025) 0:00:08.079 ***** 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-cipmoietn5/tests/roles/linux-system-roles.network/tasks/main.yml:99 Saturday 17 February 2024 18:14:56 +0000 (0:00:00.021) 0:00:08.100 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cipmoietn5/tests/roles/linux-system-roles.network/tasks/main.yml:108 Saturday 17 February 2024 18:14:56 +0000 (0:00:00.021) 0:00:08.122 ***** 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-cipmoietn5/tests/roles/linux-system-roles.network/tasks/main.yml:116 Saturday 17 February 2024 18:14:56 +0000 (0:00:00.285) 0:00:08.407 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2537ote2itaz/tmprk7yhs8l" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cipmoietn5/tests/roles/linux-system-roles.network/tasks/main.yml:125 Saturday 17 February 2024 18:14:56 +0000 (0:00:00.200) 0:00:08.608 ***** 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='Determining if ip address 203.0.113.2 is already in use for device veth0... ', err='' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cipmoietn5/tests/roles/linux-system-roles.network/tasks/main.yml:137 Saturday 17 February 2024 18:15:01 +0000 (0:00:04.479) 0:00:13.087 ***** 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-cipmoietn5/tests/roles/linux-system-roles.network/tasks/main.yml:143 Saturday 17 February 2024 18:15:01 +0000 (0:00:00.024) 0:00:13.111 ***** 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='Determining if ip address 203.0.113.2 is already in use for device veth0...", "', err=''" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cipmoietn5/tests/roles/linux-system-roles.network/tasks/main.yml:147 Saturday 17 February 2024 18:15:01 +0000 (0:00:00.025) 0:00:13.137 ***** 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='Determining if ip address 203.0.113.2 is already in use for device veth0...\n', err=''\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='Determining if ip address 203.0.113.2 is already in use for device veth0...", "', err=''" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cipmoietn5/tests/roles/linux-system-roles.network/tasks/main.yml:152 Saturday 17 February 2024 18:15:01 +0000 (0:00:00.025) 0:00:13.162 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cipmoietn5/tests/roles/linux-system-roles.network/tasks/main.yml:158 Saturday 17 February 2024 18:15:01 +0000 (0:00:00.025) 0:00:13.188 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tests_auto_gateway.yml:42 Saturday 17 February 2024 18:15:01 +0000 (0:00:00.209) 0:00:13.398 ***** included: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 17 February 2024 18:15:01 +0000 (0:00:00.073) 0:00:13.472 ***** included: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 17 February 2024 18:15:01 +0000 (0:00:00.035) 0:00:13.507 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1708193692.8047945, "block_size": 4096, "blocks": 0, "ctime": 1708193692.785785, "dev": 0, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 6447, "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": 1708193692.785785, "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-cipmoietn5/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 17 February 2024 18:15:01 +0000 (0:00:00.138) 0:00:13.646 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tests_auto_gateway.yml:44 Saturday 17 February 2024 18:15:01 +0000 (0:00:00.024) 0:00:13.671 ***** included: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 17 February 2024 18:15:01 +0000 (0:00:00.050) 0:00:13.721 ***** included: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 17 February 2024 18:15:01 +0000 (0:00:00.038) 0:00:13.760 ***** 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-cipmoietn5/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 17 February 2024 18:15:01 +0000 (0:00:00.023) 0:00:13.783 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1708193696.9988904, "block_size": 4096, "blocks": 8, "ctime": 1708193696.9868846, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 3668, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1708193696.9868846, "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-cipmoietn5/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 17 February 2024 18:15:02 +0000 (0:00:00.137) 0:00:13.921 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 17 February 2024 18:15:02 +0000 (0:00:00.025) 0:00:13.946 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.004992", "end": "2024-02-17 18:15:02.118303", "rc": 1, "start": "2024-02-17 18:15:02.113311" } STDERR: /bin/sh: nmcli: command not found 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-cipmoietn5/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 17 February 2024 18:15:02 +0000 (0:00:00.145) 0:00:14.091 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 17 February 2024 18:15:02 +0000 (0:00:00.023) 0:00:14.115 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003102", "end": "2024-02-17 18:15:02.285496", "rc": 0, "start": "2024-02-17 18:15:02.282394" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 17 February 2024 18:15:02 +0000 (0:00:00.143) 0:00:14.259 ***** 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-cipmoietn5/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 17 February 2024 18:15:02 +0000 (0:00:00.029) 0:00:14.288 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003215", "end": "2024-02-17 18:15:02.459490", "rc": 0, "start": "2024-02-17 18:15:02.456275" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 17 February 2024 18:15:02 +0000 (0:00:00.147) 0:00:14.436 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 17 February 2024 18:15:02 +0000 (0:00:00.028) 0:00:14.464 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 17 February 2024 18:15:02 +0000 (0:00:00.029) 0:00:14.494 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 17 February 2024 18:15:02 +0000 (0:00:00.026) 0:00:14.520 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tests_auto_gateway.yml:48 Saturday 17 February 2024 18:15:02 +0000 (0:00:00.024) 0:00:14.545 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003086", "end": "2024-02-17 18:15:02.714760", "rc": 0, "start": "2024-02-17 18:15:02.711674" } STDOUT: 203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.43.235 169.254.0.0/16 dev eth0 scope link metric 1002 169.254.0.0/16 dev veth0 scope link metric 1004 default via 10.31.40.1 dev eth0 default via 203.0.113.1 dev veth0 metric 65535 TASK [Assert default ipv4 route is present] ************************************ task path: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tests_auto_gateway.yml:52 Saturday 17 February 2024 18:15:02 +0000 (0:00:00.143) 0:00:14.689 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tests_auto_gateway.yml:58 Saturday 17 February 2024 18:15:02 +0000 (0:00:00.024) 0:00:14.713 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003062", "end": "2024-02-17 18:15:02.879541", "rc": 0, "start": "2024-02-17 18:15:02.876479" } STDOUT: unreachable ::/96 dev lo metric 1024 error -113 mtu 65536 unreachable ::ffff:0.0.0.0/96 dev lo metric 1024 error -113 mtu 65536 2001:db8::/64 dev veth0 proto kernel metric 256 mtu 1500 unreachable 2002:a00::/24 dev lo metric 1024 error -113 mtu 65536 unreachable 2002:7f00::/24 dev lo metric 1024 error -113 mtu 65536 unreachable 2002:a9fe::/32 dev lo metric 1024 error -113 mtu 65536 unreachable 2002:ac10::/28 dev lo metric 1024 error -113 mtu 65536 unreachable 2002:c0a8::/32 dev lo metric 1024 error -113 mtu 65536 unreachable 2002:e000::/19 dev lo metric 1024 error -113 mtu 65536 unreachable 3ffe:ffff::/32 dev lo metric 1024 error -113 mtu 65536 fe80::/64 dev eth0 proto kernel metric 256 mtu 9001 fe80::/64 dev veth0 proto kernel metric 256 mtu 1500 fe80::/64 dev peerveth0 proto kernel metric 256 mtu 1500 default via 2001:db8::1 dev veth0 metric 1 mtu 1500 TASK [Assert default ipv6 route is present] ************************************ task path: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tests_auto_gateway.yml:62 Saturday 17 February 2024 18:15:02 +0000 (0:00:00.140) 0:00:14.853 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tests_auto_gateway.yml:69 Saturday 17 February 2024 18:15:02 +0000 (0:00:00.021) 0:00:14.875 ***** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cipmoietn5/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 17 February 2024 18:15:02 +0000 (0:00:00.022) 0:00:14.897 ***** included: /WORKDIR/git-weekly-cipmoietn5/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-cipmoietn5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 17 February 2024 18:15:03 +0000 (0:00:00.038) 0:00:14.935 ***** 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-cipmoietn5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 17 February 2024 18:15:03 +0000 (0:00:00.028) 0:00:14.964 ***** 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-cipmoietn5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 17 February 2024 18:15:03 +0000 (0:00:00.062) 0:00:15.026 ***** 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-cipmoietn5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 17 February 2024 18:15:03 +0000 (0:00:00.023) 0:00:15.050 ***** 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-cipmoietn5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 17 February 2024 18:15:04 +0000 (0:00:01.445) 0:00:16.495 ***** 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-cipmoietn5/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 17 February 2024 18:15:05 +0000 (0:00:00.586) 0:00:17.082 ***** 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-cipmoietn5/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 17 February 2024 18:15:05 +0000 (0:00:00.025) 0:00:17.107 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-cipmoietn5/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 17 February 2024 18:15:05 +0000 (0:00:00.023) 0:00:17.130 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cipmoietn5/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 17 February 2024 18:15:05 +0000 (0:00:00.022) 0:00:17.153 ***** 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-cipmoietn5/tests/roles/linux-system-roles.network/tasks/main.yml:43 Saturday 17 February 2024 18:15:05 +0000 (0:00:00.080) 0:00:17.233 ***** 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-cipmoietn5/tests/roles/linux-system-roles.network/tasks/main.yml:58 Saturday 17 February 2024 18:15:05 +0000 (0:00:00.023) 0:00:17.257 ***** 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-cipmoietn5/tests/roles/linux-system-roles.network/tasks/main.yml:74 Saturday 17 February 2024 18:15:05 +0000 (0:00:00.023) 0:00:17.280 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cipmoietn5/tests/roles/linux-system-roles.network/tasks/main.yml:88 Saturday 17 February 2024 18:15:05 +0000 (0:00:00.025) 0:00:17.306 ***** 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-cipmoietn5/tests/roles/linux-system-roles.network/tasks/main.yml:99 Saturday 17 February 2024 18:15:05 +0000 (0:00:00.024) 0:00:17.330 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cipmoietn5/tests/roles/linux-system-roles.network/tasks/main.yml:108 Saturday 17 February 2024 18:15:05 +0000 (0:00:00.022) 0:00:17.352 ***** 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-cipmoietn5/tests/roles/linux-system-roles.network/tasks/main.yml:116 Saturday 17 February 2024 18:15:05 +0000 (0:00:00.190) 0:00:17.543 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2537ote2itaz/tmpf9ty8pei" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cipmoietn5/tests/roles/linux-system-roles.network/tasks/main.yml:125 Saturday 17 February 2024 18:15:05 +0000 (0:00:00.200) 0:00:17.744 ***** 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='', err='' [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-cipmoietn5/tests/roles/linux-system-roles.network/tasks/main.yml:137 Saturday 17 February 2024 18:15:06 +0000 (0:00:00.415) 0:00:18.159 ***** 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-cipmoietn5/tests/roles/linux-system-roles.network/tasks/main.yml:143 Saturday 17 February 2024 18:15:06 +0000 (0:00:00.024) 0:00:18.183 ***** 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='', err=''", "[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-cipmoietn5/tests/roles/linux-system-roles.network/tasks/main.yml:147 Saturday 17 February 2024 18:15:06 +0000 (0:00:00.024) 0:00:18.208 ***** 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='', err=''\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='', err=''", "[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-cipmoietn5/tests/roles/linux-system-roles.network/tasks/main.yml:152 Saturday 17 February 2024 18:15:06 +0000 (0:00:00.025) 0:00:18.233 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cipmoietn5/tests/roles/linux-system-roles.network/tasks/main.yml:158 Saturday 17 February 2024 18:15:06 +0000 (0:00:00.022) 0:00:18.255 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tests_auto_gateway.yml:81 Saturday 17 February 2024 18:15:06 +0000 (0:00:00.134) 0:00:18.390 ***** included: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tasks/manage_test_interface.yml:3 Saturday 17 February 2024 18:15:06 +0000 (0:00:00.097) 0:00:18.488 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tasks/manage_test_interface.yml:8 Saturday 17 February 2024 18:15:06 +0000 (0:00:00.023) 0:00:18.512 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tasks/manage_test_interface.yml:13 Saturday 17 February 2024 18:15:06 +0000 (0:00:00.023) 0:00:18.536 ***** included: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 17 February 2024 18:15:06 +0000 (0:00:00.039) 0:00:18.575 ***** included: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 17 February 2024 18:15:06 +0000 (0:00:00.035) 0:00:18.611 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003203", "end": "2024-02-17 18:15:06.781106", "rc": 0, "start": "2024-02-17 18:15:06.777903" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 17 February 2024 18:15:06 +0000 (0:00:00.142) 0:00:18.753 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 17 February 2024 18:15:06 +0000 (0:00:00.023) 0:00:18.777 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tasks/manage_test_interface.yml:16 Saturday 17 February 2024 18:15:06 +0000 (0:00:00.024) 0:00:18.802 ***** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [ "iproute-2.6.32-57.el6.x86_64 providing iproute is already installed" ] } lsrpackages: iproute TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tasks/manage_test_interface.yml:28 Saturday 17 February 2024 18:15:07 +0000 (0:00:00.415) 0:00:19.217 ***** 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-cipmoietn5/tests/playbooks/tasks/manage_test_interface.yml:37 Saturday 17 February 2024 18:15:07 +0000 (0:00:00.032) 0:00:19.250 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tasks/manage_test_interface.yml:45 Saturday 17 February 2024 18:15:07 +0000 (0:00:00.024) 0:00:19.274 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.047794", "end": "2024-02-17 18:15:07.490371", "rc": 0, "start": "2024-02-17 18:15:07.442577" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tasks/manage_test_interface.yml:52 Saturday 17 February 2024 18:15:07 +0000 (0:00:00.201) 0:00:19.476 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tasks/manage_test_interface.yml:58 Saturday 17 February 2024 18:15:07 +0000 (0:00:00.075) 0:00:19.551 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tasks/manage_test_interface.yml:65 Saturday 17 February 2024 18:15:07 +0000 (0:00:00.026) 0:00:19.577 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tasks/manage_test_interface.yml:71 Saturday 17 February 2024 18:15:07 +0000 (0:00:00.025) 0:00:19.603 ***** 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-cipmoietn5/tests/playbooks/tests_auto_gateway.yml:85 Saturday 17 February 2024 18:15:07 +0000 (0:00:00.024) 0:00:19.628 ***** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tests_auto_gateway.yml:89 Saturday 17 February 2024 18:15:07 +0000 (0:00:00.024) 0:00:19.652 ***** included: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tasks/manage_test_interface.yml:3 Saturday 17 February 2024 18:15:07 +0000 (0:00:00.059) 0:00:19.712 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tasks/manage_test_interface.yml:8 Saturday 17 February 2024 18:15:07 +0000 (0:00:00.022) 0:00:19.734 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tasks/manage_test_interface.yml:13 Saturday 17 February 2024 18:15:07 +0000 (0:00:00.022) 0:00:19.756 ***** included: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 17 February 2024 18:15:07 +0000 (0:00:00.035) 0:00:19.792 ***** included: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 17 February 2024 18:15:07 +0000 (0:00:00.034) 0:00:19.827 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003174", "end": "2024-02-17 18:15:08.000715", "rc": 0, "start": "2024-02-17 18:15:07.997541" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 17 February 2024 18:15:08 +0000 (0:00:00.144) 0:00:19.971 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 17 February 2024 18:15:08 +0000 (0:00:00.024) 0:00:19.996 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tasks/manage_test_interface.yml:16 Saturday 17 February 2024 18:15:08 +0000 (0:00:00.023) 0:00:20.020 ***** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [ "iproute-2.6.32-57.el6.x86_64 providing iproute is already installed" ] } lsrpackages: iproute TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tasks/manage_test_interface.yml:28 Saturday 17 February 2024 18:15:08 +0000 (0:00:00.455) 0:00:20.476 ***** 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.003867", "end": "2024-02-17 18:15:08.654516", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-02-17 18:15:08.650649" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003311", "end": "2024-02-17 18:15:08.810753", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-02-17 18:15:08.807442" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.003538", "end": "2024-02-17 18:15:08.935691", "item": "ip link set veth0 up", "rc": 0, "start": "2024-02-17 18:15:08.932153" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tasks/manage_test_interface.yml:37 Saturday 17 February 2024 18:15:08 +0000 (0:00:00.432) 0:00:20.909 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli d set veth0 managed true", "rc": 2 } MSG: [Errno 2] No such file or directory ...ignoring TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tasks/manage_test_interface.yml:45 Saturday 17 February 2024 18:15:09 +0000 (0:00:00.144) 0:00:21.053 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tasks/manage_test_interface.yml:52 Saturday 17 February 2024 18:15:09 +0000 (0:00:00.024) 0:00:21.077 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tasks/manage_test_interface.yml:58 Saturday 17 February 2024 18:15:09 +0000 (0:00:00.025) 0:00:21.102 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tasks/manage_test_interface.yml:65 Saturday 17 February 2024 18:15:09 +0000 (0:00:00.024) 0:00:21.127 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tasks/manage_test_interface.yml:71 Saturday 17 February 2024 18:15:09 +0000 (0:00:00.023) 0:00:21.151 ***** 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-cipmoietn5/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 17 February 2024 18:15:09 +0000 (0:00:00.024) 0:00:21.175 ***** included: /WORKDIR/git-weekly-cipmoietn5/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-cipmoietn5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 17 February 2024 18:15:09 +0000 (0:00:00.038) 0:00:21.214 ***** 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-cipmoietn5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 17 February 2024 18:15:09 +0000 (0:00:00.028) 0:00:21.242 ***** 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-cipmoietn5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 17 February 2024 18:15:09 +0000 (0:00:00.022) 0:00:21.265 ***** 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-cipmoietn5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 17 February 2024 18:15:09 +0000 (0:00:00.022) 0:00:21.287 ***** 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-cipmoietn5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 17 February 2024 18:15:10 +0000 (0:00:01.562) 0:00:22.849 ***** 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-cipmoietn5/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 17 February 2024 18:15:11 +0000 (0:00:00.604) 0:00:23.453 ***** 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-cipmoietn5/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 17 February 2024 18:15:11 +0000 (0:00:00.023) 0:00:23.477 ***** 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-cipmoietn5/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 17 February 2024 18:15:11 +0000 (0:00:00.022) 0:00:23.500 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cipmoietn5/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 17 February 2024 18:15:11 +0000 (0:00:00.022) 0:00:23.522 ***** 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-cipmoietn5/tests/roles/linux-system-roles.network/tasks/main.yml:43 Saturday 17 February 2024 18:15:11 +0000 (0:00:00.044) 0:00:23.567 ***** 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-cipmoietn5/tests/roles/linux-system-roles.network/tasks/main.yml:58 Saturday 17 February 2024 18:15:11 +0000 (0:00:00.022) 0:00:23.589 ***** 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-cipmoietn5/tests/roles/linux-system-roles.network/tasks/main.yml:74 Saturday 17 February 2024 18:15:11 +0000 (0:00:00.022) 0:00:23.611 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cipmoietn5/tests/roles/linux-system-roles.network/tasks/main.yml:88 Saturday 17 February 2024 18:15:11 +0000 (0:00:00.066) 0:00:23.678 ***** 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-cipmoietn5/tests/roles/linux-system-roles.network/tasks/main.yml:99 Saturday 17 February 2024 18:15:11 +0000 (0:00:00.023) 0:00:23.701 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cipmoietn5/tests/roles/linux-system-roles.network/tasks/main.yml:108 Saturday 17 February 2024 18:15:11 +0000 (0:00:00.023) 0:00:23.724 ***** 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-cipmoietn5/tests/roles/linux-system-roles.network/tasks/main.yml:116 Saturday 17 February 2024 18:15:12 +0000 (0:00:00.198) 0:00:23.923 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2537ote2itaz/tmpz28pdqej" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cipmoietn5/tests/roles/linux-system-roles.network/tasks/main.yml:125 Saturday 17 February 2024 18:15:12 +0000 (0:00:00.210) 0:00:24.133 ***** 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='Determining if ip address 203.0.113.2 is already in use for device veth0... ', err='' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cipmoietn5/tests/roles/linux-system-roles.network/tasks/main.yml:137 Saturday 17 February 2024 18:15:16 +0000 (0:00:04.372) 0:00:28.506 ***** 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-cipmoietn5/tests/roles/linux-system-roles.network/tasks/main.yml:143 Saturday 17 February 2024 18:15:16 +0000 (0:00:00.022) 0:00:28.529 ***** 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='Determining if ip address 203.0.113.2 is already in use for device veth0...", "', err=''" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cipmoietn5/tests/roles/linux-system-roles.network/tasks/main.yml:147 Saturday 17 February 2024 18:15:16 +0000 (0:00:00.024) 0:00:28.554 ***** 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='Determining if ip address 203.0.113.2 is already in use for device veth0...\n', err=''\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='Determining if ip address 203.0.113.2 is already in use for device veth0...", "', err=''" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cipmoietn5/tests/roles/linux-system-roles.network/tasks/main.yml:152 Saturday 17 February 2024 18:15:16 +0000 (0:00:00.069) 0:00:28.623 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cipmoietn5/tests/roles/linux-system-roles.network/tasks/main.yml:158 Saturday 17 February 2024 18:15:16 +0000 (0:00:00.023) 0:00:28.646 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tests_auto_gateway.yml:110 Saturday 17 February 2024 18:15:16 +0000 (0:00:00.130) 0:00:28.777 ***** included: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 17 February 2024 18:15:16 +0000 (0:00:00.054) 0:00:28.831 ***** included: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 17 February 2024 18:15:16 +0000 (0:00:00.036) 0:00:28.868 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1708193708.681729, "block_size": 4096, "blocks": 0, "ctime": 1708193708.6607184, "dev": 0, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 6447, "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": 1708193708.6607184, "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-cipmoietn5/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 17 February 2024 18:15:17 +0000 (0:00:00.133) 0:00:29.001 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tests_auto_gateway.yml:112 Saturday 17 February 2024 18:15:17 +0000 (0:00:00.024) 0:00:29.025 ***** included: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 17 February 2024 18:15:17 +0000 (0:00:00.054) 0:00:29.079 ***** included: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 17 February 2024 18:15:17 +0000 (0:00:00.037) 0:00:29.117 ***** 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-cipmoietn5/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 17 February 2024 18:15:17 +0000 (0:00:00.023) 0:00:29.141 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1708193712.437606, "block_size": 4096, "blocks": 8, "ctime": 1708193712.4256, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 3668, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1708193712.4256, "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-cipmoietn5/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 17 February 2024 18:15:17 +0000 (0:00:00.190) 0:00:29.331 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 17 February 2024 18:15:17 +0000 (0:00:00.024) 0:00:29.356 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.004827", "end": "2024-02-17 18:15:17.528052", "rc": 1, "start": "2024-02-17 18:15:17.523225" } STDERR: /bin/sh: nmcli: command not found 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-cipmoietn5/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 17 February 2024 18:15:17 +0000 (0:00:00.137) 0:00:29.493 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 17 February 2024 18:15:17 +0000 (0:00:00.024) 0:00:29.518 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003063", "end": "2024-02-17 18:15:17.699177", "rc": 0, "start": "2024-02-17 18:15:17.696114" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 17 February 2024 18:15:17 +0000 (0:00:00.149) 0:00:29.667 ***** 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-cipmoietn5/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 17 February 2024 18:15:17 +0000 (0:00:00.028) 0:00:29.696 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003107", "end": "2024-02-17 18:15:17.877277", "rc": 0, "start": "2024-02-17 18:15:17.874170" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 17 February 2024 18:15:17 +0000 (0:00:00.148) 0:00:29.845 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 17 February 2024 18:15:17 +0000 (0:00:00.029) 0:00:29.875 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 17 February 2024 18:15:17 +0000 (0:00:00.026) 0:00:29.901 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 17 February 2024 18:15:18 +0000 (0:00:00.026) 0:00:29.927 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tests_auto_gateway.yml:116 Saturday 17 February 2024 18:15:18 +0000 (0:00:00.026) 0:00:29.953 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003041", "end": "2024-02-17 18:15:18.129285", "rc": 0, "start": "2024-02-17 18:15:18.126244" } STDOUT: 203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.43.235 169.254.0.0/16 dev eth0 scope link metric 1002 169.254.0.0/16 dev veth0 scope link metric 1006 default via 10.31.40.1 dev eth0 TASK [Assert default ipv4 route is absent] ************************************* task path: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tests_auto_gateway.yml:120 Saturday 17 February 2024 18:15:18 +0000 (0:00:00.142) 0:00:30.096 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tests_auto_gateway.yml:126 Saturday 17 February 2024 18:15:18 +0000 (0:00:00.025) 0:00:30.121 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003177", "end": "2024-02-17 18:15:18.297404", "rc": 0, "start": "2024-02-17 18:15:18.294227" } STDOUT: unreachable ::/96 dev lo metric 1024 error -113 mtu 65536 unreachable ::ffff:0.0.0.0/96 dev lo metric 1024 error -113 mtu 65536 2001:db8::/64 dev veth0 proto kernel metric 256 mtu 1500 unreachable 2002:a00::/24 dev lo metric 1024 error -113 mtu 65536 unreachable 2002:7f00::/24 dev lo metric 1024 error -113 mtu 65536 unreachable 2002:a9fe::/32 dev lo metric 1024 error -113 mtu 65536 unreachable 2002:ac10::/28 dev lo metric 1024 error -113 mtu 65536 unreachable 2002:c0a8::/32 dev lo metric 1024 error -113 mtu 65536 unreachable 2002:e000::/19 dev lo metric 1024 error -113 mtu 65536 unreachable 3ffe:ffff::/32 dev lo metric 1024 error -113 mtu 65536 fe80::/64 dev eth0 proto kernel metric 256 mtu 9001 fe80::/64 dev veth0 proto kernel metric 256 mtu 1500 fe80::/64 dev peerveth0 proto kernel metric 256 mtu 1500 default via 2001:db8::1 dev veth0 metric 1 mtu 1500 TASK [Assert default ipv6 route is absent] ************************************* task path: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tests_auto_gateway.yml:130 Saturday 17 February 2024 18:15:18 +0000 (0:00:00.141) 0:00:30.263 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tests_auto_gateway.yml:137 Saturday 17 February 2024 18:15:18 +0000 (0:00:00.023) 0:00:30.286 ***** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cipmoietn5/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 17 February 2024 18:15:18 +0000 (0:00:00.076) 0:00:30.363 ***** included: /WORKDIR/git-weekly-cipmoietn5/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-cipmoietn5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 17 February 2024 18:15:18 +0000 (0:00:00.041) 0:00:30.404 ***** 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-cipmoietn5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 17 February 2024 18:15:18 +0000 (0:00:00.030) 0:00:30.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-cipmoietn5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 17 February 2024 18:15:18 +0000 (0:00:00.023) 0:00:30.458 ***** 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-cipmoietn5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 17 February 2024 18:15:18 +0000 (0:00:00.024) 0:00:30.482 ***** 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-cipmoietn5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 17 February 2024 18:15:20 +0000 (0:00:01.506) 0:00:31.988 ***** 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-cipmoietn5/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 17 February 2024 18:15:20 +0000 (0:00:00.640) 0:00:32.628 ***** 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-cipmoietn5/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 17 February 2024 18:15:20 +0000 (0:00:00.025) 0:00:32.653 ***** 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-cipmoietn5/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 17 February 2024 18:15:20 +0000 (0:00:00.022) 0:00:32.676 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cipmoietn5/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 17 February 2024 18:15:20 +0000 (0:00:00.023) 0:00:32.699 ***** 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-cipmoietn5/tests/roles/linux-system-roles.network/tasks/main.yml:43 Saturday 17 February 2024 18:15:20 +0000 (0:00:00.044) 0:00:32.744 ***** 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-cipmoietn5/tests/roles/linux-system-roles.network/tasks/main.yml:58 Saturday 17 February 2024 18:15:20 +0000 (0:00:00.023) 0:00:32.767 ***** 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-cipmoietn5/tests/roles/linux-system-roles.network/tasks/main.yml:74 Saturday 17 February 2024 18:15:20 +0000 (0:00:00.022) 0:00:32.790 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cipmoietn5/tests/roles/linux-system-roles.network/tasks/main.yml:88 Saturday 17 February 2024 18:15:20 +0000 (0:00:00.027) 0:00:32.817 ***** 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-cipmoietn5/tests/roles/linux-system-roles.network/tasks/main.yml:99 Saturday 17 February 2024 18:15:20 +0000 (0:00:00.024) 0:00:32.842 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cipmoietn5/tests/roles/linux-system-roles.network/tasks/main.yml:108 Saturday 17 February 2024 18:15:20 +0000 (0:00:00.022) 0:00:32.864 ***** 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-cipmoietn5/tests/roles/linux-system-roles.network/tasks/main.yml:116 Saturday 17 February 2024 18:15:21 +0000 (0:00:00.198) 0:00:33.063 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2537ote2itaz/tmp12q7ri7u" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cipmoietn5/tests/roles/linux-system-roles.network/tasks/main.yml:125 Saturday 17 February 2024 18:15:21 +0000 (0:00:00.213) 0:00:33.277 ***** 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='', err='' [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-cipmoietn5/tests/roles/linux-system-roles.network/tasks/main.yml:137 Saturday 17 February 2024 18:15:21 +0000 (0:00:00.385) 0:00:33.662 ***** 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-cipmoietn5/tests/roles/linux-system-roles.network/tasks/main.yml:143 Saturday 17 February 2024 18:15:21 +0000 (0:00:00.022) 0:00:33.684 ***** 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='', err=''", "[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-cipmoietn5/tests/roles/linux-system-roles.network/tasks/main.yml:147 Saturday 17 February 2024 18:15:21 +0000 (0:00:00.024) 0:00:33.709 ***** 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='', err=''\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='', err=''", "[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-cipmoietn5/tests/roles/linux-system-roles.network/tasks/main.yml:152 Saturday 17 February 2024 18:15:21 +0000 (0:00:00.075) 0:00:33.784 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cipmoietn5/tests/roles/linux-system-roles.network/tasks/main.yml:158 Saturday 17 February 2024 18:15:21 +0000 (0:00:00.022) 0:00:33.807 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tests_auto_gateway.yml:149 Saturday 17 February 2024 18:15:22 +0000 (0:00:00.137) 0:00:33.944 ***** included: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tasks/manage_test_interface.yml:3 Saturday 17 February 2024 18:15:22 +0000 (0:00:00.055) 0:00:33.999 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tasks/manage_test_interface.yml:8 Saturday 17 February 2024 18:15:22 +0000 (0:00:00.024) 0:00:34.024 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tasks/manage_test_interface.yml:13 Saturday 17 February 2024 18:15:22 +0000 (0:00:00.022) 0:00:34.047 ***** included: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 17 February 2024 18:15:22 +0000 (0:00:00.037) 0:00:34.085 ***** included: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 17 February 2024 18:15:22 +0000 (0:00:00.035) 0:00:34.120 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003232", "end": "2024-02-17 18:15:22.298524", "rc": 0, "start": "2024-02-17 18:15:22.295292" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 17 February 2024 18:15:22 +0000 (0:00:00.143) 0:00:34.263 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 17 February 2024 18:15:22 +0000 (0:00:00.024) 0:00:34.288 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tasks/manage_test_interface.yml:16 Saturday 17 February 2024 18:15:22 +0000 (0:00:00.023) 0:00:34.311 ***** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [ "iproute-2.6.32-57.el6.x86_64 providing iproute is already installed" ] } lsrpackages: iproute TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tasks/manage_test_interface.yml:28 Saturday 17 February 2024 18:15:22 +0000 (0:00:00.468) 0:00:34.780 ***** 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-cipmoietn5/tests/playbooks/tasks/manage_test_interface.yml:37 Saturday 17 February 2024 18:15:22 +0000 (0:00:00.034) 0:00:34.815 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tasks/manage_test_interface.yml:45 Saturday 17 February 2024 18:15:22 +0000 (0:00:00.025) 0:00:34.841 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.050609", "end": "2024-02-17 18:15:23.067336", "rc": 0, "start": "2024-02-17 18:15:23.016727" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tasks/manage_test_interface.yml:52 Saturday 17 February 2024 18:15:23 +0000 (0:00:00.206) 0:00:35.047 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tasks/manage_test_interface.yml:58 Saturday 17 February 2024 18:15:23 +0000 (0:00:00.025) 0:00:35.073 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tasks/manage_test_interface.yml:65 Saturday 17 February 2024 18:15:23 +0000 (0:00:00.024) 0:00:35.098 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tasks/manage_test_interface.yml:71 Saturday 17 February 2024 18:15:23 +0000 (0:00:00.025) 0:00:35.123 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify network state restored to default] ******************************** task path: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tests_auto_gateway.yml:153 Saturday 17 February 2024 18:15:23 +0000 (0:00:00.023) 0:00:35.147 ***** included: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tasks/check_network_dns.yml:6 Saturday 17 February 2024 18:15:23 +0000 (0:00:00.054) 0:00:35.202 ***** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :\nfi\n", "delta": "0:00:00.006626", "end": "2024-02-17 18:15:23.385257", "rc": 0, "start": "2024-02-17 18:15:23.378631" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc pfifo_fast state UP qlen 1000 link/ether 0e:cc:e4:11:b1:d5 brd ff:ff:ff:ff:ff:ff inet 10.31.43.235/22 brd 10.31.43.255 scope global eth0 inet6 fe80::ccc:e4ff:fe11:b1d5/64 scope link valid_lft forever preferred_lft forever IP ROUTE 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.43.235 169.254.0.0/16 dev eth0 scope link metric 1002 default via 10.31.40.1 dev eth0 IP -6 ROUTE unreachable ::/96 dev lo metric 1024 error -113 mtu 65536 unreachable ::ffff:0.0.0.0/96 dev lo metric 1024 error -113 mtu 65536 unreachable 2002:a00::/24 dev lo metric 1024 error -113 mtu 65536 unreachable 2002:7f00::/24 dev lo metric 1024 error -113 mtu 65536 unreachable 2002:a9fe::/32 dev lo metric 1024 error -113 mtu 65536 unreachable 2002:ac10::/28 dev lo metric 1024 error -113 mtu 65536 unreachable 2002:c0a8::/32 dev lo metric 1024 error -113 mtu 65536 unreachable 2002:e000::/19 dev lo metric 1024 error -113 mtu 65536 unreachable 3ffe:ffff::/32 dev lo metric 1024 error -113 mtu 65536 fe80::/64 dev eth0 proto kernel metric 256 mtu 9001 RESOLV ; Created by cloud-init on instance boot automatically, do not edit. ; ; generated by /sbin/dhclient-script search us-east-1.aws.redhat.com nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and network connectivity] ************************************* task path: /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tasks/check_network_dns.yml:24 Saturday 17 February 2024 18:15:23 +0000 (0:00:00.146) 0:00:35.348 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=138 changed=5 unreachable=0 failed=0 skipped=92 rescued=0 ignored=4 Saturday 17 February 2024 18:15:23 +0000 (0:00:00.014) 0:00:35.362 ***** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 4.48s /WORKDIR/git-weekly-cipmoietn5/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Configure networking connection profiles --- 4.37s /WORKDIR/git-weekly-cipmoietn5/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Check which services are running ----------- 1.65s /WORKDIR/git-weekly-cipmoietn5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.56s /WORKDIR/git-weekly-cipmoietn5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.51s /WORKDIR/git-weekly-cipmoietn5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.45s /WORKDIR/git-weekly-cipmoietn5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Gathering Facts --------------------------------------------------------- 1.34s /WORKDIR/git-weekly-cipmoietn5/tests/tests_auto_gateway_initscripts.yml:5 ----- linux-system-roles.network : Configure networking connection profiles --- 0.80s /WORKDIR/git-weekly-cipmoietn5/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Check which packages are installed --------- 0.78s /WORKDIR/git-weekly-cipmoietn5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Gathering Facts --------------------------------------------------------- 0.76s /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tests_auto_gateway.yml:3 ------- linux-system-roles.network : Check which packages are installed --------- 0.64s /WORKDIR/git-weekly-cipmoietn5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.60s /WORKDIR/git-weekly-cipmoietn5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.59s /WORKDIR/git-weekly-cipmoietn5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Install iproute --------------------------------------------------------- 0.54s /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tasks/manage_test_interface.yml:16 Enable EPEL 6 ----------------------------------------------------------- 0.52s /WORKDIR/git-weekly-cipmoietn5/tests/tasks/enable_epel.yml:40 ----------------- Create veth interface veth0 --------------------------------------------- 0.49s /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tasks/manage_test_interface.yml:28 Install iproute --------------------------------------------------------- 0.47s /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.46s /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tasks/manage_test_interface.yml:16 Create veth interface veth0 --------------------------------------------- 0.43s /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tasks/manage_test_interface.yml:28 Install iproute --------------------------------------------------------- 0.42s /WORKDIR/git-weekly-cipmoietn5/tests/playbooks/tasks/manage_test_interface.yml:16 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---