# 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_rewritezfhuk17j/.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_route_device_initscripts.yml *********************************** 2 plays in /WORKDIR/git-bond_options_rewritezfhuk17j/tests/tests_route_device_initscripts.yml PLAY [Run playbook 'playbooks/tests_route_device.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-bond_options_rewritezfhuk17j/tests/tests_route_device_initscripts.yml:5 Friday 09 February 2024 14:05:29 +0000 (0:00:00.012) 0:00:00.012 ******* ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewritezfhuk17j/tests/tests_route_device_initscripts.yml:8 Friday 09 February 2024 14:05:29 +0000 (0:00:00.772) 0:00:00.784 ******* included: /WORKDIR/git-bond_options_rewritezfhuk17j/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_rewritezfhuk17j/tests/tasks/el_repo_setup.yml:3 Friday 09 February 2024 14:05:29 +0000 (0:00:00.011) 0:00:00.796 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewritezfhuk17j/tests/tasks/el_repo_setup.yml:17 Friday 09 February 2024 14:05:30 +0000 (0:00:00.342) 0:00:01.138 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewritezfhuk17j/tests/tasks/el_repo_setup.yml:22 Friday 09 February 2024 14:05:30 +0000 (0:00:00.252) 0:00:01.391 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewritezfhuk17j/tests/tasks/el_repo_setup.yml:26 Friday 09 February 2024 14:05:30 +0000 (0:00:00.014) 0:00:01.405 ******* 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_rewritezfhuk17j/tests/tasks/el_repo_setup.yml:51 Friday 09 February 2024 14:05:30 +0000 (0:00:00.008) 0:00:01.414 ******* included: /WORKDIR/git-bond_options_rewritezfhuk17j/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewritezfhuk17j/tests/tasks/enable_epel.yml:8 Friday 09 February 2024 14:05:30 +0000 (0:00:00.025) 0:00:01.439 ******* 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_rewritezfhuk17j/tests/tasks/enable_epel.yml:24 Friday 09 February 2024 14:05:30 +0000 (0:00:00.255) 0:00:01.694 ******* 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_rewritezfhuk17j/tests/tasks/enable_epel.yml:30 Friday 09 February 2024 14:05:30 +0000 (0:00:00.008) 0:00:01.703 ******* 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_rewritezfhuk17j/tests/tasks/enable_epel.yml:35 Friday 09 February 2024 14:05:30 +0000 (0:00:00.008) 0:00:01.712 ******* ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.258683", "end": "2024-02-09 14:05:31.337110", "rc": 0, "start": "2024-02-09 14:05:31.078427" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewritezfhuk17j/tests/tasks/enable_epel.yml:40 Friday 09 February 2024 14:05:31 +0000 (0:00:00.449) 0:00:02.161 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-bond_options_rewritezfhuk17j/tests/tests_route_device_initscripts.yml:10 Friday 09 February 2024 14:05:31 +0000 (0:00:00.009) 0:00:02.170 ******* ok: [sut] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } PLAY [Test output device of routes] ******************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-bond_options_rewritezfhuk17j/tests/playbooks/tests_route_device.yml:3 Friday 09 February 2024 14:05:31 +0000 (0:00:00.015) 0:00:02.186 ******* ok: [sut] TASK [Set type and interface0] ************************************************* task path: /WORKDIR/git-bond_options_rewritezfhuk17j/tests/playbooks/tests_route_device.yml:11 Friday 09 February 2024 14:05:31 +0000 (0:00:00.611) 0:00:02.798 ******* ok: [sut] => { "ansible_facts": { "interface": "ethtest0", "type": "veth" }, "changed": false } TASK [Verify DNS and ping still work before setup] ***************************** task path: /WORKDIR/git-bond_options_rewritezfhuk17j/tests/playbooks/tests_route_device.yml:15 Friday 09 February 2024 14:05:32 +0000 (0:00:00.019) 0:00:02.817 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "set -euxo pipefail\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n exit 1\n fi\n if ! ping -c5 \"$host\"; then\n exit 1\n fi\ndone\n", "delta": "0:00:00.006099", "end": "2024-02-09 14:05:32.200285", "rc": 1, "start": "2024-02-09 14:05:32.194186" } STDERR: + for host in mirrors.fedoraproject.org mirrors.centos.org + getent hosts mirrors.fedoraproject.org + exit 1 MSG: non-zero return code to retry, use: --limit @/tmp/tests_route_device_initscripts.retry PLAY RECAP ********************************************************************* sut : ok=11 changed=0 unreachable=0 failed=1 skipped=4 rescued=0 ignored=0 Friday 09 February 2024 14:05:32 +0000 (0:00:00.204) 0:00:03.022 ******* =============================================================================== Gathering Facts --------------------------------------------------------- 0.77s /WORKDIR/git-bond_options_rewritezfhuk17j/tests/tests_route_device_initscripts.yml:5 Gathering Facts --------------------------------------------------------- 0.61s /WORKDIR/git-bond_options_rewritezfhuk17j/tests/playbooks/tests_route_device.yml:3 Enable EPEL 8 ----------------------------------------------------------- 0.45s /WORKDIR/git-bond_options_rewritezfhuk17j/tests/tasks/enable_epel.yml:35 ------ Gather the minimum subset of ansible_facts required by the network role test --- 0.34s /WORKDIR/git-bond_options_rewritezfhuk17j/tests/tasks/el_repo_setup.yml:3 ----- Create EPEL 8 ----------------------------------------------------------- 0.26s /WORKDIR/git-bond_options_rewritezfhuk17j/tests/tasks/enable_epel.yml:8 ------- Check if system is ostree ----------------------------------------------- 0.25s /WORKDIR/git-bond_options_rewritezfhuk17j/tests/tasks/el_repo_setup.yml:17 ---- Verify DNS and ping still work before setup ----------------------------- 0.20s /WORKDIR/git-bond_options_rewritezfhuk17j/tests/playbooks/tests_route_device.yml:15 Include the task 'enable_epel.yml' -------------------------------------- 0.03s /WORKDIR/git-bond_options_rewritezfhuk17j/tests/tasks/el_repo_setup.yml:51 ---- Set type and interface0 ------------------------------------------------- 0.02s /WORKDIR/git-bond_options_rewritezfhuk17j/tests/playbooks/tests_route_device.yml:11 Set network provider to 'initscripts' ----------------------------------- 0.02s /WORKDIR/git-bond_options_rewritezfhuk17j/tests/tests_route_device_initscripts.yml:10 Set flag to indicate system is ostree ----------------------------------- 0.01s /WORKDIR/git-bond_options_rewritezfhuk17j/tests/tasks/el_repo_setup.yml:22 ---- Include the task 'el_repo_setup.yml' ------------------------------------ 0.01s /WORKDIR/git-bond_options_rewritezfhuk17j/tests/tests_route_device_initscripts.yml:8 Enable EPEL 6 ----------------------------------------------------------- 0.01s /WORKDIR/git-bond_options_rewritezfhuk17j/tests/tasks/enable_epel.yml:40 ------ Install yum-utils package ----------------------------------------------- 0.01s /WORKDIR/git-bond_options_rewritezfhuk17j/tests/tasks/enable_epel.yml:24 ------ Fix CentOS6 Base repo --------------------------------------------------- 0.01s /WORKDIR/git-bond_options_rewritezfhuk17j/tests/tasks/el_repo_setup.yml:26 ---- Enable EPEL 7 ----------------------------------------------------------- 0.01s /WORKDIR/git-bond_options_rewritezfhuk17j/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. ---^---^---^---^---^---