# 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_typeeelr5ich/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_typeeelr5ich/tests/tests_auto_gateway_initscripts.yml:4 Thursday 21 December 2023 16:56:06 +0000 (0:00:00.026) 0:00:00.026 ***** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_typeeelr5ich/tests/tests_auto_gateway_initscripts.yml:8 Thursday 21 December 2023 16:56:07 +0000 (0:00:00.741) 0:00:00.767 ***** included: /WORKDIR/git-route_typeeelr5ich/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_typeeelr5ich/tests/tasks/el_repo_setup.yml:3 Thursday 21 December 2023 16:56:07 +0000 (0:00:00.020) 0:00:00.788 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/tasks/el_repo_setup.yml:19 Thursday 21 December 2023 16:56:07 +0000 (0:00:00.457) 0:00:01.245 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/tasks/el_repo_setup.yml:24 Thursday 21 December 2023 16:56:08 +0000 (0:00:00.287) 0:00:01.532 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/tasks/el_repo_setup.yml:28 Thursday 21 December 2023 16:56:08 +0000 (0:00:00.022) 0:00:01.554 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/tasks/el_repo_setup.yml:53 Thursday 21 December 2023 16:56:08 +0000 (0:00:00.048) 0:00:01.603 ***** included: /WORKDIR/git-route_typeeelr5ich/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/tasks/enable_epel.yml:8 Thursday 21 December 2023 16:56:08 +0000 (0:00:00.053) 0:00:01.656 ***** 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_typeeelr5ich/tests/tasks/enable_epel.yml:24 Thursday 21 December 2023 16:56:08 +0000 (0:00:00.427) 0:00:02.084 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/tasks/enable_epel.yml:30 Thursday 21 December 2023 16:56:08 +0000 (0:00:00.023) 0:00:02.108 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/tasks/enable_epel.yml:35 Thursday 21 December 2023 16:56:08 +0000 (0:00:00.022) 0:00:02.131 ***** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.249052", "end": "2023-12-21 16:56:09.202558", "rc": 0, "start": "2023-12-21 16:56:08.953506" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/tasks/enable_epel.yml:40 Thursday 21 December 2023 16:56:09 +0000 (0:00:00.451) 0:00:02.582 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/tests_auto_gateway_initscripts.yml:10 Thursday 21 December 2023 16:56:09 +0000 (0:00:00.040) 0:00:02.622 ***** 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_typeeelr5ich/tests/playbooks/tests_auto_gateway.yml:3 Thursday 21 December 2023 16:56:09 +0000 (0:00:00.019) 0:00:02.642 ***** ok: [sut] META: ran handlers TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tests_auto_gateway.yml:9 Thursday 21 December 2023 16:56:09 +0000 (0:00:00.590) 0:00:03.233 ***** included: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 16:56:09 +0000 (0:00:00.023) 0:00:03.257 ***** included: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 16:56:09 +0000 (0:00:00.013) 0:00:03.270 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003356", "end": "2023-12-21 16:56:10.093532", "rc": 0, "start": "2023-12-21 16:56:10.090176" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 16:56:10 +0000 (0:00:00.189) 0:00:03.460 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 16:56:10 +0000 (0:00:00.015) 0:00:03.476 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tests_auto_gateway.yml:11 Thursday 21 December 2023 16:56:10 +0000 (0:00:00.011) 0:00:03.487 ***** included: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 21 December 2023 16:56:10 +0000 (0:00:00.049) 0:00:03.536 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 21 December 2023 16:56:10 +0000 (0:00:00.015) 0:00:03.552 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 21 December 2023 16:56:10 +0000 (0:00:00.012) 0:00:03.564 ***** included: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 16:56:10 +0000 (0:00:00.016) 0:00:03.581 ***** included: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 16:56:10 +0000 (0:00:00.050) 0:00:03.632 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003639", "end": "2023-12-21 16:56:10.464984", "rc": 0, "start": "2023-12-21 16:56:10.461345" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 16:56:10 +0000 (0:00:00.213) 0:00:03.845 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 16:56:10 +0000 (0:00:00.038) 0:00:03.884 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 21 December 2023 16:56:10 +0000 (0:00:00.025) 0:00:03.909 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/manage_test_interface.yml:24 Thursday 21 December 2023 16:56:13 +0000 (0:00:03.343) 0:00:07.252 ***** 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.015197", "end": "2023-12-21 16:56:14.124388", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2023-12-21 16:56:14.109191" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004227", "end": "2023-12-21 16:56:14.366329", "item": "ip link set peerveth0 up", "rc": 0, "start": "2023-12-21 16:56:14.362102" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004394", "end": "2023-12-21 16:56:14.552865", "item": "ip link set veth0 up", "rc": 0, "start": "2023-12-21 16:56:14.548471" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/manage_test_interface.yml:33 Thursday 21 December 2023 16:56:14 +0000 (0:00:00.674) 0:00:07.927 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.027325", "end": "2023-12-21 16:56:14.785077", "rc": 0, "start": "2023-12-21 16:56:14.757752" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/manage_test_interface.yml:41 Thursday 21 December 2023 16:56:14 +0000 (0:00:00.225) 0:00:08.153 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/manage_test_interface.yml:48 Thursday 21 December 2023 16:56:14 +0000 (0:00:00.013) 0:00:08.167 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/manage_test_interface.yml:54 Thursday 21 December 2023 16:56:14 +0000 (0:00:00.012) 0:00:08.179 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/manage_test_interface.yml:61 Thursday 21 December 2023 16:56:14 +0000 (0:00:00.015) 0:00:08.194 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/manage_test_interface.yml:67 Thursday 21 December 2023 16:56:14 +0000 (0:00:00.025) 0:00:08.220 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tests_auto_gateway.yml:15 Thursday 21 December 2023 16:56:14 +0000 (0:00:00.030) 0:00:08.250 ***** included: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 21 December 2023 16:56:14 +0000 (0:00:00.029) 0:00:08.280 ***** included: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 21 December 2023 16:56:14 +0000 (0:00:00.022) 0:00:08.302 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1703177774.1195726, "block_size": 4096, "blocks": 0, "ctime": 1703177774.1195726, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21643, "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": 1703177774.1195726, "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_typeeelr5ich/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 21 December 2023 16:56:15 +0000 (0:00:00.235) 0:00:08.537 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tests_auto_gateway.yml:17 Thursday 21 December 2023 16:56:15 +0000 (0:00:00.016) 0:00:08.553 ***** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 16:56:15 +0000 (0:00:00.011) 0:00:08.565 ***** included: /WORKDIR/git-route_typeeelr5ich/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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 16:56:15 +0000 (0:00:00.072) 0:00:08.637 ***** 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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 16:56:15 +0000 (0:00:00.015) 0:00:08.653 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 16:56:15 +0000 (0:00:00.011) 0:00:08.665 ***** 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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 16:56:15 +0000 (0:00:00.034) 0:00:08.699 ***** 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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 16:56:16 +0000 (0:00:01.588) 0:00:10.287 ***** 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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 16:56:18 +0000 (0:00:01.634) 0:00:11.921 ***** 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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 16:56:18 +0000 (0:00:00.047) 0:00:11.969 ***** 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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 16:56:18 +0000 (0:00:00.075) 0:00:12.045 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 16:56:18 +0000 (0:00:00.039) 0:00:12.084 ***** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: network-scripts-10.00.18-1.el8.x86_64", "Installed: network-scripts-team-1.31-4.el8.x86_64" ] } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 16:56:23 +0000 (0:00:05.071) 0:00:17.156 ***** 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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 16:56:23 +0000 (0:00:00.028) 0:00:17.185 ***** 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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 16:56:23 +0000 (0:00:00.036) 0:00:17.221 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 16:56:23 +0000 (0:00:00.046) 0:00:17.267 ***** 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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 16:56:23 +0000 (0:00:00.049) 0:00:17.317 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 16:56:23 +0000 (0:00:00.025) 0:00:17.342 ***** 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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 16:56:24 +0000 (0:00:00.870) 0:00:18.213 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-240635onbsbl/tmpjzdh8w0f" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 16:56:25 +0000 (0:00:00.437) 0:00:18.650 ***** 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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 16:56:31 +0000 (0:00:06.685) 0:00:25.336 ***** 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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 16:56:32 +0000 (0:00:00.023) 0:00:25.360 ***** 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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 16:56:32 +0000 (0:00:00.028) 0:00:25.388 ***** 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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 16:56:32 +0000 (0:00:00.025) 0:00:25.413 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 16:56:32 +0000 (0:00:00.023) 0:00:25.436 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tests_auto_gateway.yml:42 Thursday 21 December 2023 16:56:32 +0000 (0:00:00.338) 0:00:25.775 ***** included: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 21 December 2023 16:56:32 +0000 (0:00:00.062) 0:00:25.837 ***** included: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 21 December 2023 16:56:32 +0000 (0:00:00.040) 0:00:25.878 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1703177774.1195726, "block_size": 4096, "blocks": 0, "ctime": 1703177774.1195726, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21643, "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": 1703177774.1195726, "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_typeeelr5ich/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 21 December 2023 16:56:32 +0000 (0:00:00.218) 0:00:26.097 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tests_auto_gateway.yml:44 Thursday 21 December 2023 16:56:32 +0000 (0:00:00.095) 0:00:26.192 ***** included: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 21 December 2023 16:56:32 +0000 (0:00:00.110) 0:00:26.303 ***** included: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 21 December 2023 16:56:33 +0000 (0:00:00.153) 0:00:26.456 ***** 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_typeeelr5ich/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 21 December 2023 16:56:33 +0000 (0:00:00.039) 0:00:26.495 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1703177785.7417228, "block_size": 4096, "blocks": 8, "ctime": 1703177785.720723, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5533392, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1703177785.720723, "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_typeeelr5ich/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 21 December 2023 16:56:33 +0000 (0:00:00.348) 0:00:26.844 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 21 December 2023 16:56:33 +0000 (0:00:00.038) 0:00:26.882 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.020836", "end": "2023-12-21 16:56:33.733190", "rc": 1, "start": "2023-12-21 16:56:33.712354" } 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_typeeelr5ich/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 21 December 2023 16:56:33 +0000 (0:00:00.237) 0:00:27.119 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 21 December 2023 16:56:33 +0000 (0:00:00.035) 0:00:27.155 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003332", "end": "2023-12-21 16:56:33.995710", "rc": 0, "start": "2023-12-21 16:56:33.992378" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 21 December 2023 16:56:34 +0000 (0:00:00.253) 0:00:27.408 ***** 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_typeeelr5ich/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 21 December 2023 16:56:34 +0000 (0:00:00.047) 0:00:27.456 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003241", "end": "2023-12-21 16:56:34.298625", "rc": 0, "start": "2023-12-21 16:56:34.295384" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 21 December 2023 16:56:34 +0000 (0:00:00.228) 0:00:27.685 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 21 December 2023 16:56:34 +0000 (0:00:00.065) 0:00:27.750 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 21 December 2023 16:56:34 +0000 (0:00:00.072) 0:00:27.823 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 21 December 2023 16:56:34 +0000 (0:00:00.078) 0:00:27.901 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tests_auto_gateway.yml:48 Thursday 21 December 2023 16:56:34 +0000 (0:00:00.043) 0:00:27.945 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003767", "end": "2023-12-21 16:56:34.790319", "rc": 0, "start": "2023-12-21 16:56:34.786552" } STDOUT: default via 10.31.8.1 dev eth0 proto dhcp src 10.31.9.167 metric 100 default via 203.0.113.1 dev veth0 metric 65535 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.9.167 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_typeeelr5ich/tests/playbooks/tests_auto_gateway.yml:52 Thursday 21 December 2023 16:56:34 +0000 (0:00:00.240) 0:00:28.185 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tests_auto_gateway.yml:58 Thursday 21 December 2023 16:56:34 +0000 (0:00:00.037) 0:00:28.223 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.004116", "end": "2023-12-21 16:56:35.081758", "rc": 0, "start": "2023-12-21 16:56:35.077642" } 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_typeeelr5ich/tests/playbooks/tests_auto_gateway.yml:62 Thursday 21 December 2023 16:56:35 +0000 (0:00:00.260) 0:00:28.484 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tests_auto_gateway.yml:69 Thursday 21 December 2023 16:56:35 +0000 (0:00:00.049) 0:00:28.533 ***** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 16:56:35 +0000 (0:00:00.035) 0:00:28.569 ***** included: /WORKDIR/git-route_typeeelr5ich/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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 16:56:35 +0000 (0:00:00.135) 0:00:28.705 ***** 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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 16:56:35 +0000 (0:00:00.068) 0:00:28.773 ***** 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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 16:56:35 +0000 (0:00:00.056) 0:00:28.830 ***** 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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 16:56:35 +0000 (0:00:00.039) 0:00:28.869 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 16:56:37 +0000 (0:00:01.557) 0:00:30.427 ***** 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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 16:56:38 +0000 (0:00:01.387) 0:00:31.814 ***** 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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 16:56:38 +0000 (0:00:00.113) 0:00:31.928 ***** 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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 16:56:38 +0000 (0:00:00.036) 0:00:31.965 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 16:56:38 +0000 (0:00:00.033) 0:00:31.999 ***** 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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 16:56:38 +0000 (0:00:00.078) 0:00:32.077 ***** 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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 16:56:38 +0000 (0:00:00.031) 0:00:32.108 ***** 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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 16:56:38 +0000 (0:00:00.046) 0:00:32.155 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 16:56:38 +0000 (0:00:00.092) 0:00:32.248 ***** 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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 16:56:38 +0000 (0:00:00.067) 0:00:32.315 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 16:56:39 +0000 (0:00:00.058) 0:00:32.374 ***** 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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 16:56:39 +0000 (0:00:00.509) 0:00:32.883 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-240635onbsbl/tmpgujemfym" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 16:56:40 +0000 (0:00:00.502) 0:00:33.385 ***** 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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 16:56:40 +0000 (0:00:00.466) 0:00:33.852 ***** 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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 16:56:40 +0000 (0:00:00.027) 0:00:33.879 ***** 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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 16:56:40 +0000 (0:00:00.030) 0:00:33.909 ***** 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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 16:56:40 +0000 (0:00:00.028) 0:00:33.937 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 16:56:40 +0000 (0:00:00.096) 0:00:34.034 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tests_auto_gateway.yml:81 Thursday 21 December 2023 16:56:40 +0000 (0:00:00.264) 0:00:34.299 ***** included: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 21 December 2023 16:56:41 +0000 (0:00:00.065) 0:00:34.364 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 21 December 2023 16:56:41 +0000 (0:00:00.028) 0:00:34.393 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 21 December 2023 16:56:41 +0000 (0:00:00.037) 0:00:34.430 ***** included: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 16:56:41 +0000 (0:00:00.044) 0:00:34.474 ***** included: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 16:56:41 +0000 (0:00:00.050) 0:00:34.525 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002987", "end": "2023-12-21 16:56:41.362686", "rc": 0, "start": "2023-12-21 16:56:41.359699" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 16:56:41 +0000 (0:00:00.213) 0:00:34.739 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 16:56:41 +0000 (0:00:00.023) 0:00:34.763 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 21 December 2023 16:56:41 +0000 (0:00:00.025) 0:00:34.788 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/manage_test_interface.yml:24 Thursday 21 December 2023 16:56:44 +0000 (0:00:02.963) 0:00:37.752 ***** 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_typeeelr5ich/tests/playbooks/tasks/manage_test_interface.yml:33 Thursday 21 December 2023 16:56:44 +0000 (0:00:00.069) 0:00:37.821 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/manage_test_interface.yml:41 Thursday 21 December 2023 16:56:44 +0000 (0:00:00.084) 0:00:37.906 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.016000", "end": "2023-12-21 16:56:44.765263", "rc": 0, "start": "2023-12-21 16:56:44.749263" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/manage_test_interface.yml:48 Thursday 21 December 2023 16:56:44 +0000 (0:00:00.251) 0:00:38.157 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/manage_test_interface.yml:54 Thursday 21 December 2023 16:56:44 +0000 (0:00:00.045) 0:00:38.203 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/manage_test_interface.yml:61 Thursday 21 December 2023 16:56:44 +0000 (0:00:00.053) 0:00:38.256 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/manage_test_interface.yml:67 Thursday 21 December 2023 16:56:44 +0000 (0:00:00.038) 0:00:38.295 ***** 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_typeeelr5ich/tests/playbooks/tests_auto_gateway.yml:85 Thursday 21 December 2023 16:56:44 +0000 (0:00:00.041) 0:00:38.337 ***** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tests_auto_gateway.yml:89 Thursday 21 December 2023 16:56:45 +0000 (0:00:00.053) 0:00:38.390 ***** included: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 21 December 2023 16:56:45 +0000 (0:00:00.135) 0:00:38.526 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 21 December 2023 16:56:45 +0000 (0:00:00.027) 0:00:38.554 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 21 December 2023 16:56:45 +0000 (0:00:00.035) 0:00:38.590 ***** included: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 16:56:45 +0000 (0:00:00.063) 0:00:38.653 ***** included: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 16:56:45 +0000 (0:00:00.044) 0:00:38.697 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003491", "end": "2023-12-21 16:56:45.520926", "rc": 0, "start": "2023-12-21 16:56:45.517435" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 16:56:45 +0000 (0:00:00.206) 0:00:38.903 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 16:56:45 +0000 (0:00:00.026) 0:00:38.930 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 21 December 2023 16:56:45 +0000 (0:00:00.032) 0:00:38.963 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/manage_test_interface.yml:24 Thursday 21 December 2023 16:56:48 +0000 (0:00:02.980) 0:00:41.943 ***** 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.012754", "end": "2023-12-21 16:56:48.787329", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2023-12-21 16:56:48.774575" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003768", "end": "2023-12-21 16:56:49.007976", "item": "ip link set peerveth0 up", "rc": 0, "start": "2023-12-21 16:56:49.004208" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004063", "end": "2023-12-21 16:56:49.193823", "item": "ip link set veth0 up", "rc": 0, "start": "2023-12-21 16:56:49.189760" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/manage_test_interface.yml:33 Thursday 21 December 2023 16:56:49 +0000 (0:00:00.630) 0:00:42.573 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.022514", "end": "2023-12-21 16:56:49.413444", "rc": 0, "start": "2023-12-21 16:56:49.390930" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/manage_test_interface.yml:41 Thursday 21 December 2023 16:56:49 +0000 (0:00:00.241) 0:00:42.814 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/manage_test_interface.yml:48 Thursday 21 December 2023 16:56:49 +0000 (0:00:00.034) 0:00:42.848 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/manage_test_interface.yml:54 Thursday 21 December 2023 16:56:49 +0000 (0:00:00.056) 0:00:42.904 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/manage_test_interface.yml:61 Thursday 21 December 2023 16:56:49 +0000 (0:00:00.069) 0:00:42.974 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/manage_test_interface.yml:67 Thursday 21 December 2023 16:56:49 +0000 (0:00:00.134) 0:00:43.109 ***** 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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 16:56:49 +0000 (0:00:00.068) 0:00:43.177 ***** included: /WORKDIR/git-route_typeeelr5ich/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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 16:56:49 +0000 (0:00:00.128) 0:00:43.306 ***** 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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 16:56:50 +0000 (0:00:00.134) 0:00:43.440 ***** 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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 16:56:50 +0000 (0:00:00.025) 0:00:43.466 ***** 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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 16:56:50 +0000 (0:00:00.027) 0:00:43.493 ***** 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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 16:56:51 +0000 (0:00:01.577) 0:00:45.071 ***** 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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 16:56:53 +0000 (0:00:01.346) 0:00:46.417 ***** 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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 16:56:53 +0000 (0:00:00.042) 0:00:46.460 ***** 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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 16:56:53 +0000 (0:00:00.098) 0:00:46.558 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 16:56:53 +0000 (0:00:00.028) 0:00:46.587 ***** 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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 16:56:53 +0000 (0:00:00.055) 0:00:46.642 ***** 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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 16:56:53 +0000 (0:00:00.031) 0:00:46.674 ***** 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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 16:56:53 +0000 (0:00:00.051) 0:00:46.725 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 16:56:53 +0000 (0:00:00.051) 0:00:46.776 ***** 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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 16:56:53 +0000 (0:00:00.031) 0:00:46.808 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 16:56:53 +0000 (0:00:00.026) 0:00:46.835 ***** 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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 16:56:53 +0000 (0:00:00.399) 0:00:47.234 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-240635onbsbl/tmpx4fsbp2s" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 16:56:54 +0000 (0:00:00.440) 0:00:47.675 ***** 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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 16:57:00 +0000 (0:00:06.520) 0:00:54.195 ***** 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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 16:57:00 +0000 (0:00:00.051) 0:00:54.246 ***** 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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 16:57:00 +0000 (0:00:00.034) 0:00:54.280 ***** 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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 16:57:00 +0000 (0:00:00.026) 0:00:54.307 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 16:57:00 +0000 (0:00:00.024) 0:00:54.332 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tests_auto_gateway.yml:110 Thursday 21 December 2023 16:57:01 +0000 (0:00:00.207) 0:00:54.539 ***** included: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 21 December 2023 16:57:01 +0000 (0:00:00.100) 0:00:54.639 ***** included: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 21 December 2023 16:57:01 +0000 (0:00:00.041) 0:00:54.681 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1703177808.7783127, "block_size": 4096, "blocks": 0, "ctime": 1703177808.7783127, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 22229, "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": 1703177808.7783127, "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_typeeelr5ich/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 21 December 2023 16:57:01 +0000 (0:00:00.216) 0:00:54.898 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tests_auto_gateway.yml:112 Thursday 21 December 2023 16:57:01 +0000 (0:00:00.027) 0:00:54.926 ***** included: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 21 December 2023 16:57:01 +0000 (0:00:00.054) 0:00:54.980 ***** included: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 21 December 2023 16:57:01 +0000 (0:00:00.037) 0:00:55.017 ***** 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_typeeelr5ich/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 21 December 2023 16:57:01 +0000 (0:00:00.023) 0:00:55.041 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1703177814.6095593, "block_size": 4096, "blocks": 8, "ctime": 1703177814.5895593, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4750454, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1703177814.5895593, "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_typeeelr5ich/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 21 December 2023 16:57:01 +0000 (0:00:00.212) 0:00:55.254 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 21 December 2023 16:57:01 +0000 (0:00:00.036) 0:00:55.291 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.021317", "end": "2023-12-21 16:57:02.133490", "rc": 1, "start": "2023-12-21 16:57:02.112173" } 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_typeeelr5ich/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 21 December 2023 16:57:02 +0000 (0:00:00.257) 0:00:55.548 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 21 December 2023 16:57:02 +0000 (0:00:00.049) 0:00:55.597 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003334", "end": "2023-12-21 16:57:02.506469", "rc": 0, "start": "2023-12-21 16:57:02.503135" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 21 December 2023 16:57:02 +0000 (0:00:00.370) 0:00:55.968 ***** 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_typeeelr5ich/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 21 December 2023 16:57:02 +0000 (0:00:00.040) 0:00:56.009 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003320", "end": "2023-12-21 16:57:02.841487", "rc": 0, "start": "2023-12-21 16:57:02.838167" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 21 December 2023 16:57:02 +0000 (0:00:00.237) 0:00:56.246 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 21 December 2023 16:57:02 +0000 (0:00:00.035) 0:00:56.282 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 21 December 2023 16:57:02 +0000 (0:00:00.036) 0:00:56.319 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 21 December 2023 16:57:03 +0000 (0:00:00.031) 0:00:56.350 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tests_auto_gateway.yml:116 Thursday 21 December 2023 16:57:03 +0000 (0:00:00.029) 0:00:56.380 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003698", "end": "2023-12-21 16:57:03.203410", "rc": 0, "start": "2023-12-21 16:57:03.199712" } STDOUT: default via 10.31.8.1 dev eth0 proto dhcp src 10.31.9.167 metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.9.167 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_typeeelr5ich/tests/playbooks/tests_auto_gateway.yml:120 Thursday 21 December 2023 16:57:03 +0000 (0:00:00.200) 0:00:56.581 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tests_auto_gateway.yml:126 Thursday 21 December 2023 16:57:03 +0000 (0:00:00.025) 0:00:56.606 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003878", "end": "2023-12-21 16:57:03.429343", "rc": 0, "start": "2023-12-21 16:57:03.425465" } 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_typeeelr5ich/tests/playbooks/tests_auto_gateway.yml:130 Thursday 21 December 2023 16:57:03 +0000 (0:00:00.200) 0:00:56.807 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tests_auto_gateway.yml:137 Thursday 21 December 2023 16:57:03 +0000 (0:00:00.022) 0:00:56.830 ***** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 16:57:03 +0000 (0:00:00.022) 0:00:56.852 ***** included: /WORKDIR/git-route_typeeelr5ich/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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 16:57:03 +0000 (0:00:00.040) 0:00:56.893 ***** 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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 16:57:03 +0000 (0:00:00.068) 0:00:56.961 ***** 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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 16:57:03 +0000 (0:00:00.023) 0:00:56.984 ***** 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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 16:57:03 +0000 (0:00:00.022) 0:00:57.007 ***** 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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 16:57:05 +0000 (0:00:01.560) 0:00:58.568 ***** 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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 16:57:06 +0000 (0:00:01.327) 0:00:59.895 ***** 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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 16:57:06 +0000 (0:00:00.033) 0:00:59.928 ***** 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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 16:57:06 +0000 (0:00:00.078) 0:01:00.007 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 16:57:06 +0000 (0:00:00.026) 0:01:00.034 ***** 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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 16:57:06 +0000 (0:00:00.059) 0:01:00.094 ***** 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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 16:57:06 +0000 (0:00:00.031) 0:01:00.126 ***** 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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 16:57:06 +0000 (0:00:00.027) 0:01:00.153 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 16:57:06 +0000 (0:00:00.029) 0:01:00.183 ***** 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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 16:57:06 +0000 (0:00:00.023) 0:01:00.206 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 16:57:06 +0000 (0:00:00.025) 0:01:00.231 ***** 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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 16:57:07 +0000 (0:00:00.376) 0:01:00.607 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-240635onbsbl/tmpyt6l6cgr" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 16:57:07 +0000 (0:00:00.332) 0:01:00.940 ***** 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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 16:57:08 +0000 (0:00:00.465) 0:01:01.405 ***** 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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 16:57:08 +0000 (0:00:00.034) 0:01:01.439 ***** 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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 16:57:08 +0000 (0:00:00.035) 0:01:01.475 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)\n[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)", "[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 16:57:08 +0000 (0:00:00.031) 0:01:01.506 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 16:57:08 +0000 (0:00:00.043) 0:01:01.550 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tests_auto_gateway.yml:149 Thursday 21 December 2023 16:57:08 +0000 (0:00:00.269) 0:01:01.819 ***** included: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 21 December 2023 16:57:08 +0000 (0:00:00.088) 0:01:01.908 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 21 December 2023 16:57:08 +0000 (0:00:00.028) 0:01:01.937 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 21 December 2023 16:57:08 +0000 (0:00:00.027) 0:01:01.964 ***** included: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 16:57:08 +0000 (0:00:00.038) 0:01:02.003 ***** included: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 16:57:08 +0000 (0:00:00.036) 0:01:02.039 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003435", "end": "2023-12-21 16:57:08.866731", "rc": 0, "start": "2023-12-21 16:57:08.863296" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 16:57:08 +0000 (0:00:00.205) 0:01:02.244 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 16:57:08 +0000 (0:00:00.023) 0:01:02.268 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 21 December 2023 16:57:08 +0000 (0:00:00.024) 0:01:02.293 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/manage_test_interface.yml:24 Thursday 21 December 2023 16:57:12 +0000 (0:00:03.068) 0:01:05.361 ***** 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_typeeelr5ich/tests/playbooks/tasks/manage_test_interface.yml:33 Thursday 21 December 2023 16:57:12 +0000 (0:00:00.041) 0:01:05.402 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/manage_test_interface.yml:41 Thursday 21 December 2023 16:57:12 +0000 (0:00:00.034) 0:01:05.437 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.012095", "end": "2023-12-21 16:57:12.273163", "rc": 0, "start": "2023-12-21 16:57:12.261068" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/manage_test_interface.yml:48 Thursday 21 December 2023 16:57:12 +0000 (0:00:00.259) 0:01:05.697 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/manage_test_interface.yml:54 Thursday 21 December 2023 16:57:12 +0000 (0:00:00.030) 0:01:05.727 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/manage_test_interface.yml:61 Thursday 21 December 2023 16:57:12 +0000 (0:00:00.027) 0:01:05.754 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/manage_test_interface.yml:67 Thursday 21 December 2023 16:57:12 +0000 (0:00:00.054) 0:01:05.808 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=138 changed=6 unreachable=0 failed=0 skipped=89 rescued=0 ignored=2 Thursday 21 December 2023 16:57:12 +0000 (0:00:00.010) 0:01:05.819 ***** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 6.69s /WORKDIR/git-route_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Configure networking connection profiles --- 6.52s /WORKDIR/git-route_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Install packages --------------------------- 5.07s /WORKDIR/git-route_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:30 Install iproute --------------------------------------------------------- 3.34s /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 3.07s /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.98s /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.96s /WORKDIR/git-route_typeeelr5ich/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Check which packages are installed --------- 1.63s /WORKDIR/git-route_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which services are running ----------- 1.59s /WORKDIR/git-route_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.58s /WORKDIR/git-route_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.56s /WORKDIR/git-route_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.56s /WORKDIR/git-route_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.39s /WORKDIR/git-route_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.35s /WORKDIR/git-route_typeeelr5ich/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_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Configure networking connection profiles --- 0.93s /WORKDIR/git-route_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable network service --------------------- 0.89s /WORKDIR/git-route_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:105 linux-system-roles.network : Enable network service --------------------- 0.87s /WORKDIR/git-route_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:105 linux-system-roles.network : Ensure initscripts network file dependency is present --- 0.84s /WORKDIR/git-route_typeeelr5ich/tests/roles/linux-system-roles.network/tasks/main.yml:113 Gathering Facts --------------------------------------------------------- 0.74s /WORKDIR/git-route_typeeelr5ich/tests/tests_auto_gateway_initscripts.yml:4 ---- ---^---^---^---^---^--- # 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. ---^---^---^---^---^---