ansible-playbook [core 2.17.4] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.12/site-packages/ansible ansible collection location = /tmp/collections-T02 executable location = /usr/local/bin/ansible-playbook python version = 3.12.6 (main, Sep 9 2024, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-2)] (/usr/bin/python3.12) jinja version = 3.1.4 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.profile_tasks to ansible.posix.profile_tasks 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_switch_provider.yml ******************************************** 2 plays in /tmp/collections-T02/ansible_collections/fedora/linux_system_roles/tests/network/tests_switch_provider.yml PLAY [Run playbook 'playbooks/tests_switch_provider.yml'] ********************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-T02/ansible_collections/fedora/linux_system_roles/tests/network/tests_switch_provider.yml:3 Friday 04 October 2024 09:59:27 -0400 (0:00:00.007) 0:00:00.007 ******** [WARNING]: Platform linux on host managed-node2 is using the discovered Python interpreter at /usr/bin/python3.9, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed-node2] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-T02/ansible_collections/fedora/linux_system_roles/tests/network/tests_switch_provider.yml:6 Friday 04 October 2024 09:59:28 -0400 (0:00:01.027) 0:00:01.034 ******** included: /tmp/collections-T02/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed-node2 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/collections-T02/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Friday 04 October 2024 09:59:28 -0400 (0:00:00.038) 0:00:01.072 ******** ok: [managed-node2] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-T02/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Friday 04 October 2024 09:59:28 -0400 (0:00:00.496) 0:00:01.568 ******** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-T02/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Friday 04 October 2024 09:59:29 -0400 (0:00:00.695) 0:00:02.264 ******** ok: [managed-node2] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-T02/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Friday 04 October 2024 09:59:29 -0400 (0:00:00.041) 0:00:02.306 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-T02/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Friday 04 October 2024 09:59:29 -0400 (0:00:00.028) 0:00:02.334 ******** included: /tmp/collections-T02/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node2 TASK [Create EPEL 9] *********************************************************** task path: /tmp/collections-T02/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Friday 04 October 2024 09:59:29 -0400 (0:00:00.088) 0:00:02.423 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /tmp/collections-T02/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Friday 04 October 2024 09:59:29 -0400 (0:00:00.024) 0:00:02.448 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-T02/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Friday 04 October 2024 09:59:29 -0400 (0:00:00.020) 0:00:02.468 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-T02/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Friday 04 October 2024 09:59:29 -0400 (0:00:00.024) 0:00:02.493 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-T02/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Friday 04 October 2024 09:59:29 -0400 (0:00:00.025) 0:00:02.519 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } PLAY [Switch initscripts provider to nm] *************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-T02/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:5 Friday 04 October 2024 09:59:29 -0400 (0:00:00.075) 0:00:02.594 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution in ['CentOS', 'RedHat'] and ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Set fact to use initscripts network_provider] **************************** task path: /tmp/collections-T02/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:8 Friday 04 October 2024 09:59:29 -0400 (0:00:00.049) 0:00:02.643 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution in ['CentOS', 'RedHat'] and ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Through the initscripts provider, create test bridge {{ interface }}] **** task path: /tmp/collections-T02/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:14 Friday 04 October 2024 09:59:29 -0400 (0:00:00.024) 0:00:02.667 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution in ['CentOS', 'RedHat'] and ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-T02/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:25 Friday 04 October 2024 09:59:29 -0400 (0:00:00.029) 0:00:02.697 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution in ['CentOS', 'RedHat'] and ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Include the task 'remove+down_profile.yml'] ****************************** task path: /tmp/collections-T02/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:27 Friday 04 October 2024 09:59:30 -0400 (0:00:00.021) 0:00:02.719 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution in ['CentOS', 'RedHat'] and ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-T02/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:32 Friday 04 October 2024 09:59:30 -0400 (0:00:00.024) 0:00:02.743 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution in ['CentOS', 'RedHat'] and ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Set fact to use nm network_provider] ************************************* task path: /tmp/collections-T02/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:34 Friday 04 October 2024 09:59:30 -0400 (0:00:00.023) 0:00:02.767 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution in ['CentOS', 'RedHat'] and ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Through the nm provider, create test bridge {{ interface }}] ************* task path: /tmp/collections-T02/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:39 Friday 04 October 2024 09:59:30 -0400 (0:00:00.030) 0:00:02.797 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution in ['CentOS', 'RedHat'] and ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-T02/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:50 Friday 04 October 2024 09:59:30 -0400 (0:00:00.022) 0:00:02.820 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution in ['CentOS', 'RedHat'] and ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Include the task 'remove+down_profile.yml'] ****************************** task path: /tmp/collections-T02/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:52 Friday 04 October 2024 09:59:30 -0400 (0:00:00.024) 0:00:02.844 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution in ['CentOS', 'RedHat'] and ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-T02/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:57 Friday 04 October 2024 09:59:30 -0400 (0:00:00.033) 0:00:02.878 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution in ['CentOS', 'RedHat'] and ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Include the task 'delete_interface.yml'] ********************************* task path: /tmp/collections-T02/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:59 Friday 04 October 2024 09:59:30 -0400 (0:00:00.032) 0:00:02.910 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution in ['CentOS', 'RedHat'] and ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-T02/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:61 Friday 04 October 2024 09:59:30 -0400 (0:00:00.022) 0:00:02.932 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution in ['CentOS', 'RedHat'] and ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Verify network state restored to default] ******************************** task path: /tmp/collections-T02/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:63 Friday 04 October 2024 09:59:30 -0400 (0:00:00.022) 0:00:02.955 ******** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution in ['CentOS', 'RedHat'] and ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } PLAY RECAP ********************************************************************* managed-node2 : ok=6 changed=0 unreachable=0 failed=0 skipped=20 rescued=0 ignored=0 Friday 04 October 2024 09:59:30 -0400 (0:00:00.027) 0:00:02.983 ******** =============================================================================== Gathering Facts --------------------------------------------------------- 1.03s /tmp/collections-T02/ansible_collections/fedora/linux_system_roles/tests/network/tests_switch_provider.yml:3 Check if system is ostree ----------------------------------------------- 0.70s /tmp/collections-T02/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Gather the minimum subset of ansible_facts required by the network role test --- 0.50s /tmp/collections-T02/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Include the task 'enable_epel.yml' -------------------------------------- 0.09s /tmp/collections-T02/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Enable EPEL 6 ----------------------------------------------------------- 0.08s /tmp/collections-T02/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Gathering Facts --------------------------------------------------------- 0.05s /tmp/collections-T02/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:5 Set flag to indicate system is ostree ----------------------------------- 0.04s /tmp/collections-T02/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Include the task 'el_repo_setup.yml' ------------------------------------ 0.04s /tmp/collections-T02/ansible_collections/fedora/linux_system_roles/tests/network/tests_switch_provider.yml:6 Include the task 'assert_device_present.yml' ---------------------------- 0.03s /tmp/collections-T02/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:57 Include the task 'remove+down_profile.yml' ------------------------------ 0.03s /tmp/collections-T02/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:52 Set fact to use nm network_provider ------------------------------------- 0.03s /tmp/collections-T02/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:34 Through the initscripts provider, create test bridge {{ interface }} ---- 0.03s /tmp/collections-T02/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:14 Fix CentOS6 Base repo --------------------------------------------------- 0.03s /tmp/collections-T02/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Verify network state restored to default -------------------------------- 0.03s /tmp/collections-T02/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:63 Enable EPEL 8 ----------------------------------------------------------- 0.03s /tmp/collections-T02/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Include the task 'assert_device_present.yml' ---------------------------- 0.02s /tmp/collections-T02/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:50 Create EPEL 9 ----------------------------------------------------------- 0.02s /tmp/collections-T02/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Enable EPEL 7 ----------------------------------------------------------- 0.02s /tmp/collections-T02/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Include the task 'remove+down_profile.yml' ------------------------------ 0.02s /tmp/collections-T02/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:27 Set fact to use initscripts network_provider ---------------------------- 0.02s /tmp/collections-T02/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:8