# 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_rewritem3h09x7t/tests/tests_switch_provider.yml PLAY [Run playbook 'playbooks/tests_switch_provider.yml'] ********************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/tests_switch_provider.yml:3 Wednesday 14 February 2024 17:09:05 +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_rewritem3h09x7t/tests/tests_switch_provider.yml:6 Wednesday 14 February 2024 17:09:06 +0000 (0:00:00.739) 0:00:00.752 **** included: /WORKDIR/git-bond_options_rewritem3h09x7t/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_rewritem3h09x7t/tests/tasks/el_repo_setup.yml:3 Wednesday 14 February 2024 17:09:06 +0000 (0:00:00.041) 0:00:00.794 **** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/tasks/el_repo_setup.yml:19 Wednesday 14 February 2024 17:09:06 +0000 (0:00:00.356) 0:00:01.150 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/tasks/el_repo_setup.yml:24 Wednesday 14 February 2024 17:09:06 +0000 (0:00:00.255) 0:00:01.406 **** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/tasks/el_repo_setup.yml:28 Wednesday 14 February 2024 17:09:06 +0000 (0:00:00.022) 0:00:01.428 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/tasks/el_repo_setup.yml:53 Wednesday 14 February 2024 17:09:06 +0000 (0:00:00.018) 0:00:01.447 **** included: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 9] *********************************************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/tasks/enable_epel.yml:8 Wednesday 14 February 2024 17:09:06 +0000 (0:00:00.052) 0:00:01.499 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/tasks/enable_epel.yml:24 Wednesday 14 February 2024 17:09:06 +0000 (0:00:00.012) 0:00:01.511 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/tasks/enable_epel.yml:30 Wednesday 14 February 2024 17:09:06 +0000 (0:00:00.016) 0:00:01.527 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/tasks/enable_epel.yml:35 Wednesday 14 February 2024 17:09:06 +0000 (0:00:00.012) 0:00:01.539 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/tasks/enable_epel.yml:40 Wednesday 14 February 2024 17:09:06 +0000 (0:00:00.009) 0:00:01.549 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY [Switch initscripts provider to nm] *************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tests_switch_provider.yml:5 Wednesday 14 February 2024 17:09:06 +0000 (0:00:00.011) 0:00:01.561 **** 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_rewritem3h09x7t/tests/playbooks/tests_switch_provider.yml:8 Wednesday 14 February 2024 17:09:06 +0000 (0:00:00.008) 0:00:01.570 **** 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_rewritem3h09x7t/tests/playbooks/tests_switch_provider.yml:14 Wednesday 14 February 2024 17:09:06 +0000 (0:00:00.009) 0:00:01.580 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tests_switch_provider.yml:26 Wednesday 14 February 2024 17:09:06 +0000 (0:00:00.008) 0:00:01.588 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'remove+down_profile.yml'] ****************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tests_switch_provider.yml:28 Wednesday 14 February 2024 17:09:06 +0000 (0:00:00.008) 0:00:01.597 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tests_switch_provider.yml:33 Wednesday 14 February 2024 17:09:06 +0000 (0:00:00.008) 0:00:01.605 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set fact to use nm network_provider] ************************************* task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tests_switch_provider.yml:35 Wednesday 14 February 2024 17:09:06 +0000 (0:00:00.008) 0:00:01.613 **** 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_rewritem3h09x7t/tests/playbooks/tests_switch_provider.yml:40 Wednesday 14 February 2024 17:09:06 +0000 (0:00:00.009) 0:00:01.623 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tests_switch_provider.yml:51 Wednesday 14 February 2024 17:09:06 +0000 (0:00:00.008) 0:00:01.631 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'remove+down_profile.yml'] ****************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tests_switch_provider.yml:53 Wednesday 14 February 2024 17:09:06 +0000 (0:00:00.008) 0:00:01.639 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tests_switch_provider.yml:58 Wednesday 14 February 2024 17:09:06 +0000 (0:00:00.015) 0:00:01.655 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'delete_interface.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tests_switch_provider.yml:60 Wednesday 14 February 2024 17:09:06 +0000 (0:00:00.010) 0:00:01.665 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tests_switch_provider.yml:62 Wednesday 14 February 2024 17:09:06 +0000 (0:00:00.010) 0:00:01.675 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify network state restored to default] ******************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tests_switch_provider.yml:64 Wednesday 14 February 2024 17:09:06 +0000 (0:00:00.011) 0:00:01.687 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=6 changed=0 unreachable=0 failed=0 skipped=20 rescued=0 ignored=0 Wednesday 14 February 2024 17:09:06 +0000 (0:00:00.008) 0:00:01.695 **** =============================================================================== Gathering Facts --------------------------------------------------------- 0.74s /WORKDIR/git-bond_options_rewritem3h09x7t/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_rewritem3h09x7t/tests/tasks/el_repo_setup.yml:3 ----- Check if system is ostree ----------------------------------------------- 0.26s /WORKDIR/git-bond_options_rewritem3h09x7t/tests/tasks/el_repo_setup.yml:19 ---- Include the task 'enable_epel.yml' -------------------------------------- 0.05s /WORKDIR/git-bond_options_rewritem3h09x7t/tests/tasks/el_repo_setup.yml:53 ---- Include the task 'el_repo_setup.yml' ------------------------------------ 0.04s /WORKDIR/git-bond_options_rewritem3h09x7t/tests/tests_switch_provider.yml:6 --- Set flag to indicate system is ostree ----------------------------------- 0.02s /WORKDIR/git-bond_options_rewritem3h09x7t/tests/tasks/el_repo_setup.yml:24 ---- Fix CentOS6 Base repo --------------------------------------------------- 0.02s /WORKDIR/git-bond_options_rewritem3h09x7t/tests/tasks/el_repo_setup.yml:28 ---- Install yum-utils package ----------------------------------------------- 0.02s /WORKDIR/git-bond_options_rewritem3h09x7t/tests/tasks/enable_epel.yml:24 ------ Include the task 'remove+down_profile.yml' ------------------------------ 0.02s /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tests_switch_provider.yml:53 Enable EPEL 7 ----------------------------------------------------------- 0.01s /WORKDIR/git-bond_options_rewritem3h09x7t/tests/tasks/enable_epel.yml:30 ------ Create EPEL 9 ----------------------------------------------------------- 0.01s /WORKDIR/git-bond_options_rewritem3h09x7t/tests/tasks/enable_epel.yml:8 ------- Enable EPEL 6 ----------------------------------------------------------- 0.01s /WORKDIR/git-bond_options_rewritem3h09x7t/tests/tasks/enable_epel.yml:40 ------ Include the task 'assert_device_absent.yml' ----------------------------- 0.01s /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tests_switch_provider.yml:62 Include the task 'assert_device_present.yml' ---------------------------- 0.01s /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tests_switch_provider.yml:58 Include the task 'delete_interface.yml' --------------------------------- 0.01s /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tests_switch_provider.yml:60 Enable EPEL 8 ----------------------------------------------------------- 0.01s /WORKDIR/git-bond_options_rewritem3h09x7t/tests/tasks/enable_epel.yml:35 ------ Set fact to use initscripts network_provider ---------------------------- 0.01s /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tests_switch_provider.yml:8 Set fact to use nm network_provider ------------------------------------- 0.01s /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tests_switch_provider.yml:35 Include the task 'assert_device_present.yml' ---------------------------- 0.01s /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tests_switch_provider.yml:26 Include the task 'remove+down_profile.yml' ------------------------------ 0.01s /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tests_switch_provider.yml:28 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: Distribution centos 9 on host sut should use /usr/libexec/platform-python, but is using /usr/bin/python for backward compatibility with prior Ansible releases. A future Ansible release will default to using the discovered platform python for this host. See https://docs .ansible.com/ansible/2.9/reference_appendices/interpreter_discovery.html for more information. This feature will be removed in version 2.12. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---