# 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 statically imported: /WORKDIR/git-code_refactorwk092_tu/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml statically imported: /WORKDIR/git-code_refactorwk092_tu/tests/playbooks/tasks/assert_device_present.yml statically imported: /WORKDIR/git-code_refactorwk092_tu/tests/playbooks/tasks/assert_device_present.yml statically imported: /WORKDIR/git-code_refactorwk092_tu/tests/playbooks/tasks/assert_device_present.yml statically imported: /WORKDIR/git-code_refactorwk092_tu/tests/playbooks/tasks/remove_test_interfaces_with_dhcp.yml 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-code_refactorwk092_tu/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-code_refactorwk092_tu/tests/tests_bond_options_nm.yml:5 Thursday 30 November 2023 17:01:39 +0000 (0:00:00.024) 0:00:00.024 ***** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-code_refactorwk092_tu/tests/tests_bond_options_nm.yml:9 Thursday 30 November 2023 17:02:10 +0000 (0:00:30.747) 0:00:30.771 ***** included: /WORKDIR/git-code_refactorwk092_tu/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-code_refactorwk092_tu/tests/tasks/el_repo_setup.yml:3 Thursday 30 November 2023 17:02:10 +0000 (0:00:00.021) 0:00:30.793 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-code_refactorwk092_tu/tests/tasks/el_repo_setup.yml:19 Thursday 30 November 2023 17:02:40 +0000 (0:00:30.385) 0:01:01.178 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-code_refactorwk092_tu/tests/tasks/el_repo_setup.yml:24 Thursday 30 November 2023 17:02:40 +0000 (0:00:00.332) 0:01:01.511 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-code_refactorwk092_tu/tests/tasks/el_repo_setup.yml:28 Thursday 30 November 2023 17:02:40 +0000 (0:00:00.032) 0:01:01.543 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-code_refactorwk092_tu/tests/tasks/el_repo_setup.yml:53 Thursday 30 November 2023 17:02:40 +0000 (0:00:00.028) 0:01:01.571 ***** included: /WORKDIR/git-code_refactorwk092_tu/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-code_refactorwk092_tu/tests/tasks/enable_epel.yml:8 Thursday 30 November 2023 17:02:40 +0000 (0:00:00.065) 0:01:01.637 ***** 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-code_refactorwk092_tu/tests/tasks/enable_epel.yml:24 Thursday 30 November 2023 17:02:41 +0000 (0:00:00.333) 0:01:01.970 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-code_refactorwk092_tu/tests/tasks/enable_epel.yml:30 Thursday 30 November 2023 17:02:41 +0000 (0:00:00.019) 0:01:01.990 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-code_refactorwk092_tu/tests/tasks/enable_epel.yml:35 Thursday 30 November 2023 17:02:41 +0000 (0:00:00.022) 0:01:02.012 ***** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.408177", "end": "2023-11-30 17:02:41.844137", "rc": 0, "start": "2023-11-30 17:02:41.435960" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-code_refactorwk092_tu/tests/tasks/enable_epel.yml:40 Thursday 30 November 2023 17:02:41 +0000 (0:00:00.610) 0:01:02.623 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-code_refactorwk092_tu/tests/tests_bond_options_nm.yml:11 Thursday 30 November 2023 17:02:41 +0000 (0:00:00.017) 0:01:02.640 ***** 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-code_refactorwk092_tu/tests/playbooks/tests_bond_options.yml:3 Thursday 30 November 2023 17:02:41 +0000 (0:00:00.023) 0:01:02.664 ***** ok: [sut] META: ran handlers TASK [INIT Prepare setup] ****************************************************** task path: /WORKDIR/git-code_refactorwk092_tu/tests/playbooks/tests_bond_options.yml:13 Thursday 30 November 2023 17:03:12 +0000 (0:00:30.529) 0:01:33.194 ***** ok: [sut] => {} MSG: ################################################## TASK [Install dnsmasq] ********************************************************* task path: /WORKDIR/git-code_refactorwk092_tu/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:3 Thursday 30 November 2023 17:03:12 +0000 (0:00:00.013) 0:01:33.207 ***** 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=$infra&content=$contentdir [Could not resolve host: mirrors.fedoraproject.org] to retry, use: --limit @/tmp/tests_bond_options_nm.retry PLAY RECAP ********************************************************************* sut : ok=11 changed=0 unreachable=0 failed=1 skipped=4 rescued=0 ignored=0 Thursday 30 November 2023 17:07:14 +0000 (0:04:02.007) 0:05:35.215 ***** =============================================================================== Install dnsmasq ------------------------------------------------------- 242.01s /WORKDIR/git-code_refactorwk092_tu/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:3 Gathering Facts -------------------------------------------------------- 30.75s /WORKDIR/git-code_refactorwk092_tu/tests/tests_bond_options_nm.yml:5 ---------- Gathering Facts -------------------------------------------------------- 30.53s /WORKDIR/git-code_refactorwk092_tu/tests/playbooks/tests_bond_options.yml:3 --- Gather the minimum subset of ansible_facts required by the network role test -- 30.39s /WORKDIR/git-code_refactorwk092_tu/tests/tasks/el_repo_setup.yml:3 ------------ Enable EPEL 8 ----------------------------------------------------------- 0.61s /WORKDIR/git-code_refactorwk092_tu/tests/tasks/enable_epel.yml:35 ------------- Create EPEL 8 ----------------------------------------------------------- 0.33s /WORKDIR/git-code_refactorwk092_tu/tests/tasks/enable_epel.yml:8 -------------- Check if system is ostree ----------------------------------------------- 0.33s /WORKDIR/git-code_refactorwk092_tu/tests/tasks/el_repo_setup.yml:19 ----------- Include the task 'enable_epel.yml' -------------------------------------- 0.07s /WORKDIR/git-code_refactorwk092_tu/tests/tasks/el_repo_setup.yml:53 ----------- Set flag to indicate system is ostree ----------------------------------- 0.03s /WORKDIR/git-code_refactorwk092_tu/tests/tasks/el_repo_setup.yml:24 ----------- Fix CentOS6 Base repo --------------------------------------------------- 0.03s /WORKDIR/git-code_refactorwk092_tu/tests/tasks/el_repo_setup.yml:28 ----------- Set network provider to 'nm' -------------------------------------------- 0.02s /WORKDIR/git-code_refactorwk092_tu/tests/tests_bond_options_nm.yml:11 --------- Enable EPEL 7 ----------------------------------------------------------- 0.02s /WORKDIR/git-code_refactorwk092_tu/tests/tasks/enable_epel.yml:30 ------------- Include the task 'el_repo_setup.yml' ------------------------------------ 0.02s /WORKDIR/git-code_refactorwk092_tu/tests/tests_bond_options_nm.yml:9 ---------- Install yum-utils package ----------------------------------------------- 0.02s /WORKDIR/git-code_refactorwk092_tu/tests/tasks/enable_epel.yml:24 ------------- Enable EPEL 6 ----------------------------------------------------------- 0.02s /WORKDIR/git-code_refactorwk092_tu/tests/tasks/enable_epel.yml:40 ------------- INIT Prepare setup ------------------------------------------------------ 0.01s /WORKDIR/git-code_refactorwk092_tu/tests/playbooks/tests_bond_options.yml:13 -- ---^---^---^---^---^--- # 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. ---^---^---^---^---^---