# 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_bond_options_nm.yml ******************************************** 2 plays in /WORKDIR/git-weekly-ciuory3ar6/tests/tests_bond_options_nm.yml PLAY [Run playbook 'playbooks/tests_bond_options.yml' with nm as provider] ***** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-ciuory3ar6/tests/tests_bond_options_nm.yml:6 Saturday 08 June 2024 13:28:14 +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-weekly-ciuory3ar6/tests/tests_bond_options_nm.yml:9 Saturday 08 June 2024 13:28:15 +0000 (0:00:00.708) 0:00:00.721 ********* included: /WORKDIR/git-weekly-ciuory3ar6/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-weekly-ciuory3ar6/tests/tasks/el_repo_setup.yml:3 Saturday 08 June 2024 13:28:15 +0000 (0:00:00.021) 0:00:00.743 ********* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-ciuory3ar6/tests/tasks/el_repo_setup.yml:19 Saturday 08 June 2024 13:28:15 +0000 (0:00:00.331) 0:00:01.074 ********* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-weekly-ciuory3ar6/tests/tasks/el_repo_setup.yml:24 Saturday 08 June 2024 13:28:15 +0000 (0:00:00.257) 0:00:01.332 ********* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-weekly-ciuory3ar6/tests/tasks/el_repo_setup.yml:28 Saturday 08 June 2024 13:28:15 +0000 (0:00:00.020) 0:00:01.352 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-weekly-ciuory3ar6/tests/tasks/el_repo_setup.yml:53 Saturday 08 June 2024 13:28:15 +0000 (0:00:00.018) 0:00:01.371 ********* included: /WORKDIR/git-weekly-ciuory3ar6/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-weekly-ciuory3ar6/tests/tasks/enable_epel.yml:8 Saturday 08 June 2024 13:28:15 +0000 (0:00:00.044) 0:00:01.415 ********* 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-weekly-ciuory3ar6/tests/tasks/enable_epel.yml:24 Saturday 08 June 2024 13:28:15 +0000 (0:00:00.241) 0:00:01.656 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-weekly-ciuory3ar6/tests/tasks/enable_epel.yml:30 Saturday 08 June 2024 13:28:15 +0000 (0:00:00.012) 0:00:01.669 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-weekly-ciuory3ar6/tests/tasks/enable_epel.yml:35 Saturday 08 June 2024 13:28:15 +0000 (0:00:00.010) 0:00:01.679 ********* ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.260749", "end": "2024-06-08 09:28:16.425175", "rc": 0, "start": "2024-06-08 09:28:16.164426" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-weekly-ciuory3ar6/tests/tasks/enable_epel.yml:40 Saturday 08 June 2024 13:28:16 +0000 (0:00:00.458) 0:00:02.138 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-weekly-ciuory3ar6/tests/tests_bond_options_nm.yml:11 Saturday 08 June 2024 13:28:16 +0000 (0:00:00.009) 0:00:02.148 ********* ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for testing bond options] ******************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-ciuory3ar6/tests/playbooks/tests_bond_options.yml:3 Saturday 08 June 2024 13:28:16 +0000 (0:00:00.011) 0:00:02.159 ********* ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-weekly-ciuory3ar6/tests/playbooks/tests_bond_options.yml:32 Saturday 08 June 2024 13:28:16 +0000 (0:00:00.479) 0:00:02.639 ********* ok: [sut] => {} MSG: this is: playbooks/tests_bond_options.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-weekly-ciuory3ar6/tests/playbooks/tests_bond_options.yml:42 Saturday 08 June 2024 13:28:16 +0000 (0:00:00.011) 0:00:02.650 ********* included: /WORKDIR/git-weekly-ciuory3ar6/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: Given two DHCP-enabled network interfaces, when creating a bond profile with them, then the controller device and bond port profiles are present and the specified bond options are set for the controller device.] *** task path: /WORKDIR/git-weekly-ciuory3ar6/tests/playbooks/tasks/run_test.yml:5 Saturday 08 June 2024 13:28:16 +0000 (0:00:00.017) 0:00:02.668 ********* ok: [sut] => {} MSG: ########## Given two DHCP-enabled network interfaces, when creating a bond profile with them, then the controller device and bond port profiles are present and the specified bond options are set for the controller device. ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-ciuory3ar6/tests/playbooks/tasks/run_test.yml:9 Saturday 08 June 2024 13:28:16 +0000 (0:00:00.012) 0:00:02.681 ********* ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "Given two DHCP-enabled network interfaces, when creating a bond profile with them, then the controller device and bond port profiles are present and the specified bond options are set for the controller device." } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_test_interfaces_with_dhcp.yml", "tasks/assert_dhcp_device_present.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bond_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_controller_device_present.yml", "tasks/assert_bond_port_profile_present.yml", "tasks/assert_bond_options.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_bond_profile+device.yml", "tasks/remove_test_interfaces_with_dhcp.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-weekly-ciuory3ar6/tests/playbooks/tasks/run_test.yml:21 Saturday 08 June 2024 13:28:17 +0000 (0:00:00.032) 0:00:02.714 ********* included: /WORKDIR/git-weekly-ciuory3ar6/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-ciuory3ar6/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 08 June 2024 13:28:17 +0000 (0:00:00.015) 0:00:02.729 ********* included: /WORKDIR/git-weekly-ciuory3ar6/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-ciuory3ar6/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 08 June 2024 13:28:17 +0000 (0:00:00.012) 0:00:02.742 ********* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003031", "end": "2024-06-08 09:28:17.227282", "rc": 0, "start": "2024-06-08 09:28:17.224251" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-ciuory3ar6/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 08 June 2024 13:28:17 +0000 (0:00:00.195) 0:00:02.937 ********* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-ciuory3ar6/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 08 June 2024 13:28:17 +0000 (0:00:00.012) 0:00:02.949 ********* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-ciuory3ar6/tests/playbooks/tasks/run_test.yml:24 Saturday 08 June 2024 13:28:17 +0000 (0:00:00.010) 0:00:02.960 ********* included: /WORKDIR/git-weekly-ciuory3ar6/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml for sut statically imported: /WORKDIR/git-weekly-ciuory3ar6/tests/playbooks/tasks/assert_device_present.yml statically imported: /WORKDIR/git-weekly-ciuory3ar6/tests/playbooks/tasks/assert_device_present.yml included: /WORKDIR/git-weekly-ciuory3ar6/tests/playbooks/tasks/assert_dhcp_device_present.yml for sut TASK [Install dnsmasq] ********************************************************* task path: /WORKDIR/git-weekly-ciuory3ar6/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:3 Saturday 08 June 2024 13:28:17 +0000 (0:00:00.027) 0:00:02.988 ********* FAILED - RETRYING: Install dnsmasq (6 retries left). FAILED - RETRYING: Install dnsmasq (5 retries left). FAILED - RETRYING: Install dnsmasq (4 retries left). FAILED - RETRYING: Install dnsmasq (3 retries left). FAILED - RETRYING: Install dnsmasq (2 retries left). FAILED - RETRYING: Install dnsmasq (1 retries left). fatal: [sut]: FAILED! => { "attempts": 6, "changed": false, "rc": 1, "results": [] } MSG: Failed to download metadata for repo 'appstream': Cannot prepare internal mirrorlist: No URLs in mirrorlist TASK [Failure in test 'Given two DHCP-enabled network interfaces, when creating a bond profile with them, then the controller device and bond port profiles are present and the specified bond options are set for the controller device.'] *** task path: /WORKDIR/git-weekly-ciuory3ar6/tests/playbooks/tasks/run_test.yml:52 Saturday 08 June 2024 13:29:22 +0000 (0:01:05.441) 0:01:08.429 ********* ok: [sut] => {} MSG: !!!!! Failure in test 'Given two DHCP-enabled network interfaces, when creating a bond profile with them, then the controller device and bond port profiles are present and the specified bond options are set for the controller device.' !!!!! TASK [Show item that failed] *************************************************** task path: /WORKDIR/git-weekly-ciuory3ar6/tests/playbooks/tasks/run_test.yml:56 Saturday 08 June 2024 13:29:22 +0000 (0:00:00.011) 0:01:08.441 ********* ok: [sut] => (item=__network_connections_result) => { "__network_connections_result": "VARIABLE IS NOT DEFINED!: '__network_connections_result' is undefined", "ansible_loop_var": "item", "item": "__network_connections_result" } TASK [Issue failed message] **************************************************** task path: /WORKDIR/git-weekly-ciuory3ar6/tests/playbooks/tasks/run_test.yml:61 Saturday 08 June 2024 13:29:22 +0000 (0:00:00.014) 0:01:08.455 ********* fatal: [sut]: FAILED! => { "changed": false } MSG: !!!!! Failure in test 'Given two DHCP-enabled network interfaces, when creating a bond profile with them, then the controller device and bond port profiles are present and the specified bond options are set for the controller device.' !!!!! TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-ciuory3ar6/tests/playbooks/tasks/run_test.yml:66 Saturday 08 June 2024 13:29:22 +0000 (0:00:00.011) 0:01:08.467 ********* included: /WORKDIR/git-weekly-ciuory3ar6/tests/playbooks/tasks/cleanup_bond_profile+device.yml for sut included: /WORKDIR/git-weekly-ciuory3ar6/tests/playbooks/tasks/remove_test_interfaces_with_dhcp.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciuory3ar6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 08 June 2024 13:29:22 +0000 (0:00:00.094) 0:01:08.561 ********* included: /WORKDIR/git-weekly-ciuory3ar6/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-weekly-ciuory3ar6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 08 June 2024 13:29:22 +0000 (0:00:00.021) 0:01:08.583 ********* 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-weekly-ciuory3ar6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 08 June 2024 13:29:22 +0000 (0:00:00.012) 0:01:08.595 ********* 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-weekly-ciuory3ar6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 08 June 2024 13:29:22 +0000 (0:00:00.011) 0:01:08.606 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-ciuory3ar6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 08 June 2024 13:29:22 +0000 (0:00:00.011) 0:01:08.618 ********* 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-weekly-ciuory3ar6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 08 June 2024 13:29:24 +0000 (0:00:01.550) 0:01:10.168 ********* 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-weekly-ciuory3ar6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 08 June 2024 13:29:25 +0000 (0:00:01.391) 0:01:11.560 ********* ok: [sut] => {} MSG: Using network provider: nm 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-weekly-ciuory3ar6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 08 June 2024 13:29:25 +0000 (0:00:00.023) 0:01:11.583 ********* 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-weekly-ciuory3ar6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 08 June 2024 13:29:25 +0000 (0:00:00.040) 0:01:11.624 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-ciuory3ar6/tests/roles/linux-system-roles.network/tasks/main.yml:28 Saturday 08 June 2024 13:29:25 +0000 (0:00:00.022) 0:01:11.647 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-ciuory3ar6/tests/roles/linux-system-roles.network/tasks/main.yml:43 Saturday 08 June 2024 13:29:25 +0000 (0:00:00.027) 0:01:11.675 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-ciuory3ar6/tests/roles/linux-system-roles.network/tasks/main.yml:57 Saturday 08 June 2024 13:29:26 +0000 (0:00:00.023) 0:01:11.698 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciuory3ar6/tests/roles/linux-system-roles.network/tasks/main.yml:77 Saturday 08 June 2024 13:29:26 +0000 (0:00:00.028) 0:01:11.726 ********* 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-weekly-ciuory3ar6/tests/roles/linux-system-roles.network/tasks/main.yml:90 Saturday 08 June 2024 13:29:26 +0000 (0:00:00.043) 0:01:11.770 ********* 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-weekly-ciuory3ar6/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 08 June 2024 13:29:26 +0000 (0:00:00.022) 0:01:11.792 ********* 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-weekly-ciuory3ar6/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 08 June 2024 13:29:26 +0000 (0:00:00.022) 0:01:11.814 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciuory3ar6/tests/roles/linux-system-roles.network/tasks/main.yml:136 Saturday 08 June 2024 13:29:26 +0000 (0:00:00.028) 0:01:11.843 ********* 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-weekly-ciuory3ar6/tests/roles/linux-system-roles.network/tasks/main.yml:147 Saturday 08 June 2024 13:29:26 +0000 (0:00:00.498) 0:01:12.341 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciuory3ar6/tests/roles/linux-system-roles.network/tasks/main.yml:156 Saturday 08 June 2024 13:29:26 +0000 (0:00:00.027) 0:01:12.368 ********* 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-ciuory3ar6/tests/roles/linux-system-roles.network/tasks/main.yml:164 Saturday 08 June 2024 13:29:26 +0000 (0:00:00.021) 0:01:12.389 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciuory3ar6/tests/roles/linux-system-roles.network/tasks/main.yml:173 Saturday 08 June 2024 13:29:26 +0000 (0:00:00.021) 0:01:12.411 ********* ok: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "bond0.1", "persistent_state": "absent", "state": "down" }, { "name": "bond0.0", "persistent_state": "absent", "state": "down" }, { "name": "bond0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [004] #0, state:down persistent_state:absent, 'bond0.1': no connection matches 'bond0.1' to delete [005] #1, state:down persistent_state:absent, 'bond0.0': no connection matches 'bond0.0' to delete [006] #2, state:down persistent_state:absent, 'bond0': no connection matches 'bond0' to delete TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-ciuory3ar6/tests/roles/linux-system-roles.network/tasks/main.yml:185 Saturday 08 June 2024 13:29:27 +0000 (0:00:00.628) 0:01:13.039 ********* 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-weekly-ciuory3ar6/tests/roles/linux-system-roles.network/tasks/main.yml:191 Saturday 08 June 2024 13:29:27 +0000 (0:00:00.023) 0:01:13.063 ********* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[004] #0, state:down persistent_state:absent, 'bond0.1': no connection matches 'bond0.1' to delete", "[005] #1, state:down persistent_state:absent, 'bond0.0': no connection matches 'bond0.0' to delete", "[006] #2, state:down persistent_state:absent, 'bond0': no connection matches 'bond0' to delete" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciuory3ar6/tests/roles/linux-system-roles.network/tasks/main.yml:195 Saturday 08 June 2024 13:29:27 +0000 (0:00:00.023) 0:01:13.087 ********* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "bond0.1", "persistent_state": "absent", "state": "down" }, { "name": "bond0.0", "persistent_state": "absent", "state": "down" }, { "name": "bond0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[004] #0, state:down persistent_state:absent, 'bond0.1': no connection matches 'bond0.1' to delete\n[005] #1, state:down persistent_state:absent, 'bond0.0': no connection matches 'bond0.0' to delete\n[006] #2, state:down persistent_state:absent, 'bond0': no connection matches 'bond0' to delete\n", "stderr_lines": [ "[004] #0, state:down persistent_state:absent, 'bond0.1': no connection matches 'bond0.1' to delete", "[005] #1, state:down persistent_state:absent, 'bond0.0': no connection matches 'bond0.0' to delete", "[006] #2, state:down persistent_state:absent, 'bond0': no connection matches 'bond0' to delete" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-ciuory3ar6/tests/roles/linux-system-roles.network/tasks/main.yml:200 Saturday 08 June 2024 13:29:27 +0000 (0:00:00.024) 0:01:13.111 ********* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciuory3ar6/tests/roles/linux-system-roles.network/tasks/main.yml:206 Saturday 08 June 2024 13:29:27 +0000 (0:00:00.024) 0:01:13.135 ********* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Delete the device 'nm-bond'] ********************************************* task path: /WORKDIR/git-weekly-ciuory3ar6/tests/playbooks/tasks/cleanup_bond_profile+device.yml:22 Saturday 08 June 2024 13:29:27 +0000 (0:00:00.250) 0:01:13.386 ********* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "nm-bond" ], "delta": "0:00:00.009545", "end": "2024-06-08 09:29:27.877199", "failed_when_result": false, "rc": 1, "start": "2024-06-08 09:29:27.867654" } STDERR: Cannot find device "nm-bond" MSG: non-zero return code TASK [Remove test interfaces] ************************************************** task path: /WORKDIR/git-weekly-ciuory3ar6/tests/playbooks/tasks/remove_test_interfaces_with_dhcp.yml:3 Saturday 08 June 2024 13:29:27 +0000 (0:00:00.212) 0:01:13.598 ********* ok: [sut] => { "changed": false, "cmd": "set -euxo pipefail\nexec 1>&2\nrc=0\nip link delete test1 || rc=\"$?\"\nif [ \"$rc\" != 0 ]; then\n echo ERROR - could not delete link test1 - error \"$rc\"\nfi\nip link delete test2 || rc=\"$?\"\nif [ \"$rc\" != 0 ]; then\n echo ERROR - could not delete link test2 - error \"$rc\"\nfi\nip link delete testbr || rc=\"$?\"\nif [ \"$rc\" != 0 ]; then\n echo ERROR - could not delete link testbr - error \"$rc\"\nfi\n", "delta": "0:00:00.015186", "end": "2024-06-08 09:29:28.094521", "rc": 0, "start": "2024-06-08 09:29:28.079335" } STDERR: + exec + rc=0 + ip link delete test1 Cannot find device "test1" + rc=1 + '[' 1 '!=' 0 ']' + echo ERROR - could not delete link test1 - error 1 ERROR - could not delete link test1 - error 1 + ip link delete test2 Cannot find device "test2" + rc=1 + '[' 1 '!=' 0 ']' + echo ERROR - could not delete link test2 - error 1 ERROR - could not delete link test2 - error 1 + ip link delete testbr Cannot find device "testbr" + rc=1 + '[' 1 '!=' 0 ']' + echo ERROR - could not delete link testbr - error 1 ERROR - could not delete link testbr - error 1 TASK [Stop dnsmasq/radvd services] ********************************************* task path: /WORKDIR/git-weekly-ciuory3ar6/tests/playbooks/tasks/remove_test_interfaces_with_dhcp.yml:23 Saturday 08 June 2024 13:29:28 +0000 (0:00:00.217) 0:01:13.816 ********* ok: [sut] => { "changed": false, "cmd": "set -uxo pipefail\nexec 1>&2\npkill -F /run/dhcp_testbr.pid\nrm -rf /run/dhcp_testbr.pid\nrm -rf /run/dhcp_testbr.lease\nif grep 'release 6' /etc/redhat-release; then\n # Stop radvd server\n service radvd stop\n iptables -D INPUT -i testbr -p udp --dport 67:68 --sport 67:68 -j ACCEPT\nfi\n", "delta": "0:00:00.010983", "end": "2024-06-08 09:29:28.309475", "rc": 0, "start": "2024-06-08 09:29:28.298492" } STDERR: + exec + pkill -F /run/dhcp_testbr.pid pkill: pidfile not valid Try `pkill --help' for more information. + rm -rf /run/dhcp_testbr.pid + rm -rf /run/dhcp_testbr.lease + grep 'release 6' /etc/redhat-release to retry, use: --limit @/tmp/tests_bond_options_nm.retry PLAY RECAP ********************************************************************* sut : ok=37 changed=0 unreachable=0 failed=1 skipped=21 rescued=1 ignored=0 Saturday 08 June 2024 13:29:28 +0000 (0:00:00.203) 0:01:14.020 ********* =============================================================================== Install dnsmasq -------------------------------------------------------- 65.44s /WORKDIR/git-weekly-ciuory3ar6/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:3 linux-system-roles.network : Check which services are running ----------- 1.55s /WORKDIR/git-weekly-ciuory3ar6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.39s /WORKDIR/git-weekly-ciuory3ar6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Gathering Facts --------------------------------------------------------- 0.71s /WORKDIR/git-weekly-ciuory3ar6/tests/tests_bond_options_nm.yml:6 -------------- linux-system-roles.network : Configure networking connection profiles --- 0.63s /WORKDIR/git-weekly-ciuory3ar6/tests/roles/linux-system-roles.network/tasks/main.yml:173 linux-system-roles.network : Enable and start NetworkManager ------------ 0.50s /WORKDIR/git-weekly-ciuory3ar6/tests/roles/linux-system-roles.network/tasks/main.yml:136 Gathering Facts --------------------------------------------------------- 0.48s /WORKDIR/git-weekly-ciuory3ar6/tests/playbooks/tests_bond_options.yml:3 ------- Enable EPEL 8 ----------------------------------------------------------- 0.46s /WORKDIR/git-weekly-ciuory3ar6/tests/tasks/enable_epel.yml:35 ----------------- Gather the minimum subset of ansible_facts required by the network role test --- 0.33s /WORKDIR/git-weekly-ciuory3ar6/tests/tasks/el_repo_setup.yml:3 ---------------- Check if system is ostree ----------------------------------------------- 0.26s /WORKDIR/git-weekly-ciuory3ar6/tests/tasks/el_repo_setup.yml:19 --------------- linux-system-roles.network : Re-test connectivity ----------------------- 0.25s /WORKDIR/git-weekly-ciuory3ar6/tests/roles/linux-system-roles.network/tasks/main.yml:206 Create EPEL 8 ----------------------------------------------------------- 0.24s /WORKDIR/git-weekly-ciuory3ar6/tests/tasks/enable_epel.yml:8 ------------------ Remove test interfaces -------------------------------------------------- 0.22s /WORKDIR/git-weekly-ciuory3ar6/tests/playbooks/tasks/remove_test_interfaces_with_dhcp.yml:3 Delete the device 'nm-bond' --------------------------------------------- 0.21s /WORKDIR/git-weekly-ciuory3ar6/tests/playbooks/tasks/cleanup_bond_profile+device.yml:22 Stop dnsmasq/radvd services --------------------------------------------- 0.20s /WORKDIR/git-weekly-ciuory3ar6/tests/playbooks/tasks/remove_test_interfaces_with_dhcp.yml:23 Gather current interface info ------------------------------------------- 0.20s /WORKDIR/git-weekly-ciuory3ar6/tests/playbooks/tasks/get_current_interfaces.yml:3 Cleanup ----------------------------------------------------------------- 0.09s /WORKDIR/git-weekly-ciuory3ar6/tests/playbooks/tasks/run_test.yml:66 ---------- Include the task 'enable_epel.yml' -------------------------------------- 0.04s /WORKDIR/git-weekly-ciuory3ar6/tests/tasks/el_repo_setup.yml:53 --------------- linux-system-roles.network : Install packages --------------------------- 0.04s /WORKDIR/git-weekly-ciuory3ar6/tests/roles/linux-system-roles.network/tasks/main.yml:77 linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider --- 0.04s /WORKDIR/git-weekly-ciuory3ar6/tests/roles/linux-system-roles.network/tasks/main.yml:11 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---