# 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-route_typebobucd4n/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-route_typebobucd4n/tests/tests_auto_gateway_initscripts.yml:5 Tuesday 09 January 2024 19:45:28 +0000 (0:00:00.011) 0:00:00.011 ******* ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_typebobucd4n/tests/tests_auto_gateway_initscripts.yml:8 Tuesday 09 January 2024 19:45:30 +0000 (0:00:01.939) 0:00:01.951 ******* included: /WORKDIR/git-route_typebobucd4n/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-route_typebobucd4n/tests/tasks/el_repo_setup.yml:3 Tuesday 09 January 2024 19:45:30 +0000 (0:00:00.016) 0:00:01.968 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/tasks/el_repo_setup.yml:19 Tuesday 09 January 2024 19:45:30 +0000 (0:00:00.298) 0:00:02.267 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_typebobucd4n/tests/tasks/el_repo_setup.yml:24 Tuesday 09 January 2024 19:45:30 +0000 (0:00:00.196) 0:00:02.463 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/tasks/el_repo_setup.yml:28 Tuesday 09 January 2024 19:45:30 +0000 (0:00:00.044) 0:00:02.507 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/tasks/el_repo_setup.yml:53 Tuesday 09 January 2024 19:45:30 +0000 (0:00:00.060) 0:00:02.567 ******* included: /WORKDIR/git-route_typebobucd4n/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 6] *********************************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/tasks/enable_epel.yml:8 Tuesday 09 January 2024 19:45:30 +0000 (0:00:00.072) 0:00:02.640 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/tasks/enable_epel.yml:24 Tuesday 09 January 2024 19:45:31 +0000 (0:00:00.058) 0:00:02.699 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/tasks/enable_epel.yml:30 Tuesday 09 January 2024 19:45:31 +0000 (0:00:00.025) 0:00:02.724 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/tasks/enable_epel.yml:35 Tuesday 09 January 2024 19:45:31 +0000 (0:00:00.024) 0:00:02.749 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/tasks/enable_epel.yml:40 Tuesday 09 January 2024 19:45:31 +0000 (0:00:00.034) 0:00:02.784 ******* 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-1704829531.1746054-2261-223742653104374/source", "state": "file", "uid": 0 } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-route_typebobucd4n/tests/tests_auto_gateway_initscripts.yml:10 Tuesday 09 January 2024 19:45:32 +0000 (0:00:00.929) 0:00:03.713 ******* 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-route_typebobucd4n/tests/playbooks/tests_auto_gateway.yml:3 Tuesday 09 January 2024 19:45:32 +0000 (0:00:00.057) 0:00:03.770 ******* ok: [sut] META: ran handlers TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tests_auto_gateway.yml:9 Tuesday 09 January 2024 19:45:32 +0000 (0:00:00.742) 0:00:04.512 ******* included: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 19:45:32 +0000 (0:00:00.034) 0:00:04.547 ******* included: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 19:45:32 +0000 (0:00:00.017) 0:00:04.564 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003141", "end": "2024-01-09 19:45:33.153825", "rc": 0, "start": "2024-01-09 19:45:33.150684" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 19:45:33 +0000 (0:00:00.323) 0:00:04.888 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 19:45:33 +0000 (0:00:00.023) 0:00:04.912 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tests_auto_gateway.yml:11 Tuesday 09 January 2024 19:45:33 +0000 (0:00:00.024) 0:00:04.936 ******* included: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 09 January 2024 19:45:33 +0000 (0:00:00.042) 0:00:04.979 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 09 January 2024 19:45:33 +0000 (0:00:00.054) 0:00:05.033 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 09 January 2024 19:45:33 +0000 (0:00:00.046) 0:00:05.080 ******* included: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 19:45:33 +0000 (0:00:00.048) 0:00:05.128 ******* included: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 19:45:33 +0000 (0:00:00.034) 0:00:05.162 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003076", "end": "2024-01-09 19:45:33.583174", "rc": 0, "start": "2024-01-09 19:45:33.580098" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 19:45:33 +0000 (0:00:00.147) 0:00:05.309 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 19:45:33 +0000 (0:00:00.020) 0:00:05.330 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 09 January 2024 19:45:33 +0000 (0:00:00.017) 0:00:05.347 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [ "iproute-2.6.32-57.el6.x86_64 providing iproute is already installed" ] } TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/manage_test_interface.yml:24 Tuesday 09 January 2024 19:45:34 +0000 (0:00:00.544) 0:00:05.892 ******* 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.166300", "end": "2024-01-09 19:45:34.517363", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-01-09 19:45:34.351063" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.002994", "end": "2024-01-09 19:45:34.746164", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-01-09 19:45:34.743170" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.003307", "end": "2024-01-09 19:45:34.911611", "item": "ip link set veth0 up", "rc": 0, "start": "2024-01-09 19:45:34.908304" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/manage_test_interface.yml:33 Tuesday 09 January 2024 19:45:34 +0000 (0:00:00.744) 0:00:06.637 ******* 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-route_typebobucd4n/tests/playbooks/tasks/manage_test_interface.yml:41 Tuesday 09 January 2024 19:45:35 +0000 (0:00:00.186) 0:00:06.823 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/manage_test_interface.yml:48 Tuesday 09 January 2024 19:45:35 +0000 (0:00:00.027) 0:00:06.851 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/manage_test_interface.yml:54 Tuesday 09 January 2024 19:45:35 +0000 (0:00:00.031) 0:00:06.882 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/manage_test_interface.yml:61 Tuesday 09 January 2024 19:45:35 +0000 (0:00:00.037) 0:00:06.920 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/manage_test_interface.yml:67 Tuesday 09 January 2024 19:45:35 +0000 (0:00:00.030) 0:00:06.950 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tests_auto_gateway.yml:15 Tuesday 09 January 2024 19:45:35 +0000 (0:00:00.014) 0:00:06.964 ******* included: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 19:45:35 +0000 (0:00:00.043) 0:00:07.007 ******* included: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 19:45:35 +0000 (0:00:00.049) 0:00:07.056 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704829534.657479, "block_size": 4096, "blocks": 0, "ctime": 1704829534.638479, "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": 1704829534.638479, "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-route_typebobucd4n/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 19:45:35 +0000 (0:00:00.174) 0:00:07.231 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tests_auto_gateway.yml:17 Tuesday 09 January 2024 19:45:35 +0000 (0:00:00.026) 0:00:07.257 ******* ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 19:45:35 +0000 (0:00:00.028) 0:00:07.286 ******* included: /WORKDIR/git-route_typebobucd4n/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-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:45:35 +0000 (0:00:00.073) 0:00:07.360 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 19:45:35 +0000 (0:00:00.022) 0:00:07.383 ******* 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-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 19:45:35 +0000 (0:00:00.012) 0:00:07.396 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 19:45:35 +0000 (0:00:00.012) 0:00:07.409 ******* 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-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 19:45:37 +0000 (0:00:01.621) 0:00:09.031 ******* 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-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 19:45:38 +0000 (0:00:00.770) 0:00:09.801 ******* 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-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 19:45:38 +0000 (0:00:00.022) 0:00:09.824 ******* 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-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 19:45:38 +0000 (0:00:00.022) 0:00:09.846 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 19:45:38 +0000 (0:00:00.021) 0:00:09.868 ******* 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-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 19:45:38 +0000 (0:00:00.048) 0:00:09.916 ******* 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-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 19:45:38 +0000 (0:00:00.026) 0:00:09.943 ******* 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-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 19:45:38 +0000 (0:00:00.023) 0:00:09.966 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 19:45:38 +0000 (0:00:00.026) 0:00:09.993 ******* 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-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 19:45:38 +0000 (0:00:00.022) 0:00:10.016 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 19:45:38 +0000 (0:00:00.035) 0:00:10.051 ******* 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-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 19:45:38 +0000 (0:00:00.328) 0:00:10.379 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2229zq9jggbc/tmpurqu1flo" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 19:45:38 +0000 (0:00:00.227) 0:00:10.607 ******* 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-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 19:45:43 +0000 (0:00:04.475) 0:00:15.082 ******* 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-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 19:45:43 +0000 (0:00:00.023) 0:00:15.105 ******* 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-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 19:45:43 +0000 (0:00:00.030) 0:00:15.136 ******* 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-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 19:45:43 +0000 (0:00:00.043) 0:00:15.179 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 19:45:43 +0000 (0:00:00.052) 0:00:15.232 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tests_auto_gateway.yml:42 Tuesday 09 January 2024 19:45:43 +0000 (0:00:00.269) 0:00:15.501 ******* included: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 19:45:43 +0000 (0:00:00.076) 0:00:15.578 ******* included: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 19:45:43 +0000 (0:00:00.054) 0:00:15.633 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704829534.657479, "block_size": 4096, "blocks": 0, "ctime": 1704829534.638479, "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": 1704829534.638479, "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-route_typebobucd4n/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 19:45:44 +0000 (0:00:00.197) 0:00:15.830 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tests_auto_gateway.yml:44 Tuesday 09 January 2024 19:45:44 +0000 (0:00:00.039) 0:00:15.869 ******* included: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 19:45:44 +0000 (0:00:00.067) 0:00:15.937 ******* included: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 19:45:44 +0000 (0:00:00.036) 0:00:15.974 ******* 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-route_typebobucd4n/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 19:45:44 +0000 (0:00:00.022) 0:00:15.996 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704829539.243479, "block_size": 4096, "blocks": 8, "ctime": 1704829539.231479, "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": 1704829539.231479, "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-route_typebobucd4n/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 19:45:44 +0000 (0:00:00.154) 0:00:16.150 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 19:45:44 +0000 (0:00:00.029) 0:00:16.180 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.005410", "end": "2024-01-09 19:45:44.595815", "rc": 1, "start": "2024-01-09 19:45:44.590405" } 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-route_typebobucd4n/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 19:45:44 +0000 (0:00:00.151) 0:00:16.331 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 19:45:44 +0000 (0:00:00.067) 0:00:16.399 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003164", "end": "2024-01-09 19:45:44.821041", "rc": 0, "start": "2024-01-09 19:45:44.817877" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 19:45:44 +0000 (0:00:00.146) 0:00:16.545 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 19:45:44 +0000 (0:00:00.028) 0:00:16.573 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003094", "end": "2024-01-09 19:45:44.985173", "rc": 0, "start": "2024-01-09 19:45:44.982079" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 19:45:45 +0000 (0:00:00.134) 0:00:16.707 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 19:45:45 +0000 (0:00:00.027) 0:00:16.735 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 19:45:45 +0000 (0:00:00.023) 0:00:16.759 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 19:45:45 +0000 (0:00:00.025) 0:00:16.785 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tests_auto_gateway.yml:48 Tuesday 09 January 2024 19:45:45 +0000 (0:00:00.024) 0:00:16.810 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.002972", "end": "2024-01-09 19:45:45.220992", "rc": 0, "start": "2024-01-09 19:45:45.218020" } STDOUT: 203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.45.47 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.44.1 dev eth0 default via 203.0.113.1 dev veth0 metric 65535 TASK [Assert default ipv4 route is present] ************************************ task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tests_auto_gateway.yml:52 Tuesday 09 January 2024 19:45:45 +0000 (0:00:00.132) 0:00:16.942 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tests_auto_gateway.yml:58 Tuesday 09 January 2024 19:45:45 +0000 (0:00:00.023) 0:00:16.966 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003004", "end": "2024-01-09 19:45:45.393271", "rc": 0, "start": "2024-01-09 19:45:45.390267" } 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-route_typebobucd4n/tests/playbooks/tests_auto_gateway.yml:62 Tuesday 09 January 2024 19:45:45 +0000 (0:00:00.152) 0:00:17.119 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tests_auto_gateway.yml:69 Tuesday 09 January 2024 19:45:45 +0000 (0:00:00.034) 0:00:17.153 ******* ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 19:45:45 +0000 (0:00:00.028) 0:00:17.182 ******* included: /WORKDIR/git-route_typebobucd4n/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-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:45:45 +0000 (0:00:00.056) 0:00:17.238 ******* 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-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 19:45:45 +0000 (0:00:00.046) 0:00:17.285 ******* 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-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 19:45:45 +0000 (0:00:00.084) 0:00:17.370 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 19:45:45 +0000 (0:00:00.066) 0:00:17.436 ******* 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-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 19:45:47 +0000 (0:00:01.454) 0:00:18.891 ******* 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-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 19:45:47 +0000 (0:00:00.566) 0:00:19.457 ******* 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-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 19:45:47 +0000 (0:00:00.022) 0:00:19.480 ******* 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-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 19:45:47 +0000 (0:00:00.022) 0:00:19.502 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 19:45:47 +0000 (0:00:00.021) 0:00:19.523 ******* 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-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 19:45:47 +0000 (0:00:00.043) 0:00:19.566 ******* 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-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 19:45:47 +0000 (0:00:00.021) 0:00:19.588 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 19:45:47 +0000 (0:00:00.048) 0:00:19.636 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 19:45:47 +0000 (0:00:00.025) 0:00:19.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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 19:45:47 +0000 (0:00:00.020) 0:00:19.682 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 19:45:48 +0000 (0:00:00.021) 0:00:19.704 ******* 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-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 19:45:48 +0000 (0:00:00.200) 0:00:19.904 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2229zq9jggbc/tmp2y6kdc7_" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 19:45:48 +0000 (0:00:00.202) 0:00:20.107 ******* 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-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 19:45:48 +0000 (0:00:00.398) 0:00:20.505 ******* 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-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 19:45:48 +0000 (0:00:00.021) 0:00:20.527 ******* 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-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 19:45:48 +0000 (0:00:00.025) 0:00:20.553 ******* 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-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 19:45:48 +0000 (0:00:00.024) 0:00:20.577 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 19:45:48 +0000 (0:00:00.029) 0:00:20.607 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tests_auto_gateway.yml:81 Tuesday 09 January 2024 19:45:49 +0000 (0:00:00.124) 0:00:20.732 ******* included: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 09 January 2024 19:45:49 +0000 (0:00:00.062) 0:00:20.795 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 09 January 2024 19:45:49 +0000 (0:00:00.070) 0:00:20.865 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 09 January 2024 19:45:49 +0000 (0:00:00.035) 0:00:20.901 ******* included: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 19:45:49 +0000 (0:00:00.078) 0:00:20.979 ******* included: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 19:45:49 +0000 (0:00:00.063) 0:00:21.043 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003073", "end": "2024-01-09 19:45:49.493003", "rc": 0, "start": "2024-01-09 19:45:49.489930" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 19:45:49 +0000 (0:00:00.173) 0:00:21.216 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 19:45:49 +0000 (0:00:00.025) 0:00:21.242 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 09 January 2024 19:45:49 +0000 (0:00:00.022) 0:00:21.264 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [ "iproute-2.6.32-57.el6.x86_64 providing iproute is already installed" ] } TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/manage_test_interface.yml:24 Tuesday 09 January 2024 19:45:49 +0000 (0:00:00.381) 0:00:21.645 ******* 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-route_typebobucd4n/tests/playbooks/tasks/manage_test_interface.yml:33 Tuesday 09 January 2024 19:45:49 +0000 (0:00:00.038) 0:00:21.684 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/manage_test_interface.yml:41 Tuesday 09 January 2024 19:45:50 +0000 (0:00:00.022) 0:00:21.707 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.051341", "end": "2024-01-09 19:45:50.167482", "rc": 0, "start": "2024-01-09 19:45:50.116141" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/manage_test_interface.yml:48 Tuesday 09 January 2024 19:45:50 +0000 (0:00:00.198) 0:00:21.906 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/manage_test_interface.yml:54 Tuesday 09 January 2024 19:45:50 +0000 (0:00:00.022) 0:00:21.928 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/manage_test_interface.yml:61 Tuesday 09 January 2024 19:45:50 +0000 (0:00:00.022) 0:00:21.951 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/manage_test_interface.yml:67 Tuesday 09 January 2024 19:45:50 +0000 (0:00:00.094) 0:00:22.045 ******* 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-route_typebobucd4n/tests/playbooks/tests_auto_gateway.yml:85 Tuesday 09 January 2024 19:45:50 +0000 (0:00:00.022) 0:00:22.068 ******* ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tests_auto_gateway.yml:89 Tuesday 09 January 2024 19:45:50 +0000 (0:00:00.021) 0:00:22.089 ******* included: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 09 January 2024 19:45:50 +0000 (0:00:00.052) 0:00:22.142 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 09 January 2024 19:45:50 +0000 (0:00:00.021) 0:00:22.164 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 09 January 2024 19:45:50 +0000 (0:00:00.020) 0:00:22.185 ******* included: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 19:45:50 +0000 (0:00:00.034) 0:00:22.219 ******* included: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 19:45:50 +0000 (0:00:00.033) 0:00:22.252 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003353", "end": "2024-01-09 19:45:50.662111", "rc": 0, "start": "2024-01-09 19:45:50.658758" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 19:45:50 +0000 (0:00:00.137) 0:00:22.389 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 19:45:50 +0000 (0:00:00.024) 0:00:22.414 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 09 January 2024 19:45:50 +0000 (0:00:00.026) 0:00:22.441 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [ "iproute-2.6.32-57.el6.x86_64 providing iproute is already installed" ] } TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/manage_test_interface.yml:24 Tuesday 09 January 2024 19:45:51 +0000 (0:00:00.388) 0:00:22.830 ******* 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.004250", "end": "2024-01-09 19:45:51.244094", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-01-09 19:45:51.239844" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.002940", "end": "2024-01-09 19:45:51.417239", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-01-09 19:45:51.414299" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.010844", "end": "2024-01-09 19:45:51.537023", "item": "ip link set veth0 up", "rc": 0, "start": "2024-01-09 19:45:51.526179" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/manage_test_interface.yml:33 Tuesday 09 January 2024 19:45:51 +0000 (0:00:00.428) 0:00:23.259 ******* 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-route_typebobucd4n/tests/playbooks/tasks/manage_test_interface.yml:41 Tuesday 09 January 2024 19:45:51 +0000 (0:00:00.148) 0:00:23.407 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/manage_test_interface.yml:48 Tuesday 09 January 2024 19:45:51 +0000 (0:00:00.024) 0:00:23.432 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/manage_test_interface.yml:54 Tuesday 09 January 2024 19:45:51 +0000 (0:00:00.033) 0:00:23.465 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/manage_test_interface.yml:61 Tuesday 09 January 2024 19:45:51 +0000 (0:00:00.030) 0:00:23.496 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/manage_test_interface.yml:67 Tuesday 09 January 2024 19:45:51 +0000 (0:00:00.042) 0:00:23.539 ******* 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-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 19:45:51 +0000 (0:00:00.029) 0:00:23.568 ******* included: /WORKDIR/git-route_typebobucd4n/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-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:45:51 +0000 (0:00:00.047) 0:00:23.615 ******* 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-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 19:45:51 +0000 (0:00:00.035) 0:00:23.651 ******* 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-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 19:45:51 +0000 (0:00:00.034) 0:00:23.686 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 19:45:52 +0000 (0:00:00.047) 0:00:23.734 ******* 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-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 19:45:53 +0000 (0:00:01.444) 0:00:25.178 ******* 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-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 19:45:54 +0000 (0:00:00.569) 0:00:25.748 ******* 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-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 19:45:54 +0000 (0:00:00.023) 0:00:25.771 ******* 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-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 19:45:54 +0000 (0:00:00.024) 0:00:25.796 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 19:45:54 +0000 (0:00:00.021) 0:00:25.818 ******* 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-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 19:45:54 +0000 (0:00:00.044) 0:00:25.862 ******* 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-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 19:45:54 +0000 (0:00:00.022) 0:00:25.885 ******* 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-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 19:45:54 +0000 (0:00:00.029) 0:00:25.914 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 19:45:54 +0000 (0:00:00.027) 0:00:25.941 ******* 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-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 19:45:54 +0000 (0:00:00.022) 0:00:25.963 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 19:45:54 +0000 (0:00:00.021) 0:00:25.985 ******* 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-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 19:45:54 +0000 (0:00:00.220) 0:00:26.205 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2229zq9jggbc/tmpq78xaa3h" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 19:45:54 +0000 (0:00:00.205) 0:00:26.411 ******* 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-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 19:45:59 +0000 (0:00:04.351) 0:00:30.763 ******* 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-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 19:45:59 +0000 (0:00:00.021) 0:00:30.784 ******* 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-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 19:45:59 +0000 (0:00:00.022) 0:00:30.807 ******* 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-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 19:45:59 +0000 (0:00:00.023) 0:00:30.831 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 19:45:59 +0000 (0:00:00.022) 0:00:30.853 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tests_auto_gateway.yml:110 Tuesday 09 January 2024 19:45:59 +0000 (0:00:00.124) 0:00:30.978 ******* included: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 19:45:59 +0000 (0:00:00.081) 0:00:31.060 ******* included: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 19:45:59 +0000 (0:00:00.036) 0:00:31.096 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704829551.265479, "block_size": 4096, "blocks": 0, "ctime": 1704829551.244479, "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": 1704829551.244479, "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-route_typebobucd4n/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 19:45:59 +0000 (0:00:00.132) 0:00:31.229 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tests_auto_gateway.yml:112 Tuesday 09 January 2024 19:45:59 +0000 (0:00:00.024) 0:00:31.253 ******* included: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 19:45:59 +0000 (0:00:00.051) 0:00:31.304 ******* included: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 19:45:59 +0000 (0:00:00.036) 0:00:31.341 ******* 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-route_typebobucd4n/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 19:45:59 +0000 (0:00:00.022) 0:00:31.364 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704829554.9364789, "block_size": 4096, "blocks": 8, "ctime": 1704829554.924479, "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": 1704829554.924479, "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-route_typebobucd4n/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 19:45:59 +0000 (0:00:00.133) 0:00:31.497 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 19:45:59 +0000 (0:00:00.024) 0:00:31.522 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.005371", "end": "2024-01-09 19:45:59.936193", "rc": 1, "start": "2024-01-09 19:45:59.930822" } 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-route_typebobucd4n/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 19:45:59 +0000 (0:00:00.135) 0:00:31.657 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 19:45:59 +0000 (0:00:00.021) 0:00:31.679 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003314", "end": "2024-01-09 19:46:00.095143", "rc": 0, "start": "2024-01-09 19:46:00.091829" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 19:46:00 +0000 (0:00:00.172) 0:00:31.851 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 19:46:00 +0000 (0:00:00.028) 0:00:31.880 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003303", "end": "2024-01-09 19:46:00.294606", "rc": 0, "start": "2024-01-09 19:46:00.291303" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 19:46:00 +0000 (0:00:00.139) 0:00:32.020 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 19:46:00 +0000 (0:00:00.028) 0:00:32.048 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 19:46:00 +0000 (0:00:00.027) 0:00:32.076 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 19:46:00 +0000 (0:00:00.030) 0:00:32.106 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tests_auto_gateway.yml:116 Tuesday 09 January 2024 19:46:00 +0000 (0:00:00.022) 0:00:32.129 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003469", "end": "2024-01-09 19:46:00.541943", "rc": 0, "start": "2024-01-09 19:46:00.538474" } STDOUT: 203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.45.47 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.44.1 dev eth0 TASK [Assert default ipv4 route is absent] ************************************* task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tests_auto_gateway.yml:120 Tuesday 09 January 2024 19:46:00 +0000 (0:00:00.136) 0:00:32.265 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tests_auto_gateway.yml:126 Tuesday 09 January 2024 19:46:00 +0000 (0:00:00.023) 0:00:32.289 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003136", "end": "2024-01-09 19:46:00.697506", "rc": 0, "start": "2024-01-09 19:46:00.694370" } 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-route_typebobucd4n/tests/playbooks/tests_auto_gateway.yml:130 Tuesday 09 January 2024 19:46:00 +0000 (0:00:00.130) 0:00:32.419 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tests_auto_gateway.yml:137 Tuesday 09 January 2024 19:46:00 +0000 (0:00:00.020) 0:00:32.440 ******* ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 19:46:00 +0000 (0:00:00.021) 0:00:32.461 ******* included: /WORKDIR/git-route_typebobucd4n/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-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:46:00 +0000 (0:00:00.038) 0:00:32.500 ******* 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-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 19:46:00 +0000 (0:00:00.026) 0:00:32.526 ******* 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-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 19:46:00 +0000 (0:00:00.021) 0:00:32.547 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 19:46:00 +0000 (0:00:00.058) 0:00:32.605 ******* 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-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 19:46:02 +0000 (0:00:01.421) 0:00:34.026 ******* 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-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 19:46:02 +0000 (0:00:00.569) 0:00:34.596 ******* 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-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 19:46:02 +0000 (0:00:00.023) 0:00:34.619 ******* 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-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 19:46:02 +0000 (0:00:00.022) 0:00:34.642 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 19:46:02 +0000 (0:00:00.022) 0:00:34.665 ******* 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-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 19:46:03 +0000 (0:00:00.044) 0:00:34.710 ******* 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-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 19:46:03 +0000 (0:00:00.056) 0:00:34.767 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 19:46:03 +0000 (0:00:00.028) 0:00:34.795 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 19:46:03 +0000 (0:00:00.029) 0:00:34.824 ******* 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-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 19:46:03 +0000 (0:00:00.022) 0:00:34.847 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 19:46:03 +0000 (0:00:00.021) 0:00:34.869 ******* 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-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 19:46:03 +0000 (0:00:00.189) 0:00:35.059 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2229zq9jggbc/tmpwuwvql5g" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 19:46:03 +0000 (0:00:00.195) 0:00:35.254 ******* 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-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 19:46:03 +0000 (0:00:00.339) 0:00:35.594 ******* 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-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 19:46:03 +0000 (0:00:00.022) 0:00:35.616 ******* 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-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 19:46:03 +0000 (0:00:00.022) 0:00:35.639 ******* 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-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 19:46:03 +0000 (0:00:00.023) 0:00:35.662 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 19:46:03 +0000 (0:00:00.021) 0:00:35.683 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tests_auto_gateway.yml:149 Tuesday 09 January 2024 19:46:04 +0000 (0:00:00.120) 0:00:35.804 ******* included: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 09 January 2024 19:46:04 +0000 (0:00:00.094) 0:00:35.899 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 09 January 2024 19:46:04 +0000 (0:00:00.022) 0:00:35.921 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 09 January 2024 19:46:04 +0000 (0:00:00.021) 0:00:35.943 ******* included: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 19:46:04 +0000 (0:00:00.035) 0:00:35.979 ******* included: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 19:46:04 +0000 (0:00:00.035) 0:00:36.014 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003153", "end": "2024-01-09 19:46:04.423131", "rc": 0, "start": "2024-01-09 19:46:04.419978" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 19:46:04 +0000 (0:00:00.130) 0:00:36.144 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 19:46:04 +0000 (0:00:00.022) 0:00:36.167 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 09 January 2024 19:46:04 +0000 (0:00:00.023) 0:00:36.190 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [ "iproute-2.6.32-57.el6.x86_64 providing iproute is already installed" ] } TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/manage_test_interface.yml:24 Tuesday 09 January 2024 19:46:04 +0000 (0:00:00.375) 0:00:36.566 ******* 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-route_typebobucd4n/tests/playbooks/tasks/manage_test_interface.yml:33 Tuesday 09 January 2024 19:46:04 +0000 (0:00:00.032) 0:00:36.598 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/manage_test_interface.yml:41 Tuesday 09 January 2024 19:46:04 +0000 (0:00:00.023) 0:00:36.622 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.043976", "end": "2024-01-09 19:46:05.080066", "rc": 0, "start": "2024-01-09 19:46:05.036090" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/manage_test_interface.yml:48 Tuesday 09 January 2024 19:46:05 +0000 (0:00:00.187) 0:00:36.810 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/manage_test_interface.yml:54 Tuesday 09 January 2024 19:46:05 +0000 (0:00:00.021) 0:00:36.831 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/manage_test_interface.yml:61 Tuesday 09 January 2024 19:46:05 +0000 (0:00:00.060) 0:00:36.892 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/manage_test_interface.yml:67 Tuesday 09 January 2024 19:46:05 +0000 (0:00:00.024) 0:00:36.916 ******* 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 Tuesday 09 January 2024 19:46:05 +0000 (0:00:00.009) 0:00:36.926 ******* =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 4.48s /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Configure networking connection profiles --- 4.35s /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:122 Gathering Facts --------------------------------------------------------- 1.94s /WORKDIR/git-route_typebobucd4n/tests/tests_auto_gateway_initscripts.yml:5 ---- linux-system-roles.network : Check which services are running ----------- 1.62s /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.45s /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.44s /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.42s /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Enable EPEL 6 ----------------------------------------------------------- 0.93s /WORKDIR/git-route_typebobucd4n/tests/tasks/enable_epel.yml:40 ---------------- linux-system-roles.network : Check which packages are installed --------- 0.77s /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Create veth interface veth0 --------------------------------------------- 0.74s /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/manage_test_interface.yml:24 Gathering Facts --------------------------------------------------------- 0.74s /WORKDIR/git-route_typebobucd4n/tests/playbooks/tests_auto_gateway.yml:3 ------ linux-system-roles.network : Configure networking connection profiles --- 0.74s /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Check which packages are installed --------- 0.57s /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.57s /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.57s /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Install iproute --------------------------------------------------------- 0.54s /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/manage_test_interface.yml:16 Create veth interface veth0 --------------------------------------------- 0.43s /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/manage_test_interface.yml:24 linux-system-roles.network : Ensure initscripts network file dependency is present --- 0.40s /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:113 linux-system-roles.network : Enable network service --------------------- 0.39s /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:105 Install iproute --------------------------------------------------------- 0.39s /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/manage_test_interface.yml:16 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---