# 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_type4wiwlwuv/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_type4wiwlwuv/tests/tests_auto_gateway_initscripts.yml:5 Wednesday 10 January 2024 15:47:00 +0000 (0:00:00.021) 0:00:00.021 ***** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_type4wiwlwuv/tests/tests_auto_gateway_initscripts.yml:8 Wednesday 10 January 2024 15:47:01 +0000 (0:00:00.778) 0:00:00.799 ***** included: /WORKDIR/git-route_type4wiwlwuv/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_type4wiwlwuv/tests/tasks/el_repo_setup.yml:3 Wednesday 10 January 2024 15:47:01 +0000 (0:00:00.046) 0:00:00.845 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/tasks/el_repo_setup.yml:19 Wednesday 10 January 2024 15:47:01 +0000 (0:00:00.380) 0:00:01.226 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/tasks/el_repo_setup.yml:24 Wednesday 10 January 2024 15:47:01 +0000 (0:00:00.308) 0:00:01.534 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/tasks/el_repo_setup.yml:28 Wednesday 10 January 2024 15:47:02 +0000 (0:00:00.030) 0:00:01.564 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/tasks/el_repo_setup.yml:53 Wednesday 10 January 2024 15:47:02 +0000 (0:00:00.032) 0:00:01.597 ***** included: /WORKDIR/git-route_type4wiwlwuv/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/tasks/enable_epel.yml:8 Wednesday 10 January 2024 15:47:02 +0000 (0:00:00.039) 0:00:01.636 ***** 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_type4wiwlwuv/tests/tasks/enable_epel.yml:24 Wednesday 10 January 2024 15:47:02 +0000 (0:00:00.288) 0:00:01.925 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/tasks/enable_epel.yml:30 Wednesday 10 January 2024 15:47:02 +0000 (0:00:00.011) 0:00:01.936 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/tasks/enable_epel.yml:35 Wednesday 10 January 2024 15:47:02 +0000 (0:00:00.010) 0:00:01.947 ***** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.243142", "end": "2024-01-10 15:47:02.804461", "rc": 0, "start": "2024-01-10 15:47:02.561319" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/tasks/enable_epel.yml:40 Wednesday 10 January 2024 15:47:02 +0000 (0:00:00.430) 0:00:02.377 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/tests_auto_gateway_initscripts.yml:10 Wednesday 10 January 2024 15:47:02 +0000 (0:00:00.044) 0:00:02.422 ***** 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_type4wiwlwuv/tests/playbooks/tests_auto_gateway.yml:3 Wednesday 10 January 2024 15:47:02 +0000 (0:00:00.022) 0:00:02.444 ***** ok: [sut] META: ran handlers TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tests_auto_gateway.yml:9 Wednesday 10 January 2024 15:47:03 +0000 (0:00:00.562) 0:00:03.006 ***** included: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 15:47:03 +0000 (0:00:00.023) 0:00:03.030 ***** included: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 15:47:03 +0000 (0:00:00.014) 0:00:03.045 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003071", "end": "2024-01-10 15:47:03.669420", "rc": 0, "start": "2024-01-10 15:47:03.666349" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 15:47:03 +0000 (0:00:00.202) 0:00:03.247 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 15:47:03 +0000 (0:00:00.013) 0:00:03.261 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tests_auto_gateway.yml:11 Wednesday 10 January 2024 15:47:03 +0000 (0:00:00.012) 0:00:03.274 ***** included: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 10 January 2024 15:47:03 +0000 (0:00:00.044) 0:00:03.318 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 10 January 2024 15:47:03 +0000 (0:00:00.013) 0:00:03.331 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 10 January 2024 15:47:03 +0000 (0:00:00.011) 0:00:03.343 ***** included: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 15:47:03 +0000 (0:00:00.028) 0:00:03.371 ***** included: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 15:47:03 +0000 (0:00:00.018) 0:00:03.390 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003278", "end": "2024-01-10 15:47:04.038166", "rc": 0, "start": "2024-01-10 15:47:04.034888" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 15:47:04 +0000 (0:00:00.227) 0:00:03.617 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 15:47:04 +0000 (0:00:00.016) 0:00:03.633 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 10 January 2024 15:47:04 +0000 (0:00:00.024) 0:00:03.658 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/manage_test_interface.yml:24 Wednesday 10 January 2024 15:47:07 +0000 (0:00:03.288) 0:00:06.947 ***** 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.012191", "end": "2024-01-10 15:47:07.582850", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-01-10 15:47:07.570659" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003884", "end": "2024-01-10 15:47:07.822611", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-01-10 15:47:07.818727" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004173", "end": "2024-01-10 15:47:08.005447", "item": "ip link set veth0 up", "rc": 0, "start": "2024-01-10 15:47:08.001274" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/manage_test_interface.yml:33 Wednesday 10 January 2024 15:47:08 +0000 (0:00:00.635) 0:00:07.582 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.144055", "end": "2024-01-10 15:47:08.342265", "rc": 0, "start": "2024-01-10 15:47:08.198210" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/manage_test_interface.yml:41 Wednesday 10 January 2024 15:47:08 +0000 (0:00:00.344) 0:00:07.927 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/manage_test_interface.yml:48 Wednesday 10 January 2024 15:47:08 +0000 (0:00:00.020) 0:00:07.948 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/manage_test_interface.yml:54 Wednesday 10 January 2024 15:47:08 +0000 (0:00:00.024) 0:00:07.972 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/manage_test_interface.yml:61 Wednesday 10 January 2024 15:47:08 +0000 (0:00:00.034) 0:00:08.007 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/manage_test_interface.yml:67 Wednesday 10 January 2024 15:47:08 +0000 (0:00:00.024) 0:00:08.031 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tests_auto_gateway.yml:15 Wednesday 10 January 2024 15:47:08 +0000 (0:00:00.046) 0:00:08.078 ***** included: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 10 January 2024 15:47:08 +0000 (0:00:00.033) 0:00:08.112 ***** included: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 15:47:08 +0000 (0:00:00.053) 0:00:08.165 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1704901627.5809975, "block_size": 4096, "blocks": 0, "ctime": 1704901627.5809975, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21723, "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": 1704901627.5809975, "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_type4wiwlwuv/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 10 January 2024 15:47:08 +0000 (0:00:00.264) 0:00:08.430 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tests_auto_gateway.yml:17 Wednesday 10 January 2024 15:47:08 +0000 (0:00:00.014) 0:00:08.445 ***** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 15:47:08 +0000 (0:00:00.029) 0:00:08.474 ***** included: /WORKDIR/git-route_type4wiwlwuv/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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 15:47:09 +0000 (0:00:00.100) 0:00:08.575 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 15:47:09 +0000 (0:00:00.015) 0:00:08.591 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 15:47:09 +0000 (0:00:00.014) 0:00:08.605 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 15:47:09 +0000 (0:00:00.059) 0:00:08.665 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 15:47:10 +0000 (0:00:01.543) 0:00:10.208 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 15:47:12 +0000 (0:00:01.480) 0:00:11.689 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 15:47:12 +0000 (0:00:00.024) 0:00:11.713 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 15:47:12 +0000 (0:00:00.023) 0:00:11.737 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 15:47:12 +0000 (0:00:00.037) 0:00:11.774 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 15:47:17 +0000 (0:00:05.404) 0:00:17.179 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 15:47:17 +0000 (0:00:00.035) 0:00:17.214 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 15:47:17 +0000 (0:00:00.028) 0:00:17.242 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 15:47:17 +0000 (0:00:00.036) 0:00:17.278 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 15:47:17 +0000 (0:00:00.024) 0:00:17.303 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 15:47:17 +0000 (0:00:00.028) 0:00:17.331 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 15:47:18 +0000 (0:00:00.971) 0:00:18.302 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2644xujh7isa/tmpi8jf5j3e" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 15:47:19 +0000 (0:00:00.350) 0:00:18.653 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 15:47:25 +0000 (0:00:06.700) 0:00:25.353 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 15:47:25 +0000 (0:00:00.022) 0:00:25.376 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 15:47:25 +0000 (0:00:00.044) 0:00:25.421 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 15:47:25 +0000 (0:00:00.025) 0:00:25.446 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 15:47:25 +0000 (0:00:00.038) 0:00:25.485 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tests_auto_gateway.yml:42 Wednesday 10 January 2024 15:47:26 +0000 (0:00:00.302) 0:00:25.787 ***** included: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 10 January 2024 15:47:26 +0000 (0:00:00.097) 0:00:25.885 ***** included: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 15:47:26 +0000 (0:00:00.042) 0:00:25.927 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1704901627.5809975, "block_size": 4096, "blocks": 0, "ctime": 1704901627.5809975, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21723, "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": 1704901627.5809975, "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_type4wiwlwuv/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 10 January 2024 15:47:26 +0000 (0:00:00.215) 0:00:26.142 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tests_auto_gateway.yml:44 Wednesday 10 January 2024 15:47:26 +0000 (0:00:00.062) 0:00:26.204 ***** included: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 10 January 2024 15:47:26 +0000 (0:00:00.077) 0:00:26.281 ***** included: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 10 January 2024 15:47:26 +0000 (0:00:00.041) 0:00:26.323 ***** 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_type4wiwlwuv/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 10 January 2024 15:47:26 +0000 (0:00:00.046) 0:00:26.370 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1704901639.5458999, "block_size": 4096, "blocks": 8, "ctime": 1704901639.5159, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5818309, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704901639.5159, "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_type4wiwlwuv/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 10 January 2024 15:47:27 +0000 (0:00:00.272) 0:00:26.643 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 10 January 2024 15:47:27 +0000 (0:00:00.051) 0:00:26.694 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.021143", "end": "2024-01-10 15:47:27.385793", "rc": 1, "start": "2024-01-10 15:47:27.364650" } 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_type4wiwlwuv/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 10 January 2024 15:47:27 +0000 (0:00:00.305) 0:00:26.999 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 10 January 2024 15:47:27 +0000 (0:00:00.081) 0:00:27.081 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:01.004287", "end": "2024-01-10 15:47:28.714210", "rc": 0, "start": "2024-01-10 15:47:27.709923" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 10 January 2024 15:47:28 +0000 (0:00:01.224) 0:00:28.305 ***** 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_type4wiwlwuv/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 10 January 2024 15:47:28 +0000 (0:00:00.038) 0:00:28.343 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003110", "end": "2024-01-10 15:47:28.968558", "rc": 0, "start": "2024-01-10 15:47:28.965448" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 10 January 2024 15:47:29 +0000 (0:00:00.213) 0:00:28.557 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 10 January 2024 15:47:29 +0000 (0:00:00.026) 0:00:28.584 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 10 January 2024 15:47:29 +0000 (0:00:00.027) 0:00:28.612 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 10 January 2024 15:47:29 +0000 (0:00:00.026) 0:00:28.638 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tests_auto_gateway.yml:48 Wednesday 10 January 2024 15:47:29 +0000 (0:00:00.057) 0:00:28.696 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003794", "end": "2024-01-10 15:47:29.317468", "rc": 0, "start": "2024-01-10 15:47:29.313674" } STDOUT: default via 10.31.40.1 dev eth0 proto dhcp src 10.31.40.241 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.40.241 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_type4wiwlwuv/tests/playbooks/tests_auto_gateway.yml:52 Wednesday 10 January 2024 15:47:29 +0000 (0:00:00.244) 0:00:28.940 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tests_auto_gateway.yml:58 Wednesday 10 January 2024 15:47:29 +0000 (0:00:00.049) 0:00:28.989 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003427", "end": "2024-01-10 15:47:29.618045", "rc": 0, "start": "2024-01-10 15:47:29.614618" } 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_type4wiwlwuv/tests/playbooks/tests_auto_gateway.yml:62 Wednesday 10 January 2024 15:47:29 +0000 (0:00:00.210) 0:00:29.200 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tests_auto_gateway.yml:69 Wednesday 10 January 2024 15:47:29 +0000 (0:00:00.028) 0:00:29.228 ***** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 15:47:29 +0000 (0:00:00.026) 0:00:29.255 ***** included: /WORKDIR/git-route_type4wiwlwuv/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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 15:47:29 +0000 (0:00:00.092) 0:00:29.347 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 15:47:29 +0000 (0:00:00.028) 0:00:29.375 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 15:47:29 +0000 (0:00:00.022) 0:00:29.398 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 15:47:29 +0000 (0:00:00.021) 0:00:29.419 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 15:47:31 +0000 (0:00:01.533) 0:00:30.953 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 15:47:32 +0000 (0:00:01.387) 0:00:32.340 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 15:47:32 +0000 (0:00:00.047) 0:00:32.388 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 15:47:32 +0000 (0:00:00.041) 0:00:32.430 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 15:47:32 +0000 (0:00:00.041) 0:00:32.471 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 15:47:32 +0000 (0:00:00.049) 0:00:32.520 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 15:47:32 +0000 (0:00:00.023) 0:00:32.544 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 15:47:33 +0000 (0:00:00.039) 0:00:32.584 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 15:47:33 +0000 (0:00:00.029) 0:00:32.614 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 15:47:33 +0000 (0:00:00.037) 0:00:32.652 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 15:47:33 +0000 (0:00:00.039) 0:00:32.692 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 15:47:33 +0000 (0:00:00.355) 0:00:33.047 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2644xujh7isa/tmp8g1yhy04" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 15:47:33 +0000 (0:00:00.306) 0:00:33.354 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 15:47:34 +0000 (0:00:00.434) 0:00:33.788 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 15:47:34 +0000 (0:00:00.025) 0:00:33.814 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 15:47:34 +0000 (0:00:00.027) 0:00:33.841 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 15:47:34 +0000 (0:00:00.123) 0:00:33.964 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 15:47:34 +0000 (0:00:00.062) 0:00:34.026 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tests_auto_gateway.yml:81 Wednesday 10 January 2024 15:47:34 +0000 (0:00:00.239) 0:00:34.266 ***** included: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 10 January 2024 15:47:34 +0000 (0:00:00.126) 0:00:34.393 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 10 January 2024 15:47:34 +0000 (0:00:00.051) 0:00:34.445 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 10 January 2024 15:47:34 +0000 (0:00:00.026) 0:00:34.471 ***** included: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 15:47:34 +0000 (0:00:00.079) 0:00:34.551 ***** included: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 15:47:35 +0000 (0:00:00.050) 0:00:34.601 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003347", "end": "2024-01-10 15:47:35.261607", "rc": 0, "start": "2024-01-10 15:47:35.258260" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 15:47:35 +0000 (0:00:00.246) 0:00:34.848 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 15:47:35 +0000 (0:00:00.027) 0:00:34.875 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 10 January 2024 15:47:35 +0000 (0:00:00.050) 0:00:34.926 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/manage_test_interface.yml:24 Wednesday 10 January 2024 15:47:38 +0000 (0:00:03.168) 0:00:38.095 ***** 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_type4wiwlwuv/tests/playbooks/tasks/manage_test_interface.yml:33 Wednesday 10 January 2024 15:47:38 +0000 (0:00:00.034) 0:00:38.130 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/manage_test_interface.yml:41 Wednesday 10 January 2024 15:47:38 +0000 (0:00:00.026) 0:00:38.156 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.014575", "end": "2024-01-10 15:47:38.790762", "rc": 0, "start": "2024-01-10 15:47:38.776187" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/manage_test_interface.yml:48 Wednesday 10 January 2024 15:47:38 +0000 (0:00:00.231) 0:00:38.387 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/manage_test_interface.yml:54 Wednesday 10 January 2024 15:47:38 +0000 (0:00:00.026) 0:00:38.413 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/manage_test_interface.yml:61 Wednesday 10 January 2024 15:47:38 +0000 (0:00:00.043) 0:00:38.456 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/manage_test_interface.yml:67 Wednesday 10 January 2024 15:47:38 +0000 (0:00:00.039) 0:00:38.496 ***** 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_type4wiwlwuv/tests/playbooks/tests_auto_gateway.yml:85 Wednesday 10 January 2024 15:47:39 +0000 (0:00:00.083) 0:00:38.579 ***** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tests_auto_gateway.yml:89 Wednesday 10 January 2024 15:47:39 +0000 (0:00:00.050) 0:00:38.630 ***** included: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 10 January 2024 15:47:39 +0000 (0:00:00.057) 0:00:38.688 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 10 January 2024 15:47:39 +0000 (0:00:00.035) 0:00:38.723 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 10 January 2024 15:47:39 +0000 (0:00:00.024) 0:00:38.748 ***** included: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 15:47:39 +0000 (0:00:00.050) 0:00:38.799 ***** included: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 15:47:39 +0000 (0:00:00.044) 0:00:38.843 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003264", "end": "2024-01-10 15:47:39.471217", "rc": 0, "start": "2024-01-10 15:47:39.467953" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 15:47:39 +0000 (0:00:00.232) 0:00:39.075 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 15:47:39 +0000 (0:00:00.027) 0:00:39.103 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 10 January 2024 15:47:39 +0000 (0:00:00.029) 0:00:39.132 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/manage_test_interface.yml:24 Wednesday 10 January 2024 15:47:42 +0000 (0:00:03.053) 0:00:42.185 ***** 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.012145", "end": "2024-01-10 15:47:42.850427", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-01-10 15:47:42.838282" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003699", "end": "2024-01-10 15:47:43.068017", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-01-10 15:47:43.064318" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004016", "end": "2024-01-10 15:47:43.250059", "item": "ip link set veth0 up", "rc": 0, "start": "2024-01-10 15:47:43.246043" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/manage_test_interface.yml:33 Wednesday 10 January 2024 15:47:43 +0000 (0:00:00.670) 0:00:42.855 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.022137", "end": "2024-01-10 15:47:43.514424", "rc": 0, "start": "2024-01-10 15:47:43.492287" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/manage_test_interface.yml:41 Wednesday 10 January 2024 15:47:43 +0000 (0:00:00.265) 0:00:43.121 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/manage_test_interface.yml:48 Wednesday 10 January 2024 15:47:43 +0000 (0:00:00.037) 0:00:43.158 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/manage_test_interface.yml:54 Wednesday 10 January 2024 15:47:43 +0000 (0:00:00.045) 0:00:43.204 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/manage_test_interface.yml:61 Wednesday 10 January 2024 15:47:43 +0000 (0:00:00.032) 0:00:43.236 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/manage_test_interface.yml:67 Wednesday 10 January 2024 15:47:43 +0000 (0:00:00.028) 0:00:43.264 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 15:47:43 +0000 (0:00:00.026) 0:00:43.290 ***** included: /WORKDIR/git-route_type4wiwlwuv/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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 15:47:43 +0000 (0:00:00.111) 0:00:43.402 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 15:47:43 +0000 (0:00:00.032) 0:00:43.434 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 15:47:43 +0000 (0:00:00.026) 0:00:43.461 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 15:47:43 +0000 (0:00:00.043) 0:00:43.505 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 15:47:45 +0000 (0:00:01.549) 0:00:45.054 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 15:47:46 +0000 (0:00:01.330) 0:00:46.384 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 15:47:46 +0000 (0:00:00.023) 0:00:46.408 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 15:47:46 +0000 (0:00:00.057) 0:00:46.466 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 15:47:46 +0000 (0:00:00.023) 0:00:46.489 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 15:47:46 +0000 (0:00:00.048) 0:00:46.537 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 15:47:47 +0000 (0:00:00.024) 0:00:46.562 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 15:47:47 +0000 (0:00:00.023) 0:00:46.585 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 15:47:47 +0000 (0:00:00.035) 0:00:46.621 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 15:47:47 +0000 (0:00:00.023) 0:00:46.644 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 15:47:47 +0000 (0:00:00.022) 0:00:46.667 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 15:47:47 +0000 (0:00:00.352) 0:00:47.019 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2644xujh7isa/tmpgtg5f66v" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 15:47:47 +0000 (0:00:00.375) 0:00:47.395 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 15:47:54 +0000 (0:00:06.583) 0:00:53.978 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 15:47:54 +0000 (0:00:00.026) 0:00:54.005 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 15:47:54 +0000 (0:00:00.026) 0:00:54.032 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 15:47:54 +0000 (0:00:00.038) 0:00:54.071 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 15:47:54 +0000 (0:00:00.024) 0:00:54.096 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tests_auto_gateway.yml:110 Wednesday 10 January 2024 15:47:54 +0000 (0:00:00.239) 0:00:54.335 ***** included: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 10 January 2024 15:47:54 +0000 (0:00:00.078) 0:00:54.414 ***** included: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 15:47:54 +0000 (0:00:00.095) 0:00:54.509 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1704901662.8419878, "block_size": 4096, "blocks": 0, "ctime": 1704901662.8419878, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 22309, "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": 1704901662.8419878, "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_type4wiwlwuv/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 10 January 2024 15:47:55 +0000 (0:00:00.207) 0:00:54.717 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tests_auto_gateway.yml:112 Wednesday 10 January 2024 15:47:55 +0000 (0:00:00.033) 0:00:54.751 ***** included: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 10 January 2024 15:47:55 +0000 (0:00:00.059) 0:00:54.811 ***** included: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 10 January 2024 15:47:55 +0000 (0:00:00.042) 0:00:54.853 ***** 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_type4wiwlwuv/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 10 January 2024 15:47:55 +0000 (0:00:00.026) 0:00:54.879 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1704901668.1909475, "block_size": 4096, "blocks": 8, "ctime": 1704901668.1709476, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5818309, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704901668.1709476, "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_type4wiwlwuv/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 10 January 2024 15:47:55 +0000 (0:00:00.210) 0:00:55.089 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 10 January 2024 15:47:55 +0000 (0:00:00.052) 0:00:55.141 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.021324", "end": "2024-01-10 15:47:55.780102", "rc": 1, "start": "2024-01-10 15:47:55.758778" } 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_type4wiwlwuv/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 10 January 2024 15:47:55 +0000 (0:00:00.246) 0:00:55.388 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 10 January 2024 15:47:55 +0000 (0:00:00.038) 0:00:55.427 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003214", "end": "2024-01-10 15:47:56.137317", "rc": 0, "start": "2024-01-10 15:47:56.134103" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 10 January 2024 15:47:56 +0000 (0:00:00.311) 0:00:55.739 ***** 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_type4wiwlwuv/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 10 January 2024 15:47:56 +0000 (0:00:00.135) 0:00:55.875 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003174", "end": "2024-01-10 15:47:56.552496", "rc": 0, "start": "2024-01-10 15:47:56.549322" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 10 January 2024 15:47:56 +0000 (0:00:00.328) 0:00:56.204 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 10 January 2024 15:47:56 +0000 (0:00:00.073) 0:00:56.278 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 10 January 2024 15:47:56 +0000 (0:00:00.061) 0:00:56.340 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 10 January 2024 15:47:56 +0000 (0:00:00.049) 0:00:56.389 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tests_auto_gateway.yml:116 Wednesday 10 January 2024 15:47:56 +0000 (0:00:00.060) 0:00:56.450 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003684", "end": "2024-01-10 15:47:57.110495", "rc": 0, "start": "2024-01-10 15:47:57.106811" } STDOUT: default via 10.31.40.1 dev eth0 proto dhcp src 10.31.40.241 metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.40.241 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_type4wiwlwuv/tests/playbooks/tests_auto_gateway.yml:120 Wednesday 10 January 2024 15:47:57 +0000 (0:00:00.260) 0:00:56.711 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tests_auto_gateway.yml:126 Wednesday 10 January 2024 15:47:57 +0000 (0:00:00.100) 0:00:56.811 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003807", "end": "2024-01-10 15:47:57.528794", "rc": 0, "start": "2024-01-10 15:47:57.524987" } 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_type4wiwlwuv/tests/playbooks/tests_auto_gateway.yml:130 Wednesday 10 January 2024 15:47:57 +0000 (0:00:00.299) 0:00:57.111 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tests_auto_gateway.yml:137 Wednesday 10 January 2024 15:47:57 +0000 (0:00:00.022) 0:00:57.134 ***** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 15:47:57 +0000 (0:00:00.025) 0:00:57.160 ***** included: /WORKDIR/git-route_type4wiwlwuv/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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 15:47:57 +0000 (0:00:00.048) 0:00:57.209 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 15:47:57 +0000 (0:00:00.028) 0:00:57.238 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 15:47:57 +0000 (0:00:00.039) 0:00:57.277 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 15:47:57 +0000 (0:00:00.078) 0:00:57.355 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 15:47:59 +0000 (0:00:01.526) 0:00:58.882 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 15:48:00 +0000 (0:00:01.317) 0:01:00.199 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 15:48:00 +0000 (0:00:00.042) 0:01:00.241 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 15:48:00 +0000 (0:00:00.041) 0:01:00.283 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 15:48:00 +0000 (0:00:00.042) 0:01:00.325 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 15:48:00 +0000 (0:00:00.051) 0:01:00.377 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 15:48:00 +0000 (0:00:00.057) 0:01:00.435 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 15:48:00 +0000 (0:00:00.022) 0:01:00.457 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 15:48:00 +0000 (0:00:00.028) 0:01:00.486 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 15:48:00 +0000 (0:00:00.023) 0:01:00.510 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 15:48:00 +0000 (0:00:00.025) 0:01:00.535 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 15:48:01 +0000 (0:00:00.375) 0:01:00.911 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2644xujh7isa/tmpwqiq3x37" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 15:48:01 +0000 (0:00:00.317) 0:01:01.228 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 15:48:02 +0000 (0:00:00.452) 0:01:01.681 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 15:48:02 +0000 (0:00:00.032) 0:01:01.713 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 15:48:02 +0000 (0:00:00.034) 0:01:01.748 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 15:48:02 +0000 (0:00:00.034) 0:01:01.782 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 15:48:02 +0000 (0:00:00.046) 0:01:01.829 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tests_auto_gateway.yml:149 Wednesday 10 January 2024 15:48:02 +0000 (0:00:00.233) 0:01:02.062 ***** included: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 10 January 2024 15:48:02 +0000 (0:00:00.132) 0:01:02.195 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 10 January 2024 15:48:02 +0000 (0:00:00.044) 0:01:02.240 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 10 January 2024 15:48:02 +0000 (0:00:00.050) 0:01:02.290 ***** included: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 15:48:02 +0000 (0:00:00.064) 0:01:02.355 ***** included: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 15:48:02 +0000 (0:00:00.068) 0:01:02.424 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003326", "end": "2024-01-10 15:48:03.051547", "rc": 0, "start": "2024-01-10 15:48:03.048221" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 15:48:03 +0000 (0:00:00.228) 0:01:02.652 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 15:48:03 +0000 (0:00:00.029) 0:01:02.681 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 10 January 2024 15:48:03 +0000 (0:00:00.027) 0:01:02.708 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/manage_test_interface.yml:24 Wednesday 10 January 2024 15:48:06 +0000 (0:00:03.058) 0:01:05.766 ***** 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_type4wiwlwuv/tests/playbooks/tasks/manage_test_interface.yml:33 Wednesday 10 January 2024 15:48:06 +0000 (0:00:00.056) 0:01:05.822 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/manage_test_interface.yml:41 Wednesday 10 January 2024 15:48:06 +0000 (0:00:00.033) 0:01:05.856 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.008751", "end": "2024-01-10 15:48:06.483917", "rc": 0, "start": "2024-01-10 15:48:06.475166" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/manage_test_interface.yml:48 Wednesday 10 January 2024 15:48:06 +0000 (0:00:00.232) 0:01:06.088 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/manage_test_interface.yml:54 Wednesday 10 January 2024 15:48:06 +0000 (0:00:00.030) 0:01:06.119 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/manage_test_interface.yml:61 Wednesday 10 January 2024 15:48:06 +0000 (0:00:00.027) 0:01:06.146 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/manage_test_interface.yml:67 Wednesday 10 January 2024 15:48:06 +0000 (0:00:00.028) 0:01:06.174 ***** 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 Wednesday 10 January 2024 15:48:06 +0000 (0:00:00.026) 0:01:06.200 ***** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 6.70s /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Configure networking connection profiles --- 6.58s /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Install packages --------------------------- 5.40s /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:30 Install iproute --------------------------------------------------------- 3.29s /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 3.17s /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 3.06s /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 3.05s /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Check which services are running ----------- 1.55s /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.54s /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.53s /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.53s /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.48s /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.39s /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.33s /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.32s /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Get the ansible_managed comment in ifcfg-veth0 -------------------------- 1.22s /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_profile_stat.yml:49 - linux-system-roles.network : Enable network service --------------------- 0.97s /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:105 linux-system-roles.network : Configure networking connection profiles --- 0.89s /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:122 Gathering Facts --------------------------------------------------------- 0.78s /WORKDIR/git-route_type4wiwlwuv/tests/tests_auto_gateway_initscripts.yml:5 ---- linux-system-roles.network : Enable network service --------------------- 0.73s /WORKDIR/git-route_type4wiwlwuv/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. ---^---^---^---^---^---