# 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-ciiad7q520/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-ciiad7q520/tests/tests_auto_gateway_initscripts.yml:4 Saturday 16 December 2023 13:32:59 +0000 (0:00:00.011) 0:00:00.011 ***** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-weekly-ciiad7q520/tests/tests_auto_gateway_initscripts.yml:8 Saturday 16 December 2023 13:33:00 +0000 (0:00:01.466) 0:00:01.478 ***** included: /WORKDIR/git-weekly-ciiad7q520/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-ciiad7q520/tests/tasks/el_repo_setup.yml:3 Saturday 16 December 2023 13:33:00 +0000 (0:00:00.013) 0:00:01.491 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-ciiad7q520/tests/tasks/el_repo_setup.yml:19 Saturday 16 December 2023 13:33:01 +0000 (0:00:00.234) 0:00:01.725 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-weekly-ciiad7q520/tests/tasks/el_repo_setup.yml:24 Saturday 16 December 2023 13:33:01 +0000 (0:00:00.165) 0:00:01.891 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-weekly-ciiad7q520/tests/tasks/el_repo_setup.yml:28 Saturday 16 December 2023 13:33:01 +0000 (0:00:00.020) 0:00:01.911 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-weekly-ciiad7q520/tests/tasks/el_repo_setup.yml:53 Saturday 16 December 2023 13:33:01 +0000 (0:00:00.017) 0:00:01.929 ***** included: /WORKDIR/git-weekly-ciiad7q520/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 6] *********************************************************** task path: /WORKDIR/git-weekly-ciiad7q520/tests/tasks/enable_epel.yml:8 Saturday 16 December 2023 13:33:01 +0000 (0:00:00.033) 0:00:01.962 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-weekly-ciiad7q520/tests/tasks/enable_epel.yml:24 Saturday 16 December 2023 13:33:01 +0000 (0:00:00.011) 0:00:01.973 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-weekly-ciiad7q520/tests/tasks/enable_epel.yml:30 Saturday 16 December 2023 13:33:01 +0000 (0:00:00.010) 0:00:01.983 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-weekly-ciiad7q520/tests/tasks/enable_epel.yml:35 Saturday 16 December 2023 13:33:01 +0000 (0:00:00.010) 0:00:01.994 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-weekly-ciiad7q520/tests/tasks/enable_epel.yml:40 Saturday 16 December 2023 13:33:01 +0000 (0:00:00.010) 0:00:02.005 ***** 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-1702733581.3250394-2341-27605119185710/source", "state": "file", "uid": 0 } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-weekly-ciiad7q520/tests/tests_auto_gateway_initscripts.yml:10 Saturday 16 December 2023 13:33:01 +0000 (0:00:00.465) 0:00:02.470 ***** 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-ciiad7q520/tests/playbooks/tests_auto_gateway.yml:3 Saturday 16 December 2023 13:33:01 +0000 (0:00:00.011) 0:00:02.482 ***** ok: [sut] META: ran handlers TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tests_auto_gateway.yml:9 Saturday 16 December 2023 13:33:02 +0000 (0:00:00.700) 0:00:03.183 ***** included: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 16 December 2023 13:33:02 +0000 (0:00:00.026) 0:00:03.209 ***** included: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 16 December 2023 13:33:02 +0000 (0:00:00.015) 0:00:03.225 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003139", "end": "2023-12-16 13:33:02.677060", "rc": 0, "start": "2023-12-16 13:33:02.673921" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 16 December 2023 13:33:02 +0000 (0:00:00.185) 0:00:03.410 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 16 December 2023 13:33:02 +0000 (0:00:00.013) 0:00:03.424 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tests_auto_gateway.yml:11 Saturday 16 December 2023 13:33:02 +0000 (0:00:00.011) 0:00:03.436 ***** included: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tasks/manage_test_interface.yml:3 Saturday 16 December 2023 13:33:02 +0000 (0:00:00.029) 0:00:03.465 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tasks/manage_test_interface.yml:8 Saturday 16 December 2023 13:33:02 +0000 (0:00:00.012) 0:00:03.478 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tasks/manage_test_interface.yml:13 Saturday 16 December 2023 13:33:02 +0000 (0:00:00.010) 0:00:03.489 ***** included: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 16 December 2023 13:33:02 +0000 (0:00:00.015) 0:00:03.504 ***** included: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 16 December 2023 13:33:02 +0000 (0:00:00.014) 0:00:03.519 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002998", "end": "2023-12-16 13:33:02.902213", "rc": 0, "start": "2023-12-16 13:33:02.899215" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 16 December 2023 13:33:02 +0000 (0:00:00.116) 0:00:03.636 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 16 December 2023 13:33:02 +0000 (0:00:00.037) 0:00:03.673 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tasks/manage_test_interface.yml:16 Saturday 16 December 2023 13:33:02 +0000 (0:00:00.018) 0:00:03.692 ***** ok: [sut] => { "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-ciiad7q520/tests/playbooks/tasks/manage_test_interface.yml:24 Saturday 16 December 2023 13:33:03 +0000 (0:00:00.483) 0:00:04.176 ***** 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.152728", "end": "2023-12-16 13:33:03.717239", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2023-12-16 13:33:03.564511" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004133", "end": "2023-12-16 13:33:03.871499", "item": "ip link set peerveth0 up", "rc": 0, "start": "2023-12-16 13:33:03.867366" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.003136", "end": "2023-12-16 13:33:03.988858", "item": "ip link set veth0 up", "rc": 0, "start": "2023-12-16 13:33:03.985722" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tasks/manage_test_interface.yml:33 Saturday 16 December 2023 13:33:04 +0000 (0:00:00.546) 0:00:04.722 ***** 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-ciiad7q520/tests/playbooks/tasks/manage_test_interface.yml:41 Saturday 16 December 2023 13:33:04 +0000 (0:00:00.116) 0:00:04.839 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tasks/manage_test_interface.yml:48 Saturday 16 December 2023 13:33:04 +0000 (0:00:00.013) 0:00:04.852 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tasks/manage_test_interface.yml:54 Saturday 16 December 2023 13:33:04 +0000 (0:00:00.013) 0:00:04.865 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tasks/manage_test_interface.yml:61 Saturday 16 December 2023 13:33:04 +0000 (0:00:00.012) 0:00:04.878 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tasks/manage_test_interface.yml:67 Saturday 16 December 2023 13:33:04 +0000 (0:00:00.014) 0:00:04.892 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tests_auto_gateway.yml:15 Saturday 16 December 2023 13:33:04 +0000 (0:00:00.011) 0:00:04.904 ***** included: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 16 December 2023 13:33:04 +0000 (0:00:00.029) 0:00:04.933 ***** included: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 16 December 2023 13:33:04 +0000 (0:00:00.019) 0:00:04.953 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1702733583.769837, "block_size": 4096, "blocks": 0, "ctime": 1702733583.737821, "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": 1702733583.737821, "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-ciiad7q520/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 16 December 2023 13:33:04 +0000 (0:00:00.114) 0:00:05.068 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tests_auto_gateway.yml:17 Saturday 16 December 2023 13:33:04 +0000 (0:00:00.014) 0:00:05.083 ***** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciiad7q520/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 16 December 2023 13:33:04 +0000 (0:00:00.012) 0:00:05.095 ***** included: /WORKDIR/git-weekly-ciiad7q520/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-ciiad7q520/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 16 December 2023 13:33:04 +0000 (0:00:00.071) 0:00:05.167 ***** 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-ciiad7q520/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 16 December 2023 13:33:04 +0000 (0:00:00.040) 0:00:05.207 ***** 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-ciiad7q520/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 16 December 2023 13:33:04 +0000 (0:00:00.012) 0:00:05.220 ***** 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-ciiad7q520/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 16 December 2023 13:33:04 +0000 (0:00:00.012) 0:00:05.232 ***** 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-ciiad7q520/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 16 December 2023 13:33:06 +0000 (0:00:01.607) 0:00:06.840 ***** 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-ciiad7q520/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 16 December 2023 13:33:06 +0000 (0:00:00.767) 0:00:07.607 ***** 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-ciiad7q520/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 16 December 2023 13:33:06 +0000 (0:00:00.042) 0:00:07.650 ***** 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-ciiad7q520/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 16 December 2023 13:33:06 +0000 (0:00:00.024) 0:00:07.674 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciiad7q520/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 16 December 2023 13:33:06 +0000 (0:00:00.021) 0:00:07.695 ***** 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-ciiad7q520/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 16 December 2023 13:33:07 +0000 (0:00:00.077) 0:00:07.772 ***** 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-ciiad7q520/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 16 December 2023 13:33:07 +0000 (0:00:00.022) 0:00:07.795 ***** 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-ciiad7q520/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 16 December 2023 13:33:07 +0000 (0:00:00.024) 0:00:07.820 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciiad7q520/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 16 December 2023 13:33:07 +0000 (0:00:00.025) 0:00:07.845 ***** 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-ciiad7q520/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 16 December 2023 13:33:07 +0000 (0:00:00.035) 0:00:07.881 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciiad7q520/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 16 December 2023 13:33:07 +0000 (0:00:00.039) 0:00:07.920 ***** 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-ciiad7q520/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 16 December 2023 13:33:07 +0000 (0:00:00.328) 0:00:08.249 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-231311i3rflp/tmpd0exmil9" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciiad7q520/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 16 December 2023 13:33:07 +0000 (0:00:00.186) 0:00:08.435 ***** 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-ciiad7q520/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 16 December 2023 13:33:12 +0000 (0:00:04.461) 0:00:12.897 ***** 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-ciiad7q520/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 16 December 2023 13:33:12 +0000 (0:00:00.022) 0:00:12.919 ***** 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-ciiad7q520/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 16 December 2023 13:33:12 +0000 (0:00:00.038) 0:00:12.957 ***** 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-ciiad7q520/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 16 December 2023 13:33:12 +0000 (0:00:00.026) 0:00:12.983 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciiad7q520/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 16 December 2023 13:33:12 +0000 (0:00:00.026) 0:00:13.010 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tests_auto_gateway.yml:42 Saturday 16 December 2023 13:33:12 +0000 (0:00:00.229) 0:00:13.239 ***** included: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 16 December 2023 13:33:12 +0000 (0:00:00.072) 0:00:13.311 ***** included: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 16 December 2023 13:33:12 +0000 (0:00:00.065) 0:00:13.377 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1702733583.769837, "block_size": 4096, "blocks": 0, "ctime": 1702733583.737821, "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": 1702733583.737821, "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-ciiad7q520/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 16 December 2023 13:33:12 +0000 (0:00:00.129) 0:00:13.506 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tests_auto_gateway.yml:44 Saturday 16 December 2023 13:33:12 +0000 (0:00:00.026) 0:00:13.533 ***** included: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 16 December 2023 13:33:12 +0000 (0:00:00.049) 0:00:13.582 ***** included: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 16 December 2023 13:33:12 +0000 (0:00:00.038) 0:00:13.621 ***** 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-ciiad7q520/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 16 December 2023 13:33:12 +0000 (0:00:00.039) 0:00:13.660 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1702733588.047975, "block_size": 4096, "blocks": 8, "ctime": 1702733588.035969, "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": 1702733588.035969, "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-ciiad7q520/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 16 December 2023 13:33:13 +0000 (0:00:00.155) 0:00:13.816 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 16 December 2023 13:33:13 +0000 (0:00:00.084) 0:00:13.900 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.004994", "end": "2023-12-16 13:33:13.342991", "rc": 1, "start": "2023-12-16 13:33:13.337997" } 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-ciiad7q520/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 16 December 2023 13:33:13 +0000 (0:00:00.184) 0:00:14.084 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 16 December 2023 13:33:13 +0000 (0:00:00.024) 0:00:14.109 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.002874", "end": "2023-12-16 13:33:13.509187", "rc": 0, "start": "2023-12-16 13:33:13.506313" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 16 December 2023 13:33:13 +0000 (0:00:00.138) 0:00:14.247 ***** 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-ciiad7q520/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 16 December 2023 13:33:13 +0000 (0:00:00.029) 0:00:14.276 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.002886", "end": "2023-12-16 13:33:13.676635", "rc": 0, "start": "2023-12-16 13:33:13.673749" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 16 December 2023 13:33:13 +0000 (0:00:00.167) 0:00:14.444 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 16 December 2023 13:33:13 +0000 (0:00:00.027) 0:00:14.472 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 16 December 2023 13:33:13 +0000 (0:00:00.024) 0:00:14.496 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 16 December 2023 13:33:13 +0000 (0:00:00.034) 0:00:14.531 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tests_auto_gateway.yml:48 Saturday 16 December 2023 13:33:13 +0000 (0:00:00.035) 0:00:14.567 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003068", "end": "2023-12-16 13:33:13.963692", "rc": 0, "start": "2023-12-16 13:33:13.960624" } STDOUT: 203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.15.171 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.12.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-ciiad7q520/tests/playbooks/tests_auto_gateway.yml:52 Saturday 16 December 2023 13:33:14 +0000 (0:00:00.145) 0:00:14.712 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tests_auto_gateway.yml:58 Saturday 16 December 2023 13:33:14 +0000 (0:00:00.023) 0:00:14.735 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003158", "end": "2023-12-16 13:33:14.133378", "rc": 0, "start": "2023-12-16 13:33:14.130220" } 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-ciiad7q520/tests/playbooks/tests_auto_gateway.yml:62 Saturday 16 December 2023 13:33:14 +0000 (0:00:00.135) 0:00:14.871 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tests_auto_gateway.yml:69 Saturday 16 December 2023 13:33:14 +0000 (0:00:00.028) 0:00:14.900 ***** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciiad7q520/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 16 December 2023 13:33:14 +0000 (0:00:00.022) 0:00:14.923 ***** included: /WORKDIR/git-weekly-ciiad7q520/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-ciiad7q520/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 16 December 2023 13:33:14 +0000 (0:00:00.038) 0:00:14.961 ***** 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-ciiad7q520/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 16 December 2023 13:33:14 +0000 (0:00:00.034) 0:00:14.995 ***** 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-ciiad7q520/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 16 December 2023 13:33:14 +0000 (0:00:00.030) 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-ciiad7q520/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 16 December 2023 13:33:14 +0000 (0:00:00.024) 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-ciiad7q520/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 16 December 2023 13:33:15 +0000 (0:00:01.401) 0:00:16.452 ***** 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-ciiad7q520/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 16 December 2023 13:33:16 +0000 (0:00:00.554) 0:00:17.006 ***** 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-ciiad7q520/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 16 December 2023 13:33:16 +0000 (0:00:00.022) 0:00:17.029 ***** 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-ciiad7q520/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 16 December 2023 13:33:16 +0000 (0:00:00.021) 0:00:17.050 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciiad7q520/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 16 December 2023 13:33:16 +0000 (0:00:00.020) 0:00:17.071 ***** 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-ciiad7q520/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 16 December 2023 13:33:16 +0000 (0:00:00.043) 0:00:17.114 ***** 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-ciiad7q520/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 16 December 2023 13:33:16 +0000 (0:00:00.032) 0:00:17.146 ***** 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-ciiad7q520/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 16 December 2023 13:33:16 +0000 (0:00:00.021) 0:00:17.167 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciiad7q520/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 16 December 2023 13:33:16 +0000 (0:00:00.023) 0:00:17.191 ***** 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-ciiad7q520/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 16 December 2023 13:33:16 +0000 (0:00:00.021) 0:00:17.212 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciiad7q520/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 16 December 2023 13:33:16 +0000 (0:00:00.044) 0:00:17.257 ***** 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-ciiad7q520/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 16 December 2023 13:33:16 +0000 (0:00:00.190) 0:00:17.447 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-231311i3rflp/tmpfhuli3si" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciiad7q520/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 16 December 2023 13:33:16 +0000 (0:00:00.197) 0:00:17.644 ***** 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-ciiad7q520/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 16 December 2023 13:33:17 +0000 (0:00:00.370) 0:00:18.014 ***** 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-ciiad7q520/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 16 December 2023 13:33:17 +0000 (0:00:00.025) 0:00:18.040 ***** 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-ciiad7q520/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 16 December 2023 13:33:17 +0000 (0:00:00.044) 0:00:18.085 ***** 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-ciiad7q520/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 16 December 2023 13:33:17 +0000 (0:00:00.028) 0:00:18.113 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciiad7q520/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 16 December 2023 13:33:17 +0000 (0:00:00.022) 0:00:18.135 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tests_auto_gateway.yml:81 Saturday 16 December 2023 13:33:17 +0000 (0:00:00.130) 0:00:18.265 ***** included: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tasks/manage_test_interface.yml:3 Saturday 16 December 2023 13:33:17 +0000 (0:00:00.050) 0:00:18.316 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tasks/manage_test_interface.yml:8 Saturday 16 December 2023 13:33:17 +0000 (0:00:00.022) 0:00:18.339 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tasks/manage_test_interface.yml:13 Saturday 16 December 2023 13:33:17 +0000 (0:00:00.021) 0:00:18.360 ***** included: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 16 December 2023 13:33:17 +0000 (0:00:00.066) 0:00:18.427 ***** included: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 16 December 2023 13:33:17 +0000 (0:00:00.038) 0:00:18.465 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003093", "end": "2023-12-16 13:33:17.859609", "rc": 0, "start": "2023-12-16 13:33:17.856516" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 16 December 2023 13:33:17 +0000 (0:00:00.134) 0:00:18.600 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 16 December 2023 13:33:17 +0000 (0:00:00.024) 0:00:18.625 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tasks/manage_test_interface.yml:16 Saturday 16 December 2023 13:33:17 +0000 (0:00:00.024) 0:00:18.649 ***** ok: [sut] => { "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-ciiad7q520/tests/playbooks/tasks/manage_test_interface.yml:24 Saturday 16 December 2023 13:33:18 +0000 (0:00:00.403) 0:00:19.053 ***** 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-ciiad7q520/tests/playbooks/tasks/manage_test_interface.yml:33 Saturday 16 December 2023 13:33:18 +0000 (0:00:00.035) 0:00:19.089 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tasks/manage_test_interface.yml:41 Saturday 16 December 2023 13:33:18 +0000 (0:00:00.024) 0:00:19.113 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.052672", "end": "2023-12-16 13:33:18.563995", "rc": 0, "start": "2023-12-16 13:33:18.511323" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tasks/manage_test_interface.yml:48 Saturday 16 December 2023 13:33:18 +0000 (0:00:00.194) 0:00:19.307 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tasks/manage_test_interface.yml:54 Saturday 16 December 2023 13:33:18 +0000 (0:00:00.023) 0:00:19.330 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tasks/manage_test_interface.yml:61 Saturday 16 December 2023 13:33:18 +0000 (0:00:00.022) 0:00:19.353 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tasks/manage_test_interface.yml:67 Saturday 16 December 2023 13:33:18 +0000 (0:00:00.021) 0:00:19.374 ***** 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-ciiad7q520/tests/playbooks/tests_auto_gateway.yml:85 Saturday 16 December 2023 13:33:18 +0000 (0:00:00.021) 0:00:19.396 ***** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tests_auto_gateway.yml:89 Saturday 16 December 2023 13:33:18 +0000 (0:00:00.021) 0:00:19.417 ***** included: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tasks/manage_test_interface.yml:3 Saturday 16 December 2023 13:33:18 +0000 (0:00:00.090) 0:00:19.508 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tasks/manage_test_interface.yml:8 Saturday 16 December 2023 13:33:18 +0000 (0:00:00.022) 0:00:19.530 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tasks/manage_test_interface.yml:13 Saturday 16 December 2023 13:33:18 +0000 (0:00:00.021) 0:00:19.552 ***** included: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 16 December 2023 13:33:18 +0000 (0:00:00.034) 0:00:19.586 ***** included: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 16 December 2023 13:33:18 +0000 (0:00:00.034) 0:00:19.620 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002998", "end": "2023-12-16 13:33:19.015000", "rc": 0, "start": "2023-12-16 13:33:19.012002" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 16 December 2023 13:33:19 +0000 (0:00:00.131) 0:00:19.752 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 16 December 2023 13:33:19 +0000 (0:00:00.023) 0:00:19.775 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tasks/manage_test_interface.yml:16 Saturday 16 December 2023 13:33:19 +0000 (0:00:00.022) 0:00:19.797 ***** ok: [sut] => { "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-ciiad7q520/tests/playbooks/tasks/manage_test_interface.yml:24 Saturday 16 December 2023 13:33:19 +0000 (0:00:00.360) 0:00:20.158 ***** 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.003743", "end": "2023-12-16 13:33:19.567658", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2023-12-16 13:33:19.563915" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.002975", "end": "2023-12-16 13:33:19.712659", "item": "ip link set peerveth0 up", "rc": 0, "start": "2023-12-16 13:33:19.709684" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.003126", "end": "2023-12-16 13:33:19.831710", "item": "ip link set veth0 up", "rc": 0, "start": "2023-12-16 13:33:19.828584" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tasks/manage_test_interface.yml:33 Saturday 16 December 2023 13:33:19 +0000 (0:00:00.408) 0:00:20.566 ***** 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-ciiad7q520/tests/playbooks/tasks/manage_test_interface.yml:41 Saturday 16 December 2023 13:33:20 +0000 (0:00:00.197) 0:00:20.764 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tasks/manage_test_interface.yml:48 Saturday 16 December 2023 13:33:20 +0000 (0:00:00.024) 0:00:20.788 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tasks/manage_test_interface.yml:54 Saturday 16 December 2023 13:33:20 +0000 (0:00:00.027) 0:00:20.815 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tasks/manage_test_interface.yml:61 Saturday 16 December 2023 13:33:20 +0000 (0:00:00.023) 0:00:20.839 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tasks/manage_test_interface.yml:67 Saturday 16 December 2023 13:33:20 +0000 (0:00:00.022) 0:00:20.861 ***** 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-ciiad7q520/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 16 December 2023 13:33:20 +0000 (0:00:00.032) 0:00:20.894 ***** included: /WORKDIR/git-weekly-ciiad7q520/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-ciiad7q520/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 16 December 2023 13:33:20 +0000 (0:00:00.052) 0:00:20.946 ***** 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-ciiad7q520/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 16 December 2023 13:33:20 +0000 (0:00:00.029) 0:00:20.975 ***** 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-ciiad7q520/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 16 December 2023 13:33:20 +0000 (0:00:00.021) 0:00:20.997 ***** 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-ciiad7q520/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 16 December 2023 13:33:20 +0000 (0:00:00.021) 0:00:21.018 ***** 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-ciiad7q520/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 16 December 2023 13:33:21 +0000 (0:00:01.424) 0:00:22.442 ***** 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-ciiad7q520/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 16 December 2023 13:33:22 +0000 (0:00:00.606) 0:00:23.049 ***** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-weekly-ciiad7q520/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 16 December 2023 13:33:22 +0000 (0:00:00.057) 0:00:23.106 ***** 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-ciiad7q520/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 16 December 2023 13:33:22 +0000 (0:00:00.029) 0:00:23.135 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciiad7q520/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 16 December 2023 13:33:22 +0000 (0:00:00.050) 0:00:23.185 ***** 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-ciiad7q520/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 16 December 2023 13:33:22 +0000 (0:00:00.090) 0:00:23.276 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-ciiad7q520/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 16 December 2023 13:33:22 +0000 (0:00:00.041) 0:00:23.318 ***** 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-ciiad7q520/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 16 December 2023 13:33:22 +0000 (0:00:00.035) 0:00:23.353 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciiad7q520/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 16 December 2023 13:33:22 +0000 (0:00:00.034) 0:00:23.388 ***** 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-ciiad7q520/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 16 December 2023 13:33:22 +0000 (0:00:00.030) 0:00:23.418 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciiad7q520/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 16 December 2023 13:33:22 +0000 (0:00:00.030) 0:00:23.449 ***** 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-ciiad7q520/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 16 December 2023 13:33:22 +0000 (0:00:00.206) 0:00:23.655 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-231311i3rflp/tmp56rs09pu" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciiad7q520/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 16 December 2023 13:33:23 +0000 (0:00:00.222) 0:00:23.878 ***** 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-ciiad7q520/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 16 December 2023 13:33:27 +0000 (0:00:04.402) 0:00:28.280 ***** 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-ciiad7q520/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 16 December 2023 13:33:27 +0000 (0:00:00.021) 0:00:28.302 ***** 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-ciiad7q520/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 16 December 2023 13:33:27 +0000 (0:00:00.022) 0:00:28.324 ***** 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-ciiad7q520/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 16 December 2023 13:33:27 +0000 (0:00:00.022) 0:00:28.347 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciiad7q520/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 16 December 2023 13:33:27 +0000 (0:00:00.020) 0:00:28.368 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tests_auto_gateway.yml:110 Saturday 16 December 2023 13:33:27 +0000 (0:00:00.118) 0:00:28.486 ***** included: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 16 December 2023 13:33:27 +0000 (0:00:00.084) 0:00:28.571 ***** included: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 16 December 2023 13:33:27 +0000 (0:00:00.035) 0:00:28.606 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1702733599.595746, "block_size": 4096, "blocks": 0, "ctime": 1702733599.573735, "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": 1702733599.573735, "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-ciiad7q520/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 16 December 2023 13:33:28 +0000 (0:00:00.140) 0:00:28.747 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tests_auto_gateway.yml:112 Saturday 16 December 2023 13:33:28 +0000 (0:00:00.022) 0:00:28.770 ***** included: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 16 December 2023 13:33:28 +0000 (0:00:00.049) 0:00:28.819 ***** included: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 16 December 2023 13:33:28 +0000 (0:00:00.035) 0:00:28.855 ***** 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-ciiad7q520/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 16 December 2023 13:33:28 +0000 (0:00:00.021) 0:00:28.877 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1702733603.4426684, "block_size": 4096, "blocks": 8, "ctime": 1702733603.431663, "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": 1702733603.431663, "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-ciiad7q520/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 16 December 2023 13:33:28 +0000 (0:00:00.128) 0:00:29.005 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 16 December 2023 13:33:28 +0000 (0:00:00.022) 0:00:29.028 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.004884", "end": "2023-12-16 13:33:28.429080", "rc": 1, "start": "2023-12-16 13:33:28.424196" } 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-ciiad7q520/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 16 December 2023 13:33:28 +0000 (0:00:00.129) 0:00:29.157 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 16 December 2023 13:33:28 +0000 (0:00:00.021) 0:00:29.179 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.002908", "end": "2023-12-16 13:33:28.578957", "rc": 0, "start": "2023-12-16 13:33:28.576049" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 16 December 2023 13:33:28 +0000 (0:00:00.164) 0:00:29.343 ***** 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-ciiad7q520/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 16 December 2023 13:33:28 +0000 (0:00:00.027) 0:00:29.371 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.002823", "end": "2023-12-16 13:33:28.770540", "rc": 0, "start": "2023-12-16 13:33:28.767717" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 16 December 2023 13:33:28 +0000 (0:00:00.129) 0:00:29.501 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 16 December 2023 13:33:28 +0000 (0:00:00.026) 0:00:29.527 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 16 December 2023 13:33:28 +0000 (0:00:00.024) 0:00:29.551 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 16 December 2023 13:33:28 +0000 (0:00:00.024) 0:00:29.576 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tests_auto_gateway.yml:116 Saturday 16 December 2023 13:33:28 +0000 (0:00:00.023) 0:00:29.600 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.002973", "end": "2023-12-16 13:33:29.000096", "rc": 0, "start": "2023-12-16 13:33:28.997123" } STDOUT: 203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.15.171 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.12.1 dev eth0 TASK [Assert default ipv4 route is absent] ************************************* task path: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tests_auto_gateway.yml:120 Saturday 16 December 2023 13:33:29 +0000 (0:00:00.133) 0:00:29.733 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tests_auto_gateway.yml:126 Saturday 16 December 2023 13:33:29 +0000 (0:00:00.028) 0:00:29.761 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.002993", "end": "2023-12-16 13:33:29.162033", "rc": 0, "start": "2023-12-16 13:33:29.159040" } 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-ciiad7q520/tests/playbooks/tests_auto_gateway.yml:130 Saturday 16 December 2023 13:33:29 +0000 (0:00:00.129) 0:00:29.891 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tests_auto_gateway.yml:137 Saturday 16 December 2023 13:33:29 +0000 (0:00:00.021) 0:00:29.912 ***** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciiad7q520/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 16 December 2023 13:33:29 +0000 (0:00:00.021) 0:00:29.933 ***** included: /WORKDIR/git-weekly-ciiad7q520/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-ciiad7q520/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 16 December 2023 13:33:29 +0000 (0:00:00.037) 0:00:29.970 ***** 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-ciiad7q520/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 16 December 2023 13:33:29 +0000 (0:00:00.026) 0:00:29.996 ***** 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-ciiad7q520/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 16 December 2023 13:33:29 +0000 (0:00:00.021) 0:00:30.018 ***** 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-ciiad7q520/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 16 December 2023 13:33:29 +0000 (0:00:00.057) 0:00:30.075 ***** 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-ciiad7q520/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 16 December 2023 13:33:30 +0000 (0:00:01.416) 0:00:31.492 ***** 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-ciiad7q520/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 16 December 2023 13:33:31 +0000 (0:00:00.566) 0:00:32.058 ***** 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-ciiad7q520/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 16 December 2023 13:33:31 +0000 (0:00:00.023) 0:00:32.082 ***** 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-ciiad7q520/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 16 December 2023 13:33:31 +0000 (0:00:00.022) 0:00:32.105 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciiad7q520/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 16 December 2023 13:33:31 +0000 (0:00:00.021) 0:00:32.126 ***** 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-ciiad7q520/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 16 December 2023 13:33:31 +0000 (0:00:00.044) 0:00:32.171 ***** 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-ciiad7q520/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 16 December 2023 13:33:31 +0000 (0:00:00.067) 0:00:32.239 ***** 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-ciiad7q520/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 16 December 2023 13:33:31 +0000 (0:00:00.033) 0:00:32.272 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciiad7q520/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 16 December 2023 13:33:31 +0000 (0:00:00.026) 0:00:32.298 ***** 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-ciiad7q520/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 16 December 2023 13:33:31 +0000 (0:00:00.022) 0:00:32.321 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciiad7q520/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 16 December 2023 13:33:31 +0000 (0:00:00.021) 0:00:32.343 ***** 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-ciiad7q520/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 16 December 2023 13:33:31 +0000 (0:00:00.203) 0:00:32.547 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-231311i3rflp/tmp45m_knbv" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciiad7q520/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 16 December 2023 13:33:32 +0000 (0:00:00.467) 0:00:33.014 ***** 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-ciiad7q520/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 16 December 2023 13:33:32 +0000 (0:00:00.382) 0:00:33.396 ***** 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-ciiad7q520/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 16 December 2023 13:33:32 +0000 (0:00:00.021) 0:00:33.418 ***** 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-ciiad7q520/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 16 December 2023 13:33:32 +0000 (0:00:00.023) 0:00:33.441 ***** 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-ciiad7q520/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 16 December 2023 13:33:32 +0000 (0:00:00.022) 0:00:33.464 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciiad7q520/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 16 December 2023 13:33:32 +0000 (0:00:00.021) 0:00:33.485 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tests_auto_gateway.yml:149 Saturday 16 December 2023 13:33:32 +0000 (0:00:00.127) 0:00:33.613 ***** included: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tasks/manage_test_interface.yml:3 Saturday 16 December 2023 13:33:32 +0000 (0:00:00.087) 0:00:33.701 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tasks/manage_test_interface.yml:8 Saturday 16 December 2023 13:33:33 +0000 (0:00:00.021) 0:00:33.723 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tasks/manage_test_interface.yml:13 Saturday 16 December 2023 13:33:33 +0000 (0:00:00.020) 0:00:33.743 ***** included: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 16 December 2023 13:33:33 +0000 (0:00:00.033) 0:00:33.777 ***** included: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 16 December 2023 13:33:33 +0000 (0:00:00.035) 0:00:33.813 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003112", "end": "2023-12-16 13:33:33.213925", "rc": 0, "start": "2023-12-16 13:33:33.210813" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 16 December 2023 13:33:33 +0000 (0:00:00.127) 0:00:33.940 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 16 December 2023 13:33:33 +0000 (0:00:00.024) 0:00:33.965 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tasks/manage_test_interface.yml:16 Saturday 16 December 2023 13:33:33 +0000 (0:00:00.021) 0:00:33.987 ***** ok: [sut] => { "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-ciiad7q520/tests/playbooks/tasks/manage_test_interface.yml:24 Saturday 16 December 2023 13:33:33 +0000 (0:00:00.363) 0:00:34.350 ***** 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-ciiad7q520/tests/playbooks/tasks/manage_test_interface.yml:33 Saturday 16 December 2023 13:33:33 +0000 (0:00:00.032) 0:00:34.383 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tasks/manage_test_interface.yml:41 Saturday 16 December 2023 13:33:33 +0000 (0:00:00.023) 0:00:34.406 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.038400", "end": "2023-12-16 13:33:33.843726", "rc": 0, "start": "2023-12-16 13:33:33.805326" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tasks/manage_test_interface.yml:48 Saturday 16 December 2023 13:33:33 +0000 (0:00:00.178) 0:00:34.584 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tasks/manage_test_interface.yml:54 Saturday 16 December 2023 13:33:33 +0000 (0:00:00.066) 0:00:34.650 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tasks/manage_test_interface.yml:61 Saturday 16 December 2023 13:33:33 +0000 (0:00:00.023) 0:00:34.674 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tasks/manage_test_interface.yml:67 Saturday 16 December 2023 13:33:33 +0000 (0:00:00.024) 0:00:34.699 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=136 changed=5 unreachable=0 failed=0 skipped=91 rescued=0 ignored=4 Saturday 16 December 2023 13:33:34 +0000 (0:00:00.013) 0:00:34.712 ***** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 4.46s /WORKDIR/git-weekly-ciiad7q520/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Configure networking connection profiles --- 4.40s /WORKDIR/git-weekly-ciiad7q520/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Check which services are running ----------- 1.61s /WORKDIR/git-weekly-ciiad7q520/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Gathering Facts --------------------------------------------------------- 1.47s /WORKDIR/git-weekly-ciiad7q520/tests/tests_auto_gateway_initscripts.yml:4 ----- linux-system-roles.network : Check which services are running ----------- 1.42s /WORKDIR/git-weekly-ciiad7q520/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.42s /WORKDIR/git-weekly-ciiad7q520/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.40s /WORKDIR/git-weekly-ciiad7q520/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 0.77s /WORKDIR/git-weekly-ciiad7q520/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Configure networking connection profiles --- 0.75s /WORKDIR/git-weekly-ciiad7q520/tests/roles/linux-system-roles.network/tasks/main.yml:122 Gathering Facts --------------------------------------------------------- 0.70s /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tests_auto_gateway.yml:3 ------- linux-system-roles.network : Ensure initscripts network file dependency is present --- 0.66s /WORKDIR/git-weekly-ciiad7q520/tests/roles/linux-system-roles.network/tasks/main.yml:113 linux-system-roles.network : Check which packages are installed --------- 0.61s /WORKDIR/git-weekly-ciiad7q520/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.57s /WORKDIR/git-weekly-ciiad7q520/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.55s /WORKDIR/git-weekly-ciiad7q520/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Create veth interface veth0 --------------------------------------------- 0.55s /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tasks/manage_test_interface.yml:24 Install iproute --------------------------------------------------------- 0.48s /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tasks/manage_test_interface.yml:16 Enable EPEL 6 ----------------------------------------------------------- 0.47s /WORKDIR/git-weekly-ciiad7q520/tests/tasks/enable_epel.yml:40 ----------------- Create veth interface veth0 --------------------------------------------- 0.41s /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tasks/manage_test_interface.yml:24 Install iproute --------------------------------------------------------- 0.40s /WORKDIR/git-weekly-ciiad7q520/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Enable network service --------------------- 0.39s /WORKDIR/git-weekly-ciiad7q520/tests/roles/linux-system-roles.network/tasks/main.yml:105 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---