# 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_type7bwn9fbo/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_type7bwn9fbo/tests/tests_auto_gateway_initscripts.yml:5 Thursday 11 January 2024 00:07:48 +0000 (0:00:00.011) 0:00:00.011 ****** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_type7bwn9fbo/tests/tests_auto_gateway_initscripts.yml:8 Thursday 11 January 2024 00:07:49 +0000 (0:00:00.776) 0:00:00.788 ****** included: /WORKDIR/git-route_type7bwn9fbo/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_type7bwn9fbo/tests/tasks/el_repo_setup.yml:3 Thursday 11 January 2024 00:07:49 +0000 (0:00:00.011) 0:00:00.799 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/tasks/el_repo_setup.yml:19 Thursday 11 January 2024 00:07:49 +0000 (0:00:00.333) 0:00:01.133 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/tasks/el_repo_setup.yml:24 Thursday 11 January 2024 00:07:49 +0000 (0:00:00.267) 0:00:01.401 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/tasks/el_repo_setup.yml:28 Thursday 11 January 2024 00:07:49 +0000 (0:00:00.021) 0:00:01.422 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/tasks/el_repo_setup.yml:53 Thursday 11 January 2024 00:07:49 +0000 (0:00:00.018) 0:00:01.441 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/tasks/enable_epel.yml:8 Thursday 11 January 2024 00:07:49 +0000 (0:00:00.031) 0:00:01.472 ****** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "rc": 0 } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/tasks/enable_epel.yml:24 Thursday 11 January 2024 00:07:49 +0000 (0:00:00.249) 0:00:01.721 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/tasks/enable_epel.yml:30 Thursday 11 January 2024 00:07:49 +0000 (0:00:00.010) 0:00:01.732 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/tasks/enable_epel.yml:35 Thursday 11 January 2024 00:07:49 +0000 (0:00:00.010) 0:00:01.743 ****** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:01.251301", "end": "2024-01-11 00:07:51.421698", "rc": 0, "start": "2024-01-11 00:07:50.170397" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/tasks/enable_epel.yml:40 Thursday 11 January 2024 00:07:51 +0000 (0:00:01.442) 0:00:03.185 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/tests_auto_gateway_initscripts.yml:10 Thursday 11 January 2024 00:07:51 +0000 (0:00:00.011) 0:00:03.196 ****** 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_type7bwn9fbo/tests/playbooks/tests_auto_gateway.yml:3 Thursday 11 January 2024 00:07:51 +0000 (0:00:00.012) 0:00:03.208 ****** ok: [sut] META: ran handlers TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tests_auto_gateway.yml:9 Thursday 11 January 2024 00:07:52 +0000 (0:00:00.553) 0:00:03.761 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 00:07:52 +0000 (0:00:00.025) 0:00:03.787 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 00:07:52 +0000 (0:00:00.014) 0:00:03.801 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003460", "end": "2024-01-11 00:07:52.229715", "rc": 0, "start": "2024-01-11 00:07:52.226255" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 00:07:52 +0000 (0:00:00.190) 0:00:03.992 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 00:07:52 +0000 (0:00:00.031) 0:00:04.024 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tests_auto_gateway.yml:11 Thursday 11 January 2024 00:07:52 +0000 (0:00:00.020) 0:00:04.044 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 11 January 2024 00:07:52 +0000 (0:00:00.034) 0:00:04.078 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 11 January 2024 00:07:52 +0000 (0:00:00.011) 0:00:04.090 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 11 January 2024 00:07:52 +0000 (0:00:00.019) 0:00:04.110 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 00:07:52 +0000 (0:00:00.026) 0:00:04.136 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 00:07:52 +0000 (0:00:00.013) 0:00:04.150 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003467", "end": "2024-01-11 00:07:52.582896", "rc": 0, "start": "2024-01-11 00:07:52.579429" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 00:07:52 +0000 (0:00:00.195) 0:00:04.346 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 00:07:52 +0000 (0:00:00.012) 0:00:04.358 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 11 January 2024 00:07:52 +0000 (0:00:00.010) 0:00:04.369 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/manage_test_interface.yml:24 Thursday 11 January 2024 00:07:56 +0000 (0:00:03.572) 0:00:07.941 ****** 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.017927", "end": "2024-01-11 00:07:56.389600", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-01-11 00:07:56.371673" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004174", "end": "2024-01-11 00:07:56.630169", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-01-11 00:07:56.625995" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004819", "end": "2024-01-11 00:07:56.815334", "item": "ip link set veth0 up", "rc": 0, "start": "2024-01-11 00:07:56.810515" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/manage_test_interface.yml:33 Thursday 11 January 2024 00:07:56 +0000 (0:00:00.638) 0:00:08.579 ****** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.059070", "end": "2024-01-11 00:07:57.065156", "rc": 0, "start": "2024-01-11 00:07:57.006086" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/manage_test_interface.yml:41 Thursday 11 January 2024 00:07:57 +0000 (0:00:00.249) 0:00:08.829 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/manage_test_interface.yml:48 Thursday 11 January 2024 00:07:57 +0000 (0:00:00.011) 0:00:08.841 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/manage_test_interface.yml:54 Thursday 11 January 2024 00:07:57 +0000 (0:00:00.011) 0:00:08.852 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/manage_test_interface.yml:61 Thursday 11 January 2024 00:07:57 +0000 (0:00:00.011) 0:00:08.864 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/manage_test_interface.yml:67 Thursday 11 January 2024 00:07:57 +0000 (0:00:00.011) 0:00:08.875 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tests_auto_gateway.yml:15 Thursday 11 January 2024 00:07:57 +0000 (0:00:00.010) 0:00:08.886 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 11 January 2024 00:07:57 +0000 (0:00:00.043) 0:00:08.929 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 00:07:57 +0000 (0:00:00.014) 0:00:08.944 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704931676.388093, "block_size": 4096, "blocks": 0, "ctime": 1704931676.388093, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21719, "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": 1704931676.388093, "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_type7bwn9fbo/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 11 January 2024 00:07:57 +0000 (0:00:00.191) 0:00:09.135 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tests_auto_gateway.yml:17 Thursday 11 January 2024 00:07:57 +0000 (0:00:00.012) 0:00:09.147 ****** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:07:57 +0000 (0:00:00.010) 0:00:09.158 ****** included: /WORKDIR/git-route_type7bwn9fbo/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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:07:57 +0000 (0:00:00.065) 0:00:09.224 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:07:57 +0000 (0:00:00.012) 0:00:09.236 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:07:57 +0000 (0:00:00.016) 0:00:09.253 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:07:57 +0000 (0:00:00.013) 0:00:09.266 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:07:59 +0000 (0:00:01.570) 0:00:10.836 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:08:00 +0000 (0:00:01.437) 0:00:12.274 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:08:00 +0000 (0:00:00.044) 0:00:12.319 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:08:00 +0000 (0:00:00.025) 0:00:12.345 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:08:00 +0000 (0:00:00.021) 0:00:12.366 ****** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: network-scripts-team-1.31-4.el8.x86_64", "Installed: network-scripts-10.00.18-1.el8.x86_64" ] } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:08:05 +0000 (0:00:05.011) 0:00:17.378 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:08:05 +0000 (0:00:00.022) 0:00:17.400 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:08:05 +0000 (0:00:00.024) 0:00:17.425 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:08:05 +0000 (0:00:00.049) 0:00:17.475 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:08:05 +0000 (0:00:00.029) 0:00:17.504 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:08:05 +0000 (0:00:00.023) 0:00:17.528 ****** changed: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:08:06 +0000 (0:00:00.822) 0:00:18.351 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2527ound8qw_/tmpqcch2bep" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:08:06 +0000 (0:00:00.311) 0:00:18.662 ****** 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='b"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\n"', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:08:13 +0000 (0:00:06.642) 0:00:25.305 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:08:13 +0000 (0:00:00.046) 0:00:25.351 ****** 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='b\"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\n\"', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:08:13 +0000 (0:00:00.023) 0:00:25.375 ****** 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='b\"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\n\"', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\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='b\"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\n\"', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:08:13 +0000 (0:00:00.023) 0:00:25.398 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:08:13 +0000 (0:00:00.022) 0:00:25.421 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tests_auto_gateway.yml:42 Thursday 11 January 2024 00:08:13 +0000 (0:00:00.251) 0:00:25.672 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 11 January 2024 00:08:13 +0000 (0:00:00.058) 0:00:25.731 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 00:08:14 +0000 (0:00:00.036) 0:00:25.768 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704931676.388093, "block_size": 4096, "blocks": 0, "ctime": 1704931676.388093, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21719, "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": 1704931676.388093, "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_type7bwn9fbo/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 11 January 2024 00:08:14 +0000 (0:00:00.202) 0:00:25.970 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tests_auto_gateway.yml:44 Thursday 11 January 2024 00:08:14 +0000 (0:00:00.025) 0:00:25.995 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 11 January 2024 00:08:14 +0000 (0:00:00.050) 0:00:26.046 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 11 January 2024 00:08:14 +0000 (0:00:00.067) 0:00:26.113 ****** 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_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 11 January 2024 00:08:14 +0000 (0:00:00.022) 0:00:26.136 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704931687.3134112, "block_size": 4096, "blocks": 8, "ctime": 1704931687.2924116, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5533388, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704931687.2924116, "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_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 11 January 2024 00:08:14 +0000 (0:00:00.201) 0:00:26.337 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 11 January 2024 00:08:14 +0000 (0:00:00.047) 0:00:26.384 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.021047", "end": "2024-01-11 00:08:14.830456", "rc": 1, "start": "2024-01-11 00:08:14.809409" } 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_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 11 January 2024 00:08:14 +0000 (0:00:00.219) 0:00:26.604 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 11 January 2024 00:08:14 +0000 (0:00:00.023) 0:00:26.627 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003326", "end": "2024-01-11 00:08:15.059515", "rc": 0, "start": "2024-01-11 00:08:15.056189" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 11 January 2024 00:08:15 +0000 (0:00:00.214) 0:00:26.841 ****** 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_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 11 January 2024 00:08:15 +0000 (0:00:00.029) 0:00:26.871 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003116", "end": "2024-01-11 00:08:15.301626", "rc": 0, "start": "2024-01-11 00:08:15.298510" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 11 January 2024 00:08:15 +0000 (0:00:00.203) 0:00:27.075 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 11 January 2024 00:08:15 +0000 (0:00:00.027) 0:00:27.103 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 11 January 2024 00:08:15 +0000 (0:00:00.025) 0:00:27.129 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 11 January 2024 00:08:15 +0000 (0:00:00.026) 0:00:27.155 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tests_auto_gateway.yml:48 Thursday 11 January 2024 00:08:15 +0000 (0:00:00.025) 0:00:27.181 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003844", "end": "2024-01-11 00:08:15.635637", "rc": 0, "start": "2024-01-11 00:08:15.631793" } STDOUT: default via 10.31.40.1 dev eth0 proto dhcp src 10.31.43.203 metric 100 default via 203.0.113.1 dev veth0 metric 65535 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.43.203 metric 100 169.254.0.0/16 dev veth0 scope link metric 1004 203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 TASK [Assert default ipv4 route is present] ************************************ task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tests_auto_gateway.yml:52 Thursday 11 January 2024 00:08:15 +0000 (0:00:00.263) 0:00:27.444 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tests_auto_gateway.yml:58 Thursday 11 January 2024 00:08:15 +0000 (0:00:00.026) 0:00:27.470 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.004040", "end": "2024-01-11 00:08:15.899186", "rc": 0, "start": "2024-01-11 00:08:15.895146" } STDOUT: ::1 dev lo proto kernel metric 256 pref medium 2001:db8::/64 dev veth0 proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium fe80::/64 dev veth0 proto kernel metric 256 pref medium default via 2001:db8::1 dev veth0 metric 1 pref medium TASK [Assert default ipv6 route is present] ************************************ task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tests_auto_gateway.yml:62 Thursday 11 January 2024 00:08:15 +0000 (0:00:00.204) 0:00:27.674 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tests_auto_gateway.yml:69 Thursday 11 January 2024 00:08:15 +0000 (0:00:00.023) 0:00:27.698 ****** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:08:15 +0000 (0:00:00.022) 0:00:27.720 ****** included: /WORKDIR/git-route_type7bwn9fbo/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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:08:16 +0000 (0:00:00.039) 0:00:27.760 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:08:16 +0000 (0:00:00.028) 0:00:27.788 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:08:16 +0000 (0:00:00.022) 0:00:27.810 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:08:16 +0000 (0:00:00.022) 0:00:27.833 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:08:17 +0000 (0:00:01.579) 0:00:29.412 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:08:18 +0000 (0:00:01.304) 0:00:30.716 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:08:18 +0000 (0:00:00.025) 0:00:30.742 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:08:19 +0000 (0:00:00.024) 0:00:30.766 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:08:19 +0000 (0:00:00.028) 0:00:30.795 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:08:19 +0000 (0:00:00.051) 0:00:30.846 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:08:19 +0000 (0:00:00.034) 0:00:30.880 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:08:19 +0000 (0:00:00.024) 0:00:30.904 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:08:19 +0000 (0:00:00.075) 0:00:30.980 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:08:19 +0000 (0:00:00.040) 0:00:31.021 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:08:19 +0000 (0:00:00.023) 0:00:31.045 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:08:19 +0000 (0:00:00.354) 0:00:31.399 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2527ound8qw_/tmpexq02x8n" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:08:19 +0000 (0:00:00.310) 0:00:31.710 ****** 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='b''', err='b"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' [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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:08:20 +0000 (0:00:00.452) 0:00:32.162 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:08:20 +0000 (0:00:00.048) 0:00:32.210 ****** 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='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:08:20 +0000 (0:00:00.068) 0:00:32.278 ****** 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='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\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='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:08:20 +0000 (0:00:00.027) 0:00:32.306 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:08:20 +0000 (0:00:00.027) 0:00:32.334 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tests_auto_gateway.yml:81 Thursday 11 January 2024 00:08:20 +0000 (0:00:00.196) 0:00:32.530 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 11 January 2024 00:08:20 +0000 (0:00:00.087) 0:00:32.618 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 11 January 2024 00:08:20 +0000 (0:00:00.034) 0:00:32.652 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 11 January 2024 00:08:20 +0000 (0:00:00.027) 0:00:32.679 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 00:08:20 +0000 (0:00:00.038) 0:00:32.718 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 00:08:21 +0000 (0:00:00.034) 0:00:32.752 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003439", "end": "2024-01-11 00:08:21.181827", "rc": 0, "start": "2024-01-11 00:08:21.178388" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 00:08:21 +0000 (0:00:00.202) 0:00:32.955 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 00:08:21 +0000 (0:00:00.023) 0:00:32.978 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 11 January 2024 00:08:21 +0000 (0:00:00.023) 0:00:33.002 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/manage_test_interface.yml:24 Thursday 11 January 2024 00:08:24 +0000 (0:00:03.034) 0:00:36.037 ****** 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_type7bwn9fbo/tests/playbooks/tasks/manage_test_interface.yml:33 Thursday 11 January 2024 00:08:24 +0000 (0:00:00.041) 0:00:36.078 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/manage_test_interface.yml:41 Thursday 11 January 2024 00:08:24 +0000 (0:00:00.030) 0:00:36.109 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.010477", "end": "2024-01-11 00:08:24.558178", "rc": 0, "start": "2024-01-11 00:08:24.547701" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/manage_test_interface.yml:48 Thursday 11 January 2024 00:08:24 +0000 (0:00:00.229) 0:00:36.338 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/manage_test_interface.yml:54 Thursday 11 January 2024 00:08:24 +0000 (0:00:00.023) 0:00:36.361 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/manage_test_interface.yml:61 Thursday 11 January 2024 00:08:24 +0000 (0:00:00.022) 0:00:36.384 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/manage_test_interface.yml:67 Thursday 11 January 2024 00:08:24 +0000 (0:00:00.023) 0:00:36.407 ****** 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_type7bwn9fbo/tests/playbooks/tests_auto_gateway.yml:85 Thursday 11 January 2024 00:08:24 +0000 (0:00:00.022) 0:00:36.430 ****** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tests_auto_gateway.yml:89 Thursday 11 January 2024 00:08:24 +0000 (0:00:00.022) 0:00:36.452 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 11 January 2024 00:08:24 +0000 (0:00:00.088) 0:00:36.541 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 11 January 2024 00:08:24 +0000 (0:00:00.023) 0:00:36.564 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 11 January 2024 00:08:24 +0000 (0:00:00.022) 0:00:36.587 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 00:08:24 +0000 (0:00:00.037) 0:00:36.624 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 00:08:24 +0000 (0:00:00.035) 0:00:36.659 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003451", "end": "2024-01-11 00:08:25.087724", "rc": 0, "start": "2024-01-11 00:08:25.084273" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 00:08:25 +0000 (0:00:00.201) 0:00:36.861 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 00:08:25 +0000 (0:00:00.024) 0:00:36.886 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 11 January 2024 00:08:25 +0000 (0:00:00.023) 0:00:36.909 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/manage_test_interface.yml:24 Thursday 11 January 2024 00:08:28 +0000 (0:00:03.005) 0:00:39.915 ****** 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.006637", "end": "2024-01-11 00:08:28.357780", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-01-11 00:08:28.351143" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004064", "end": "2024-01-11 00:08:28.586747", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-01-11 00:08:28.582683" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004553", "end": "2024-01-11 00:08:28.774949", "item": "ip link set veth0 up", "rc": 0, "start": "2024-01-11 00:08:28.770396" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/manage_test_interface.yml:33 Thursday 11 January 2024 00:08:28 +0000 (0:00:00.635) 0:00:40.551 ****** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.022670", "end": "2024-01-11 00:08:29.001713", "rc": 0, "start": "2024-01-11 00:08:28.979043" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/manage_test_interface.yml:41 Thursday 11 January 2024 00:08:29 +0000 (0:00:00.226) 0:00:40.778 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/manage_test_interface.yml:48 Thursday 11 January 2024 00:08:29 +0000 (0:00:00.025) 0:00:40.803 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/manage_test_interface.yml:54 Thursday 11 January 2024 00:08:29 +0000 (0:00:00.026) 0:00:40.830 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/manage_test_interface.yml:61 Thursday 11 January 2024 00:08:29 +0000 (0:00:00.024) 0:00:40.854 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/manage_test_interface.yml:67 Thursday 11 January 2024 00:08:29 +0000 (0:00:00.022) 0:00:40.877 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:08:29 +0000 (0:00:00.050) 0:00:40.927 ****** included: /WORKDIR/git-route_type7bwn9fbo/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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:08:29 +0000 (0:00:00.039) 0:00:40.966 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:08:29 +0000 (0:00:00.028) 0:00:40.994 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:08:29 +0000 (0:00:00.022) 0:00:41.017 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:08:29 +0000 (0:00:00.024) 0:00:41.041 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:08:30 +0000 (0:00:01.622) 0:00:42.663 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:08:32 +0000 (0:00:01.356) 0:00:44.020 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:08:32 +0000 (0:00:00.024) 0:00:44.044 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:08:32 +0000 (0:00:00.022) 0:00:44.067 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:08:32 +0000 (0:00:00.023) 0:00:44.091 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:08:32 +0000 (0:00:00.047) 0:00:44.138 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:08:32 +0000 (0:00:00.026) 0:00:44.165 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:08:32 +0000 (0:00:00.031) 0:00:44.197 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:08:32 +0000 (0:00:00.031) 0:00:44.228 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:08:32 +0000 (0:00:00.027) 0:00:44.256 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:08:32 +0000 (0:00:00.026) 0:00:44.282 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:08:32 +0000 (0:00:00.400) 0:00:44.682 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2527ound8qw_/tmpebk8u60d" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:08:33 +0000 (0:00:00.315) 0:00:44.998 ****** 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='b"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\n"', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:08:39 +0000 (0:00:06.519) 0:00:51.517 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:08:39 +0000 (0:00:00.028) 0:00:51.546 ****** 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='b\"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\n\"', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:08:39 +0000 (0:00:00.031) 0:00:51.577 ****** 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='b\"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\n\"', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\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='b\"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\n\"', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:08:39 +0000 (0:00:00.031) 0:00:51.609 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:08:39 +0000 (0:00:00.038) 0:00:51.647 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tests_auto_gateway.yml:110 Thursday 11 January 2024 00:08:40 +0000 (0:00:00.237) 0:00:51.885 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 11 January 2024 00:08:40 +0000 (0:00:00.054) 0:00:51.940 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 00:08:40 +0000 (0:00:00.037) 0:00:51.977 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704931708.3550606, "block_size": 4096, "blocks": 0, "ctime": 1704931708.3550606, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 22305, "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": 1704931708.3550606, "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_type7bwn9fbo/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 11 January 2024 00:08:40 +0000 (0:00:00.210) 0:00:52.188 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tests_auto_gateway.yml:112 Thursday 11 January 2024 00:08:40 +0000 (0:00:00.027) 0:00:52.216 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 11 January 2024 00:08:40 +0000 (0:00:00.054) 0:00:52.271 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 11 January 2024 00:08:40 +0000 (0:00:00.040) 0:00:52.311 ****** 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_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 11 January 2024 00:08:40 +0000 (0:00:00.026) 0:00:52.337 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704931713.5190616, "block_size": 4096, "blocks": 8, "ctime": 1704931713.5180616, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5533388, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704931713.5180616, "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_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 11 January 2024 00:08:40 +0000 (0:00:00.203) 0:00:52.540 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 11 January 2024 00:08:40 +0000 (0:00:00.023) 0:00:52.564 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.020972", "end": "2024-01-11 00:08:41.017500", "rc": 1, "start": "2024-01-11 00:08:40.996528" } 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_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 11 January 2024 00:08:41 +0000 (0:00:00.229) 0:00:52.793 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 11 January 2024 00:08:41 +0000 (0:00:00.033) 0:00:52.826 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003406", "end": "2024-01-11 00:08:41.264744", "rc": 0, "start": "2024-01-11 00:08:41.261338" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 11 January 2024 00:08:41 +0000 (0:00:00.221) 0:00:53.048 ****** 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_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 11 January 2024 00:08:41 +0000 (0:00:00.029) 0:00:53.077 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003308", "end": "2024-01-11 00:08:41.510825", "rc": 0, "start": "2024-01-11 00:08:41.507517" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 11 January 2024 00:08:41 +0000 (0:00:00.212) 0:00:53.289 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 11 January 2024 00:08:41 +0000 (0:00:00.029) 0:00:53.318 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 11 January 2024 00:08:41 +0000 (0:00:00.025) 0:00:53.344 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 11 January 2024 00:08:41 +0000 (0:00:00.025) 0:00:53.369 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tests_auto_gateway.yml:116 Thursday 11 January 2024 00:08:41 +0000 (0:00:00.023) 0:00:53.393 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003878", "end": "2024-01-11 00:08:41.823068", "rc": 0, "start": "2024-01-11 00:08:41.819190" } STDOUT: default via 10.31.40.1 dev eth0 proto dhcp src 10.31.43.203 metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.43.203 metric 100 169.254.0.0/16 dev veth0 scope link metric 1006 203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 TASK [Assert default ipv4 route is absent] ************************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tests_auto_gateway.yml:120 Thursday 11 January 2024 00:08:41 +0000 (0:00:00.204) 0:00:53.597 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tests_auto_gateway.yml:126 Thursday 11 January 2024 00:08:41 +0000 (0:00:00.024) 0:00:53.622 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003954", "end": "2024-01-11 00:08:42.049259", "rc": 0, "start": "2024-01-11 00:08:42.045305" } STDOUT: ::1 dev lo proto kernel metric 256 pref medium 2001:db8::/64 dev veth0 proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium fe80::/64 dev veth0 proto kernel metric 256 pref medium default via 2001:db8::1 dev veth0 metric 1 pref medium TASK [Assert default ipv6 route is absent] ************************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tests_auto_gateway.yml:130 Thursday 11 January 2024 00:08:42 +0000 (0:00:00.204) 0:00:53.827 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tests_auto_gateway.yml:137 Thursday 11 January 2024 00:08:42 +0000 (0:00:00.023) 0:00:53.850 ****** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:08:42 +0000 (0:00:00.064) 0:00:53.915 ****** included: /WORKDIR/git-route_type7bwn9fbo/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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:08:42 +0000 (0:00:00.039) 0:00:53.955 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:08:42 +0000 (0:00:00.030) 0:00:53.986 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:08:42 +0000 (0:00:00.023) 0:00:54.009 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:08:42 +0000 (0:00:00.022) 0:00:54.032 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:08:43 +0000 (0:00:01.626) 0:00:55.658 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:08:45 +0000 (0:00:01.362) 0:00:57.021 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:08:45 +0000 (0:00:00.025) 0:00:57.047 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:08:45 +0000 (0:00:00.025) 0:00:57.072 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:08:45 +0000 (0:00:00.033) 0:00:57.106 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:08:45 +0000 (0:00:00.047) 0:00:57.153 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:08:45 +0000 (0:00:00.022) 0:00:57.175 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:08:45 +0000 (0:00:00.024) 0:00:57.199 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:08:45 +0000 (0:00:00.026) 0:00:57.225 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:08:45 +0000 (0:00:00.021) 0:00:57.247 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:08:45 +0000 (0:00:00.022) 0:00:57.270 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:08:45 +0000 (0:00:00.384) 0:00:57.655 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2527ound8qw_/tmpp2iokvxy" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:08:46 +0000 (0:00:00.314) 0:00:57.970 ****** 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='b''', err='b"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' [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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:08:46 +0000 (0:00:00.459) 0:00:58.429 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:08:46 +0000 (0:00:00.022) 0:00:58.451 ****** 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='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:08:46 +0000 (0:00:00.023) 0:00:58.475 ****** 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='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\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='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:08:46 +0000 (0:00:00.024) 0:00:58.500 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:08:46 +0000 (0:00:00.021) 0:00:58.521 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tests_auto_gateway.yml:149 Thursday 11 January 2024 00:08:46 +0000 (0:00:00.198) 0:00:58.720 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 11 January 2024 00:08:47 +0000 (0:00:00.056) 0:00:58.776 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 11 January 2024 00:08:47 +0000 (0:00:00.024) 0:00:58.801 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 11 January 2024 00:08:47 +0000 (0:00:00.022) 0:00:58.823 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 00:08:47 +0000 (0:00:00.078) 0:00:58.901 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 00:08:47 +0000 (0:00:00.038) 0:00:58.939 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003435", "end": "2024-01-11 00:08:47.370982", "rc": 0, "start": "2024-01-11 00:08:47.367547" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 00:08:47 +0000 (0:00:00.207) 0:00:59.146 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 00:08:47 +0000 (0:00:00.026) 0:00:59.172 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 11 January 2024 00:08:47 +0000 (0:00:00.024) 0:00:59.196 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/manage_test_interface.yml:24 Thursday 11 January 2024 00:08:50 +0000 (0:00:03.042) 0:01:02.239 ****** 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_type7bwn9fbo/tests/playbooks/tasks/manage_test_interface.yml:33 Thursday 11 January 2024 00:08:50 +0000 (0:00:00.034) 0:01:02.273 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/manage_test_interface.yml:41 Thursday 11 January 2024 00:08:50 +0000 (0:00:00.065) 0:01:02.339 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.012462", "end": "2024-01-11 00:08:50.779795", "rc": 0, "start": "2024-01-11 00:08:50.767333" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/manage_test_interface.yml:48 Thursday 11 January 2024 00:08:50 +0000 (0:00:00.219) 0:01:02.559 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/manage_test_interface.yml:54 Thursday 11 January 2024 00:08:50 +0000 (0:00:00.026) 0:01:02.585 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/manage_test_interface.yml:61 Thursday 11 January 2024 00:08:50 +0000 (0:00:00.048) 0:01:02.633 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/manage_test_interface.yml:67 Thursday 11 January 2024 00:08:50 +0000 (0:00:00.029) 0:01:02.663 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=138 changed=6 unreachable=0 failed=0 skipped=89 rescued=0 ignored=2 Thursday 11 January 2024 00:08:50 +0000 (0:00:00.013) 0:01:02.676 ****** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 6.64s /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Configure networking connection profiles --- 6.52s /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Install packages --------------------------- 5.01s /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Install iproute --------------------------------------------------------- 3.57s /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 3.04s /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 3.03s /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 3.01s /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Check which services are running ----------- 1.63s /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.62s /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.58s /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.57s /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Enable EPEL 8 ----------------------------------------------------------- 1.44s /WORKDIR/git-route_type7bwn9fbo/tests/tasks/enable_epel.yml:35 ---------------- linux-system-roles.network : Check which packages are installed --------- 1.44s /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.36s /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.36s /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.30s /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Configure networking connection profiles --- 0.91s /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable network service --------------------- 0.82s /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:105 Gathering Facts --------------------------------------------------------- 0.78s /WORKDIR/git-route_type7bwn9fbo/tests/tests_auto_gateway_initscripts.yml:5 ---- linux-system-roles.network : Enable network service --------------------- 0.74s /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:105 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the dnf module rather than running 'dnf'. If you need to use command because dnf is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ---^---^---^---^---^---