# STDOUT: ---v---v---v---v---v--- ansible-playbook [core 2.16.0] 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.16/lib/python3.11/site-packages/ansible ansible collection location = /WORKDIR/git-bond_options_rewritehu9360a7/.collection executable location = /opt/ansible-2.16/bin/ansible-playbook python version = 3.11.5 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] (/opt/ansible-2.16/bin/python) jinja version = 3.1.2 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_bond_options_nm.yml ******************************************** 2 plays in /WORKDIR/git-bond_options_rewritehu9360a7/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_rewritehu9360a7/tests/tests_bond_options_nm.yml:6 Tuesday 30 January 2024 22:03:49 +0000 (0:00:00.016) 0:00:00.016 ******* ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewritehu9360a7/tests/tests_bond_options_nm.yml:9 Tuesday 30 January 2024 22:04:19 +0000 (0:00:30.872) 0:00:30.889 ******* included: /WORKDIR/git-bond_options_rewritehu9360a7/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_rewritehu9360a7/tests/tasks/el_repo_setup.yml:3 Tuesday 30 January 2024 22:04:19 +0000 (0:00:00.015) 0:00:30.904 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewritehu9360a7/tests/tasks/el_repo_setup.yml:17 Tuesday 30 January 2024 22:04:50 +0000 (0:00:30.369) 0:01:01.273 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewritehu9360a7/tests/tasks/el_repo_setup.yml:22 Tuesday 30 January 2024 22:04:50 +0000 (0:00:00.286) 0:01:01.560 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewritehu9360a7/tests/tasks/el_repo_setup.yml:26 Tuesday 30 January 2024 22:04:50 +0000 (0:00:00.024) 0:01:01.584 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewritehu9360a7/tests/tasks/el_repo_setup.yml:51 Tuesday 30 January 2024 22:04:50 +0000 (0:00:00.016) 0:01:01.601 ******* included: /WORKDIR/git-bond_options_rewritehu9360a7/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewritehu9360a7/tests/tasks/enable_epel.yml:8 Tuesday 30 January 2024 22:04:50 +0000 (0:00:00.036) 0:01:01.638 ******* ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "delta": null, "end": null, "rc": 0, "start": null } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists MSG: Did not run command since '/etc/yum.repos.d/epel.repo' exists TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-bond_options_rewritehu9360a7/tests/tasks/enable_epel.yml:24 Tuesday 30 January 2024 22:04:50 +0000 (0:00:00.306) 0:01:01.945 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewritehu9360a7/tests/tasks/enable_epel.yml:30 Tuesday 30 January 2024 22:04:51 +0000 (0:00:00.012) 0:01:01.957 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewritehu9360a7/tests/tasks/enable_epel.yml:35 Tuesday 30 January 2024 22:04:51 +0000 (0:00:00.013) 0:01:01.971 ******* ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.247137", "end": "2024-01-30 22:04:51.446401", "rc": 0, "start": "2024-01-30 22:04:51.199264" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewritehu9360a7/tests/tasks/enable_epel.yml:40 Tuesday 30 January 2024 22:04:51 +0000 (0:00:00.446) 0:01:02.418 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-bond_options_rewritehu9360a7/tests/tests_bond_options_nm.yml:11 Tuesday 30 January 2024 22:04:51 +0000 (0:00:00.011) 0:01:02.429 ******* ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing bond options] ******************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tests_bond_options.yml:3 Tuesday 30 January 2024 22:04:51 +0000 (0:00:00.020) 0:01:02.450 ******* ok: [sut] TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tests_bond_options.yml:15 Tuesday 30 January 2024 22:05:22 +0000 (0:00:30.640) 0:01:33.091 ******* ok: [sut] => {} MSG: this is: playbooks/tests_bond_options.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tests_bond_options.yml:25 Tuesday 30 January 2024 22:05:22 +0000 (0:00:00.013) 0:01:33.104 ******* included: /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: Create a bond interface with bond options] ************************* task path: /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tasks/run_test.yml:5 Tuesday 30 January 2024 22:05:22 +0000 (0:00:00.019) 0:01:33.123 ******* ok: [sut] => {} MSG: ########## Create a bond interface with bond options ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tasks/run_test.yml:9 Tuesday 30 January 2024 22:05:22 +0000 (0:00:00.013) 0:01:33.137 ******* 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. '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_rewritehu9360a7/tests/playbooks/tasks/run_test.yml:21 Tuesday 30 January 2024 22:05:22 +0000 (0:00:00.038) 0:01:33.175 ******* included: /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 30 January 2024 22:05:22 +0000 (0:00:00.015) 0:01:33.191 ******* included: /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 30 January 2024 22:05:22 +0000 (0:00:00.015) 0:01:33.207 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003545", "end": "2024-01-30 22:05:22.432781", "rc": 0, "start": "2024-01-30 22:05:22.429236" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 30 January 2024 22:05:22 +0000 (0:00:00.197) 0:01:33.404 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 30 January 2024 22:05:22 +0000 (0:00:00.016) 0:01:33.421 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tasks/run_test.yml:24 Tuesday 30 January 2024 22:05:22 +0000 (0:00:00.015) 0:01:33.436 ******* included: /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml for sut => (item=tasks/create_test_interfaces_with_dhcp.yml) statically imported: /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tasks/assert_device_present.yml statically imported: /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tasks/assert_device_present.yml included: /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tasks/assert_dhcp_device_present.yml for sut => (item=tasks/assert_dhcp_device_present.yml) TASK [Install dnsmasq] ********************************************************* task path: /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:3 Tuesday 30 January 2024 22:05:22 +0000 (0:00:00.030) 0:01:33.467 ******* fatal: [sut]: FAILED! => { "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_rewritehu9360a7/tests/playbooks/tasks/run_test.yml:52 Tuesday 30 January 2024 22:09:24 +0000 (0:04:02.123) 0:05:35.590 ******* ok: [sut] => {} MSG: !!!!! Failure in test 'Create a bond interface with bond options' !!!!! TASK [Show item that failed] *************************************************** task path: /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tasks/run_test.yml:56 Tuesday 30 January 2024 22:09:24 +0000 (0:00:00.015) 0:05:35.606 ******* ok: [sut] => (item=__network_connections_result) => { "__network_connections_result": "VARIABLE IS NOT DEFINED!: '__network_connections_result' is undefined. '__network_connections_result' is undefined", "ansible_loop_var": "item", "item": "__network_connections_result" } TASK [Issue failed message] **************************************************** task path: /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tasks/run_test.yml:61 Tuesday 30 January 2024 22:09:24 +0000 (0:00:00.028) 0:05:35.634 ******* fatal: [sut]: FAILED! => { "changed": false } MSG: !!!!! Failure in test 'Create a bond interface with bond options' !!!!! TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tasks/run_test.yml:66 Tuesday 30 January 2024 22:09:24 +0000 (0:00:00.015) 0:05:35.650 ******* included: /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tasks/cleanup_bond_profile+device.yml for sut => (item=tasks/cleanup_bond_profile+device.yml) included: /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tasks/remove_test_interfaces_with_dhcp.yml for sut => (item=tasks/remove_test_interfaces_with_dhcp.yml) TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 30 January 2024 22:09:24 +0000 (0:00:00.059) 0:05:35.710 ******* included: /WORKDIR/git-bond_options_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-bond_options_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 30 January 2024 22:09:24 +0000 (0:00:00.031) 0:05:35.741 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-bond_options_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 30 January 2024 22:09:24 +0000 (0:00:00.028) 0:05:35.769 ******* skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-bond_options_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 30 January 2024 22:09:24 +0000 (0:00:00.018) 0:05:35.787 ******* skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-bond_options_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 30 January 2024 22:09:24 +0000 (0:00:00.015) 0:05:35.802 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-bond_options_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 30 January 2024 22:09:26 +0000 (0:00:01.680) 0:05:37.483 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-bond_options_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 30 January 2024 22:09:28 +0000 (0:00:01.581) 0:05:39.064 ******* ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.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_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 30 January 2024 22:09:28 +0000 (0:00:00.038) 0:05:39.102 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.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_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 30 January 2024 22:09:28 +0000 (0:00:00.041) 0:05:39.144 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-bond_options_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 30 January 2024 22:09:28 +0000 (0:00:00.040) 0:05:39.184 ******* skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 30 January 2024 22:09:28 +0000 (0:00:00.101) 0:05:39.286 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 30 January 2024 22:09:28 +0000 (0:00:00.039) 0:05:39.326 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 30 January 2024 22:09:28 +0000 (0:00:00.042) 0:05:39.369 ******* skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-bond_options_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 30 January 2024 22:09:28 +0000 (0:00:00.051) 0:05:39.420 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-bond_options_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 30 January 2024 22:09:29 +0000 (0:00:00.705) 0:05:40.125 ******* skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-bond_options_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 30 January 2024 22:09:29 +0000 (0:00:00.142) 0:05:40.268 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 30 January 2024 22:09:29 +0000 (0:00:00.038) 0:05:40.307 ******* skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 30 January 2024 22:09:29 +0000 (0:00:00.029) 0:05:40.336 ******* 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 [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 30 January 2024 22:09:30 +0000 (0:00:00.622) 0:05:40.958 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 30 January 2024 22:09:30 +0000 (0:00:00.043) 0:05:41.001 ******* 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 [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 30 January 2024 22:09:30 +0000 (0:00:00.036) 0:05:41.038 ******* 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 [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 30 January 2024 22:09:30 +0000 (0:00:00.042) 0:05:41.081 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 30 January 2024 22:09:30 +0000 (0:00:00.042) 0:05:41.123 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Delete the device 'nm-bond'] ********************************************* task path: /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tasks/cleanup_bond_profile+device.yml:22 Tuesday 30 January 2024 22:09:30 +0000 (0:00:00.341) 0:05:41.464 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "nm-bond" ], "delta": "0:00:00.008673", "end": "2024-01-30 22:09:30.698963", "failed_when_result": false, "rc": 1, "start": "2024-01-30 22:09:30.690290" } STDERR: Cannot find device "nm-bond" MSG: non-zero return code TASK [Remove test interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tasks/remove_test_interfaces_with_dhcp.yml:3 Tuesday 30 January 2024 22:09:30 +0000 (0:00:00.216) 0:05:41.681 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "ip link delete test1\nip link delete test2\nip link delete testbr\n", "delta": "0:00:00.015852", "end": "2024-01-30 22:09:30.918976", "rc": 1, "start": "2024-01-30 22:09:30.903124" } 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 30 January 2024 22:09:30 +0000 (0:00:00.206) 0:05:41.888 ******* =============================================================================== Install dnsmasq ------------------------------------------------------- 242.12s /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:3 Gathering Facts -------------------------------------------------------- 30.87s /WORKDIR/git-bond_options_rewritehu9360a7/tests/tests_bond_options_nm.yml:6 --- Gathering Facts -------------------------------------------------------- 30.64s /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tests_bond_options.yml:3 Gather the minimum subset of ansible_facts required by the network role test -- 30.37s /WORKDIR/git-bond_options_rewritehu9360a7/tests/tasks/el_repo_setup.yml:3 ----- fedora.linux_system_roles.network : Check which services are running ---- 1.68s /WORKDIR/git-bond_options_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.58s /WORKDIR/git-bond_options_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.71s /WORKDIR/git-bond_options_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.62s /WORKDIR/git-bond_options_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Enable EPEL 8 ----------------------------------------------------------- 0.45s /WORKDIR/git-bond_options_rewritehu9360a7/tests/tasks/enable_epel.yml:35 ------ fedora.linux_system_roles.network : Re-test connectivity ---------------- 0.34s /WORKDIR/git-bond_options_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Create EPEL 8 ----------------------------------------------------------- 0.31s /WORKDIR/git-bond_options_rewritehu9360a7/tests/tasks/enable_epel.yml:8 ------- Check if system is ostree ----------------------------------------------- 0.29s /WORKDIR/git-bond_options_rewritehu9360a7/tests/tasks/el_repo_setup.yml:17 ---- Delete the device 'nm-bond' --------------------------------------------- 0.22s /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tasks/cleanup_bond_profile+device.yml:22 Remove test interfaces -------------------------------------------------- 0.21s /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tasks/remove_test_interfaces_with_dhcp.yml:3 Gather current interface info ------------------------------------------- 0.20s /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tasks/get_current_interfaces.yml:3 fedora.linux_system_roles.network : Enable and start wpa_supplicant ----- 0.14s /WORKDIR/git-bond_options_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 fedora.linux_system_roles.network : Install packages -------------------- 0.10s /WORKDIR/git-bond_options_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Cleanup ----------------------------------------------------------------- 0.06s /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tasks/run_test.yml:66 fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces --- 0.05s /WORKDIR/git-bond_options_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 fedora.linux_system_roles.network : Configure networking state ---------- 0.04s /WORKDIR/git-bond_options_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---