# 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_rewritelxcgdkqu/tests/tests_switch_provider.yml PLAY [Run playbook 'playbooks/tests_switch_provider.yml'] ********************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-bond_options_rewritelxcgdkqu/tests/tests_switch_provider.yml:3 Wednesday 14 February 2024 02:39:01 +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_rewritelxcgdkqu/tests/tests_switch_provider.yml:6 Wednesday 14 February 2024 02:39:02 +0000 (0:00:00.802) 0:00:00.814 **** included: /WORKDIR/git-bond_options_rewritelxcgdkqu/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_rewritelxcgdkqu/tests/tasks/el_repo_setup.yml:3 Wednesday 14 February 2024 02:39:02 +0000 (0:00:00.025) 0:00:00.839 **** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewritelxcgdkqu/tests/tasks/el_repo_setup.yml:19 Wednesday 14 February 2024 02:39:02 +0000 (0:00:00.424) 0:00:01.264 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewritelxcgdkqu/tests/tasks/el_repo_setup.yml:24 Wednesday 14 February 2024 02:39:02 +0000 (0:00:00.306) 0:00:01.570 **** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewritelxcgdkqu/tests/tasks/el_repo_setup.yml:28 Wednesday 14 February 2024 02:39:03 +0000 (0:00:00.067) 0:00:01.638 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewritelxcgdkqu/tests/tasks/el_repo_setup.yml:53 Wednesday 14 February 2024 02:39:03 +0000 (0:00:00.026) 0:00:01.664 **** included: /WORKDIR/git-bond_options_rewritelxcgdkqu/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 9] *********************************************************** task path: /WORKDIR/git-bond_options_rewritelxcgdkqu/tests/tasks/enable_epel.yml:8 Wednesday 14 February 2024 02:39:03 +0000 (0:00:00.034) 0:00:01.699 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-bond_options_rewritelxcgdkqu/tests/tasks/enable_epel.yml:24 Wednesday 14 February 2024 02:39:03 +0000 (0:00:00.012) 0:00:01.712 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewritelxcgdkqu/tests/tasks/enable_epel.yml:30 Wednesday 14 February 2024 02:39:03 +0000 (0:00:00.012) 0:00:01.724 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewritelxcgdkqu/tests/tasks/enable_epel.yml:35 Wednesday 14 February 2024 02:39:03 +0000 (0:00:00.021) 0:00:01.746 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewritelxcgdkqu/tests/tasks/enable_epel.yml:40 Wednesday 14 February 2024 02:39:03 +0000 (0:00:00.011) 0:00:01.757 **** 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_rewritelxcgdkqu/tests/playbooks/tests_switch_provider.yml:5 Wednesday 14 February 2024 02:39:03 +0000 (0:00:00.019) 0:00:01.777 **** 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_rewritelxcgdkqu/tests/playbooks/tests_switch_provider.yml:8 Wednesday 14 February 2024 02:39:03 +0000 (0:00:00.012) 0:00:01.789 **** 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_rewritelxcgdkqu/tests/playbooks/tests_switch_provider.yml:14 Wednesday 14 February 2024 02:39:03 +0000 (0:00:00.013) 0:00:01.802 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritelxcgdkqu/tests/playbooks/tests_switch_provider.yml:26 Wednesday 14 February 2024 02:39:03 +0000 (0:00:00.015) 0:00:01.818 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'remove+down_profile.yml'] ****************************** task path: /WORKDIR/git-bond_options_rewritelxcgdkqu/tests/playbooks/tests_switch_provider.yml:28 Wednesday 14 February 2024 02:39:03 +0000 (0:00:00.011) 0:00:01.829 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritelxcgdkqu/tests/playbooks/tests_switch_provider.yml:33 Wednesday 14 February 2024 02:39:03 +0000 (0:00:00.014) 0:00:01.844 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set fact to use nm network_provider] ************************************* task path: /WORKDIR/git-bond_options_rewritelxcgdkqu/tests/playbooks/tests_switch_provider.yml:35 Wednesday 14 February 2024 02:39:03 +0000 (0:00:00.010) 0:00:01.854 **** 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_rewritelxcgdkqu/tests/playbooks/tests_switch_provider.yml:40 Wednesday 14 February 2024 02:39:03 +0000 (0:00:00.011) 0:00:01.865 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritelxcgdkqu/tests/playbooks/tests_switch_provider.yml:51 Wednesday 14 February 2024 02:39:03 +0000 (0:00:00.017) 0:00:01.883 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'remove+down_profile.yml'] ****************************** task path: /WORKDIR/git-bond_options_rewritelxcgdkqu/tests/playbooks/tests_switch_provider.yml:53 Wednesday 14 February 2024 02:39:03 +0000 (0:00:00.042) 0:00:01.925 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritelxcgdkqu/tests/playbooks/tests_switch_provider.yml:58 Wednesday 14 February 2024 02:39:03 +0000 (0:00:00.036) 0:00:01.961 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'delete_interface.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritelxcgdkqu/tests/playbooks/tests_switch_provider.yml:60 Wednesday 14 February 2024 02:39:03 +0000 (0:00:00.026) 0:00:01.988 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-bond_options_rewritelxcgdkqu/tests/playbooks/tests_switch_provider.yml:62 Wednesday 14 February 2024 02:39:03 +0000 (0:00:00.018) 0:00:02.006 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify network state restored to default] ******************************** task path: /WORKDIR/git-bond_options_rewritelxcgdkqu/tests/playbooks/tests_switch_provider.yml:64 Wednesday 14 February 2024 02:39:03 +0000 (0:00:00.012) 0:00:02.019 **** 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 02:39:03 +0000 (0:00:00.023) 0:00:02.043 **** =============================================================================== Gathering Facts --------------------------------------------------------- 0.80s /WORKDIR/git-bond_options_rewritelxcgdkqu/tests/tests_switch_provider.yml:3 --- Gather the minimum subset of ansible_facts required by the network role test --- 0.42s /WORKDIR/git-bond_options_rewritelxcgdkqu/tests/tasks/el_repo_setup.yml:3 ----- Check if system is ostree ----------------------------------------------- 0.31s /WORKDIR/git-bond_options_rewritelxcgdkqu/tests/tasks/el_repo_setup.yml:19 ---- Set flag to indicate system is ostree ----------------------------------- 0.07s /WORKDIR/git-bond_options_rewritelxcgdkqu/tests/tasks/el_repo_setup.yml:24 ---- Include the task 'assert_device_present.yml' ---------------------------- 0.04s /WORKDIR/git-bond_options_rewritelxcgdkqu/tests/playbooks/tests_switch_provider.yml:51 Include the task 'remove+down_profile.yml' ------------------------------ 0.04s /WORKDIR/git-bond_options_rewritelxcgdkqu/tests/playbooks/tests_switch_provider.yml:53 Include the task 'enable_epel.yml' -------------------------------------- 0.03s /WORKDIR/git-bond_options_rewritelxcgdkqu/tests/tasks/el_repo_setup.yml:53 ---- Include the task 'assert_device_present.yml' ---------------------------- 0.03s /WORKDIR/git-bond_options_rewritelxcgdkqu/tests/playbooks/tests_switch_provider.yml:58 Fix CentOS6 Base repo --------------------------------------------------- 0.03s /WORKDIR/git-bond_options_rewritelxcgdkqu/tests/tasks/el_repo_setup.yml:28 ---- Include the task 'el_repo_setup.yml' ------------------------------------ 0.03s /WORKDIR/git-bond_options_rewritelxcgdkqu/tests/tests_switch_provider.yml:6 --- Verify network state restored to default -------------------------------- 0.02s /WORKDIR/git-bond_options_rewritelxcgdkqu/tests/playbooks/tests_switch_provider.yml:64 Enable EPEL 7 ----------------------------------------------------------- 0.02s /WORKDIR/git-bond_options_rewritelxcgdkqu/tests/tasks/enable_epel.yml:30 ------ Enable EPEL 6 ----------------------------------------------------------- 0.02s /WORKDIR/git-bond_options_rewritelxcgdkqu/tests/tasks/enable_epel.yml:40 ------ Include the task 'delete_interface.yml' --------------------------------- 0.02s /WORKDIR/git-bond_options_rewritelxcgdkqu/tests/playbooks/tests_switch_provider.yml:60 Through the nm provider, create test bridge {{ interface }} ------------- 0.02s /WORKDIR/git-bond_options_rewritelxcgdkqu/tests/playbooks/tests_switch_provider.yml:40 Through the initscripts provider, create test bridge {{ interface }} ---- 0.02s /WORKDIR/git-bond_options_rewritelxcgdkqu/tests/playbooks/tests_switch_provider.yml:14 Include the task 'remove+down_profile.yml' ------------------------------ 0.01s /WORKDIR/git-bond_options_rewritelxcgdkqu/tests/playbooks/tests_switch_provider.yml:28 Set fact to use initscripts network_provider ---------------------------- 0.01s /WORKDIR/git-bond_options_rewritelxcgdkqu/tests/playbooks/tests_switch_provider.yml:8 Include the task 'assert_device_absent.yml' ----------------------------- 0.01s /WORKDIR/git-bond_options_rewritelxcgdkqu/tests/playbooks/tests_switch_provider.yml:62 Install yum-utils package ----------------------------------------------- 0.01s /WORKDIR/git-bond_options_rewritelxcgdkqu/tests/tasks/enable_epel.yml:24 ------ ---^---^---^---^---^--- # 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. ---^---^---^---^---^---