# 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-ansible-lint-test-2.160qav5ktt/.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 statically imported: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml statically imported: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tasks/assert_device_present.yml statically imported: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tasks/assert_device_present.yml statically imported: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tasks/assert_device_present.yml statically imported: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tasks/remove_test_interfaces_with_dhcp.yml 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_nm.yml **************************************************** 2 plays in /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/tests_bond_nm.yml PLAY [Run playbook 'playbooks/tests_bond.yml' with nm as provider] ************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/tests_bond_nm.yml:5 Thursday 14 December 2023 17:38:33 +0000 (0:00:00.011) 0:00:00.011 ***** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/tests_bond_nm.yml:9 Thursday 14 December 2023 17:39:04 +0000 (0:00:30.843) 0:00:30.854 ***** included: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/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-ansible-lint-test-2.160qav5ktt/tests/tasks/el_repo_setup.yml:3 Thursday 14 December 2023 17:39:04 +0000 (0:00:00.010) 0:00:30.865 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/tasks/el_repo_setup.yml:17 Thursday 14 December 2023 17:39:34 +0000 (0:00:30.359) 0:01:01.225 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/tasks/el_repo_setup.yml:22 Thursday 14 December 2023 17:39:35 +0000 (0:00:00.240) 0:01:01.465 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/tasks/el_repo_setup.yml:26 Thursday 14 December 2023 17:39:35 +0000 (0:00:00.012) 0:01:01.477 ***** 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-ansible-lint-test-2.160qav5ktt/tests/tasks/el_repo_setup.yml:51 Thursday 14 December 2023 17:39:35 +0000 (0:00:00.007) 0:01:01.485 ***** included: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/tasks/enable_epel.yml:8 Thursday 14 December 2023 17:39:35 +0000 (0:00:00.021) 0:01:01.506 ***** 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-ansible-lint-test-2.160qav5ktt/tests/tasks/enable_epel.yml:24 Thursday 14 December 2023 17:39:35 +0000 (0:00:00.240) 0:01:01.747 ***** 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-ansible-lint-test-2.160qav5ktt/tests/tasks/enable_epel.yml:30 Thursday 14 December 2023 17:39:35 +0000 (0:00:00.008) 0:01:01.756 ***** 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-ansible-lint-test-2.160qav5ktt/tests/tasks/enable_epel.yml:35 Thursday 14 December 2023 17:39:35 +0000 (0:00:00.007) 0:01:01.763 ***** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.242181", "end": "2023-12-14 17:39:35.897200", "rc": 0, "start": "2023-12-14 17:39:35.655019" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/tasks/enable_epel.yml:40 Thursday 14 December 2023 17:39:35 +0000 (0:00:00.427) 0:01:02.191 ***** 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-ansible-lint-test-2.160qav5ktt/tests/tests_bond_nm.yml:11 Thursday 14 December 2023 17:39:35 +0000 (0:00:00.008) 0:01:02.200 ***** ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing bond connection] **************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tests_bond.yml:3 Thursday 14 December 2023 17:39:35 +0000 (0:00:00.015) 0:01:02.216 ***** ok: [sut] TASK [INIT Prepare setup] ****************************************************** task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tests_bond.yml:13 Thursday 14 December 2023 17:40:06 +0000 (0:00:30.706) 0:01:32.923 ***** ok: [sut] => {} MSG: ################################################## TASK [Install dnsmasq] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:3 Thursday 14 December 2023 17:40:06 +0000 (0:00:00.009) 0:01:32.932 ***** 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] to retry, use: --limit @/tmp/tests_bond_nm.retry PLAY RECAP ********************************************************************* sut : ok=11 changed=0 unreachable=0 failed=1 skipped=4 rescued=0 ignored=0 Thursday 14 December 2023 17:44:08 +0000 (0:04:02.294) 0:05:35.226 ***** =============================================================================== Install dnsmasq ------------------------------------------------------- 242.29s /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:3 Gathering Facts -------------------------------------------------------- 30.84s /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/tests_bond_nm.yml:5 --------- Gathering Facts -------------------------------------------------------- 30.71s /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tests_bond.yml:3 -- Gather the minimum subset of ansible_facts required by the network role test -- 30.36s /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/tasks/el_repo_setup.yml:3 --- Enable EPEL 8 ----------------------------------------------------------- 0.43s /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/tasks/enable_epel.yml:35 ---- Create EPEL 8 ----------------------------------------------------------- 0.24s /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/tasks/enable_epel.yml:8 ----- Check if system is ostree ----------------------------------------------- 0.24s /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/tasks/el_repo_setup.yml:17 -- Include the task 'enable_epel.yml' -------------------------------------- 0.02s /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/tasks/el_repo_setup.yml:51 -- Set network provider to 'nm' -------------------------------------------- 0.02s /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/tests_bond_nm.yml:11 -------- Set flag to indicate system is ostree ----------------------------------- 0.01s /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/tasks/el_repo_setup.yml:22 -- Include the task 'el_repo_setup.yml' ------------------------------------ 0.01s /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/tests_bond_nm.yml:9 --------- INIT Prepare setup ------------------------------------------------------ 0.01s /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tests_bond.yml:13 - Install yum-utils package ----------------------------------------------- 0.01s /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/tasks/enable_epel.yml:24 ---- Enable EPEL 6 ----------------------------------------------------------- 0.01s /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/tasks/enable_epel.yml:40 ---- Fix CentOS6 Base repo --------------------------------------------------- 0.01s /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/tasks/el_repo_setup.yml:26 -- Enable EPEL 7 ----------------------------------------------------------- 0.01s /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/tasks/enable_epel.yml:30 ---- ---^---^---^---^---^--- # 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. ---^---^---^---^---^---