# 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 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_route_device_initscripts.yml *********************************** 2 plays in /WORKDIR/git-bond_options_rewritekh3yrgl7/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_rewritekh3yrgl7/tests/tests_route_device_initscripts.yml:5 Friday 09 February 2024 13:49:57 +0000 (0:00:00.012) 0:00:00.012 ******* ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/tests_route_device_initscripts.yml:8 Friday 09 February 2024 13:49:58 +0000 (0:00:00.615) 0:00:00.628 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/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_rewritekh3yrgl7/tests/tasks/el_repo_setup.yml:3 Friday 09 February 2024 13:49:58 +0000 (0:00:00.012) 0:00:00.640 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/tasks/el_repo_setup.yml:19 Friday 09 February 2024 13:49:58 +0000 (0:00:00.364) 0:00:01.005 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/tasks/el_repo_setup.yml:24 Friday 09 February 2024 13:49:58 +0000 (0:00:00.275) 0:00:01.281 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/tasks/el_repo_setup.yml:28 Friday 09 February 2024 13:49:58 +0000 (0:00:00.020) 0:00:01.301 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/tasks/el_repo_setup.yml:53 Friday 09 February 2024 13:49:58 +0000 (0:00:00.034) 0:00:01.335 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/tasks/enable_epel.yml:8 Friday 09 February 2024 13:49:58 +0000 (0:00:00.066) 0:00:01.402 ******* 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-bond_options_rewritekh3yrgl7/tests/tasks/enable_epel.yml:24 Friday 09 February 2024 13:49:59 +0000 (0:00:00.256) 0:00:01.659 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/tasks/enable_epel.yml:30 Friday 09 February 2024 13:49:59 +0000 (0:00:00.011) 0:00:01.670 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/tasks/enable_epel.yml:35 Friday 09 February 2024 13:49:59 +0000 (0:00:00.010) 0:00:01.681 ******* ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.264393", "end": "2024-02-09 13:49:59.538571", "rc": 0, "start": "2024-02-09 13:49:59.274178" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/tasks/enable_epel.yml:40 Friday 09 February 2024 13:49:59 +0000 (0:00:00.467) 0:00:02.148 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/tests_route_device_initscripts.yml:10 Friday 09 February 2024 13:49:59 +0000 (0:00:00.010) 0:00:02.159 ******* ok: [sut] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } META: ran handlers META: ran handlers PLAY [Test output device of routes] ******************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tests_route_device.yml:3 Friday 09 February 2024 13:49:59 +0000 (0:00:00.012) 0:00:02.171 ******* ok: [sut] META: ran handlers TASK [Set type and interface0] ************************************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tests_route_device.yml:11 Friday 09 February 2024 13:50:00 +0000 (0:00:00.490) 0:00:02.661 ******* 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_rewritekh3yrgl7/tests/playbooks/tests_route_device.yml:15 Friday 09 February 2024 13:50:00 +0000 (0:00:00.012) 0:00:02.673 ******* 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.006274", "end": "2024-02-09 13:50:00.278408", "rc": 1, "start": "2024-02-09 13:50:00.272134" } 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 13:50:00 +0000 (0:00:00.228) 0:00:02.902 ******* =============================================================================== Gathering Facts --------------------------------------------------------- 0.62s /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/tests_route_device_initscripts.yml:5 Gathering Facts --------------------------------------------------------- 0.49s /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tests_route_device.yml:3 Enable EPEL 8 ----------------------------------------------------------- 0.47s /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/tasks/enable_epel.yml:35 ------ Gather the minimum subset of ansible_facts required by the network role test --- 0.36s /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/tasks/el_repo_setup.yml:3 ----- Check if system is ostree ----------------------------------------------- 0.28s /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/tasks/el_repo_setup.yml:19 ---- Create EPEL 8 ----------------------------------------------------------- 0.26s /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/tasks/enable_epel.yml:8 ------- Verify DNS and ping still work before setup ----------------------------- 0.23s /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tests_route_device.yml:15 Include the task 'enable_epel.yml' -------------------------------------- 0.07s /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/tasks/el_repo_setup.yml:53 ---- Fix CentOS6 Base repo --------------------------------------------------- 0.03s /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/tasks/el_repo_setup.yml:28 ---- Set flag to indicate system is ostree ----------------------------------- 0.02s /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/tasks/el_repo_setup.yml:24 ---- Include the task 'el_repo_setup.yml' ------------------------------------ 0.01s /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/tests_route_device_initscripts.yml:8 Set network provider to 'initscripts' ----------------------------------- 0.01s /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/tests_route_device_initscripts.yml:10 Set type and interface0 ------------------------------------------------- 0.01s /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tests_route_device.yml:11 Install yum-utils package ----------------------------------------------- 0.01s /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/tasks/enable_epel.yml:24 ------ Enable EPEL 6 ----------------------------------------------------------- 0.01s /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/tasks/enable_epel.yml:40 ------ Enable EPEL 7 ----------------------------------------------------------- 0.01s /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/tasks/enable_epel.yml:30 ------ ---^---^---^---^---^--- # 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. ---^---^---^---^---^---