# 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-civz88ixoa/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-civz88ixoa/tests/tests_auto_gateway_initscripts.yml:5 Saturday 06 January 2024 13:39:55 +0000 (0:00:00.012) 0:00:00.012 ****** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-weekly-civz88ixoa/tests/tests_auto_gateway_initscripts.yml:8 Saturday 06 January 2024 13:39:57 +0000 (0:00:01.290) 0:00:01.302 ****** included: /WORKDIR/git-weekly-civz88ixoa/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-civz88ixoa/tests/tasks/el_repo_setup.yml:3 Saturday 06 January 2024 13:39:57 +0000 (0:00:00.014) 0:00:01.317 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/tasks/el_repo_setup.yml:19 Saturday 06 January 2024 13:39:57 +0000 (0:00:00.226) 0:00:01.544 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/tasks/el_repo_setup.yml:24 Saturday 06 January 2024 13:39:57 +0000 (0:00:00.166) 0:00:01.710 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/tasks/el_repo_setup.yml:28 Saturday 06 January 2024 13:39:57 +0000 (0:00:00.020) 0:00:01.731 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/tasks/el_repo_setup.yml:53 Saturday 06 January 2024 13:39:57 +0000 (0:00:00.019) 0:00:01.750 ****** included: /WORKDIR/git-weekly-civz88ixoa/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 6] *********************************************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/tasks/enable_epel.yml:8 Saturday 06 January 2024 13:39:57 +0000 (0:00:00.034) 0:00:01.785 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/tasks/enable_epel.yml:24 Saturday 06 January 2024 13:39:57 +0000 (0:00:00.011) 0:00:01.796 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/tasks/enable_epel.yml:30 Saturday 06 January 2024 13:39:57 +0000 (0:00:00.011) 0:00:01.807 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/tasks/enable_epel.yml:35 Saturday 06 January 2024 13:39:57 +0000 (0:00:00.010) 0:00:01.818 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/tasks/enable_epel.yml:40 Saturday 06 January 2024 13:39:57 +0000 (0:00:00.010) 0:00:01.829 ****** 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-1704548397.8074868-2377-121581621654946/source", "state": "file", "uid": 0 } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/tests_auto_gateway_initscripts.yml:10 Saturday 06 January 2024 13:39:58 +0000 (0:00:00.472) 0:00:02.301 ****** ok: [sut] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for testing auto_gateway setting] *********************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tests_auto_gateway.yml:3 Saturday 06 January 2024 13:39:58 +0000 (0:00:00.011) 0:00:02.313 ****** ok: [sut] META: ran handlers TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tests_auto_gateway.yml:9 Saturday 06 January 2024 13:39:58 +0000 (0:00:00.689) 0:00:03.003 ****** included: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 06 January 2024 13:39:58 +0000 (0:00:00.026) 0:00:03.029 ****** included: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 06 January 2024 13:39:59 +0000 (0:00:00.016) 0:00:03.046 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002933", "end": "2024-01-06 13:39:58.849882", "rc": 0, "start": "2024-01-06 13:39:58.846949" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 06 January 2024 13:39:59 +0000 (0:00:00.188) 0:00:03.235 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 06 January 2024 13:39:59 +0000 (0:00:00.014) 0:00:03.249 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tests_auto_gateway.yml:11 Saturday 06 January 2024 13:39:59 +0000 (0:00:00.012) 0:00:03.262 ****** included: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/manage_test_interface.yml:3 Saturday 06 January 2024 13:39:59 +0000 (0:00:00.031) 0:00:03.294 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/manage_test_interface.yml:8 Saturday 06 January 2024 13:39:59 +0000 (0:00:00.012) 0:00:03.306 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/manage_test_interface.yml:13 Saturday 06 January 2024 13:39:59 +0000 (0:00:00.019) 0:00:03.326 ****** included: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 06 January 2024 13:39:59 +0000 (0:00:00.019) 0:00:03.346 ****** included: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 06 January 2024 13:39:59 +0000 (0:00:00.018) 0:00:03.365 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002950", "end": "2024-01-06 13:39:59.109652", "rc": 0, "start": "2024-01-06 13:39:59.106702" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 06 January 2024 13:39:59 +0000 (0:00:00.130) 0:00:03.495 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 06 January 2024 13:39:59 +0000 (0:00:00.014) 0:00:03.510 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/manage_test_interface.yml:16 Saturday 06 January 2024 13:39:59 +0000 (0:00:00.013) 0:00:03.523 ****** 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-civz88ixoa/tests/playbooks/tasks/manage_test_interface.yml:24 Saturday 06 January 2024 13:39:59 +0000 (0:00:00.511) 0:00:04.034 ****** 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.196650", "end": "2024-01-06 13:39:59.970032", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-01-06 13:39:59.773382" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.005032", "end": "2024-01-06 13:40:00.151528", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-01-06 13:40:00.146496" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.003273", "end": "2024-01-06 13:40:00.267343", "item": "ip link set veth0 up", "rc": 0, "start": "2024-01-06 13:40:00.264070" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/manage_test_interface.yml:33 Saturday 06 January 2024 13:40:00 +0000 (0:00:00.619) 0:00:04.654 ****** 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-civz88ixoa/tests/playbooks/tasks/manage_test_interface.yml:41 Saturday 06 January 2024 13:40:00 +0000 (0:00:00.121) 0:00:04.775 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/manage_test_interface.yml:48 Saturday 06 January 2024 13:40:00 +0000 (0:00:00.013) 0:00:04.789 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/manage_test_interface.yml:54 Saturday 06 January 2024 13:40:00 +0000 (0:00:00.013) 0:00:04.802 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/manage_test_interface.yml:61 Saturday 06 January 2024 13:40:00 +0000 (0:00:00.013) 0:00:04.815 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/manage_test_interface.yml:67 Saturday 06 January 2024 13:40:00 +0000 (0:00:00.013) 0:00:04.828 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tests_auto_gateway.yml:15 Saturday 06 January 2024 13:40:00 +0000 (0:00:00.012) 0:00:04.841 ****** included: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 06 January 2024 13:40:00 +0000 (0:00:00.030) 0:00:04.871 ****** included: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 06 January 2024 13:40:00 +0000 (0:00:00.018) 0:00:04.890 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704548400.1145406, "block_size": 4096, "blocks": 0, "ctime": 1704548400.0915291, "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": 1704548400.0915291, "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-civz88ixoa/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 06 January 2024 13:40:00 +0000 (0:00:00.120) 0:00:05.010 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tests_auto_gateway.yml:17 Saturday 06 January 2024 13:40:00 +0000 (0:00:00.021) 0:00:05.031 ****** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 06 January 2024 13:40:01 +0000 (0:00:00.025) 0:00:05.057 ****** included: /WORKDIR/git-weekly-civz88ixoa/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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 06 January 2024 13:40:01 +0000 (0:00:00.069) 0:00:05.127 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 06 January 2024 13:40:01 +0000 (0:00:00.023) 0:00:05.151 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 06 January 2024 13:40:01 +0000 (0:00:00.013) 0:00:05.164 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 06 January 2024 13:40:01 +0000 (0:00:00.017) 0:00:05.182 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 06 January 2024 13:40:02 +0000 (0:00:01.731) 0:00:06.913 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 06 January 2024 13:40:03 +0000 (0:00:00.785) 0:00:07.699 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 06 January 2024 13:40:03 +0000 (0:00:00.045) 0:00:07.744 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 06 January 2024 13:40:03 +0000 (0:00:00.027) 0:00:07.772 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 06 January 2024 13:40:03 +0000 (0:00:00.023) 0:00:07.796 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 06 January 2024 13:40:03 +0000 (0:00:00.049) 0:00:07.845 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 06 January 2024 13:40:03 +0000 (0:00:00.022) 0:00:07.867 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 06 January 2024 13:40:03 +0000 (0:00:00.037) 0:00:07.905 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 06 January 2024 13:40:03 +0000 (0:00:00.026) 0:00:07.931 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 06 January 2024 13:40:03 +0000 (0:00:00.021) 0:00:07.952 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 06 January 2024 13:40:03 +0000 (0:00:00.020) 0:00:07.973 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 06 January 2024 13:40:04 +0000 (0:00:00.279) 0:00:08.253 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2322z014sj0l/tmp82lucwo9" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 06 January 2024 13:40:04 +0000 (0:00:00.187) 0:00:08.440 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 06 January 2024 13:40:08 +0000 (0:00:04.474) 0:00:12.914 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 06 January 2024 13:40:08 +0000 (0:00:00.022) 0:00:12.937 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 06 January 2024 13:40:08 +0000 (0:00:00.022) 0:00:12.960 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 06 January 2024 13:40:08 +0000 (0:00:00.024) 0:00:12.984 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 06 January 2024 13:40:08 +0000 (0:00:00.022) 0:00:13.007 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tests_auto_gateway.yml:42 Saturday 06 January 2024 13:40:09 +0000 (0:00:00.193) 0:00:13.200 ****** included: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 06 January 2024 13:40:09 +0000 (0:00:00.072) 0:00:13.272 ****** included: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 06 January 2024 13:40:09 +0000 (0:00:00.035) 0:00:13.308 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704548400.1145406, "block_size": 4096, "blocks": 0, "ctime": 1704548400.0915291, "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": 1704548400.0915291, "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-civz88ixoa/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 06 January 2024 13:40:09 +0000 (0:00:00.129) 0:00:13.438 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tests_auto_gateway.yml:44 Saturday 06 January 2024 13:40:09 +0000 (0:00:00.023) 0:00:13.462 ****** included: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 06 January 2024 13:40:09 +0000 (0:00:00.047) 0:00:13.509 ****** included: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 06 January 2024 13:40:09 +0000 (0:00:00.036) 0:00:13.545 ****** 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-civz88ixoa/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 06 January 2024 13:40:09 +0000 (0:00:00.020) 0:00:13.566 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704548404.407686, "block_size": 4096, "blocks": 8, "ctime": 1704548404.39568, "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": 1704548404.39568, "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-civz88ixoa/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 06 January 2024 13:40:09 +0000 (0:00:00.123) 0:00:13.690 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 06 January 2024 13:40:09 +0000 (0:00:00.023) 0:00:13.713 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.004890", "end": "2024-01-06 13:40:09.455470", "rc": 1, "start": "2024-01-06 13:40:09.450580" } 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-civz88ixoa/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 06 January 2024 13:40:09 +0000 (0:00:00.132) 0:00:13.846 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 06 January 2024 13:40:09 +0000 (0:00:00.025) 0:00:13.871 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.002781", "end": "2024-01-06 13:40:09.613346", "rc": 0, "start": "2024-01-06 13:40:09.610565" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 06 January 2024 13:40:09 +0000 (0:00:00.164) 0:00:14.036 ****** 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-civz88ixoa/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 06 January 2024 13:40:10 +0000 (0:00:00.028) 0:00:14.064 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.002949", "end": "2024-01-06 13:40:09.806446", "rc": 0, "start": "2024-01-06 13:40:09.803497" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 06 January 2024 13:40:10 +0000 (0:00:00.133) 0:00:14.198 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 06 January 2024 13:40:10 +0000 (0:00:00.028) 0:00:14.227 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 06 January 2024 13:40:10 +0000 (0:00:00.025) 0:00:14.252 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 06 January 2024 13:40:10 +0000 (0:00:00.024) 0:00:14.277 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tests_auto_gateway.yml:48 Saturday 06 January 2024 13:40:10 +0000 (0:00:00.024) 0:00:14.302 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.002770", "end": "2024-01-06 13:40:10.039008", "rc": 0, "start": "2024-01-06 13:40:10.036238" } 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.12.184 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-civz88ixoa/tests/playbooks/tests_auto_gateway.yml:52 Saturday 06 January 2024 13:40:10 +0000 (0:00:00.125) 0:00:14.427 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tests_auto_gateway.yml:58 Saturday 06 January 2024 13:40:10 +0000 (0:00:00.024) 0:00:14.451 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.002850", "end": "2024-01-06 13:40:10.190270", "rc": 0, "start": "2024-01-06 13:40:10.187420" } 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-civz88ixoa/tests/playbooks/tests_auto_gateway.yml:62 Saturday 06 January 2024 13:40:10 +0000 (0:00:00.128) 0:00:14.580 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tests_auto_gateway.yml:69 Saturday 06 January 2024 13:40:10 +0000 (0:00:00.022) 0:00:14.602 ****** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 06 January 2024 13:40:10 +0000 (0:00:00.021) 0:00:14.624 ****** included: /WORKDIR/git-weekly-civz88ixoa/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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 06 January 2024 13:40:10 +0000 (0:00:00.037) 0:00:14.661 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 06 January 2024 13:40:10 +0000 (0:00:00.027) 0:00:14.689 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 06 January 2024 13:40:10 +0000 (0:00:00.022) 0:00:14.711 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 06 January 2024 13:40:10 +0000 (0:00:00.058) 0:00:14.770 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 06 January 2024 13:40:12 +0000 (0:00:01.453) 0:00:16.224 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 06 January 2024 13:40:12 +0000 (0:00:00.555) 0:00:16.780 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 06 January 2024 13:40:12 +0000 (0:00:00.023) 0:00:16.803 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 06 January 2024 13:40:12 +0000 (0:00:00.024) 0:00:16.828 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 06 January 2024 13:40:12 +0000 (0:00:00.022) 0:00:16.851 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 06 January 2024 13:40:12 +0000 (0:00:00.044) 0:00:16.895 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 06 January 2024 13:40:12 +0000 (0:00:00.055) 0:00:16.951 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 06 January 2024 13:40:12 +0000 (0:00:00.028) 0:00:16.979 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 06 January 2024 13:40:12 +0000 (0:00:00.026) 0:00:17.006 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 06 January 2024 13:40:12 +0000 (0:00:00.023) 0:00:17.030 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 06 January 2024 13:40:13 +0000 (0:00:00.021) 0:00:17.052 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 06 January 2024 13:40:13 +0000 (0:00:00.186) 0:00:17.238 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2322z014sj0l/tmpw6tgoiv3" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 06 January 2024 13:40:13 +0000 (0:00:00.193) 0:00:17.431 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 06 January 2024 13:40:13 +0000 (0:00:00.388) 0:00:17.820 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 06 January 2024 13:40:13 +0000 (0:00:00.021) 0:00:17.841 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 06 January 2024 13:40:13 +0000 (0:00:00.021) 0:00:17.863 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 06 January 2024 13:40:13 +0000 (0:00:00.022) 0:00:17.885 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 06 January 2024 13:40:13 +0000 (0:00:00.021) 0:00:17.907 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tests_auto_gateway.yml:81 Saturday 06 January 2024 13:40:13 +0000 (0:00:00.127) 0:00:18.034 ****** included: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/manage_test_interface.yml:3 Saturday 06 January 2024 13:40:14 +0000 (0:00:00.077) 0:00:18.112 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/manage_test_interface.yml:8 Saturday 06 January 2024 13:40:14 +0000 (0:00:00.022) 0:00:18.135 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/manage_test_interface.yml:13 Saturday 06 January 2024 13:40:14 +0000 (0:00:00.026) 0:00:18.162 ****** included: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 06 January 2024 13:40:14 +0000 (0:00:00.036) 0:00:18.198 ****** included: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 06 January 2024 13:40:14 +0000 (0:00:00.033) 0:00:18.232 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003042", "end": "2024-01-06 13:40:13.973072", "rc": 0, "start": "2024-01-06 13:40:13.970030" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 06 January 2024 13:40:14 +0000 (0:00:00.127) 0:00:18.360 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 06 January 2024 13:40:14 +0000 (0:00:00.022) 0:00:18.382 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/manage_test_interface.yml:16 Saturday 06 January 2024 13:40:14 +0000 (0:00:00.021) 0:00:18.404 ****** 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-civz88ixoa/tests/playbooks/tasks/manage_test_interface.yml:24 Saturday 06 January 2024 13:40:14 +0000 (0:00:00.367) 0:00:18.771 ****** 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-civz88ixoa/tests/playbooks/tasks/manage_test_interface.yml:33 Saturday 06 January 2024 13:40:14 +0000 (0:00:00.031) 0:00:18.803 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/manage_test_interface.yml:41 Saturday 06 January 2024 13:40:14 +0000 (0:00:00.022) 0:00:18.825 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.048542", "end": "2024-01-06 13:40:14.613944", "rc": 0, "start": "2024-01-06 13:40:14.565402" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/manage_test_interface.yml:48 Saturday 06 January 2024 13:40:14 +0000 (0:00:00.184) 0:00:19.009 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/manage_test_interface.yml:54 Saturday 06 January 2024 13:40:14 +0000 (0:00:00.022) 0:00:19.032 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/manage_test_interface.yml:61 Saturday 06 January 2024 13:40:15 +0000 (0:00:00.077) 0:00:19.109 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/manage_test_interface.yml:67 Saturday 06 January 2024 13:40:15 +0000 (0:00:00.023) 0:00:19.132 ****** 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-civz88ixoa/tests/playbooks/tests_auto_gateway.yml:85 Saturday 06 January 2024 13:40:15 +0000 (0:00:00.021) 0:00:19.154 ****** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tests_auto_gateway.yml:89 Saturday 06 January 2024 13:40:15 +0000 (0:00:00.021) 0:00:19.175 ****** included: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/manage_test_interface.yml:3 Saturday 06 January 2024 13:40:15 +0000 (0:00:00.050) 0:00:19.226 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/manage_test_interface.yml:8 Saturday 06 January 2024 13:40:15 +0000 (0:00:00.020) 0:00:19.247 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/manage_test_interface.yml:13 Saturday 06 January 2024 13:40:15 +0000 (0:00:00.020) 0:00:19.268 ****** included: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 06 January 2024 13:40:15 +0000 (0:00:00.034) 0:00:19.302 ****** included: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 06 January 2024 13:40:15 +0000 (0:00:00.033) 0:00:19.335 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003050", "end": "2024-01-06 13:40:15.076896", "rc": 0, "start": "2024-01-06 13:40:15.073846" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 06 January 2024 13:40:15 +0000 (0:00:00.128) 0:00:19.463 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 06 January 2024 13:40:15 +0000 (0:00:00.023) 0:00:19.486 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/manage_test_interface.yml:16 Saturday 06 January 2024 13:40:15 +0000 (0:00:00.023) 0:00:19.510 ****** 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-civz88ixoa/tests/playbooks/tasks/manage_test_interface.yml:24 Saturday 06 January 2024 13:40:15 +0000 (0:00:00.408) 0:00:19.918 ****** 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.003419", "end": "2024-01-06 13:40:15.665491", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-01-06 13:40:15.662072" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003030", "end": "2024-01-06 13:40:15.808716", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-01-06 13:40:15.805686" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.003319", "end": "2024-01-06 13:40:15.920718", "item": "ip link set veth0 up", "rc": 0, "start": "2024-01-06 13:40:15.917399" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/manage_test_interface.yml:33 Saturday 06 January 2024 13:40:16 +0000 (0:00:00.389) 0:00:20.308 ****** 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-civz88ixoa/tests/playbooks/tasks/manage_test_interface.yml:41 Saturday 06 January 2024 13:40:16 +0000 (0:00:00.132) 0:00:20.440 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/manage_test_interface.yml:48 Saturday 06 January 2024 13:40:16 +0000 (0:00:00.022) 0:00:20.462 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/manage_test_interface.yml:54 Saturday 06 January 2024 13:40:16 +0000 (0:00:00.023) 0:00:20.485 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/manage_test_interface.yml:61 Saturday 06 January 2024 13:40:16 +0000 (0:00:00.022) 0:00:20.508 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/manage_test_interface.yml:67 Saturday 06 January 2024 13:40:16 +0000 (0:00:00.024) 0:00:20.532 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 06 January 2024 13:40:16 +0000 (0:00:00.021) 0:00:20.554 ****** included: /WORKDIR/git-weekly-civz88ixoa/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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 06 January 2024 13:40:16 +0000 (0:00:00.037) 0:00:20.591 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 06 January 2024 13:40:16 +0000 (0:00:00.026) 0:00:20.617 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 06 January 2024 13:40:16 +0000 (0:00:00.021) 0:00:20.638 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 06 January 2024 13:40:16 +0000 (0:00:00.021) 0:00:20.660 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 06 January 2024 13:40:18 +0000 (0:00:01.481) 0:00:22.141 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 06 January 2024 13:40:18 +0000 (0:00:00.565) 0:00:22.707 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 06 January 2024 13:40:18 +0000 (0:00:00.022) 0:00:22.730 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 06 January 2024 13:40:18 +0000 (0:00:00.021) 0:00:22.752 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 06 January 2024 13:40:18 +0000 (0:00:00.028) 0:00:22.780 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 06 January 2024 13:40:18 +0000 (0:00:00.046) 0:00:22.827 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 06 January 2024 13:40:18 +0000 (0:00:00.022) 0:00:22.849 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 06 January 2024 13:40:18 +0000 (0:00:00.020) 0:00:22.870 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 06 January 2024 13:40:18 +0000 (0:00:00.026) 0:00:22.896 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 06 January 2024 13:40:18 +0000 (0:00:00.060) 0:00:22.957 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 06 January 2024 13:40:18 +0000 (0:00:00.022) 0:00:22.979 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 06 January 2024 13:40:19 +0000 (0:00:00.184) 0:00:23.163 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2322z014sj0l/tmpbbwijael" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 06 January 2024 13:40:19 +0000 (0:00:00.183) 0:00:23.347 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 06 January 2024 13:40:23 +0000 (0:00:04.342) 0:00:27.690 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 06 January 2024 13:40:23 +0000 (0:00:00.021) 0:00:27.711 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 06 January 2024 13:40:23 +0000 (0:00:00.023) 0:00:27.735 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 06 January 2024 13:40:23 +0000 (0:00:00.023) 0:00:27.759 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 06 January 2024 13:40:23 +0000 (0:00:00.020) 0:00:27.779 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tests_auto_gateway.yml:110 Saturday 06 January 2024 13:40:23 +0000 (0:00:00.155) 0:00:27.935 ****** included: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 06 January 2024 13:40:23 +0000 (0:00:00.052) 0:00:27.988 ****** included: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 06 January 2024 13:40:23 +0000 (0:00:00.035) 0:00:28.023 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704548415.693326, "block_size": 4096, "blocks": 0, "ctime": 1704548415.671315, "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": 1704548415.671315, "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-civz88ixoa/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 06 January 2024 13:40:24 +0000 (0:00:00.128) 0:00:28.152 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tests_auto_gateway.yml:112 Saturday 06 January 2024 13:40:24 +0000 (0:00:00.023) 0:00:28.176 ****** included: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 06 January 2024 13:40:24 +0000 (0:00:00.051) 0:00:28.227 ****** included: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 06 January 2024 13:40:24 +0000 (0:00:00.041) 0:00:28.269 ****** 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-civz88ixoa/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 06 January 2024 13:40:24 +0000 (0:00:00.029) 0:00:28.299 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704548419.199078, "block_size": 4096, "blocks": 8, "ctime": 1704548419.187072, "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": 1704548419.187072, "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-civz88ixoa/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 06 January 2024 13:40:24 +0000 (0:00:00.126) 0:00:28.425 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 06 January 2024 13:40:24 +0000 (0:00:00.023) 0:00:28.449 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.005092", "end": "2024-01-06 13:40:24.200047", "rc": 1, "start": "2024-01-06 13:40:24.194955" } 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-civz88ixoa/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 06 January 2024 13:40:24 +0000 (0:00:00.180) 0:00:28.629 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 06 January 2024 13:40:24 +0000 (0:00:00.023) 0:00:28.653 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003054", "end": "2024-01-06 13:40:24.403244", "rc": 0, "start": "2024-01-06 13:40:24.400190" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 06 January 2024 13:40:24 +0000 (0:00:00.133) 0:00:28.786 ****** 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-civz88ixoa/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 06 January 2024 13:40:24 +0000 (0:00:00.029) 0:00:28.816 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.002958", "end": "2024-01-06 13:40:24.565321", "rc": 0, "start": "2024-01-06 13:40:24.562363" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 06 January 2024 13:40:24 +0000 (0:00:00.133) 0:00:28.949 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 06 January 2024 13:40:24 +0000 (0:00:00.027) 0:00:28.976 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 06 January 2024 13:40:24 +0000 (0:00:00.024) 0:00:29.001 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 06 January 2024 13:40:24 +0000 (0:00:00.027) 0:00:29.028 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tests_auto_gateway.yml:116 Saturday 06 January 2024 13:40:25 +0000 (0:00:00.023) 0:00:29.052 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003017", "end": "2024-01-06 13:40:24.803027", "rc": 0, "start": "2024-01-06 13:40:24.800010" } 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.12.184 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-civz88ixoa/tests/playbooks/tests_auto_gateway.yml:120 Saturday 06 January 2024 13:40:25 +0000 (0:00:00.132) 0:00:29.184 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tests_auto_gateway.yml:126 Saturday 06 January 2024 13:40:25 +0000 (0:00:00.024) 0:00:29.209 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.002934", "end": "2024-01-06 13:40:24.955180", "rc": 0, "start": "2024-01-06 13:40:24.952246" } 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-civz88ixoa/tests/playbooks/tests_auto_gateway.yml:130 Saturday 06 January 2024 13:40:25 +0000 (0:00:00.128) 0:00:29.337 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tests_auto_gateway.yml:137 Saturday 06 January 2024 13:40:25 +0000 (0:00:00.021) 0:00:29.359 ****** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 06 January 2024 13:40:25 +0000 (0:00:00.021) 0:00:29.380 ****** included: /WORKDIR/git-weekly-civz88ixoa/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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 06 January 2024 13:40:25 +0000 (0:00:00.036) 0:00:29.417 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 06 January 2024 13:40:25 +0000 (0:00:00.063) 0:00:29.481 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 06 January 2024 13:40:25 +0000 (0:00:00.022) 0:00:29.503 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 06 January 2024 13:40:25 +0000 (0:00:00.022) 0:00:29.525 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 06 January 2024 13:40:26 +0000 (0:00:01.421) 0:00:30.947 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 06 January 2024 13:40:27 +0000 (0:00:00.565) 0:00:31.512 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 06 January 2024 13:40:27 +0000 (0:00:00.023) 0:00:31.536 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 06 January 2024 13:40:27 +0000 (0:00:00.021) 0:00:31.557 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 06 January 2024 13:40:27 +0000 (0:00:00.059) 0:00:31.616 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 06 January 2024 13:40:27 +0000 (0:00:00.043) 0:00:31.660 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 06 January 2024 13:40:27 +0000 (0:00:00.022) 0:00:31.682 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 06 January 2024 13:40:27 +0000 (0:00:00.021) 0:00:31.704 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 06 January 2024 13:40:27 +0000 (0:00:00.026) 0:00:31.731 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 06 January 2024 13:40:27 +0000 (0:00:00.021) 0:00:31.753 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 06 January 2024 13:40:27 +0000 (0:00:00.020) 0:00:31.774 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 06 January 2024 13:40:27 +0000 (0:00:00.186) 0:00:31.961 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2322z014sj0l/tmpdf3xk14w" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 06 January 2024 13:40:28 +0000 (0:00:00.359) 0:00:32.320 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 06 January 2024 13:40:28 +0000 (0:00:00.351) 0:00:32.672 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 06 January 2024 13:40:28 +0000 (0:00:00.021) 0:00:32.694 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 06 January 2024 13:40:28 +0000 (0:00:00.022) 0:00:32.717 ****** 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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 06 January 2024 13:40:28 +0000 (0:00:00.022) 0:00:32.739 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 06 January 2024 13:40:28 +0000 (0:00:00.022) 0:00:32.762 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tests_auto_gateway.yml:149 Saturday 06 January 2024 13:40:28 +0000 (0:00:00.164) 0:00:32.927 ****** included: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/manage_test_interface.yml:3 Saturday 06 January 2024 13:40:28 +0000 (0:00:00.055) 0:00:32.982 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/manage_test_interface.yml:8 Saturday 06 January 2024 13:40:28 +0000 (0:00:00.023) 0:00:33.006 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/manage_test_interface.yml:13 Saturday 06 January 2024 13:40:28 +0000 (0:00:00.022) 0:00:33.028 ****** included: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 06 January 2024 13:40:29 +0000 (0:00:00.035) 0:00:33.064 ****** included: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 06 January 2024 13:40:29 +0000 (0:00:00.035) 0:00:33.099 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003060", "end": "2024-01-06 13:40:28.848228", "rc": 0, "start": "2024-01-06 13:40:28.845168" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 06 January 2024 13:40:29 +0000 (0:00:00.128) 0:00:33.227 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 06 January 2024 13:40:29 +0000 (0:00:00.022) 0:00:33.250 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/manage_test_interface.yml:16 Saturday 06 January 2024 13:40:29 +0000 (0:00:00.022) 0:00:33.272 ****** 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-civz88ixoa/tests/playbooks/tasks/manage_test_interface.yml:24 Saturday 06 January 2024 13:40:29 +0000 (0:00:00.365) 0:00:33.638 ****** 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-civz88ixoa/tests/playbooks/tasks/manage_test_interface.yml:33 Saturday 06 January 2024 13:40:29 +0000 (0:00:00.034) 0:00:33.673 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/manage_test_interface.yml:41 Saturday 06 January 2024 13:40:29 +0000 (0:00:00.022) 0:00:33.695 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.037715", "end": "2024-01-06 13:40:29.482780", "rc": 0, "start": "2024-01-06 13:40:29.445065" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/manage_test_interface.yml:48 Saturday 06 January 2024 13:40:29 +0000 (0:00:00.221) 0:00:33.917 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/manage_test_interface.yml:54 Saturday 06 January 2024 13:40:29 +0000 (0:00:00.024) 0:00:33.941 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/manage_test_interface.yml:61 Saturday 06 January 2024 13:40:29 +0000 (0:00:00.023) 0:00:33.965 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/manage_test_interface.yml:67 Saturday 06 January 2024 13:40:29 +0000 (0:00:00.023) 0:00:33.989 ****** 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 06 January 2024 13:40:29 +0000 (0:00:00.010) 0:00:33.999 ****** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 4.47s /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Configure networking connection profiles --- 4.34s /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Check which services are running ----------- 1.73s /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.48s /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.45s /WORKDIR/git-weekly-civz88ixoa/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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Gathering Facts --------------------------------------------------------- 1.29s /WORKDIR/git-weekly-civz88ixoa/tests/tests_auto_gateway_initscripts.yml:5 ----- linux-system-roles.network : Check which packages are installed --------- 0.79s /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Configure networking connection profiles --- 0.74s /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:122 Gathering Facts --------------------------------------------------------- 0.69s /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tests_auto_gateway.yml:3 ------- Create veth interface veth0 --------------------------------------------- 0.62s /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/manage_test_interface.yml:24 linux-system-roles.network : Check which packages are installed --------- 0.57s /WORKDIR/git-weekly-civz88ixoa/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-civz88ixoa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.56s /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Ensure initscripts network file dependency is present --- 0.55s /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:113 Install iproute --------------------------------------------------------- 0.51s /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/manage_test_interface.yml:16 Enable EPEL 6 ----------------------------------------------------------- 0.47s /WORKDIR/git-weekly-civz88ixoa/tests/tasks/enable_epel.yml:40 ----------------- Install iproute --------------------------------------------------------- 0.41s /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/manage_test_interface.yml:16 Create veth interface veth0 --------------------------------------------- 0.39s /WORKDIR/git-weekly-civz88ixoa/tests/playbooks/tasks/manage_test_interface.yml:24 linux-system-roles.network : Enable network service --------------------- 0.37s /WORKDIR/git-weekly-civz88ixoa/tests/roles/linux-system-roles.network/tasks/main.yml:105 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---