# 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-bond_options_rewritesu48y8_s/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-bond_options_rewritesu48y8_s/tests/tests_auto_gateway_initscripts.yml:5 Friday 09 February 2024 19:55:39 +0000 (0:00:00.012) 0:00:00.012 ******* ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/tests_auto_gateway_initscripts.yml:8 Friday 09 February 2024 19:55:40 +0000 (0:00:00.689) 0:00:00.701 ******* included: /WORKDIR/git-bond_options_rewritesu48y8_s/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-bond_options_rewritesu48y8_s/tests/tasks/el_repo_setup.yml:3 Friday 09 February 2024 19:55:40 +0000 (0:00:00.042) 0:00:00.744 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/tasks/el_repo_setup.yml:19 Friday 09 February 2024 19:55:40 +0000 (0:00:00.391) 0:00:01.136 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/tasks/el_repo_setup.yml:24 Friday 09 February 2024 19:55:40 +0000 (0:00:00.274) 0:00:01.410 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/tasks/el_repo_setup.yml:28 Friday 09 February 2024 19:55:40 +0000 (0:00:00.037) 0:00:01.447 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/tasks/el_repo_setup.yml:53 Friday 09 February 2024 19:55:40 +0000 (0:00:00.049) 0:00:01.497 ******* included: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/tasks/enable_epel.yml:8 Friday 09 February 2024 19:55:40 +0000 (0:00:00.031) 0:00:01.529 ******* 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-bond_options_rewritesu48y8_s/tests/tasks/enable_epel.yml:24 Friday 09 February 2024 19:55:41 +0000 (0:00:00.246) 0:00:01.775 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/tasks/enable_epel.yml:30 Friday 09 February 2024 19:55:41 +0000 (0:00:00.010) 0:00:01.786 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/tasks/enable_epel.yml:35 Friday 09 February 2024 19:55:41 +0000 (0:00:00.011) 0:00:01.797 ******* ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:01.262928", "end": "2024-02-09 19:55:42.675314", "rc": 0, "start": "2024-02-09 19:55:41.412386" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/tasks/enable_epel.yml:40 Friday 09 February 2024 19:55:42 +0000 (0:00:01.463) 0:00:03.260 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/tests_auto_gateway_initscripts.yml:10 Friday 09 February 2024 19:55:42 +0000 (0:00:00.014) 0:00:03.274 ******* 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-bond_options_rewritesu48y8_s/tests/playbooks/tests_auto_gateway.yml:3 Friday 09 February 2024 19:55:42 +0000 (0:00:00.015) 0:00:03.290 ******* ok: [sut] META: ran handlers TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tests_auto_gateway.yml:9 Friday 09 February 2024 19:55:43 +0000 (0:00:00.524) 0:00:03.814 ******* included: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/show_interfaces.yml:3 Friday 09 February 2024 19:55:43 +0000 (0:00:00.036) 0:00:03.851 ******* included: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 09 February 2024 19:55:43 +0000 (0:00:00.041) 0:00:03.892 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003385", "end": "2024-02-09 19:55:43.510284", "rc": 0, "start": "2024-02-09 19:55:43.506899" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 09 February 2024 19:55:43 +0000 (0:00:00.203) 0:00:04.095 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/show_interfaces.yml:5 Friday 09 February 2024 19:55:43 +0000 (0:00:00.013) 0:00:04.109 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tests_auto_gateway.yml:11 Friday 09 February 2024 19:55:43 +0000 (0:00:00.015) 0:00:04.124 ******* included: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/manage_test_interface.yml:3 Friday 09 February 2024 19:55:43 +0000 (0:00:00.041) 0:00:04.166 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/manage_test_interface.yml:8 Friday 09 February 2024 19:55:43 +0000 (0:00:00.023) 0:00:04.189 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/manage_test_interface.yml:13 Friday 09 February 2024 19:55:43 +0000 (0:00:00.023) 0:00:04.213 ******* included: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/show_interfaces.yml:3 Friday 09 February 2024 19:55:43 +0000 (0:00:00.028) 0:00:04.242 ******* included: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 09 February 2024 19:55:43 +0000 (0:00:00.018) 0:00:04.260 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003391", "end": "2024-02-09 19:55:43.882377", "rc": 0, "start": "2024-02-09 19:55:43.878986" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 09 February 2024 19:55:43 +0000 (0:00:00.211) 0:00:04.472 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/show_interfaces.yml:5 Friday 09 February 2024 19:55:43 +0000 (0:00:00.020) 0:00:04.493 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/manage_test_interface.yml:16 Friday 09 February 2024 19:55:43 +0000 (0:00:00.011) 0:00:04.504 ******* ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/manage_test_interface.yml:28 Friday 09 February 2024 19:55:46 +0000 (0:00:02.984) 0:00:07.489 ******* 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.012952", "end": "2024-02-09 19:55:47.119829", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-02-09 19:55:47.106877" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004235", "end": "2024-02-09 19:55:47.361041", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-02-09 19:55:47.356806" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004352", "end": "2024-02-09 19:55:47.572476", "item": "ip link set veth0 up", "rc": 0, "start": "2024-02-09 19:55:47.568124" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/manage_test_interface.yml:37 Friday 09 February 2024 19:55:47 +0000 (0:00:00.671) 0:00:08.160 ******* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.129570", "end": "2024-02-09 19:55:47.909886", "rc": 0, "start": "2024-02-09 19:55:47.780316" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/manage_test_interface.yml:45 Friday 09 February 2024 19:55:47 +0000 (0:00:00.335) 0:00:08.495 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/manage_test_interface.yml:52 Friday 09 February 2024 19:55:47 +0000 (0:00:00.025) 0:00:08.521 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/manage_test_interface.yml:58 Friday 09 February 2024 19:55:47 +0000 (0:00:00.012) 0:00:08.534 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/manage_test_interface.yml:65 Friday 09 February 2024 19:55:47 +0000 (0:00:00.011) 0:00:08.546 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/manage_test_interface.yml:71 Friday 09 February 2024 19:55:47 +0000 (0:00:00.012) 0:00:08.558 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tests_auto_gateway.yml:15 Friday 09 February 2024 19:55:48 +0000 (0:00:00.011) 0:00:08.569 ******* included: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/assert_device_present.yml:3 Friday 09 February 2024 19:55:48 +0000 (0:00:00.028) 0:00:08.598 ******* included: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 09 February 2024 19:55:48 +0000 (0:00:00.014) 0:00:08.612 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1707508547.1178186, "block_size": 4096, "blocks": 0, "ctime": 1707508547.1178186, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21587, "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": 1707508547.1178186, "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-bond_options_rewritesu48y8_s/tests/playbooks/tasks/assert_device_present.yml:5 Friday 09 February 2024 19:55:48 +0000 (0:00:00.193) 0:00:08.806 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tests_auto_gateway.yml:17 Friday 09 February 2024 19:55:48 +0000 (0:00:00.014) 0:00:08.821 ******* ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 09 February 2024 19:55:48 +0000 (0:00:00.012) 0:00:08.833 ******* included: /WORKDIR/git-bond_options_rewritesu48y8_s/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-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 09 February 2024 19:55:48 +0000 (0:00:00.067) 0:00:08.901 ******* 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-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 09 February 2024 19:55:48 +0000 (0:00:00.012) 0:00:08.913 ******* 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-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 09 February 2024 19:55:48 +0000 (0:00:00.010) 0:00:08.924 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 09 February 2024 19:55:48 +0000 (0:00:00.011) 0:00:08.935 ******* 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-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 09 February 2024 19:55:49 +0000 (0:00:01.592) 0:00:10.528 ******* 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-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 09 February 2024 19:55:51 +0000 (0:00:01.614) 0:00:12.143 ******* 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-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 09 February 2024 19:55:51 +0000 (0:00:00.024) 0:00:12.167 ******* 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-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 09 February 2024 19:55:51 +0000 (0:00:00.045) 0:00:12.213 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 09 February 2024 19:55:51 +0000 (0:00:00.058) 0:00:12.272 ******* changed: [sut] => { "attempts": 1, "changed": true, "rc": 0, "results": [ "Installed: network-scripts-team-1.31-4.el8.x86_64", "Installed: network-scripts-10.00.18-1.el8.x86_64" ] } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:43 Friday 09 February 2024 19:55:55 +0000 (0:00:04.207) 0:00:16.480 ******* 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-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:58 Friday 09 February 2024 19:55:55 +0000 (0:00:00.027) 0:00:16.508 ******* 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-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:74 Friday 09 February 2024 19:55:55 +0000 (0:00:00.037) 0:00:16.545 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:88 Friday 09 February 2024 19:55:56 +0000 (0:00:00.028) 0:00:16.574 ******* 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-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:99 Friday 09 February 2024 19:55:56 +0000 (0:00:00.088) 0:00:16.663 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:108 Friday 09 February 2024 19:55:56 +0000 (0:00:00.025) 0:00:16.688 ******* 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-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:116 Friday 09 February 2024 19:55:56 +0000 (0:00:00.838) 0:00:17.526 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2548qhmsj_p5/tmpzt1pfto0" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:125 Friday 09 February 2024 19:55:57 +0000 (0:00:00.408) 0:00:17.935 ******* 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-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:137 Friday 09 February 2024 19:56:04 +0000 (0:00:06.816) 0:00:24.751 ******* 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-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:143 Friday 09 February 2024 19:56:04 +0000 (0:00:00.027) 0:00:24.779 ******* 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-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:147 Friday 09 February 2024 19:56:04 +0000 (0:00:00.078) 0:00:24.858 ******* 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-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:152 Friday 09 February 2024 19:56:04 +0000 (0:00:00.042) 0:00:24.900 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:158 Friday 09 February 2024 19:56:04 +0000 (0:00:00.063) 0:00:24.963 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tests_auto_gateway.yml:42 Friday 09 February 2024 19:56:04 +0000 (0:00:00.290) 0:00:25.254 ******* included: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/assert_device_present.yml:3 Friday 09 February 2024 19:56:04 +0000 (0:00:00.103) 0:00:25.358 ******* included: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 09 February 2024 19:56:04 +0000 (0:00:00.078) 0:00:25.436 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1707508547.1178186, "block_size": 4096, "blocks": 0, "ctime": 1707508547.1178186, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21587, "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": 1707508547.1178186, "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-bond_options_rewritesu48y8_s/tests/playbooks/tasks/assert_device_present.yml:5 Friday 09 February 2024 19:56:05 +0000 (0:00:00.238) 0:00:25.674 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tests_auto_gateway.yml:44 Friday 09 February 2024 19:56:05 +0000 (0:00:00.034) 0:00:25.709 ******* included: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 09 February 2024 19:56:05 +0000 (0:00:00.063) 0:00:25.772 ******* included: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 09 February 2024 19:56:05 +0000 (0:00:00.041) 0:00:25.814 ******* 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-bond_options_rewritesu48y8_s/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 09 February 2024 19:56:05 +0000 (0:00:00.074) 0:00:25.888 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1707508557.8415415, "block_size": 4096, "blocks": 8, "ctime": 1707508557.8405416, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5899592, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707508557.8405416, "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-bond_options_rewritesu48y8_s/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 09 February 2024 19:56:05 +0000 (0:00:00.217) 0:00:26.105 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 09 February 2024 19:56:05 +0000 (0:00:00.026) 0:00:26.132 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.021778", "end": "2024-02-09 19:56:05.774678", "rc": 1, "start": "2024-02-09 19:56:05.752900" } 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-bond_options_rewritesu48y8_s/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 09 February 2024 19:56:05 +0000 (0:00:00.233) 0:00:26.365 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 09 February 2024 19:56:05 +0000 (0:00:00.023) 0:00:26.389 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003256", "end": "2024-02-09 19:56:06.014511", "rc": 0, "start": "2024-02-09 19:56:06.011255" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 09 February 2024 19:56:06 +0000 (0:00:00.219) 0:00:26.609 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 09 February 2024 19:56:06 +0000 (0:00:00.028) 0:00:26.637 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003431", "end": "2024-02-09 19:56:06.259552", "rc": 0, "start": "2024-02-09 19:56:06.256121" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 09 February 2024 19:56:06 +0000 (0:00:00.216) 0:00:26.854 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 09 February 2024 19:56:06 +0000 (0:00:00.035) 0:00:26.889 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 09 February 2024 19:56:06 +0000 (0:00:00.035) 0:00:26.924 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 09 February 2024 19:56:06 +0000 (0:00:00.032) 0:00:26.956 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tests_auto_gateway.yml:48 Friday 09 February 2024 19:56:06 +0000 (0:00:00.066) 0:00:27.023 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003889", "end": "2024-02-09 19:56:06.647529", "rc": 0, "start": "2024-02-09 19:56:06.643640" } STDOUT: default via 10.31.40.1 dev eth0 proto dhcp src 10.31.40.10 metric 100 default via 203.0.113.1 dev veth0 metric 65535 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.40.10 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-bond_options_rewritesu48y8_s/tests/playbooks/tests_auto_gateway.yml:52 Friday 09 February 2024 19:56:06 +0000 (0:00:00.233) 0:00:27.256 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tests_auto_gateway.yml:58 Friday 09 February 2024 19:56:06 +0000 (0:00:00.101) 0:00:27.358 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003884", "end": "2024-02-09 19:56:06.977125", "rc": 0, "start": "2024-02-09 19:56:06.973241" } 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-bond_options_rewritesu48y8_s/tests/playbooks/tests_auto_gateway.yml:62 Friday 09 February 2024 19:56:07 +0000 (0:00:00.236) 0:00:27.594 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tests_auto_gateway.yml:69 Friday 09 February 2024 19:56:07 +0000 (0:00:00.063) 0:00:27.657 ******* ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 09 February 2024 19:56:07 +0000 (0:00:00.035) 0:00:27.693 ******* included: /WORKDIR/git-bond_options_rewritesu48y8_s/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-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 09 February 2024 19:56:07 +0000 (0:00:00.042) 0:00:27.735 ******* 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-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 09 February 2024 19:56:07 +0000 (0:00:00.049) 0:00:27.785 ******* 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-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 09 February 2024 19:56:07 +0000 (0:00:00.059) 0:00:27.845 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 09 February 2024 19:56:07 +0000 (0:00:00.078) 0:00:27.923 ******* 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-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 09 February 2024 19:56:08 +0000 (0:00:01.536) 0:00:29.459 ******* 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-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 09 February 2024 19:56:10 +0000 (0:00:01.372) 0:00:30.832 ******* 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-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 09 February 2024 19:56:10 +0000 (0:00:00.032) 0:00:30.864 ******* 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-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 09 February 2024 19:56:10 +0000 (0:00:00.035) 0:00:30.900 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 09 February 2024 19:56:10 +0000 (0:00:00.073) 0:00:30.973 ******* 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-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:43 Friday 09 February 2024 19:56:10 +0000 (0:00:00.094) 0:00:31.067 ******* 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-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:58 Friday 09 February 2024 19:56:10 +0000 (0:00:00.028) 0:00:31.096 ******* 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-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:74 Friday 09 February 2024 19:56:10 +0000 (0:00:00.025) 0:00:31.122 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:88 Friday 09 February 2024 19:56:10 +0000 (0:00:00.036) 0:00:31.158 ******* 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-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:99 Friday 09 February 2024 19:56:10 +0000 (0:00:00.023) 0:00:31.182 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:108 Friday 09 February 2024 19:56:10 +0000 (0:00:00.025) 0:00:31.207 ******* 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-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:116 Friday 09 February 2024 19:56:11 +0000 (0:00:00.396) 0:00:31.603 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2548qhmsj_p5/tmp_2ptkmev" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:125 Friday 09 February 2024 19:56:11 +0000 (0:00:00.362) 0:00:31.965 ******* 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-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:137 Friday 09 February 2024 19:56:11 +0000 (0:00:00.462) 0:00:32.427 ******* 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-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:143 Friday 09 February 2024 19:56:11 +0000 (0:00:00.069) 0:00:32.497 ******* 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-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:147 Friday 09 February 2024 19:56:11 +0000 (0:00:00.034) 0:00:32.531 ******* 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-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:152 Friday 09 February 2024 19:56:12 +0000 (0:00:00.030) 0:00:32.562 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:158 Friday 09 February 2024 19:56:12 +0000 (0:00:00.030) 0:00:32.592 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tests_auto_gateway.yml:81 Friday 09 February 2024 19:56:12 +0000 (0:00:00.206) 0:00:32.799 ******* included: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/manage_test_interface.yml:3 Friday 09 February 2024 19:56:12 +0000 (0:00:00.052) 0:00:32.852 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/manage_test_interface.yml:8 Friday 09 February 2024 19:56:12 +0000 (0:00:00.022) 0:00:32.874 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/manage_test_interface.yml:13 Friday 09 February 2024 19:56:12 +0000 (0:00:00.022) 0:00:32.896 ******* included: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/show_interfaces.yml:3 Friday 09 February 2024 19:56:12 +0000 (0:00:00.035) 0:00:32.932 ******* included: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 09 February 2024 19:56:12 +0000 (0:00:00.035) 0:00:32.967 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003392", "end": "2024-02-09 19:56:12.584807", "rc": 0, "start": "2024-02-09 19:56:12.581415" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 09 February 2024 19:56:12 +0000 (0:00:00.211) 0:00:33.178 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/show_interfaces.yml:5 Friday 09 February 2024 19:56:12 +0000 (0:00:00.024) 0:00:33.203 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/manage_test_interface.yml:16 Friday 09 February 2024 19:56:12 +0000 (0:00:00.058) 0:00:33.262 ******* ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/manage_test_interface.yml:28 Friday 09 February 2024 19:56:15 +0000 (0:00:02.641) 0:00:35.903 ******* 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-bond_options_rewritesu48y8_s/tests/playbooks/tasks/manage_test_interface.yml:37 Friday 09 February 2024 19:56:15 +0000 (0:00:00.045) 0:00:35.949 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/manage_test_interface.yml:45 Friday 09 February 2024 19:56:15 +0000 (0:00:00.024) 0:00:35.974 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.015012", "end": "2024-02-09 19:56:15.620353", "rc": 0, "start": "2024-02-09 19:56:15.605341" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/manage_test_interface.yml:52 Friday 09 February 2024 19:56:15 +0000 (0:00:00.249) 0:00:36.223 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/manage_test_interface.yml:58 Friday 09 February 2024 19:56:15 +0000 (0:00:00.037) 0:00:36.260 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/manage_test_interface.yml:65 Friday 09 February 2024 19:56:15 +0000 (0:00:00.048) 0:00:36.309 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/manage_test_interface.yml:71 Friday 09 February 2024 19:56:15 +0000 (0:00:00.066) 0:00:36.375 ******* 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-bond_options_rewritesu48y8_s/tests/playbooks/tests_auto_gateway.yml:85 Friday 09 February 2024 19:56:15 +0000 (0:00:00.027) 0:00:36.402 ******* ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tests_auto_gateway.yml:89 Friday 09 February 2024 19:56:15 +0000 (0:00:00.024) 0:00:36.427 ******* included: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/manage_test_interface.yml:3 Friday 09 February 2024 19:56:15 +0000 (0:00:00.055) 0:00:36.483 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/manage_test_interface.yml:8 Friday 09 February 2024 19:56:15 +0000 (0:00:00.024) 0:00:36.507 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/manage_test_interface.yml:13 Friday 09 February 2024 19:56:15 +0000 (0:00:00.033) 0:00:36.540 ******* included: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/show_interfaces.yml:3 Friday 09 February 2024 19:56:16 +0000 (0:00:00.038) 0:00:36.579 ******* included: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 09 February 2024 19:56:16 +0000 (0:00:00.056) 0:00:36.635 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003306", "end": "2024-02-09 19:56:16.257253", "rc": 0, "start": "2024-02-09 19:56:16.253947" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 09 February 2024 19:56:16 +0000 (0:00:00.211) 0:00:36.847 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/show_interfaces.yml:5 Friday 09 February 2024 19:56:16 +0000 (0:00:00.025) 0:00:36.873 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/manage_test_interface.yml:16 Friday 09 February 2024 19:56:16 +0000 (0:00:00.022) 0:00:36.895 ******* ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/manage_test_interface.yml:28 Friday 09 February 2024 19:56:18 +0000 (0:00:02.654) 0:00:39.549 ******* 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.013469", "end": "2024-02-09 19:56:19.194801", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-02-09 19:56:19.181332" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004313", "end": "2024-02-09 19:56:19.457328", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-02-09 19:56:19.453015" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004213", "end": "2024-02-09 19:56:19.676686", "item": "ip link set veth0 up", "rc": 0, "start": "2024-02-09 19:56:19.672473" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/manage_test_interface.yml:37 Friday 09 February 2024 19:56:19 +0000 (0:00:00.743) 0:00:40.293 ******* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.022884", "end": "2024-02-09 19:56:20.021415", "rc": 0, "start": "2024-02-09 19:56:19.998531" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/manage_test_interface.yml:45 Friday 09 February 2024 19:56:20 +0000 (0:00:00.341) 0:00:40.635 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/manage_test_interface.yml:52 Friday 09 February 2024 19:56:20 +0000 (0:00:00.035) 0:00:40.670 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/manage_test_interface.yml:58 Friday 09 February 2024 19:56:20 +0000 (0:00:00.041) 0:00:40.711 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/manage_test_interface.yml:65 Friday 09 February 2024 19:56:20 +0000 (0:00:00.034) 0:00:40.746 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/manage_test_interface.yml:71 Friday 09 February 2024 19:56:20 +0000 (0:00:00.025) 0:00:40.772 ******* 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-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 09 February 2024 19:56:20 +0000 (0:00:00.028) 0:00:40.801 ******* included: /WORKDIR/git-bond_options_rewritesu48y8_s/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-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 09 February 2024 19:56:20 +0000 (0:00:00.111) 0:00:40.912 ******* 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-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 09 February 2024 19:56:20 +0000 (0:00:00.082) 0:00:40.995 ******* 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-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 09 February 2024 19:56:20 +0000 (0:00:00.038) 0:00:41.034 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 09 February 2024 19:56:20 +0000 (0:00:00.046) 0:00:41.080 ******* 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-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 09 February 2024 19:56:22 +0000 (0:00:01.684) 0:00:42.765 ******* 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-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 09 February 2024 19:56:23 +0000 (0:00:01.285) 0:00:44.051 ******* 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-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 09 February 2024 19:56:23 +0000 (0:00:00.069) 0:00:44.121 ******* 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-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 09 February 2024 19:56:23 +0000 (0:00:00.030) 0:00:44.151 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 09 February 2024 19:56:23 +0000 (0:00:00.028) 0:00:44.179 ******* 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-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:43 Friday 09 February 2024 19:56:23 +0000 (0:00:00.050) 0:00:44.230 ******* 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-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:58 Friday 09 February 2024 19:56:23 +0000 (0:00:00.032) 0:00:44.262 ******* 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-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:74 Friday 09 February 2024 19:56:23 +0000 (0:00:00.024) 0:00:44.287 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:88 Friday 09 February 2024 19:56:23 +0000 (0:00:00.026) 0:00:44.313 ******* 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-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:99 Friday 09 February 2024 19:56:23 +0000 (0:00:00.022) 0:00:44.336 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:108 Friday 09 February 2024 19:56:23 +0000 (0:00:00.022) 0:00:44.359 ******* 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-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:116 Friday 09 February 2024 19:56:24 +0000 (0:00:00.347) 0:00:44.707 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2548qhmsj_p5/tmpk73evr4o" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:125 Friday 09 February 2024 19:56:24 +0000 (0:00:00.297) 0:00:45.004 ******* 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-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:137 Friday 09 February 2024 19:56:30 +0000 (0:00:06.547) 0:00:51.551 ******* 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-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:143 Friday 09 February 2024 19:56:31 +0000 (0:00:00.039) 0:00:51.590 ******* 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-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:147 Friday 09 February 2024 19:56:31 +0000 (0:00:00.040) 0:00:51.630 ******* 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-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:152 Friday 09 February 2024 19:56:31 +0000 (0:00:00.037) 0:00:51.668 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:158 Friday 09 February 2024 19:56:31 +0000 (0:00:00.062) 0:00:51.730 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tests_auto_gateway.yml:110 Friday 09 February 2024 19:56:31 +0000 (0:00:00.280) 0:00:52.010 ******* included: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/assert_device_present.yml:3 Friday 09 February 2024 19:56:31 +0000 (0:00:00.097) 0:00:52.108 ******* included: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 09 February 2024 19:56:31 +0000 (0:00:00.050) 0:00:52.158 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1707508579.1851907, "block_size": 4096, "blocks": 0, "ctime": 1707508579.1851907, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 22173, "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": 1707508579.1851907, "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-bond_options_rewritesu48y8_s/tests/playbooks/tasks/assert_device_present.yml:5 Friday 09 February 2024 19:56:31 +0000 (0:00:00.240) 0:00:52.399 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tests_auto_gateway.yml:112 Friday 09 February 2024 19:56:31 +0000 (0:00:00.036) 0:00:52.435 ******* included: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 09 February 2024 19:56:31 +0000 (0:00:00.103) 0:00:52.539 ******* included: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 09 February 2024 19:56:32 +0000 (0:00:00.056) 0:00:52.596 ******* 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-bond_options_rewritesu48y8_s/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 09 February 2024 19:56:32 +0000 (0:00:00.034) 0:00:52.631 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1707508584.7500014, "block_size": 4096, "blocks": 8, "ctime": 1707508584.7300017, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5899592, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707508584.7300017, "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-bond_options_rewritesu48y8_s/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 09 February 2024 19:56:32 +0000 (0:00:00.249) 0:00:52.880 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 09 February 2024 19:56:32 +0000 (0:00:00.050) 0:00:52.931 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.021573", "end": "2024-02-09 19:56:32.610348", "rc": 1, "start": "2024-02-09 19:56:32.588775" } 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-bond_options_rewritesu48y8_s/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 09 February 2024 19:56:32 +0000 (0:00:00.274) 0:00:53.205 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 09 February 2024 19:56:32 +0000 (0:00:00.086) 0:00:53.292 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003438", "end": "2024-02-09 19:56:32.935277", "rc": 0, "start": "2024-02-09 19:56:32.931839" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 09 February 2024 19:56:32 +0000 (0:00:00.243) 0:00:53.536 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 09 February 2024 19:56:33 +0000 (0:00:00.049) 0:00:53.585 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003344", "end": "2024-02-09 19:56:33.271811", "rc": 0, "start": "2024-02-09 19:56:33.268467" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 09 February 2024 19:56:33 +0000 (0:00:00.304) 0:00:53.890 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 09 February 2024 19:56:33 +0000 (0:00:00.055) 0:00:53.945 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 09 February 2024 19:56:33 +0000 (0:00:00.036) 0:00:53.982 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 09 February 2024 19:56:33 +0000 (0:00:00.031) 0:00:54.013 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tests_auto_gateway.yml:116 Friday 09 February 2024 19:56:33 +0000 (0:00:00.055) 0:00:54.069 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003848", "end": "2024-02-09 19:56:33.688570", "rc": 0, "start": "2024-02-09 19:56:33.684722" } STDOUT: default via 10.31.40.1 dev eth0 proto dhcp src 10.31.40.10 metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.40.10 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-bond_options_rewritesu48y8_s/tests/playbooks/tests_auto_gateway.yml:120 Friday 09 February 2024 19:56:33 +0000 (0:00:00.227) 0:00:54.296 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tests_auto_gateway.yml:126 Friday 09 February 2024 19:56:33 +0000 (0:00:00.027) 0:00:54.324 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003980", "end": "2024-02-09 19:56:33.949058", "rc": 0, "start": "2024-02-09 19:56:33.945078" } 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-bond_options_rewritesu48y8_s/tests/playbooks/tests_auto_gateway.yml:130 Friday 09 February 2024 19:56:33 +0000 (0:00:00.221) 0:00:54.546 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tests_auto_gateway.yml:137 Friday 09 February 2024 19:56:34 +0000 (0:00:00.027) 0:00:54.574 ******* ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 09 February 2024 19:56:34 +0000 (0:00:00.026) 0:00:54.601 ******* included: /WORKDIR/git-bond_options_rewritesu48y8_s/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-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 09 February 2024 19:56:34 +0000 (0:00:00.050) 0:00:54.652 ******* 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-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 09 February 2024 19:56:34 +0000 (0:00:00.111) 0:00:54.763 ******* 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-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 09 February 2024 19:56:34 +0000 (0:00:00.025) 0:00:54.789 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 09 February 2024 19:56:34 +0000 (0:00:00.027) 0:00:54.816 ******* 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-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 09 February 2024 19:56:35 +0000 (0:00:01.631) 0:00:56.447 ******* 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-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 09 February 2024 19:56:37 +0000 (0:00:01.414) 0:00:57.861 ******* 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-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 09 February 2024 19:56:37 +0000 (0:00:00.123) 0:00:57.985 ******* 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-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 09 February 2024 19:56:37 +0000 (0:00:00.043) 0:00:58.028 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 09 February 2024 19:56:37 +0000 (0:00:00.034) 0:00:58.062 ******* 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-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:43 Friday 09 February 2024 19:56:37 +0000 (0:00:00.125) 0:00:58.187 ******* 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-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:58 Friday 09 February 2024 19:56:37 +0000 (0:00:00.083) 0:00:58.271 ******* 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-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:74 Friday 09 February 2024 19:56:37 +0000 (0:00:00.044) 0:00:58.315 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:88 Friday 09 February 2024 19:56:37 +0000 (0:00:00.090) 0:00:58.405 ******* 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-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:99 Friday 09 February 2024 19:56:37 +0000 (0:00:00.090) 0:00:58.495 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:108 Friday 09 February 2024 19:56:37 +0000 (0:00:00.054) 0:00:58.550 ******* 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-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:116 Friday 09 February 2024 19:56:38 +0000 (0:00:00.401) 0:00:58.952 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2548qhmsj_p5/tmp2r84yuru" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:125 Friday 09 February 2024 19:56:38 +0000 (0:00:00.520) 0:00:59.472 ******* 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-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:137 Friday 09 February 2024 19:56:39 +0000 (0:00:00.470) 0:00:59.943 ******* 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-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:143 Friday 09 February 2024 19:56:39 +0000 (0:00:00.041) 0:00:59.984 ******* 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-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:147 Friday 09 February 2024 19:56:39 +0000 (0:00:00.029) 0:01:00.014 ******* 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-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:152 Friday 09 February 2024 19:56:39 +0000 (0:00:00.084) 0:01:00.098 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:158 Friday 09 February 2024 19:56:39 +0000 (0:00:00.035) 0:01:00.133 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tests_auto_gateway.yml:149 Friday 09 February 2024 19:56:39 +0000 (0:00:00.193) 0:01:00.327 ******* included: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/manage_test_interface.yml:3 Friday 09 February 2024 19:56:39 +0000 (0:00:00.060) 0:01:00.387 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/manage_test_interface.yml:8 Friday 09 February 2024 19:56:39 +0000 (0:00:00.024) 0:01:00.412 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/manage_test_interface.yml:13 Friday 09 February 2024 19:56:39 +0000 (0:00:00.024) 0:01:00.436 ******* included: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/show_interfaces.yml:3 Friday 09 February 2024 19:56:39 +0000 (0:00:00.044) 0:01:00.480 ******* included: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 09 February 2024 19:56:39 +0000 (0:00:00.038) 0:01:00.518 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003227", "end": "2024-02-09 19:56:40.128624", "rc": 0, "start": "2024-02-09 19:56:40.125397" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 09 February 2024 19:56:40 +0000 (0:00:00.201) 0:01:00.720 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/show_interfaces.yml:5 Friday 09 February 2024 19:56:40 +0000 (0:00:00.028) 0:01:00.748 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/manage_test_interface.yml:16 Friday 09 February 2024 19:56:40 +0000 (0:00:00.027) 0:01:00.776 ******* ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/manage_test_interface.yml:28 Friday 09 February 2024 19:56:42 +0000 (0:00:02.710) 0:01:03.486 ******* 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-bond_options_rewritesu48y8_s/tests/playbooks/tasks/manage_test_interface.yml:37 Friday 09 February 2024 19:56:42 +0000 (0:00:00.038) 0:01:03.525 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/manage_test_interface.yml:45 Friday 09 February 2024 19:56:42 +0000 (0:00:00.030) 0:01:03.555 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.010476", "end": "2024-02-09 19:56:43.187513", "rc": 0, "start": "2024-02-09 19:56:43.177037" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/manage_test_interface.yml:52 Friday 09 February 2024 19:56:43 +0000 (0:00:00.256) 0:01:03.812 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/manage_test_interface.yml:58 Friday 09 February 2024 19:56:43 +0000 (0:00:00.054) 0:01:03.867 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/manage_test_interface.yml:65 Friday 09 February 2024 19:56:43 +0000 (0:00:00.048) 0:01:03.916 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/manage_test_interface.yml:71 Friday 09 February 2024 19:56:43 +0000 (0:00:00.045) 0:01:03.961 ******* 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 Friday 09 February 2024 19:56:43 +0000 (0:00:00.010) 0:01:03.972 ******* =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 6.82s /WORKDIR/git-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Configure networking connection profiles --- 6.55s /WORKDIR/git-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Install packages --------------------------- 4.21s /WORKDIR/git-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:30 Install iproute --------------------------------------------------------- 2.98s /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.71s /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.65s /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.64s /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Check which services are running ----------- 1.68s /WORKDIR/git-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.63s /WORKDIR/git-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.61s /WORKDIR/git-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which services are running ----------- 1.59s /WORKDIR/git-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.54s /WORKDIR/git-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Enable EPEL 8 ----------------------------------------------------------- 1.46s /WORKDIR/git-bond_options_rewritesu48y8_s/tests/tasks/enable_epel.yml:35 ------ linux-system-roles.network : Check which packages are installed --------- 1.41s /WORKDIR/git-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.37s /WORKDIR/git-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.29s /WORKDIR/git-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Configure networking connection profiles --- 0.93s /WORKDIR/git-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Ensure initscripts network file dependency is present --- 0.88s /WORKDIR/git-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:116 linux-system-roles.network : Enable network service --------------------- 0.84s /WORKDIR/git-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:108 linux-system-roles.network : Enable network service --------------------- 0.80s /WORKDIR/git-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:108 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---