# 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_switch_provider.yml ******************************************** 2 plays in /WORKDIR/git-bond_options_rewritesacsnolo/tests/tests_switch_provider.yml PLAY [Run playbook 'playbooks/tests_switch_provider.yml'] ********************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/tests_switch_provider.yml:3 Friday 09 February 2024 16:03:40 +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_rewritesacsnolo/tests/tests_switch_provider.yml:6 Friday 09 February 2024 16:03:40 +0000 (0:00:00.613) 0:00:00.626 ******* included: /WORKDIR/git-bond_options_rewritesacsnolo/tests/tasks/el_repo_setup.yml for sut TASK [Verify DNS and ping still work before el repo setup] ********************* task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/tasks/el_repo_setup.yml:3 Friday 09 February 2024 16:03:41 +0000 (0:00:00.024) 0:00:00.650 ******* ok: [sut] => { "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:08.065028", "end": "2024-02-09 16:03:49.321806", "rc": 0, "start": "2024-02-09 16:03:41.256778" } STDOUT: 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org PING wildcard.fedoraproject.org (38.145.60.20) 56(84) bytes of data. 64 bytes from proxy-iad01.fedoraproject.org (38.145.60.20): icmp_seq=1 ttl=51 time=2.90 ms 64 bytes from proxy-iad01.fedoraproject.org (38.145.60.20): icmp_seq=2 ttl=51 time=2.10 ms 64 bytes from proxy-iad01.fedoraproject.org (38.145.60.20): icmp_seq=3 ttl=51 time=1.88 ms 64 bytes from proxy-iad01.fedoraproject.org (38.145.60.20): icmp_seq=4 ttl=51 time=2.09 ms 64 bytes from proxy-iad01.fedoraproject.org (38.145.60.20): icmp_seq=5 ttl=51 time=1.97 ms --- wildcard.fedoraproject.org ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4007ms rtt min/avg/max/mdev = 1.884/2.188/2.896/0.362 ms 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org PING wildcard.fedoraproject.org (38.145.60.20) 56(84) bytes of data. 64 bytes from proxy-iad01.fedoraproject.org (38.145.60.20): icmp_seq=1 ttl=51 time=2.86 ms 64 bytes from proxy-iad01.fedoraproject.org (38.145.60.20): icmp_seq=2 ttl=51 time=1.94 ms 64 bytes from proxy-iad01.fedoraproject.org (38.145.60.20): icmp_seq=3 ttl=51 time=2.01 ms 64 bytes from proxy-iad01.fedoraproject.org (38.145.60.20): icmp_seq=4 ttl=51 time=1.94 ms 64 bytes from proxy-iad01.fedoraproject.org (38.145.60.20): icmp_seq=5 ttl=51 time=2.11 ms --- wildcard.fedoraproject.org ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4006ms rtt min/avg/max/mdev = 1.935/2.169/2.859/0.350 ms STDERR: + for host in mirrors.fedoraproject.org mirrors.centos.org + getent hosts mirrors.fedoraproject.org + ping -c5 mirrors.fedoraproject.org + for host in mirrors.fedoraproject.org mirrors.centos.org + getent hosts mirrors.centos.org + ping -c5 mirrors.centos.org TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/tasks/el_repo_setup.yml:17 Friday 09 February 2024 16:03:49 +0000 (0:00:08.321) 0:00:08.971 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/tasks/el_repo_setup.yml:33 Friday 09 February 2024 16:03:49 +0000 (0:00:00.355) 0:00:09.326 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/tasks/el_repo_setup.yml:38 Friday 09 February 2024 16:03:49 +0000 (0:00:00.278) 0:00:09.605 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/tasks/el_repo_setup.yml:42 Friday 09 February 2024 16:03:49 +0000 (0:00:00.023) 0:00:09.628 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/tasks/el_repo_setup.yml:67 Friday 09 February 2024 16:03:50 +0000 (0:00:00.021) 0:00:09.650 ******* included: /WORKDIR/git-bond_options_rewritesacsnolo/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 9] *********************************************************** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/tasks/enable_epel.yml:8 Friday 09 February 2024 16:03:50 +0000 (0:00:00.038) 0:00:09.688 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/tasks/enable_epel.yml:24 Friday 09 February 2024 16:03:50 +0000 (0:00:00.011) 0:00:09.700 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/tasks/enable_epel.yml:30 Friday 09 February 2024 16:03:50 +0000 (0:00:00.012) 0:00:09.713 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/tasks/enable_epel.yml:35 Friday 09 February 2024 16:03:50 +0000 (0:00:00.027) 0:00:09.740 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/tasks/enable_epel.yml:40 Friday 09 February 2024 16:03:50 +0000 (0:00:00.018) 0:00:09.759 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify DNS and ping still work after el repo setup] ********************** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/tasks/el_repo_setup.yml:71 Friday 09 February 2024 16:03:50 +0000 (0:00:00.011) 0:00:09.770 ******* ok: [sut] => { "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:08.132649", "end": "2024-02-09 16:03:58.435692", "rc": 0, "start": "2024-02-09 16:03:50.303043" } STDOUT: 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org PING wildcard.fedoraproject.org (34.221.3.152) 56(84) bytes of data. 64 bytes from ec2-34-221-3-152.us-west-2.compute.amazonaws.com (34.221.3.152): icmp_seq=1 ttl=53 time=65.2 ms 64 bytes from ec2-34-221-3-152.us-west-2.compute.amazonaws.com (34.221.3.152): icmp_seq=2 ttl=53 time=64.0 ms 64 bytes from ec2-34-221-3-152.us-west-2.compute.amazonaws.com (34.221.3.152): icmp_seq=3 ttl=53 time=64.1 ms 64 bytes from ec2-34-221-3-152.us-west-2.compute.amazonaws.com (34.221.3.152): icmp_seq=4 ttl=53 time=64.1 ms 64 bytes from ec2-34-221-3-152.us-west-2.compute.amazonaws.com (34.221.3.152): icmp_seq=5 ttl=53 time=64.0 ms --- wildcard.fedoraproject.org ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4006ms rtt min/avg/max/mdev = 64.014/64.282/65.161/0.441 ms 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org PING wildcard.fedoraproject.org (152.19.134.142) 56(84) bytes of data. 64 bytes from vm3.fedora.ibiblio.org (152.19.134.142): icmp_seq=1 ttl=41 time=24.7 ms 64 bytes from vm3.fedora.ibiblio.org (152.19.134.142): icmp_seq=2 ttl=41 time=23.0 ms 64 bytes from vm3.fedora.ibiblio.org (152.19.134.142): icmp_seq=3 ttl=41 time=23.0 ms 64 bytes from vm3.fedora.ibiblio.org (152.19.134.142): icmp_seq=4 ttl=41 time=23.1 ms 64 bytes from vm3.fedora.ibiblio.org (152.19.134.142): icmp_seq=5 ttl=41 time=23.0 ms --- wildcard.fedoraproject.org ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4002ms rtt min/avg/max/mdev = 23.004/23.367/24.717/0.675 ms STDERR: + for host in mirrors.fedoraproject.org mirrors.centos.org + getent hosts mirrors.fedoraproject.org + ping -c5 mirrors.fedoraproject.org + for host in mirrors.fedoraproject.org mirrors.centos.org + getent hosts mirrors.centos.org + ping -c5 mirrors.centos.org META: ran handlers META: ran handlers PLAY [Switch initscripts provider to nm] *************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/playbooks/tests_switch_provider.yml:5 Friday 09 February 2024 16:03:58 +0000 (0:00:08.315) 0:00:18.085 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers TASK [Set fact to use initscripts network_provider] **************************** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/playbooks/tests_switch_provider.yml:8 Friday 09 February 2024 16:03:58 +0000 (0:00:00.009) 0:00:18.095 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Through the initscripts provider, create test bridge {{ interface }}] **** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/playbooks/tests_switch_provider.yml:14 Friday 09 February 2024 16:03:58 +0000 (0:00:00.010) 0:00:18.105 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/playbooks/tests_switch_provider.yml:26 Friday 09 February 2024 16:03:58 +0000 (0:00:00.009) 0:00:18.115 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'remove+down_profile.yml'] ****************************** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/playbooks/tests_switch_provider.yml:28 Friday 09 February 2024 16:03:58 +0000 (0:00:00.009) 0:00:18.125 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/playbooks/tests_switch_provider.yml:33 Friday 09 February 2024 16:03:58 +0000 (0:00:00.009) 0:00:18.134 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set fact to use nm network_provider] ************************************* task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/playbooks/tests_switch_provider.yml:35 Friday 09 February 2024 16:03:58 +0000 (0:00:00.009) 0:00:18.144 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Through the nm provider, create test bridge {{ interface }}] ************* task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/playbooks/tests_switch_provider.yml:40 Friday 09 February 2024 16:03:58 +0000 (0:00:00.011) 0:00:18.155 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/playbooks/tests_switch_provider.yml:51 Friday 09 February 2024 16:03:58 +0000 (0:00:00.011) 0:00:18.166 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'remove+down_profile.yml'] ****************************** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/playbooks/tests_switch_provider.yml:53 Friday 09 February 2024 16:03:58 +0000 (0:00:00.020) 0:00:18.187 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/playbooks/tests_switch_provider.yml:58 Friday 09 February 2024 16:03:58 +0000 (0:00:00.018) 0:00:18.205 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'delete_interface.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/playbooks/tests_switch_provider.yml:60 Friday 09 February 2024 16:03:58 +0000 (0:00:00.010) 0:00:18.215 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-bond_options_rewritesacsnolo/tests/playbooks/tests_switch_provider.yml:62 Friday 09 February 2024 16:03:58 +0000 (0:00:00.018) 0:00:18.234 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=8 changed=0 unreachable=0 failed=0 skipped=19 rescued=0 ignored=0 Friday 09 February 2024 16:03:58 +0000 (0:00:00.007) 0:00:18.242 ******* =============================================================================== Verify DNS and ping still work before el repo setup --------------------- 8.32s /WORKDIR/git-bond_options_rewritesacsnolo/tests/tasks/el_repo_setup.yml:3 ----- Verify DNS and ping still work after el repo setup ---------------------- 8.32s /WORKDIR/git-bond_options_rewritesacsnolo/tests/tasks/el_repo_setup.yml:71 ---- Gathering Facts --------------------------------------------------------- 0.61s /WORKDIR/git-bond_options_rewritesacsnolo/tests/tests_switch_provider.yml:3 --- Gather the minimum subset of ansible_facts required by the network role test --- 0.36s /WORKDIR/git-bond_options_rewritesacsnolo/tests/tasks/el_repo_setup.yml:17 ---- Check if system is ostree ----------------------------------------------- 0.28s /WORKDIR/git-bond_options_rewritesacsnolo/tests/tasks/el_repo_setup.yml:33 ---- Include the task 'enable_epel.yml' -------------------------------------- 0.04s /WORKDIR/git-bond_options_rewritesacsnolo/tests/tasks/el_repo_setup.yml:67 ---- Enable EPEL 7 ----------------------------------------------------------- 0.03s /WORKDIR/git-bond_options_rewritesacsnolo/tests/tasks/enable_epel.yml:30 ------ Include the task 'el_repo_setup.yml' ------------------------------------ 0.02s /WORKDIR/git-bond_options_rewritesacsnolo/tests/tests_switch_provider.yml:6 --- Set flag to indicate system is ostree ----------------------------------- 0.02s /WORKDIR/git-bond_options_rewritesacsnolo/tests/tasks/el_repo_setup.yml:38 ---- Fix CentOS6 Base repo --------------------------------------------------- 0.02s /WORKDIR/git-bond_options_rewritesacsnolo/tests/tasks/el_repo_setup.yml:42 ---- Include the task 'assert_device_present.yml' ---------------------------- 0.02s /WORKDIR/git-bond_options_rewritesacsnolo/tests/playbooks/tests_switch_provider.yml:51 Include the task 'delete_interface.yml' --------------------------------- 0.02s /WORKDIR/git-bond_options_rewritesacsnolo/tests/playbooks/tests_switch_provider.yml:60 Enable EPEL 8 ----------------------------------------------------------- 0.02s /WORKDIR/git-bond_options_rewritesacsnolo/tests/tasks/enable_epel.yml:35 ------ Include the task 'remove+down_profile.yml' ------------------------------ 0.02s /WORKDIR/git-bond_options_rewritesacsnolo/tests/playbooks/tests_switch_provider.yml:53 Install yum-utils package ----------------------------------------------- 0.01s /WORKDIR/git-bond_options_rewritesacsnolo/tests/tasks/enable_epel.yml:24 ------ Create EPEL 9 ----------------------------------------------------------- 0.01s /WORKDIR/git-bond_options_rewritesacsnolo/tests/tasks/enable_epel.yml:8 ------- Through the nm provider, create test bridge {{ interface }} ------------- 0.01s /WORKDIR/git-bond_options_rewritesacsnolo/tests/playbooks/tests_switch_provider.yml:40 Set fact to use nm network_provider ------------------------------------- 0.01s /WORKDIR/git-bond_options_rewritesacsnolo/tests/playbooks/tests_switch_provider.yml:35 Enable EPEL 6 ----------------------------------------------------------- 0.01s /WORKDIR/git-bond_options_rewritesacsnolo/tests/tasks/enable_epel.yml:40 ------ Include the task 'assert_device_present.yml' ---------------------------- 0.01s /WORKDIR/git-bond_options_rewritesacsnolo/tests/playbooks/tests_switch_provider.yml:58 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---