# 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_typelyhsdo9y/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_typelyhsdo9y/tests/tests_auto_gateway_initscripts.yml:5 Thursday 11 January 2024 02:21:28 +0000 (0:00:00.015) 0:00:00.015 ****** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_typelyhsdo9y/tests/tests_auto_gateway_initscripts.yml:8 Thursday 11 January 2024 02:21:29 +0000 (0:00:00.947) 0:00:00.962 ****** included: /WORKDIR/git-route_typelyhsdo9y/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_typelyhsdo9y/tests/tasks/el_repo_setup.yml:3 Thursday 11 January 2024 02:21:29 +0000 (0:00:00.024) 0:00:00.987 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/tasks/el_repo_setup.yml:19 Thursday 11 January 2024 02:21:29 +0000 (0:00:00.258) 0:00:01.245 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/tasks/el_repo_setup.yml:24 Thursday 11 January 2024 02:21:29 +0000 (0:00:00.168) 0:00:01.414 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/tasks/el_repo_setup.yml:28 Thursday 11 January 2024 02:21:29 +0000 (0:00:00.022) 0:00:01.437 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/tasks/el_repo_setup.yml:53 Thursday 11 January 2024 02:21:29 +0000 (0:00:00.018) 0:00:01.456 ****** included: /WORKDIR/git-route_typelyhsdo9y/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 6] *********************************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/tasks/enable_epel.yml:8 Thursday 11 January 2024 02:21:29 +0000 (0:00:00.033) 0:00:01.489 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/tasks/enable_epel.yml:24 Thursday 11 January 2024 02:21:29 +0000 (0:00:00.011) 0:00:01.501 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/tasks/enable_epel.yml:30 Thursday 11 January 2024 02:21:29 +0000 (0:00:00.011) 0:00:01.513 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/tasks/enable_epel.yml:35 Thursday 11 January 2024 02:21:29 +0000 (0:00:00.011) 0:00:01.525 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/tasks/enable_epel.yml:40 Thursday 11 January 2024 02:21:29 +0000 (0:00:00.012) 0:00:01.537 ****** 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-1704939689.8643641-2348-222674375783409/source", "state": "file", "uid": 0 } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/tests_auto_gateway_initscripts.yml:10 Thursday 11 January 2024 02:21:30 +0000 (0:00:00.522) 0:00:02.059 ****** 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_typelyhsdo9y/tests/playbooks/tests_auto_gateway.yml:3 Thursday 11 January 2024 02:21:30 +0000 (0:00:00.013) 0:00:02.072 ****** ok: [sut] META: ran handlers TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tests_auto_gateway.yml:9 Thursday 11 January 2024 02:21:31 +0000 (0:00:00.669) 0:00:02.741 ****** included: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 02:21:31 +0000 (0:00:00.026) 0:00:02.767 ****** included: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 02:21:31 +0000 (0:00:00.016) 0:00:02.783 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003141", "end": "2024-01-11 02:21:31.222363", "rc": 0, "start": "2024-01-11 02:21:31.219222" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 02:21:31 +0000 (0:00:00.198) 0:00:02.982 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 02:21:31 +0000 (0:00:00.014) 0:00:02.996 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tests_auto_gateway.yml:11 Thursday 11 January 2024 02:21:31 +0000 (0:00:00.012) 0:00:03.009 ****** included: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 11 January 2024 02:21:31 +0000 (0:00:00.032) 0:00:03.042 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 11 January 2024 02:21:31 +0000 (0:00:00.013) 0:00:03.055 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 11 January 2024 02:21:31 +0000 (0:00:00.012) 0:00:03.068 ****** included: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 02:21:31 +0000 (0:00:00.016) 0:00:03.084 ****** included: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 02:21:31 +0000 (0:00:00.016) 0:00:03.100 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003028", "end": "2024-01-11 02:21:31.460912", "rc": 0, "start": "2024-01-11 02:21:31.457884" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 02:21:31 +0000 (0:00:00.118) 0:00:03.219 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 02:21:31 +0000 (0:00:00.014) 0:00:03.233 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 11 January 2024 02:21:31 +0000 (0:00:00.012) 0:00:03.246 ****** 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_typelyhsdo9y/tests/playbooks/tasks/manage_test_interface.yml:24 Thursday 11 January 2024 02:21:32 +0000 (0:00:00.500) 0:00:03.747 ****** 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.134619", "end": "2024-01-11 02:21:32.246438", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-01-11 02:21:32.111819" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004103", "end": "2024-01-11 02:21:32.408196", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-01-11 02:21:32.404093" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.003063", "end": "2024-01-11 02:21:32.522346", "item": "ip link set veth0 up", "rc": 0, "start": "2024-01-11 02:21:32.519283" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/manage_test_interface.yml:33 Thursday 11 January 2024 02:21:32 +0000 (0:00:00.544) 0:00:04.292 ****** 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_typelyhsdo9y/tests/playbooks/tasks/manage_test_interface.yml:41 Thursday 11 January 2024 02:21:32 +0000 (0:00:00.123) 0:00:04.415 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/manage_test_interface.yml:48 Thursday 11 January 2024 02:21:32 +0000 (0:00:00.013) 0:00:04.428 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/manage_test_interface.yml:54 Thursday 11 January 2024 02:21:32 +0000 (0:00:00.015) 0:00:04.444 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/manage_test_interface.yml:61 Thursday 11 January 2024 02:21:32 +0000 (0:00:00.016) 0:00:04.461 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/manage_test_interface.yml:67 Thursday 11 January 2024 02:21:32 +0000 (0:00:00.013) 0:00:04.474 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tests_auto_gateway.yml:15 Thursday 11 January 2024 02:21:32 +0000 (0:00:00.013) 0:00:04.487 ****** included: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 11 January 2024 02:21:32 +0000 (0:00:00.030) 0:00:04.518 ****** included: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 02:21:32 +0000 (0:00:00.017) 0:00:04.536 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704939692.2869644, "block_size": 4096, "blocks": 0, "ctime": 1704939692.2659645, "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": 1704939692.2659645, "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_typelyhsdo9y/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 11 January 2024 02:21:32 +0000 (0:00:00.116) 0:00:04.652 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tests_auto_gateway.yml:17 Thursday 11 January 2024 02:21:32 +0000 (0:00:00.015) 0:00:04.667 ****** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 02:21:32 +0000 (0:00:00.012) 0:00:04.680 ****** included: /WORKDIR/git-route_typelyhsdo9y/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_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:21:33 +0000 (0:00:00.069) 0:00:04.749 ****** 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_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 02:21:33 +0000 (0:00:00.015) 0:00:04.764 ****** 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_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 02:21:33 +0000 (0:00:00.014) 0:00:04.779 ****** 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_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 02:21:33 +0000 (0:00:00.012) 0:00:04.791 ****** 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_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 02:21:34 +0000 (0:00:01.589) 0:00:06.381 ****** 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_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 02:21:35 +0000 (0:00:00.820) 0:00:07.202 ****** 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_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 02:21:35 +0000 (0:00:00.022) 0:00:07.224 ****** 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_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 02:21:35 +0000 (0:00:00.021) 0:00:07.246 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 02:21:35 +0000 (0:00:00.021) 0:00:07.267 ****** 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_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 02:21:35 +0000 (0:00:00.049) 0:00:07.317 ****** 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_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 02:21:35 +0000 (0:00:00.024) 0:00:07.342 ****** 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_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 02:21:35 +0000 (0:00:00.021) 0:00:07.364 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 02:21:35 +0000 (0:00:00.026) 0:00:07.390 ****** 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_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 02:21:35 +0000 (0:00:00.021) 0:00:07.411 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 02:21:35 +0000 (0:00:00.021) 0:00:07.432 ****** 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_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 02:21:36 +0000 (0:00:00.315) 0:00:07.747 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2320zelnacli/tmpm9p6d6uy" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 02:21:36 +0000 (0:00:00.230) 0:00:07.977 ****** 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_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 02:21:40 +0000 (0:00:04.494) 0:00:12.472 ****** 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_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 02:21:40 +0000 (0:00:00.025) 0:00:12.497 ****** 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_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 02:21:40 +0000 (0:00:00.047) 0:00:12.545 ****** 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_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 02:21:40 +0000 (0:00:00.028) 0:00:12.574 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 02:21:40 +0000 (0:00:00.021) 0:00:12.595 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tests_auto_gateway.yml:42 Thursday 11 January 2024 02:21:41 +0000 (0:00:00.207) 0:00:12.803 ****** included: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 11 January 2024 02:21:41 +0000 (0:00:00.049) 0:00:12.852 ****** included: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 02:21:41 +0000 (0:00:00.038) 0:00:12.890 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704939692.2869644, "block_size": 4096, "blocks": 0, "ctime": 1704939692.2659645, "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": 1704939692.2659645, "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_typelyhsdo9y/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 11 January 2024 02:21:41 +0000 (0:00:00.159) 0:00:13.050 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tests_auto_gateway.yml:44 Thursday 11 January 2024 02:21:41 +0000 (0:00:00.054) 0:00:13.104 ****** included: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 11 January 2024 02:21:41 +0000 (0:00:00.052) 0:00:13.157 ****** included: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 11 January 2024 02:21:41 +0000 (0:00:00.038) 0:00:13.195 ****** 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_typelyhsdo9y/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 11 January 2024 02:21:41 +0000 (0:00:00.022) 0:00:13.218 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704939696.5959644, "block_size": 4096, "blocks": 8, "ctime": 1704939696.5849645, "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": 1704939696.5849645, "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_typelyhsdo9y/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 11 January 2024 02:21:41 +0000 (0:00:00.135) 0:00:13.353 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 11 January 2024 02:21:41 +0000 (0:00:00.024) 0:00:13.378 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.004912", "end": "2024-01-11 02:21:41.758715", "rc": 1, "start": "2024-01-11 02:21:41.753803" } 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_typelyhsdo9y/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 11 January 2024 02:21:41 +0000 (0:00:00.147) 0:00:13.526 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 11 January 2024 02:21:41 +0000 (0:00:00.023) 0:00:13.550 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.002966", "end": "2024-01-11 02:21:41.912343", "rc": 0, "start": "2024-01-11 02:21:41.909377" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 11 January 2024 02:21:41 +0000 (0:00:00.149) 0:00:13.699 ****** 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_typelyhsdo9y/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 11 January 2024 02:21:42 +0000 (0:00:00.043) 0:00:13.743 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.002915", "end": "2024-01-11 02:21:42.129993", "rc": 0, "start": "2024-01-11 02:21:42.127078" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 11 January 2024 02:21:42 +0000 (0:00:00.158) 0:00:13.901 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 11 January 2024 02:21:42 +0000 (0:00:00.029) 0:00:13.931 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 11 January 2024 02:21:42 +0000 (0:00:00.036) 0:00:13.967 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 11 January 2024 02:21:42 +0000 (0:00:00.105) 0:00:14.073 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tests_auto_gateway.yml:48 Thursday 11 January 2024 02:21:42 +0000 (0:00:00.027) 0:00:14.100 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.002868", "end": "2024-01-11 02:21:42.498484", "rc": 0, "start": "2024-01-11 02:21:42.495616" } STDOUT: 203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.14.224 169.254.0.0/16 dev eth0 scope link metric 1002 169.254.0.0/16 dev veth0 scope link metric 1004 default via 10.31.12.1 dev eth0 default via 203.0.113.1 dev veth0 metric 65535 TASK [Assert default ipv4 route is present] ************************************ task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tests_auto_gateway.yml:52 Thursday 11 January 2024 02:21:42 +0000 (0:00:00.178) 0:00:14.279 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tests_auto_gateway.yml:58 Thursday 11 January 2024 02:21:42 +0000 (0:00:00.053) 0:00:14.332 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.008767", "end": "2024-01-11 02:21:42.718639", "rc": 0, "start": "2024-01-11 02:21:42.709872" } 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_typelyhsdo9y/tests/playbooks/tests_auto_gateway.yml:62 Thursday 11 January 2024 02:21:42 +0000 (0:00:00.160) 0:00:14.493 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tests_auto_gateway.yml:69 Thursday 11 January 2024 02:21:42 +0000 (0:00:00.062) 0:00:14.555 ****** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 02:21:42 +0000 (0:00:00.026) 0:00:14.582 ****** included: /WORKDIR/git-route_typelyhsdo9y/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_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:21:42 +0000 (0:00:00.042) 0:00:14.624 ****** 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_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 02:21:42 +0000 (0:00:00.029) 0:00:14.653 ****** 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_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 02:21:42 +0000 (0:00:00.023) 0:00:14.677 ****** 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_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 02:21:42 +0000 (0:00:00.030) 0:00:14.708 ****** 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_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 02:21:44 +0000 (0:00:01.432) 0:00:16.140 ****** 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_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 02:21:44 +0000 (0:00:00.551) 0:00:16.692 ****** 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_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 02:21:44 +0000 (0:00:00.023) 0:00:16.715 ****** 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_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 02:21:44 +0000 (0:00:00.021) 0:00:16.736 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 02:21:45 +0000 (0:00:00.022) 0:00:16.759 ****** 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_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 02:21:45 +0000 (0:00:00.047) 0:00:16.807 ****** 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_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 02:21:45 +0000 (0:00:00.038) 0:00:16.845 ****** 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_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 02:21:45 +0000 (0:00:00.037) 0:00:16.883 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 02:21:45 +0000 (0:00:00.053) 0:00:16.936 ****** 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_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 02:21:45 +0000 (0:00:00.022) 0:00:16.958 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 02:21:45 +0000 (0:00:00.043) 0:00:17.002 ****** 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_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 02:21:45 +0000 (0:00:00.202) 0:00:17.204 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2320zelnacli/tmpjuq31ctz" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 02:21:45 +0000 (0:00:00.241) 0:00:17.446 ****** 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_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 02:21:46 +0000 (0:00:00.457) 0:00:17.903 ****** 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_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 02:21:46 +0000 (0:00:00.030) 0:00:17.934 ****** 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_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 02:21:46 +0000 (0:00:00.046) 0:00:17.980 ****** 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_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 02:21:46 +0000 (0:00:00.037) 0:00:18.018 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 02:21:46 +0000 (0:00:00.021) 0:00:18.040 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tests_auto_gateway.yml:81 Thursday 11 January 2024 02:21:46 +0000 (0:00:00.125) 0:00:18.166 ****** included: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 11 January 2024 02:21:46 +0000 (0:00:00.051) 0:00:18.217 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 11 January 2024 02:21:46 +0000 (0:00:00.023) 0:00:18.241 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 11 January 2024 02:21:46 +0000 (0:00:00.027) 0:00:18.268 ****** included: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 02:21:46 +0000 (0:00:00.048) 0:00:18.316 ****** included: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 02:21:46 +0000 (0:00:00.055) 0:00:18.371 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003148", "end": "2024-01-11 02:21:46.773957", "rc": 0, "start": "2024-01-11 02:21:46.770809" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 02:21:46 +0000 (0:00:00.182) 0:00:18.554 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 02:21:46 +0000 (0:00:00.075) 0:00:18.630 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 11 January 2024 02:21:46 +0000 (0:00:00.028) 0:00:18.658 ****** 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_typelyhsdo9y/tests/playbooks/tasks/manage_test_interface.yml:24 Thursday 11 January 2024 02:21:47 +0000 (0:00:00.416) 0:00:19.074 ****** 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_typelyhsdo9y/tests/playbooks/tasks/manage_test_interface.yml:33 Thursday 11 January 2024 02:21:47 +0000 (0:00:00.063) 0:00:19.138 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/manage_test_interface.yml:41 Thursday 11 January 2024 02:21:47 +0000 (0:00:00.032) 0:00:19.170 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.047199", "end": "2024-01-11 02:21:47.632311", "rc": 0, "start": "2024-01-11 02:21:47.585112" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/manage_test_interface.yml:48 Thursday 11 January 2024 02:21:47 +0000 (0:00:00.244) 0:00:19.415 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/manage_test_interface.yml:54 Thursday 11 January 2024 02:21:47 +0000 (0:00:00.038) 0:00:19.454 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/manage_test_interface.yml:61 Thursday 11 January 2024 02:21:47 +0000 (0:00:00.042) 0:00:19.497 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/manage_test_interface.yml:67 Thursday 11 January 2024 02:21:47 +0000 (0:00:00.035) 0:00:19.532 ****** 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_typelyhsdo9y/tests/playbooks/tests_auto_gateway.yml:85 Thursday 11 January 2024 02:21:47 +0000 (0:00:00.022) 0:00:19.554 ****** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tests_auto_gateway.yml:89 Thursday 11 January 2024 02:21:47 +0000 (0:00:00.026) 0:00:19.581 ****** included: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 11 January 2024 02:21:47 +0000 (0:00:00.051) 0:00:19.632 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 11 January 2024 02:21:47 +0000 (0:00:00.023) 0:00:19.656 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 11 January 2024 02:21:47 +0000 (0:00:00.022) 0:00:19.678 ****** included: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 02:21:48 +0000 (0:00:00.084) 0:00:19.762 ****** included: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 02:21:48 +0000 (0:00:00.043) 0:00:19.806 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003228", "end": "2024-01-11 02:21:48.173582", "rc": 0, "start": "2024-01-11 02:21:48.170354" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 02:21:48 +0000 (0:00:00.142) 0:00:19.948 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 02:21:48 +0000 (0:00:00.024) 0:00:19.973 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 11 January 2024 02:21:48 +0000 (0:00:00.023) 0:00:19.996 ****** 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_typelyhsdo9y/tests/playbooks/tasks/manage_test_interface.yml:24 Thursday 11 January 2024 02:21:48 +0000 (0:00:00.408) 0:00:20.405 ****** 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.003659", "end": "2024-01-11 02:21:48.791621", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-01-11 02:21:48.787962" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003114", "end": "2024-01-11 02:21:48.937777", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-01-11 02:21:48.934663" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.003131", "end": "2024-01-11 02:21:49.061301", "item": "ip link set veth0 up", "rc": 0, "start": "2024-01-11 02:21:49.058170" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/manage_test_interface.yml:33 Thursday 11 January 2024 02:21:49 +0000 (0:00:00.424) 0:00:20.830 ****** 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_typelyhsdo9y/tests/playbooks/tasks/manage_test_interface.yml:41 Thursday 11 January 2024 02:21:49 +0000 (0:00:00.136) 0:00:20.966 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/manage_test_interface.yml:48 Thursday 11 January 2024 02:21:49 +0000 (0:00:00.037) 0:00:21.004 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/manage_test_interface.yml:54 Thursday 11 January 2024 02:21:49 +0000 (0:00:00.024) 0:00:21.028 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/manage_test_interface.yml:61 Thursday 11 January 2024 02:21:49 +0000 (0:00:00.022) 0:00:21.051 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/manage_test_interface.yml:67 Thursday 11 January 2024 02:21:49 +0000 (0:00:00.024) 0:00:21.076 ****** 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_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 02:21:49 +0000 (0:00:00.024) 0:00:21.101 ****** included: /WORKDIR/git-route_typelyhsdo9y/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_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:21:49 +0000 (0:00:00.087) 0:00:21.188 ****** 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_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 02:21:49 +0000 (0:00:00.039) 0:00:21.227 ****** 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_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 02:21:49 +0000 (0:00:00.050) 0:00:21.278 ****** 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_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 02:21:49 +0000 (0:00:00.052) 0:00:21.331 ****** 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_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 02:21:51 +0000 (0:00:01.444) 0:00:22.775 ****** 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_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 02:21:51 +0000 (0:00:00.633) 0:00:23.408 ****** 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_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 02:21:51 +0000 (0:00:00.038) 0:00:23.447 ****** 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_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 02:21:51 +0000 (0:00:00.035) 0:00:23.483 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 02:21:51 +0000 (0:00:00.031) 0:00:23.514 ****** 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_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 02:21:51 +0000 (0:00:00.066) 0:00:23.580 ****** 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_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 02:21:51 +0000 (0:00:00.106) 0:00:23.687 ****** 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_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 02:21:51 +0000 (0:00:00.028) 0:00:23.715 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 02:21:52 +0000 (0:00:00.026) 0:00:23.742 ****** 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_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 02:21:52 +0000 (0:00:00.022) 0:00:23.764 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 02:21:52 +0000 (0:00:00.023) 0:00:23.787 ****** 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_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 02:21:52 +0000 (0:00:00.199) 0:00:23.986 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2320zelnacli/tmpkk8q27xc" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 02:21:52 +0000 (0:00:00.227) 0:00:24.214 ****** 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_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 02:21:56 +0000 (0:00:04.345) 0:00:28.560 ****** 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_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 02:21:56 +0000 (0:00:00.061) 0:00:28.621 ****** 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_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 02:21:56 +0000 (0:00:00.032) 0:00:28.654 ****** 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_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 02:21:56 +0000 (0:00:00.026) 0:00:28.680 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 02:21:56 +0000 (0:00:00.022) 0:00:28.702 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tests_auto_gateway.yml:110 Thursday 11 January 2024 02:21:57 +0000 (0:00:00.142) 0:00:28.845 ****** included: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 11 January 2024 02:21:57 +0000 (0:00:00.087) 0:00:28.932 ****** included: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 02:21:57 +0000 (0:00:00.079) 0:00:29.012 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704939708.8199644, "block_size": 4096, "blocks": 0, "ctime": 1704939708.7969644, "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": 1704939708.7969644, "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_typelyhsdo9y/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 11 January 2024 02:21:57 +0000 (0:00:00.151) 0:00:29.163 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tests_auto_gateway.yml:112 Thursday 11 January 2024 02:21:57 +0000 (0:00:00.048) 0:00:29.212 ****** included: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 11 January 2024 02:21:57 +0000 (0:00:00.052) 0:00:29.264 ****** included: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 11 January 2024 02:21:57 +0000 (0:00:00.040) 0:00:29.304 ****** 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_typelyhsdo9y/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 11 January 2024 02:21:57 +0000 (0:00:00.024) 0:00:29.328 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704939712.6869645, "block_size": 4096, "blocks": 8, "ctime": 1704939712.6749644, "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": 1704939712.6749644, "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_typelyhsdo9y/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 11 January 2024 02:21:57 +0000 (0:00:00.169) 0:00:29.498 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 11 January 2024 02:21:57 +0000 (0:00:00.025) 0:00:29.523 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.005049", "end": "2024-01-11 02:21:57.886717", "rc": 1, "start": "2024-01-11 02:21:57.881668" } 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_typelyhsdo9y/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 11 January 2024 02:21:57 +0000 (0:00:00.136) 0:00:29.660 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 11 January 2024 02:21:57 +0000 (0:00:00.062) 0:00:29.722 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003049", "end": "2024-01-11 02:21:58.173195", "rc": 0, "start": "2024-01-11 02:21:58.170146" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 11 January 2024 02:21:58 +0000 (0:00:00.221) 0:00:29.944 ****** 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_typelyhsdo9y/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 11 January 2024 02:21:58 +0000 (0:00:00.031) 0:00:29.976 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003107", "end": "2024-01-11 02:21:58.345148", "rc": 0, "start": "2024-01-11 02:21:58.342041" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 11 January 2024 02:21:58 +0000 (0:00:00.138) 0:00:30.114 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 11 January 2024 02:21:58 +0000 (0:00:00.028) 0:00:30.143 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 11 January 2024 02:21:58 +0000 (0:00:00.025) 0:00:30.169 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 11 January 2024 02:21:58 +0000 (0:00:00.030) 0:00:30.199 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tests_auto_gateway.yml:116 Thursday 11 January 2024 02:21:58 +0000 (0:00:00.050) 0:00:30.250 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003446", "end": "2024-01-11 02:21:58.863526", "rc": 0, "start": "2024-01-11 02:21:58.860080" } STDOUT: 203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.14.224 169.254.0.0/16 dev eth0 scope link metric 1002 169.254.0.0/16 dev veth0 scope link metric 1006 default via 10.31.12.1 dev eth0 TASK [Assert default ipv4 route is absent] ************************************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tests_auto_gateway.yml:120 Thursday 11 January 2024 02:21:58 +0000 (0:00:00.383) 0:00:30.633 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tests_auto_gateway.yml:126 Thursday 11 January 2024 02:21:58 +0000 (0:00:00.027) 0:00:30.661 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.002886", "end": "2024-01-11 02:21:59.065062", "rc": 0, "start": "2024-01-11 02:21:59.062176" } 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_typelyhsdo9y/tests/playbooks/tests_auto_gateway.yml:130 Thursday 11 January 2024 02:21:59 +0000 (0:00:00.185) 0:00:30.847 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tests_auto_gateway.yml:137 Thursday 11 January 2024 02:21:59 +0000 (0:00:00.028) 0:00:30.875 ****** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 02:21:59 +0000 (0:00:00.063) 0:00:30.938 ****** included: /WORKDIR/git-route_typelyhsdo9y/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_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:21:59 +0000 (0:00:00.039) 0:00:30.978 ****** 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_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 02:21:59 +0000 (0:00:00.028) 0:00:31.006 ****** 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_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 02:21:59 +0000 (0:00:00.022) 0:00:31.028 ****** 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_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 02:21:59 +0000 (0:00:00.025) 0:00:31.054 ****** 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_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 02:22:00 +0000 (0:00:01.408) 0:00:32.462 ****** 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_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 02:22:01 +0000 (0:00:00.565) 0:00:33.027 ****** 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_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 02:22:01 +0000 (0:00:00.080) 0:00:33.107 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 02:22:01 +0000 (0:00:00.031) 0:00:33.138 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 02:22:01 +0000 (0:00:00.025) 0:00:33.164 ****** 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_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 02:22:01 +0000 (0:00:00.047) 0:00:33.211 ****** 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_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 02:22:01 +0000 (0:00:00.026) 0:00:33.238 ****** 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_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 02:22:01 +0000 (0:00:00.022) 0:00:33.261 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 02:22:01 +0000 (0:00:00.032) 0:00:33.293 ****** 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_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 02:22:01 +0000 (0:00:00.030) 0:00:33.324 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 02:22:01 +0000 (0:00:00.026) 0:00:33.351 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 02:22:01 +0000 (0:00:00.215) 0:00:33.566 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2320zelnacli/tmpwgtwk481" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 02:22:02 +0000 (0:00:00.208) 0:00:33.775 ****** 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_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 02:22:02 +0000 (0:00:00.343) 0:00:34.118 ****** 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_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 02:22:02 +0000 (0:00:00.025) 0:00:34.143 ****** 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_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 02:22:02 +0000 (0:00:00.023) 0:00:34.167 ****** 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_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 02:22:02 +0000 (0:00:00.036) 0:00:34.203 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 02:22:02 +0000 (0:00:00.021) 0:00:34.225 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tests_auto_gateway.yml:149 Thursday 11 January 2024 02:22:02 +0000 (0:00:00.129) 0:00:34.354 ****** included: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 11 January 2024 02:22:02 +0000 (0:00:00.058) 0:00:34.415 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 11 January 2024 02:22:02 +0000 (0:00:00.023) 0:00:34.438 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 11 January 2024 02:22:02 +0000 (0:00:00.038) 0:00:34.476 ****** included: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 02:22:02 +0000 (0:00:00.038) 0:00:34.515 ****** included: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 02:22:02 +0000 (0:00:00.041) 0:00:34.557 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003182", "end": "2024-01-11 02:22:02.920722", "rc": 0, "start": "2024-01-11 02:22:02.917540" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 02:22:02 +0000 (0:00:00.131) 0:00:34.689 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 02:22:02 +0000 (0:00:00.024) 0:00:34.714 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 11 January 2024 02:22:03 +0000 (0:00:00.023) 0:00:34.737 ****** 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_typelyhsdo9y/tests/playbooks/tasks/manage_test_interface.yml:24 Thursday 11 January 2024 02:22:03 +0000 (0:00:00.376) 0:00:35.113 ****** 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_typelyhsdo9y/tests/playbooks/tasks/manage_test_interface.yml:33 Thursday 11 January 2024 02:22:03 +0000 (0:00:00.030) 0:00:35.144 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/manage_test_interface.yml:41 Thursday 11 January 2024 02:22:03 +0000 (0:00:00.070) 0:00:35.214 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.035632", "end": "2024-01-11 02:22:03.610170", "rc": 0, "start": "2024-01-11 02:22:03.574538" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/manage_test_interface.yml:48 Thursday 11 January 2024 02:22:03 +0000 (0:00:00.176) 0:00:35.391 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/manage_test_interface.yml:54 Thursday 11 January 2024 02:22:03 +0000 (0:00:00.024) 0:00:35.415 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/manage_test_interface.yml:61 Thursday 11 January 2024 02:22:03 +0000 (0:00:00.025) 0:00:35.440 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/manage_test_interface.yml:67 Thursday 11 January 2024 02:22:03 +0000 (0:00:00.025) 0:00:35.465 ****** 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 Thursday 11 January 2024 02:22:03 +0000 (0:00:00.017) 0:00:35.483 ****** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 4.49s /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Configure networking connection profiles --- 4.35s /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Check which services are running ----------- 1.59s /WORKDIR/git-route_typelyhsdo9y/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_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.43s /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.41s /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Gathering Facts --------------------------------------------------------- 0.95s /WORKDIR/git-route_typelyhsdo9y/tests/tests_auto_gateway_initscripts.yml:5 ---- linux-system-roles.network : Check which packages are installed --------- 0.82s /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Configure networking connection profiles --- 0.80s /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:122 Gathering Facts --------------------------------------------------------- 0.67s /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tests_auto_gateway.yml:3 ------ linux-system-roles.network : Check which packages are installed --------- 0.63s /WORKDIR/git-route_typelyhsdo9y/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_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.55s /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Create veth interface veth0 --------------------------------------------- 0.54s /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/manage_test_interface.yml:24 Enable EPEL 6 ----------------------------------------------------------- 0.52s /WORKDIR/git-route_typelyhsdo9y/tests/tasks/enable_epel.yml:40 ---------------- Install iproute --------------------------------------------------------- 0.50s /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Ensure initscripts network file dependency is present --- 0.45s /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:113 Create veth interface veth0 --------------------------------------------- 0.42s /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/manage_test_interface.yml:24 linux-system-roles.network : Enable network service --------------------- 0.42s /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:105 Install iproute --------------------------------------------------------- 0.42s /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/manage_test_interface.yml:16 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---