# 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-bond_options_rewrite4wjuc8m3/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-bond_options_rewrite4wjuc8m3/tests/tests_bond_options_nm.yml:6 Tuesday 06 February 2024 16:36:40 +0000 (0:00:00.011) 0:00:00.011 ****** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/tests_bond_options_nm.yml:9 Tuesday 06 February 2024 16:37:11 +0000 (0:00:30.611) 0:00:30.623 ****** included: /WORKDIR/git-bond_options_rewrite4wjuc8m3/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_rewrite4wjuc8m3/tests/tasks/el_repo_setup.yml:3 Tuesday 06 February 2024 16:37:11 +0000 (0:00:00.021) 0:00:30.645 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/tasks/el_repo_setup.yml:19 Tuesday 06 February 2024 16:37:41 +0000 (0:00:30.341) 0:01:00.986 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/tasks/el_repo_setup.yml:24 Tuesday 06 February 2024 16:37:41 +0000 (0:00:00.275) 0:01:01.261 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/tasks/el_repo_setup.yml:28 Tuesday 06 February 2024 16:37:41 +0000 (0:00:00.020) 0:01:01.281 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/tasks/el_repo_setup.yml:53 Tuesday 06 February 2024 16:37:41 +0000 (0:00:00.017) 0:01:01.299 ****** included: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/tasks/enable_epel.yml:8 Tuesday 06 February 2024 16:37:41 +0000 (0:00:00.032) 0:01:01.331 ****** 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_rewrite4wjuc8m3/tests/tasks/enable_epel.yml:24 Tuesday 06 February 2024 16:37:42 +0000 (0:00:00.260) 0:01:01.592 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/tasks/enable_epel.yml:30 Tuesday 06 February 2024 16:37:42 +0000 (0:00:00.010) 0:01:01.602 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/tasks/enable_epel.yml:35 Tuesday 06 February 2024 16:37:42 +0000 (0:00:00.010) 0:01:01.613 ****** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.252209", "end": "2024-02-06 16:37:42.519149", "rc": 0, "start": "2024-02-06 16:37:42.266940" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/tasks/enable_epel.yml:40 Tuesday 06 February 2024 16:37:42 +0000 (0:00:00.438) 0:01:02.052 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/tests_bond_options_nm.yml:11 Tuesday 06 February 2024 16:37:42 +0000 (0:00:00.009) 0:01:02.061 ****** 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-bond_options_rewrite4wjuc8m3/tests/playbooks/tests_bond_options.yml:3 Tuesday 06 February 2024 16:37:42 +0000 (0:00:00.010) 0:01:02.072 ****** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tests_bond_options.yml:15 Tuesday 06 February 2024 16:38:13 +0000 (0:00:30.486) 0:01:32.559 ****** ok: [sut] => {} MSG: this is: playbooks/tests_bond_options.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tests_bond_options.yml:25 Tuesday 06 February 2024 16:38:13 +0000 (0:00:00.011) 0:01:32.570 ****** included: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: Create a bond interface with bond options] ************************* task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 16:38:13 +0000 (0:00:00.015) 0:01:32.586 ****** ok: [sut] => {} MSG: ########## Create a bond interface with bond options ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 16:38:13 +0000 (0:00:00.010) 0:01:32.596 ****** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "Create a bond interface with bond options" } 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-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 16:38:13 +0000 (0:00:00.031) 0:01:32.628 ****** included: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 16:38:13 +0000 (0:00:00.013) 0:01:32.641 ****** included: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 16:38:13 +0000 (0:00:00.012) 0:01:32.654 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003600", "end": "2024-02-06 16:38:13.311439", "rc": 0, "start": "2024-02-06 16:38:13.307839" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 16:38:13 +0000 (0:00:00.187) 0:01:32.842 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 16:38:13 +0000 (0:00:00.011) 0:01:32.853 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 16:38:13 +0000 (0:00:00.010) 0:01:32.863 ****** included: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml for sut statically imported: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/assert_device_present.yml statically imported: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/assert_device_present.yml included: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/assert_dhcp_device_present.yml for sut TASK [Install dnsmasq] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:3 Tuesday 06 February 2024 16:38:13 +0000 (0:00:00.026) 0:01:32.890 ****** 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 'epel': Cannot prepare internal mirrorlist: Curl error (6): Couldn't resolve host name for https://mirrors.fedoraproject.org/metalink?repo=epel-8&arch=x86_64&infra=stock&content=centos [Could not resolve host: mirrors.fedoraproject.org] TASK [Failure in test 'Create a bond interface with bond options'] ************* task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/run_test.yml:52 Tuesday 06 February 2024 17:07:26 +0000 (0:29:13.573) 0:30:46.464 ****** ok: [sut] => {} MSG: !!!!! Failure in test 'Create a bond interface with bond options' !!!!! TASK [Show item that failed] *************************************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/run_test.yml:56 Tuesday 06 February 2024 17:07:26 +0000 (0:00:00.010) 0:30:46.474 ****** 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-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/run_test.yml:61 Tuesday 06 February 2024 17:07:26 +0000 (0:00:00.013) 0:30:46.488 ****** fatal: [sut]: FAILED! => { "changed": false } MSG: !!!!! Failure in test 'Create a bond interface with bond options' !!!!! TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 17:07:26 +0000 (0:00:00.010) 0:30:46.499 ****** included: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/cleanup_bond_profile+device.yml for sut included: /WORKDIR/git-bond_options_rewrite4wjuc8m3/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-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 17:07:27 +0000 (0:00:00.042) 0:30:46.541 ****** included: /WORKDIR/git-bond_options_rewrite4wjuc8m3/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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 17:07:27 +0000 (0:00:00.068) 0:30:46.609 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 17:07:27 +0000 (0:00:00.011) 0:30:46.621 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 17:07:27 +0000 (0:00:00.009) 0:30:46.631 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 17:07:27 +0000 (0:00:00.009) 0:30:46.640 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 17:07:28 +0000 (0:00:01.579) 0:30:48.219 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 17:07:30 +0000 (0:00:01.470) 0:30:49.690 ****** 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-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 17:07:30 +0000 (0:00:00.021) 0:30:49.711 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 17:07:30 +0000 (0:00:00.020) 0:30:49.732 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 17:07:30 +0000 (0:00:00.020) 0:30:49.752 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 17:07:30 +0000 (0:00:00.042) 0:30:49.795 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 17:07:30 +0000 (0:00:00.020) 0:30:49.815 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 17:07:30 +0000 (0:00:00.020) 0:30:49.836 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 17:07:30 +0000 (0:00:00.024) 0:30:49.860 ****** 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-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 17:07:30 +0000 (0:00:00.478) 0:30:50.339 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 17:07:30 +0000 (0:00:00.026) 0:30:50.365 ****** 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-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 17:07:30 +0000 (0:00:00.020) 0:30:50.386 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 17:07:30 +0000 (0:00:00.019) 0:30:50.406 ****** 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-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 17:07:31 +0000 (0:00:00.514) 0:30:50.920 ****** 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_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 17:07:31 +0000 (0:00:00.022) 0:30:50.942 ****** 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-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 17:07:31 +0000 (0:00:00.022) 0:30:50.965 ****** 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-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 17:07:31 +0000 (0:00:00.022) 0:30:50.988 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 17:07:31 +0000 (0:00:00.020) 0:30:51.008 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Delete the device 'nm-bond'] ********************************************* task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/cleanup_bond_profile+device.yml:22 Tuesday 06 February 2024 17:07:31 +0000 (0:00:00.239) 0:30:51.247 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "nm-bond" ], "delta": "0:00:00.009497", "end": "2024-02-06 17:07:31.910797", "failed_when_result": false, "rc": 1, "start": "2024-02-06 17:07:31.901300" } STDERR: Cannot find device "nm-bond" MSG: non-zero return code TASK [Remove test interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/remove_test_interfaces_with_dhcp.yml:3 Tuesday 06 February 2024 17:07:31 +0000 (0:00:00.204) 0:30:51.452 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "ip link delete test1\nip link delete test2\nip link delete testbr\n", "delta": "0:00:00.015945", "end": "2024-02-06 17:07:32.125105", "rc": 1, "start": "2024-02-06 17:07:32.109160" } STDERR: Cannot find device "test1" Cannot find device "test2" Cannot find device "testbr" MSG: non-zero return code to retry, use: --limit @/tmp/tests_bond_options_nm.retry PLAY RECAP ********************************************************************* sut : ok=35 changed=0 unreachable=0 failed=2 skipped=18 rescued=1 ignored=0 Tuesday 06 February 2024 17:07:32 +0000 (0:00:00.201) 0:30:51.653 ****** =============================================================================== Install dnsmasq ------------------------------------------------------ 1753.57s /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:3 Gathering Facts -------------------------------------------------------- 30.61s /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/tests_bond_options_nm.yml:6 --- Gathering Facts -------------------------------------------------------- 30.49s /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tests_bond_options.yml:3 Gather the minimum subset of ansible_facts required by the network role test -- 30.34s /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/tasks/el_repo_setup.yml:3 ----- linux-system-roles.network : Check which services are running ----------- 1.58s /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.47s /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Configure networking connection profiles --- 0.51s /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Enable and start NetworkManager ------------ 0.48s /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:88 Enable EPEL 8 ----------------------------------------------------------- 0.44s /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/tasks/enable_epel.yml:35 ------ Check if system is ostree ----------------------------------------------- 0.28s /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/tasks/el_repo_setup.yml:19 ---- Create EPEL 8 ----------------------------------------------------------- 0.26s /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/tasks/enable_epel.yml:8 ------- linux-system-roles.network : Re-test connectivity ----------------------- 0.24s /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:158 Delete the device 'nm-bond' --------------------------------------------- 0.20s /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/cleanup_bond_profile+device.yml:22 Remove test interfaces -------------------------------------------------- 0.20s /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/remove_test_interfaces_with_dhcp.yml:3 Gather current interface info ------------------------------------------- 0.19s /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/get_current_interfaces.yml:3 linux-system-roles.network : Ensure ansible_facts used by role ---------- 0.07s /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:4 linux-system-roles.network : Install packages --------------------------- 0.04s /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/roles/linux-system-roles.network/tasks/main.yml:30 Cleanup ----------------------------------------------------------------- 0.04s /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/run_test.yml:66 Include the task 'enable_epel.yml' -------------------------------------- 0.03s /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/tasks/el_repo_setup.yml:53 ---- Show item --------------------------------------------------------------- 0.03s /WORKDIR/git-bond_options_rewrite4wjuc8m3/tests/playbooks/tasks/run_test.yml:9 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---