ansible-playbook [core 2.17.12] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.13/site-packages/ansible ansible collection location = /tmp/collections-XIT executable location = /usr/local/bin/ansible-playbook python version = 3.13.3 (main, Apr 22 2025, 00:00:00) [GCC 14.2.1 20250110 (Red Hat 14.2.1-7)] (/usr/bin/python3.13) jinja version = 3.1.6 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'jsonl', as we already have a stdout callback. 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_ethernet_initscripts.yml *************************************** 2 plays in /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/tests_ethernet_initscripts.yml PLAY [Run playbook 'playbooks/tests_ethernet.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/tests_ethernet_initscripts.yml:5 Thursday 26 June 2025 15:14:16 -0400 (0:00:00.050) 0:00:00.050 ********* [WARNING]: Platform linux on host managed-node4 is using the discovered Python interpreter at /usr/bin/python3, 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-node4] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/tests_ethernet_initscripts.yml:8 Thursday 26 June 2025 15:14:18 -0400 (0:00:02.244) 0:00:02.295 ********* included: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed-node4 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Thursday 26 June 2025 15:14:18 -0400 (0:00:00.104) 0:00:02.400 ********* ok: [managed-node4] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Thursday 26 June 2025 15:14:19 -0400 (0:00:00.813) 0:00:03.214 ********* ok: [managed-node4] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Thursday 26 June 2025 15:14:20 -0400 (0:00:00.852) 0:00:04.067 ********* ok: [managed-node4] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Thursday 26 June 2025 15:14:20 -0400 (0:00:00.061) 0:00:04.128 ********* skipping: [managed-node4] => { "changed": false, "false_condition": "ansible_distribution == 'CentOS'", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/tests_ethernet_initscripts.yml:10 Thursday 26 June 2025 15:14:20 -0400 (0:00:00.029) 0:00:04.158 ********* ok: [managed-node4] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } PLAY [Test configuring ethernet devices] *************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethernet.yml:3 Thursday 26 June 2025 15:14:20 -0400 (0:00:00.029) 0:00:04.187 ********* skipping: [managed-node4] => { "changed": false, "false_condition": "(ansible_distribution in ['CentOS','RedHat'] and ansible_distribution_major_version | int < 9)", "skip_reason": "Conditional result was False" } TASK [Show inside ethernet tests] ********************************************** task path: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethernet.yml:9 Thursday 26 June 2025 15:14:20 -0400 (0:00:00.107) 0:00:04.295 ********* skipping: [managed-node4] => { "false_condition": "(ansible_distribution in ['CentOS','RedHat'] and ansible_distribution_major_version | int < 9)" } TASK [Show network_provider] *************************************************** task path: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethernet.yml:13 Thursday 26 June 2025 15:14:20 -0400 (0:00:00.104) 0:00:04.399 ********* skipping: [managed-node4] => { "false_condition": "(ansible_distribution in ['CentOS','RedHat'] and ansible_distribution_major_version | int < 9)" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethernet.yml:17 Thursday 26 June 2025 15:14:20 -0400 (0:00:00.079) 0:00:04.479 ********* skipping: [managed-node4] => { "changed": false, "false_condition": "(ansible_distribution in ['CentOS','RedHat'] and ansible_distribution_major_version | int < 9)", "skip_reason": "Conditional result was False" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethernet.yml:20 Thursday 26 June 2025 15:14:21 -0400 (0:00:00.056) 0:00:04.535 ********* skipping: [managed-node4] => { "changed": false, "false_condition": "(ansible_distribution in ['CentOS','RedHat'] and ansible_distribution_major_version | int < 9)", "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethernet.yml:25 Thursday 26 June 2025 15:14:21 -0400 (0:00:00.063) 0:00:04.598 ********* skipping: [managed-node4] => { "changed": false, "false_condition": "(ansible_distribution in ['CentOS','RedHat'] and ansible_distribution_major_version | int < 9)", "skip_reason": "Conditional result was False" } TASK [Test static interface up] ************************************************ task path: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethernet.yml:28 Thursday 26 June 2025 15:14:21 -0400 (0:00:00.101) 0:00:04.699 ********* skipping: [managed-node4] => { "changed": false, "false_condition": "(ansible_distribution in ['CentOS','RedHat'] and ansible_distribution_major_version | int < 9)", "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_output_in_stderr_without_warnings.yml'] ********* task path: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethernet.yml:41 Thursday 26 June 2025 15:14:21 -0400 (0:00:00.076) 0:00:04.776 ********* skipping: [managed-node4] => { "changed": false, "false_condition": "(ansible_distribution in ['CentOS','RedHat'] and ansible_distribution_major_version | int < 9)", "skip_reason": "Conditional result was False" } TASK [Show network_provider after running role] ******************************** task path: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethernet.yml:44 Thursday 26 June 2025 15:14:21 -0400 (0:00:00.076) 0:00:04.852 ********* skipping: [managed-node4] => { "false_condition": "(ansible_distribution in ['CentOS','RedHat'] and ansible_distribution_major_version | int < 9)" } TASK [Include the tasks 'down_profile+delete_interface.yml'] ******************* task path: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethernet.yml:50 Thursday 26 June 2025 15:14:21 -0400 (0:00:00.102) 0:00:04.955 ********* skipping: [managed-node4] => { "changed": false, "false_condition": "(ansible_distribution in ['CentOS','RedHat'] and ansible_distribution_major_version | int < 9)", "skip_reason": "Conditional result was False" } TASK [Include the task 'remove_profile.yml'] *********************************** task path: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethernet.yml:56 Thursday 26 June 2025 15:14:21 -0400 (0:00:00.130) 0:00:05.085 ********* skipping: [managed-node4] => { "changed": false, "false_condition": "(ansible_distribution in ['CentOS','RedHat'] and ansible_distribution_major_version | int < 9)", "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_profile_absent.yml'] **************************** task path: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethernet.yml:61 Thursday 26 June 2025 15:14:21 -0400 (0:00:00.141) 0:00:05.226 ********* skipping: [managed-node4] => { "changed": false, "false_condition": "(ansible_distribution in ['CentOS','RedHat'] and ansible_distribution_major_version | int < 9)", "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethernet.yml:65 Thursday 26 June 2025 15:14:21 -0400 (0:00:00.121) 0:00:05.348 ********* skipping: [managed-node4] => { "changed": false, "false_condition": "(ansible_distribution in ['CentOS','RedHat'] and ansible_distribution_major_version | int < 9)", "skip_reason": "Conditional result was False" } TASK [Verify network state restored to default] ******************************** task path: /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethernet.yml:68 Thursday 26 June 2025 15:14:21 -0400 (0:00:00.111) 0:00:05.459 ********* skipping: [managed-node4] => { "changed": false, "false_condition": "(ansible_distribution in ['CentOS','RedHat'] and ansible_distribution_major_version | int < 9)", "skip_reason": "Conditional result was False" } PLAY RECAP ********************************************************************* managed-node4 : ok=6 changed=0 unreachable=0 failed=0 skipped=15 rescued=0 ignored=0 SYSTEM ROLES ERRORS BEGIN v1 [] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Thursday 26 June 2025 15:14:22 -0400 (0:00:00.068) 0:00:05.528 ********* =============================================================================== Gathering Facts --------------------------------------------------------- 2.24s /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/tests_ethernet_initscripts.yml:5 Check if system is ostree ----------------------------------------------- 0.85s /tmp/collections-XIT/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.81s /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Include the task 'remove_profile.yml' ----------------------------------- 0.14s /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethernet.yml:56 Include the tasks 'down_profile+delete_interface.yml' ------------------- 0.13s /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethernet.yml:50 Include the task 'assert_profile_absent.yml' ---------------------------- 0.12s /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethernet.yml:61 Include the task 'assert_device_absent.yml' ----------------------------- 0.11s /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethernet.yml:65 Gathering Facts --------------------------------------------------------- 0.11s /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethernet.yml:3 Include the task 'el_repo_setup.yml' ------------------------------------ 0.10s /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/tests_ethernet_initscripts.yml:8 Show inside ethernet tests ---------------------------------------------- 0.10s /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethernet.yml:9 Show network_provider after running role -------------------------------- 0.10s /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethernet.yml:44 Include the task 'assert_device_present.yml' ---------------------------- 0.10s /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethernet.yml:25 Show network_provider --------------------------------------------------- 0.08s /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethernet.yml:13 Test static interface up ------------------------------------------------ 0.08s /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethernet.yml:28 Include the task 'assert_output_in_stderr_without_warnings.yml' --------- 0.08s /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethernet.yml:41 Verify network state restored to default -------------------------------- 0.07s /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethernet.yml:68 Include the task 'manage_test_interface.yml' ---------------------------- 0.06s /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethernet.yml:20 Set flag to indicate system is ostree ----------------------------------- 0.06s /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Include the task 'show_interfaces.yml' ---------------------------------- 0.06s /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethernet.yml:17 Set network provider to 'initscripts' ----------------------------------- 0.03s /tmp/collections-XIT/ansible_collections/fedora/linux_system_roles/tests/network/tests_ethernet_initscripts.yml:10