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-62O executable location = /usr/local/bin/ansible-playbook python version = 3.12.6 (main, Sep 9 2024, 00:00:00) [GCC 13.3.1 20240522 (Red Hat 13.3.1-1)] (/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-62O/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-62O/ansible_collections/fedora/linux_system_roles/tests/network/tests_switch_provider.yml:3 Friday 04 October 2024 10:01:35 -0400 (0:00:00.009) 0:00:00.009 ******** [WARNING]: Platform linux on host managed-node1 is using the discovered Python interpreter at /usr/bin/python3.12, 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-node1] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-62O/ansible_collections/fedora/linux_system_roles/tests/network/tests_switch_provider.yml:6 Friday 04 October 2024 10:01:36 -0400 (0:00:01.377) 0:00:01.386 ******** included: /tmp/collections-62O/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed-node1 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/collections-62O/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Friday 04 October 2024 10:01:37 -0400 (0:00:00.078) 0:00:01.465 ******** ok: [managed-node1] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-62O/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Friday 04 October 2024 10:01:37 -0400 (0:00:00.630) 0:00:02.096 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-62O/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Friday 04 October 2024 10:01:38 -0400 (0:00:00.501) 0:00:02.597 ******** ok: [managed-node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-62O/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Friday 04 October 2024 10:01:38 -0400 (0:00:00.047) 0:00:02.645 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution == 'CentOS'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-62O/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Friday 04 October 2024 10:01:38 -0400 (0:00:00.033) 0:00:02.679 ******** included: /tmp/collections-62O/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node1 TASK [Create EPEL 39] ********************************************************** task path: /tmp/collections-62O/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Friday 04 October 2024 10:01:38 -0400 (0:00:00.143) 0:00:02.823 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /tmp/collections-62O/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Friday 04 October 2024 10:01:38 -0400 (0:00:00.043) 0:00:02.867 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-62O/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Friday 04 October 2024 10:01:38 -0400 (0:00:00.039) 0:00:02.906 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-62O/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Friday 04 October 2024 10:01:38 -0400 (0:00:00.038) 0:00:02.944 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-62O/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Friday 04 October 2024 10:01:38 -0400 (0:00:00.042) 0:00:02.987 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } PLAY [Switch initscripts provider to nm] *************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-62O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:5 Friday 04 October 2024 10:01:38 -0400 (0:00:00.103) 0:00:03.091 ******** skipping: [managed-node1] => { "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-62O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:8 Friday 04 October 2024 10:01:38 -0400 (0:00:00.039) 0:00:03.131 ******** skipping: [managed-node1] => { "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-62O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:14 Friday 04 October 2024 10:01:38 -0400 (0:00:00.026) 0:00:03.157 ******** skipping: [managed-node1] => { "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-62O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:25 Friday 04 October 2024 10:01:38 -0400 (0:00:00.023) 0:00:03.181 ******** skipping: [managed-node1] => { "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-62O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:27 Friday 04 October 2024 10:01:38 -0400 (0:00:00.032) 0:00:03.213 ******** skipping: [managed-node1] => { "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-62O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:32 Friday 04 October 2024 10:01:38 -0400 (0:00:00.045) 0:00:03.258 ******** skipping: [managed-node1] => { "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-62O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:34 Friday 04 October 2024 10:01:38 -0400 (0:00:00.048) 0:00:03.307 ******** skipping: [managed-node1] => { "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-62O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:39 Friday 04 October 2024 10:01:38 -0400 (0:00:00.053) 0:00:03.361 ******** skipping: [managed-node1] => { "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-62O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:50 Friday 04 October 2024 10:01:39 -0400 (0:00:00.048) 0:00:03.409 ******** skipping: [managed-node1] => { "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-62O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:52 Friday 04 October 2024 10:01:39 -0400 (0:00:00.055) 0:00:03.465 ******** skipping: [managed-node1] => { "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-62O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:57 Friday 04 October 2024 10:01:39 -0400 (0:00:00.025) 0:00:03.491 ******** skipping: [managed-node1] => { "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-62O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:59 Friday 04 October 2024 10:01:39 -0400 (0:00:00.034) 0:00:03.525 ******** skipping: [managed-node1] => { "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-62O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:61 Friday 04 October 2024 10:01:39 -0400 (0:00:00.050) 0:00:03.576 ******** skipping: [managed-node1] => { "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-62O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:63 Friday 04 October 2024 10:01:39 -0400 (0:00:00.044) 0:00:03.620 ******** skipping: [managed-node1] => { "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-node1 : ok=6 changed=0 unreachable=0 failed=0 skipped=20 rescued=0 ignored=0 Friday 04 October 2024 10:01:39 -0400 (0:00:00.049) 0:00:03.669 ******** =============================================================================== Gathering Facts --------------------------------------------------------- 1.38s /tmp/collections-62O/ansible_collections/fedora/linux_system_roles/tests/network/tests_switch_provider.yml:3 Gather the minimum subset of ansible_facts required by the network role test --- 0.63s /tmp/collections-62O/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Check if system is ostree ----------------------------------------------- 0.50s /tmp/collections-62O/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Include the task 'enable_epel.yml' -------------------------------------- 0.14s /tmp/collections-62O/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Enable EPEL 6 ----------------------------------------------------------- 0.10s /tmp/collections-62O/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Include the task 'el_repo_setup.yml' ------------------------------------ 0.08s /tmp/collections-62O/ansible_collections/fedora/linux_system_roles/tests/network/tests_switch_provider.yml:6 Include the task 'assert_device_present.yml' ---------------------------- 0.06s /tmp/collections-62O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:50 Set fact to use nm network_provider ------------------------------------- 0.05s /tmp/collections-62O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:34 Include the task 'delete_interface.yml' --------------------------------- 0.05s /tmp/collections-62O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:59 Verify network state restored to default -------------------------------- 0.05s /tmp/collections-62O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:63 Include the task 'assert_device_present.yml' ---------------------------- 0.05s /tmp/collections-62O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:32 Through the nm provider, create test bridge {{ interface }} ------------- 0.05s /tmp/collections-62O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:39 Set flag to indicate system is ostree ----------------------------------- 0.05s /tmp/collections-62O/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Include the task 'remove+down_profile.yml' ------------------------------ 0.05s /tmp/collections-62O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:27 Include the task 'assert_device_absent.yml' ----------------------------- 0.04s /tmp/collections-62O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:61 Create EPEL 39 ---------------------------------------------------------- 0.04s /tmp/collections-62O/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Enable EPEL 8 ----------------------------------------------------------- 0.04s /tmp/collections-62O/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Install yum-utils package ----------------------------------------------- 0.04s /tmp/collections-62O/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Gathering Facts --------------------------------------------------------- 0.04s /tmp/collections-62O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:5 Enable EPEL 7 ----------------------------------------------------------- 0.04s /tmp/collections-62O/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32