[DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ansible-playbook [core 2.17.2] 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/tmp.jetYVOez5o executable location = /usr/local/bin/ansible-playbook python version = 3.12.4 (main, Jun 7 2024, 00:00:00) [GCC 14.1.1 20240607 (Red Hat 14.1.1-5)] (/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: action) ansible.builtin.yum to ansible.builtin.dnf redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf 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_integration_pytest.yml ***************************************** 7 plays in /tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/tests/network/tests_integration_pytest.yml PLAY [Run playbook 'playbooks/integration_pytest_python3.yml'] ***************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/tests/network/tests_integration_pytest.yml:3 Wednesday 31 July 2024 11:43:30 -0400 (0:00:00.008) 0:00:00.008 ******** [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/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/tests/network/tests_integration_pytest.yml:6 Wednesday 31 July 2024 11:43:33 -0400 (0:00:02.725) 0:00:02.734 ******** included: /tmp/tmp.jetYVOez5o/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/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Wednesday 31 July 2024 11:43:33 -0400 (0:00:00.020) 0:00:02.755 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not ansible_facts.keys() | list | intersect(network_test_required_facts) == network_test_required_facts", "skip_reason": "Conditional result was False" } TASK [Check if system is ostree] *********************************************** task path: /tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Wednesday 31 July 2024 11:43:33 -0400 (0:00:00.035) 0:00:02.790 ******** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Wednesday 31 July 2024 11:43:34 -0400 (0:00:00.479) 0:00:03.270 ******** ok: [managed_node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Wednesday 31 July 2024 11:43:34 -0400 (0:00:00.025) 0:00:03.295 ******** 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/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Wednesday 31 July 2024 11:43:34 -0400 (0:00:00.015) 0:00:03.310 ******** included: /tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node1 TASK [Create EPEL 40] ********************************************************** task path: /tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Wednesday 31 July 2024 11:43:34 -0400 (0:00:00.045) 0:00:03.356 ******** 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/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:24 Wednesday 31 July 2024 11:43:34 -0400 (0:00:00.014) 0:00:03.371 ******** 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/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:30 Wednesday 31 July 2024 11:43:34 -0400 (0:00:00.013) 0:00:03.385 ******** 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/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:35 Wednesday 31 July 2024 11:43:34 -0400 (0:00:00.014) 0:00:03.399 ******** 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/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:40 Wednesday 31 July 2024 11:43:34 -0400 (0:00:00.017) 0:00:03.416 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } PLAY [Install dependencies for integration tests] ****************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/integration_pytest_python3.yml:3 Wednesday 31 July 2024 11:43:34 -0400 (0:00:00.031) 0:00:03.448 ******** ok: [managed_node1] TASK [Install rpm dependencies] ************************************************ task path: /tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/integration_pytest_python3.yml:12 Wednesday 31 July 2024 11:43:36 -0400 (0:00:02.257) 0:00:05.705 ******** changed: [managed_node1] => { "changed": true, "rc": 0, "results": [ "Installed: python3-pip-23.3.2-1.fc40.noarch" ] } TASK [Install Pytest] ********************************************************** task path: /tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/integration_pytest_python3.yml:18 Wednesday 31 July 2024 11:43:40 -0400 (0:00:04.059) 0:00:09.764 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "pip3", "install", "pytest" ], "delta": "0:00:02.569053", "end": "2024-07-31 11:43:43.688702", "rc": 0, "start": "2024-07-31 11:43:41.119649" } STDOUT: Collecting pytest Downloading pytest-8.3.2-py3-none-any.whl.metadata (7.5 kB) Collecting iniconfig (from pytest) Downloading iniconfig-2.0.0-py3-none-any.whl.metadata (2.6 kB) Collecting packaging (from pytest) Downloading packaging-24.1-py3-none-any.whl.metadata (3.2 kB) Collecting pluggy<2,>=1.5 (from pytest) Downloading pluggy-1.5.0-py3-none-any.whl.metadata (4.8 kB) Downloading pytest-8.3.2-py3-none-any.whl (341 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 341.8/341.8 kB 8.4 MB/s eta 0:00:00 Downloading pluggy-1.5.0-py3-none-any.whl (20 kB) Downloading iniconfig-2.0.0-py3-none-any.whl (5.9 kB) Downloading packaging-24.1-py3-none-any.whl (53 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 54.0/54.0 kB 4.6 MB/s eta 0:00:00 Installing collected packages: pluggy, packaging, iniconfig, pytest Successfully installed iniconfig-2.0.0 packaging-24.1 pluggy-1.5.0 pytest-8.3.2 STDERR: WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv PLAY [Run playbook 'tests_default.yml' with initscripts as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/tests/network/tests_default_initscripts.yml:3 Wednesday 31 July 2024 11:43:43 -0400 (0:00:03.073) 0:00:12.838 ******** ok: [managed_node1] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/tests/network/tests_default_initscripts.yml:6 Wednesday 31 July 2024 11:43:46 -0400 (0:00:02.360) 0:00:15.198 ******** included: /tmp/tmp.jetYVOez5o/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/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Wednesday 31 July 2024 11:43:46 -0400 (0:00:00.023) 0:00:15.221 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not ansible_facts.keys() | list | intersect(network_test_required_facts) == network_test_required_facts", "skip_reason": "Conditional result was False" } TASK [Check if system is ostree] *********************************************** task path: /tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Wednesday 31 July 2024 11:43:46 -0400 (0:00:00.036) 0:00:15.258 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Wednesday 31 July 2024 11:43:46 -0400 (0:00:00.022) 0:00:15.280 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Wednesday 31 July 2024 11:43:46 -0400 (0:00:00.020) 0:00:15.301 ******** 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/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Wednesday 31 July 2024 11:43:46 -0400 (0:00:00.016) 0:00:15.317 ******** included: /tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/../tasks/enable_epel.yml for managed_node1 TASK [Create EPEL 40] ********************************************************** task path: /tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Wednesday 31 July 2024 11:43:46 -0400 (0:00:00.046) 0:00:15.364 ******** 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/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:24 Wednesday 31 July 2024 11:43:46 -0400 (0:00:00.016) 0:00:15.380 ******** 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/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:30 Wednesday 31 July 2024 11:43:46 -0400 (0:00:00.018) 0:00:15.398 ******** 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/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:35 Wednesday 31 July 2024 11:43:46 -0400 (0:00:00.015) 0:00:15.414 ******** 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/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:40 Wednesday 31 July 2024 11:43:46 -0400 (0:00:00.015) 0:00:15.429 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/tests/network/tests_default_initscripts.yml:8 Wednesday 31 July 2024 11:43:46 -0400 (0:00:00.016) 0:00:15.446 ******** ok: [managed_node1] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } PLAY [Test executing the role with default parameters] ************************* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 31 July 2024 11:43:46 -0400 (0:00:00.043) 0:00:15.489 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "(ansible_distribution in ['CentOS','RedHat'] and ansible_distribution_major_version | int < 9)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 31 July 2024 11:43:46 -0400 (0:00:00.040) 0:00:15.530 ******** skipping: [managed_node1] => { "false_condition": "(ansible_distribution in ['CentOS','RedHat'] and ansible_distribution_major_version | int < 9)" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 31 July 2024 11:43:46 -0400 (0:00:00.037) 0:00:15.567 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "(ansible_distribution in ['CentOS','RedHat'] and ansible_distribution_major_version | int < 9)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 31 July 2024 11:43:46 -0400 (0:00:00.036) 0:00:15.604 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "(ansible_distribution in ['CentOS','RedHat'] and ansible_distribution_major_version | int < 9)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 31 July 2024 11:43:46 -0400 (0:00:00.040) 0:00:15.644 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "(ansible_distribution in ['CentOS','RedHat'] and ansible_distribution_major_version | int < 9)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 31 July 2024 11:43:46 -0400 (0:00:00.039) 0:00:15.684 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "(ansible_distribution in ['CentOS','RedHat'] and ansible_distribution_major_version | int < 9)", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 31 July 2024 11:43:46 -0400 (0:00:00.038) 0:00:15.722 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "(ansible_distribution in ['CentOS','RedHat'] and ansible_distribution_major_version | int < 9)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 31 July 2024 11:43:46 -0400 (0:00:00.038) 0:00:15.761 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "(ansible_distribution in ['CentOS','RedHat'] and ansible_distribution_major_version | int < 9)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 31 July 2024 11:43:46 -0400 (0:00:00.036) 0:00:15.797 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "(ansible_distribution in ['CentOS','RedHat'] and ansible_distribution_major_version | int < 9)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 31 July 2024 11:43:46 -0400 (0:00:00.038) 0:00:15.835 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "(ansible_distribution in ['CentOS','RedHat'] and ansible_distribution_major_version | int < 9)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 31 July 2024 11:43:46 -0400 (0:00:00.037) 0:00:15.873 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "(ansible_distribution in ['CentOS','RedHat'] and ansible_distribution_major_version | int < 9)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 31 July 2024 11:43:46 -0400 (0:00:00.036) 0:00:15.910 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "(ansible_distribution in ['CentOS','RedHat'] and ansible_distribution_major_version | int < 9)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 31 July 2024 11:43:46 -0400 (0:00:00.038) 0:00:15.949 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 31 July 2024 11:43:46 -0400 (0:00:00.040) 0:00:15.990 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "(ansible_distribution in ['CentOS','RedHat'] and ansible_distribution_major_version | int < 9)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 31 July 2024 11:43:46 -0400 (0:00:00.038) 0:00:16.028 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 31 July 2024 11:43:46 -0400 (0:00:00.041) 0:00:16.070 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "(ansible_distribution in ['CentOS','RedHat'] and ansible_distribution_major_version | int < 9)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 31 July 2024 11:43:47 -0400 (0:00:00.040) 0:00:16.111 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "(ansible_distribution in ['CentOS','RedHat'] and ansible_distribution_major_version | int < 9)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 31 July 2024 11:43:47 -0400 (0:00:00.039) 0:00:16.150 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "(ansible_distribution in ['CentOS','RedHat'] and ansible_distribution_major_version | int < 9)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 31 July 2024 11:43:47 -0400 (0:00:00.041) 0:00:16.192 ******** skipping: [managed_node1] => { "false_condition": "(ansible_distribution in ['CentOS','RedHat'] and ansible_distribution_major_version | int < 9)" } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 31 July 2024 11:43:47 -0400 (0:00:00.038) 0:00:16.230 ******** skipping: [managed_node1] => { "false_condition": "(ansible_distribution in ['CentOS','RedHat'] and ansible_distribution_major_version | int < 9)" } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 31 July 2024 11:43:47 -0400 (0:00:00.037) 0:00:16.268 ******** skipping: [managed_node1] => { "false_condition": "(ansible_distribution in ['CentOS','RedHat'] and ansible_distribution_major_version | int < 9)" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 31 July 2024 11:43:47 -0400 (0:00:00.040) 0:00:16.308 ******** skipping: [managed_node1] => { "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 'el_repo_setup.yml'] ************************************ task path: /tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/tests/network/tests_default.yml:9 Wednesday 31 July 2024 11:43:47 -0400 (0:00:00.042) 0:00:16.351 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "(ansible_distribution in ['CentOS','RedHat'] and ansible_distribution_major_version | int < 9)", "skip_reason": "Conditional result was False" } TASK [Test warning and info logs] ********************************************** task path: /tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/tests/network/tests_default.yml:11 Wednesday 31 July 2024 11:43:47 -0400 (0:00:00.039) 0:00:16.390 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "(ansible_distribution in ['CentOS','RedHat'] and ansible_distribution_major_version | int < 9)", "skip_reason": "Conditional result was False" } PLAY [Run playbook 'tests_default.yml' with nm as provider] ******************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/tests/network/tests_default_nm.yml:3 Wednesday 31 July 2024 11:43:47 -0400 (0:00:00.050) 0:00:16.441 ******** ok: [managed_node1] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/tests/network/tests_default_nm.yml:6 Wednesday 31 July 2024 11:43:49 -0400 (0:00:02.278) 0:00:18.720 ******** included: /tmp/tmp.jetYVOez5o/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/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Wednesday 31 July 2024 11:43:49 -0400 (0:00:00.023) 0:00:18.744 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not ansible_facts.keys() | list | intersect(network_test_required_facts) == network_test_required_facts", "skip_reason": "Conditional result was False" } TASK [Check if system is ostree] *********************************************** task path: /tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Wednesday 31 July 2024 11:43:49 -0400 (0:00:00.040) 0:00:18.784 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Wednesday 31 July 2024 11:43:49 -0400 (0:00:00.028) 0:00:18.812 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Wednesday 31 July 2024 11:43:49 -0400 (0:00:00.021) 0:00:18.834 ******** 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/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Wednesday 31 July 2024 11:43:49 -0400 (0:00:00.016) 0:00:18.850 ******** included: /tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/../tasks/enable_epel.yml for managed_node1 TASK [Create EPEL 40] ********************************************************** task path: /tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Wednesday 31 July 2024 11:43:49 -0400 (0:00:00.046) 0:00:18.897 ******** 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/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:24 Wednesday 31 July 2024 11:43:49 -0400 (0:00:00.017) 0:00:18.915 ******** 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/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:30 Wednesday 31 July 2024 11:43:49 -0400 (0:00:00.018) 0:00:18.933 ******** 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/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:35 Wednesday 31 July 2024 11:43:49 -0400 (0:00:00.015) 0:00:18.949 ******** 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/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:40 Wednesday 31 July 2024 11:43:49 -0400 (0:00:00.017) 0:00:18.966 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/tests/network/tests_default_nm.yml:8 Wednesday 31 July 2024 11:43:49 -0400 (0:00:00.015) 0:00:18.982 ******** ok: [managed_node1] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Test executing the role with default parameters] ************************* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 31 July 2024 11:43:49 -0400 (0:00:00.041) 0:00:19.024 ******** included: /tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 31 July 2024 11:43:49 -0400 (0:00:00.033) 0:00:19.058 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 31 July 2024 11:43:50 -0400 (0:00:00.046) 0:00:19.104 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 31 July 2024 11:43:50 -0400 (0:00:00.029) 0:00:19.134 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 31 July 2024 11:43:50 -0400 (0:00:00.030) 0:00:19.165 ******** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 31 July 2024 11:43:52 -0400 (0:00:02.832) 0:00:21.997 ******** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 31 July 2024 11:43:54 -0400 (0:00:01.304) 0:00:23.301 ******** ok: [managed_node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 31 July 2024 11:43:54 -0400 (0:00:00.042) 0:00:23.344 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 31 July 2024 11:43:54 -0400 (0:00:00.067) 0:00:23.412 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 31 July 2024 11:43:54 -0400 (0:00:00.040) 0:00:23.453 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution in __network_rh_distros", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 31 July 2024 11:43:54 -0400 (0:00:00.062) 0:00:23.515 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 31 July 2024 11:43:54 -0400 (0:00:00.074) 0:00:23.590 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 31 July 2024 11:43:54 -0400 (0:00:00.061) 0:00:23.652 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 31 July 2024 11:43:54 -0400 (0:00:00.066) 0:00:23.718 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 31 July 2024 11:43:54 -0400 (0:00:00.093) 0:00:23.811 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 31 July 2024 11:43:54 -0400 (0:00:00.042) 0:00:23.853 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 31 July 2024 11:43:54 -0400 (0:00:00.041) 0:00:23.895 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 31 July 2024 11:43:54 -0400 (0:00:00.067) 0:00:23.962 ******** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 31 July 2024 11:43:55 -0400 (0:00:00.911) 0:00:24.874 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 31 July 2024 11:43:55 -0400 (0:00:00.071) 0:00:24.945 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 31 July 2024 11:43:55 -0400 (0:00:00.040) 0:00:24.985 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 31 July 2024 11:43:55 -0400 (0:00:00.041) 0:00:25.026 ******** ok: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 31 July 2024 11:43:56 -0400 (0:00:00.832) 0:00:25.858 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 31 July 2024 11:43:56 -0400 (0:00:00.075) 0:00:25.934 ******** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 31 July 2024 11:43:56 -0400 (0:00:00.048) 0:00:25.982 ******** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 31 July 2024 11:43:56 -0400 (0:00:00.045) 0:00:26.028 ******** skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 31 July 2024 11:43:56 -0400 (0:00:00.041) 0:00:26.069 ******** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/tests/network/tests_default.yml:9 Wednesday 31 July 2024 11:43:57 -0400 (0:00:00.518) 0:00:26.587 ******** included: /tmp/tmp.jetYVOez5o/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/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Wednesday 31 July 2024 11:43:57 -0400 (0:00:00.064) 0:00:26.652 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not ansible_facts.keys() | list | intersect(network_test_required_facts) == network_test_required_facts", "skip_reason": "Conditional result was False" } TASK [Check if system is ostree] *********************************************** task path: /tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Wednesday 31 July 2024 11:43:57 -0400 (0:00:00.069) 0:00:26.721 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Wednesday 31 July 2024 11:43:57 -0400 (0:00:00.042) 0:00:26.764 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Wednesday 31 July 2024 11:43:57 -0400 (0:00:00.044) 0:00:26.808 ******** 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/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Wednesday 31 July 2024 11:43:57 -0400 (0:00:00.039) 0:00:26.847 ******** included: /tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/../tasks/enable_epel.yml for managed_node1 TASK [Create EPEL 40] ********************************************************** task path: /tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Wednesday 31 July 2024 11:43:57 -0400 (0:00:00.089) 0:00:26.937 ******** 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/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:24 Wednesday 31 July 2024 11:43:57 -0400 (0:00:00.077) 0:00:27.014 ******** 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/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:30 Wednesday 31 July 2024 11:43:57 -0400 (0:00:00.037) 0:00:27.052 ******** 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/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:35 Wednesday 31 July 2024 11:43:58 -0400 (0:00:00.079) 0:00:27.131 ******** 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/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:40 Wednesday 31 July 2024 11:43:58 -0400 (0:00:00.037) 0:00:27.169 ******** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Test warning and info logs] ********************************************** task path: /tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/tests/network/tests_default.yml:11 Wednesday 31 July 2024 11:43:58 -0400 (0:00:00.039) 0:00:27.208 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed PLAY [Run Pytest tests] ******************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/integration_pytest_python3.yml:34 Wednesday 31 July 2024 11:43:58 -0400 (0:00:00.132) 0:00:27.341 ******** ok: [managed_node1] TASK [Create tempdir for code to test] ***************************************** task path: /tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/integration_pytest_python3.yml:39 Wednesday 31 July 2024 11:44:00 -0400 (0:00:02.425) 0:00:29.766 ******** changed: [managed_node1] => { "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/lsrtest_6dp4yvek", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 40, "state": "directory", "uid": 0 } TASK [Get tempfile for tar] **************************************************** task path: /tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/integration_pytest_python3.yml:45 Wednesday 31 July 2024 11:44:01 -0400 (0:00:00.508) 0:00:30.274 ******** changed: [managed_node1 -> localhost] => { "changed": true, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/lsrtest_63687ur2.tar", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [Include the task '../tasks/get_modules_and_utils_paths.yml'] ************* task path: /tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/integration_pytest_python3.yml:52 Wednesday 31 July 2024 11:44:01 -0400 (0:00:00.243) 0:00:30.517 ******** included: /tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_modules_and_utils_paths.yml for managed_node1 TASK [Set collection paths] **************************************************** task path: /tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_modules_and_utils_paths.yml:3 Wednesday 31 July 2024 11:44:01 -0400 (0:00:00.106) 0:00:30.623 ******** ok: [managed_node1] => { "ansible_facts": { "collection_paths": [ "/tmp/tmp.jetYVOez5o", "/tmp/tmp.jetYVOez5o" ] }, "changed": false } TASK [Set search paths] ******************************************************** task path: /tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_modules_and_utils_paths.yml:13 Wednesday 31 July 2024 11:44:01 -0400 (0:00:00.066) 0:00:30.690 ******** ok: [managed_node1] => { "ansible_facts": { "module_utils_search_path": [ "../../module_utils", "../module_utils", "/root/.ansible/plugins/module_utils", "/usr/share/ansible/plugins/module_utils" ], "modules_search_path": [ "../../library", "../library", "/root/.ansible/plugins/modules", "/usr/share/ansible/plugins/modules" ] }, "changed": false } TASK [Find parent directory and path of modules] ******************************* task path: /tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_modules_and_utils_paths.yml:42 Wednesday 31 July 2024 11:44:01 -0400 (0:00:00.072) 0:00:30.763 ******** ok: [managed_node1 -> localhost] => { "changed": false, "cmd": "set -euxo pipefail\nfor dir in ../../library ../library /root/.ansible/plugins/modules /usr/share/ansible/plugins/modules; do\n if [ -f \"$dir/network_connections.py\" ]; then\n readlink -f \"$(dirname \"$dir\")\"\n basename \"$dir\"\n exit 0\n fi\ndone\nfor dir in /tmp/tmp.jetYVOez5o /tmp/tmp.jetYVOez5o; do\n if [ ! -d \"$dir\" ]; then continue; fi\n cd \"$dir\"\n for subdir in ansible_collections/*/*/plugins/modules; do\n if [ -f \"$subdir/network_connections.py\" ]; then\n echo \"$dir\"\n echo \"$subdir\"\n exit 0\n fi\n done\ndone\necho network_connections.py not found\nexit 1\n", "delta": "0:00:00.004236", "end": "2024-07-31 11:44:01.907644", "rc": 0, "start": "2024-07-31 11:44:01.903408" } STDOUT: /tmp/tmp.jetYVOez5o ansible_collections/fedora/linux_system_roles/plugins/modules STDERR: + for dir in ../../library ../library /root/.ansible/plugins/modules /usr/share/ansible/plugins/modules + '[' -f ../../library/network_connections.py ']' + for dir in ../../library ../library /root/.ansible/plugins/modules /usr/share/ansible/plugins/modules + '[' -f ../library/network_connections.py ']' + for dir in ../../library ../library /root/.ansible/plugins/modules /usr/share/ansible/plugins/modules + '[' -f /root/.ansible/plugins/modules/network_connections.py ']' + for dir in ../../library ../library /root/.ansible/plugins/modules /usr/share/ansible/plugins/modules + '[' -f /usr/share/ansible/plugins/modules/network_connections.py ']' + for dir in /tmp/tmp.jetYVOez5o /tmp/tmp.jetYVOez5o + '[' '!' -d /tmp/tmp.jetYVOez5o ']' + cd /tmp/tmp.jetYVOez5o + for subdir in ansible_collections/*/*/plugins/modules + '[' -f ansible_collections/ansible/posix/plugins/modules/network_connections.py ']' + for subdir in ansible_collections/*/*/plugins/modules + '[' -f ansible_collections/fedora/linux_system_roles/plugins/modules/network_connections.py ']' + echo /tmp/tmp.jetYVOez5o + echo ansible_collections/fedora/linux_system_roles/plugins/modules + exit 0 TASK [Find parent directory and path of module_utils] ************************** task path: /tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_modules_and_utils_paths.yml:69 Wednesday 31 July 2024 11:44:01 -0400 (0:00:00.275) 0:00:31.038 ******** ok: [managed_node1 -> localhost] => { "changed": false, "cmd": "set -euxo pipefail\nfor dir in ../../module_utils ../module_utils /root/.ansible/plugins/module_utils /usr/share/ansible/plugins/module_utils; do\n if [ -d \"$dir/network_lsr\" ]; then\n readlink -f \"$(dirname \"$dir\")\"\n basename \"$dir\"\n exit 0\n fi\ndone\nfor dir in /tmp/tmp.jetYVOez5o /tmp/tmp.jetYVOez5o; do\n if [ ! -d \"$dir\" ]; then continue; fi\n cd \"$dir\"\n for subdir in ansible_collections/*/*/plugins/module_utils; do\n if [ -d \"$subdir/network_lsr\" ]; then\n echo \"$dir\"\n echo \"$subdir\"\n exit 0\n fi\n done\ndone\necho network_lsr not found\nexit 1\n", "delta": "0:00:00.004311", "end": "2024-07-31 11:44:02.186432", "rc": 0, "start": "2024-07-31 11:44:02.182121" } STDOUT: /tmp/tmp.jetYVOez5o ansible_collections/fedora/linux_system_roles/plugins/module_utils STDERR: + for dir in ../../module_utils ../module_utils /root/.ansible/plugins/module_utils /usr/share/ansible/plugins/module_utils + '[' -d ../../module_utils/network_lsr ']' + for dir in ../../module_utils ../module_utils /root/.ansible/plugins/module_utils /usr/share/ansible/plugins/module_utils + '[' -d ../module_utils/network_lsr ']' + for dir in ../../module_utils ../module_utils /root/.ansible/plugins/module_utils /usr/share/ansible/plugins/module_utils + '[' -d /root/.ansible/plugins/module_utils/network_lsr ']' + for dir in ../../module_utils ../module_utils /root/.ansible/plugins/module_utils /usr/share/ansible/plugins/module_utils + '[' -d /usr/share/ansible/plugins/module_utils/network_lsr ']' + for dir in /tmp/tmp.jetYVOez5o /tmp/tmp.jetYVOez5o + '[' '!' -d /tmp/tmp.jetYVOez5o ']' + cd /tmp/tmp.jetYVOez5o + for subdir in ansible_collections/*/*/plugins/module_utils + '[' -d ansible_collections/ansible/posix/plugins/module_utils/network_lsr ']' + for subdir in ansible_collections/*/*/plugins/module_utils + '[' -d ansible_collections/fedora/linux_system_roles/plugins/module_utils/network_lsr ']' + echo /tmp/tmp.jetYVOez5o + echo ansible_collections/fedora/linux_system_roles/plugins/module_utils + exit 0 TASK [Get tests directory] ***************************************************** task path: /tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/integration_pytest_python3.yml:55 Wednesday 31 July 2024 11:44:02 -0400 (0:00:00.279) 0:00:31.318 ******** ok: [managed_node1] => { "ansible_facts": { "tests_directory": "/tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/tests/network/network" }, "changed": false } TASK [Create Tar file] ********************************************************* task path: /tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/integration_pytest_python3.yml:70 Wednesday 31 July 2024 11:44:02 -0400 (0:00:00.047) 0:00:31.366 ******** fatal: [managed_node1 -> localhost]: FAILED! => { "changed": false, "cmd": [ "tar", "-cvf", "/tmp/lsrtest_63687ur2.tar", "--exclude", "*.pyc", "--exclude", "__pycache__", "-C", "/tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/tests/network", "network", "-C", "/tmp/tmp.jetYVOez5o", "ansible_collections/fedora/linux_system_roles/plugins/modules", "-C", "/tmp/tmp.jetYVOez5o", "ansible_collections/fedora/linux_system_roles/plugins/module_utils" ], "delta": "0:00:00.005570", "end": "2024-07-31 11:44:02.517974", "rc": 2, "start": "2024-07-31 11:44:02.512404" } STDOUT: ansible_collections/fedora/linux_system_roles/plugins/modules/ ansible_collections/fedora/linux_system_roles/plugins/modules/__init__.py ansible_collections/fedora/linux_system_roles/plugins/modules/network_state.py ansible_collections/fedora/linux_system_roles/plugins/modules/network_connections.py ansible_collections/fedora/linux_system_roles/plugins/module_utils/ ansible_collections/fedora/linux_system_roles/plugins/module_utils/network_lsr/ ansible_collections/fedora/linux_system_roles/plugins/module_utils/network_lsr/__init__.py ansible_collections/fedora/linux_system_roles/plugins/module_utils/network_lsr/ethtool.py ansible_collections/fedora/linux_system_roles/plugins/module_utils/network_lsr/nm_provider.py ansible_collections/fedora/linux_system_roles/plugins/module_utils/network_lsr/argument_validator.py ansible_collections/fedora/linux_system_roles/plugins/module_utils/network_lsr/myerror.py ansible_collections/fedora/linux_system_roles/plugins/module_utils/network_lsr/nm/ ansible_collections/fedora/linux_system_roles/plugins/module_utils/network_lsr/nm/__init__.py ansible_collections/fedora/linux_system_roles/plugins/module_utils/network_lsr/nm/active_connection.py ansible_collections/fedora/linux_system_roles/plugins/module_utils/network_lsr/nm/provider.py ansible_collections/fedora/linux_system_roles/plugins/module_utils/network_lsr/nm/client.py ansible_collections/fedora/linux_system_roles/plugins/module_utils/network_lsr/nm/connection.py ansible_collections/fedora/linux_system_roles/plugins/module_utils/network_lsr/nm/error.py ansible_collections/fedora/linux_system_roles/plugins/module_utils/network_lsr/utils.py STDERR: tar: network: Cannot stat: No such file or directory tar: Exiting with failure status due to previous errors MSG: non-zero return code TASK [Remove local tar file] *************************************************** task path: /tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/integration_pytest_python3.yml:167 Wednesday 31 July 2024 11:44:02 -0400 (0:00:00.283) 0:00:31.649 ******** changed: [managed_node1 -> localhost] => { "changed": true, "path": "/tmp/lsrtest_63687ur2.tar", "state": "absent" } TASK [Remove tempdir] ********************************************************** task path: /tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/integration_pytest_python3.yml:173 Wednesday 31 July 2024 11:44:02 -0400 (0:00:00.368) 0:00:32.018 ******** changed: [managed_node1] => { "changed": true, "path": "/tmp/lsrtest_6dp4yvek", "state": "absent" } PLAY RECAP ********************************************************************* managed_node1 : ok=39 changed=5 unreachable=0 failed=1 skipped=76 rescued=0 ignored=0 Wednesday 31 July 2024 11:44:03 -0400 (0:00:00.404) 0:00:32.422 ******** =============================================================================== Install rpm dependencies ------------------------------------------------ 4.06s /tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/integration_pytest_python3.yml:12 Install Pytest ---------------------------------------------------------- 3.07s /tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/integration_pytest_python3.yml:18 fedora.linux_system_roles.network : Check which services are running ---- 2.83s /tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Gathering Facts --------------------------------------------------------- 2.73s /tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/tests/network/tests_integration_pytest.yml:3 Gathering Facts --------------------------------------------------------- 2.43s /tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/integration_pytest_python3.yml:34 Gathering Facts --------------------------------------------------------- 2.36s /tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/tests/network/tests_default_initscripts.yml:3 Gathering Facts --------------------------------------------------------- 2.28s /tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/tests/network/tests_default_nm.yml:3 Gathering Facts --------------------------------------------------------- 2.26s /tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/integration_pytest_python3.yml:3 fedora.linux_system_roles.network : Check which packages are installed --- 1.30s /tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.91s /tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.83s /tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 fedora.linux_system_roles.network : Re-test connectivity ---------------- 0.52s /tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Create tempdir for code to test ----------------------------------------- 0.51s /tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/integration_pytest_python3.yml:39 Check if system is ostree ----------------------------------------------- 0.48s /tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Remove tempdir ---------------------------------------------------------- 0.40s /tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/integration_pytest_python3.yml:173 Remove local tar file --------------------------------------------------- 0.37s /tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/integration_pytest_python3.yml:167 Create Tar file --------------------------------------------------------- 0.28s /tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/integration_pytest_python3.yml:70 Find parent directory and path of module_utils -------------------------- 0.28s /tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_modules_and_utils_paths.yml:69 Find parent directory and path of modules ------------------------------- 0.28s /tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_modules_and_utils_paths.yml:42 Get tempfile for tar ---------------------------------------------------- 0.24s /tmp/tmp.jetYVOez5o/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/integration_pytest_python3.yml:45