# 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_refactorib16hxy9/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml statically imported: /WORKDIR/git-code_refactorib16hxy9/tests/playbooks/tasks/assert_device_present.yml statically imported: /WORKDIR/git-code_refactorib16hxy9/tests/playbooks/tasks/assert_device_present.yml statically imported: /WORKDIR/git-code_refactorib16hxy9/tests/playbooks/tasks/assert_device_present.yml statically imported: /WORKDIR/git-code_refactorib16hxy9/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_refactorib16hxy9/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_refactorib16hxy9/tests/tests_bond_options_nm.yml:5 Thursday 30 November 2023 18:32:14 +0000 (0:00:00.015) 0:00:00.015 ***** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-code_refactorib16hxy9/tests/tests_bond_options_nm.yml:9 Thursday 30 November 2023 18:32:44 +0000 (0:00:30.641) 0:00:30.656 ***** included: /WORKDIR/git-code_refactorib16hxy9/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_refactorib16hxy9/tests/tasks/el_repo_setup.yml:3 Thursday 30 November 2023 18:32:44 +0000 (0:00:00.016) 0:00:30.673 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-code_refactorib16hxy9/tests/tasks/el_repo_setup.yml:19 Thursday 30 November 2023 18:33:15 +0000 (0:00:30.354) 0:01:01.028 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-code_refactorib16hxy9/tests/tasks/el_repo_setup.yml:24 Thursday 30 November 2023 18:33:15 +0000 (0:00:00.277) 0:01:01.305 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-code_refactorib16hxy9/tests/tasks/el_repo_setup.yml:28 Thursday 30 November 2023 18:33:15 +0000 (0:00:00.025) 0:01:01.331 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-code_refactorib16hxy9/tests/tasks/el_repo_setup.yml:53 Thursday 30 November 2023 18:33:15 +0000 (0:00:00.020) 0:01:01.351 ***** included: /WORKDIR/git-code_refactorib16hxy9/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-code_refactorib16hxy9/tests/tasks/enable_epel.yml:8 Thursday 30 November 2023 18:33:15 +0000 (0:00:00.037) 0:01:01.388 ***** 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_refactorib16hxy9/tests/tasks/enable_epel.yml:24 Thursday 30 November 2023 18:33:15 +0000 (0:00:00.276) 0:01:01.665 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-code_refactorib16hxy9/tests/tasks/enable_epel.yml:30 Thursday 30 November 2023 18:33:15 +0000 (0:00:00.014) 0:01:01.679 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-code_refactorib16hxy9/tests/tasks/enable_epel.yml:35 Thursday 30 November 2023 18:33:15 +0000 (0:00:00.014) 0:01:01.694 ***** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.378318", "end": "2023-11-30 18:33:16.522849", "rc": 0, "start": "2023-11-30 18:33:16.144531" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-code_refactorib16hxy9/tests/tasks/enable_epel.yml:40 Thursday 30 November 2023 18:33:16 +0000 (0:00:00.568) 0:01:02.262 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-code_refactorib16hxy9/tests/tests_bond_options_nm.yml:11 Thursday 30 November 2023 18:33:16 +0000 (0:00:00.013) 0:01:02.275 ***** 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_refactorib16hxy9/tests/playbooks/tests_bond_options.yml:3 Thursday 30 November 2023 18:33:16 +0000 (0:00:00.016) 0:01:02.292 ***** ok: [sut] META: ran handlers TASK [INIT Prepare setup] ****************************************************** task path: /WORKDIR/git-code_refactorib16hxy9/tests/playbooks/tests_bond_options.yml:13 Thursday 30 November 2023 18:33:47 +0000 (0:00:30.508) 0:01:32.800 ***** ok: [sut] => {} MSG: ################################################## TASK [Install dnsmasq] ********************************************************* task path: /WORKDIR/git-code_refactorib16hxy9/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:3 Thursday 30 November 2023 18:33:47 +0000 (0:00:00.014) 0:01:32.814 ***** 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 18:37:49 +0000 (0:04:01.978) 0:05:34.793 ***** =============================================================================== Install dnsmasq ------------------------------------------------------- 241.98s /WORKDIR/git-code_refactorib16hxy9/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:3 Gathering Facts -------------------------------------------------------- 30.64s /WORKDIR/git-code_refactorib16hxy9/tests/tests_bond_options_nm.yml:5 ---------- Gathering Facts -------------------------------------------------------- 30.51s /WORKDIR/git-code_refactorib16hxy9/tests/playbooks/tests_bond_options.yml:3 --- Gather the minimum subset of ansible_facts required by the network role test -- 30.35s /WORKDIR/git-code_refactorib16hxy9/tests/tasks/el_repo_setup.yml:3 ------------ Enable EPEL 8 ----------------------------------------------------------- 0.57s /WORKDIR/git-code_refactorib16hxy9/tests/tasks/enable_epel.yml:35 ------------- Check if system is ostree ----------------------------------------------- 0.28s /WORKDIR/git-code_refactorib16hxy9/tests/tasks/el_repo_setup.yml:19 ----------- Create EPEL 8 ----------------------------------------------------------- 0.28s /WORKDIR/git-code_refactorib16hxy9/tests/tasks/enable_epel.yml:8 -------------- Include the task 'enable_epel.yml' -------------------------------------- 0.04s /WORKDIR/git-code_refactorib16hxy9/tests/tasks/el_repo_setup.yml:53 ----------- Set flag to indicate system is ostree ----------------------------------- 0.03s /WORKDIR/git-code_refactorib16hxy9/tests/tasks/el_repo_setup.yml:24 ----------- Fix CentOS6 Base repo --------------------------------------------------- 0.02s /WORKDIR/git-code_refactorib16hxy9/tests/tasks/el_repo_setup.yml:28 ----------- Include the task 'el_repo_setup.yml' ------------------------------------ 0.02s /WORKDIR/git-code_refactorib16hxy9/tests/tests_bond_options_nm.yml:9 ---------- Set network provider to 'nm' -------------------------------------------- 0.02s /WORKDIR/git-code_refactorib16hxy9/tests/tests_bond_options_nm.yml:11 --------- Install yum-utils package ----------------------------------------------- 0.01s /WORKDIR/git-code_refactorib16hxy9/tests/tasks/enable_epel.yml:24 ------------- Enable EPEL 7 ----------------------------------------------------------- 0.01s /WORKDIR/git-code_refactorib16hxy9/tests/tasks/enable_epel.yml:30 ------------- INIT Prepare setup ------------------------------------------------------ 0.01s /WORKDIR/git-code_refactorib16hxy9/tests/playbooks/tests_bond_options.yml:13 -- Enable EPEL 6 ----------------------------------------------------------- 0.01s /WORKDIR/git-code_refactorib16hxy9/tests/tasks/enable_epel.yml:40 ------------- ---^---^---^---^---^--- # 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. ---^---^---^---^---^---