[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.jiOtK4AzTt 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.jiOtK4AzTt/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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/tests_integration_pytest.yml:3 Wednesday 31 July 2024 10:48:22 -0400 (0:00:00.007) 0:00:00.007 ******** [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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/tests_integration_pytest.yml:6 Wednesday 31 July 2024 10:48:24 -0400 (0:00:02.653) 0:00:02.660 ******** included: /tmp/tmp.jiOtK4AzTt/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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Wednesday 31 July 2024 10:48:24 -0400 (0:00:00.018) 0:00:02.679 ******** ok: [managed_node1] TASK [Check if system is ostree] *********************************************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Wednesday 31 July 2024 10:48:26 -0400 (0:00:02.066) 0:00:04.745 ******** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Wednesday 31 July 2024 10:48:27 -0400 (0:00:00.458) 0:00:05.204 ******** ok: [managed_node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Wednesday 31 July 2024 10:48:27 -0400 (0:00:00.022) 0:00:05.227 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Wednesday 31 July 2024 10:48:27 -0400 (0:00:00.014) 0:00:05.241 ******** included: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node1 TASK [Create EPEL 40] ********************************************************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Wednesday 31 July 2024 10:48:27 -0400 (0:00:00.029) 0:00:05.270 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:24 Wednesday 31 July 2024 10:48:27 -0400 (0:00:00.013) 0:00:05.284 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:30 Wednesday 31 July 2024 10:48:27 -0400 (0:00:00.012) 0:00:05.296 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:35 Wednesday 31 July 2024 10:48:27 -0400 (0:00:00.012) 0:00:05.308 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:40 Wednesday 31 July 2024 10:48:27 -0400 (0:00:00.011) 0:00:05.320 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/integration_pytest_python3.yml:3 Wednesday 31 July 2024 10:48:27 -0400 (0:00:00.030) 0:00:05.350 ******** ok: [managed_node1] TASK [Install rpm dependencies] ************************************************ task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/integration_pytest_python3.yml:12 Wednesday 31 July 2024 10:48:29 -0400 (0:00:02.326) 0:00:07.676 ******** changed: [managed_node1] => { "changed": true, "rc": 0, "results": [ "Installed: python3-pip-23.3.2-1.fc40.noarch" ] } TASK [Install Pytest] ********************************************************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/integration_pytest_python3.yml:18 Wednesday 31 July 2024 10:48:33 -0400 (0:00:04.011) 0:00:11.688 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "pip3", "install", "pytest" ], "delta": "0:00:02.362155", "end": "2024-07-31 10:48:36.620726", "rc": 0, "start": "2024-07-31 10:48:34.258571" } 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 3.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 5.1 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/tests_default_initscripts.yml:3 Wednesday 31 July 2024 10:48:36 -0400 (0:00:02.830) 0:00:14.519 ******** ok: [managed_node1] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/tests_default_initscripts.yml:6 Wednesday 31 July 2024 10:48:39 -0400 (0:00:02.383) 0:00:16.903 ******** included: /tmp/tmp.jiOtK4AzTt/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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Wednesday 31 July 2024 10:48:39 -0400 (0:00:00.021) 0:00:16.924 ******** ok: [managed_node1] TASK [Check if system is ostree] *********************************************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Wednesday 31 July 2024 10:48:41 -0400 (0:00:02.075) 0:00:18.999 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Wednesday 31 July 2024 10:48:41 -0400 (0:00:00.019) 0:00:19.019 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Wednesday 31 July 2024 10:48:41 -0400 (0:00:00.019) 0:00:19.039 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Wednesday 31 July 2024 10:48:41 -0400 (0:00:00.014) 0:00:19.053 ******** included: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/../tasks/enable_epel.yml for managed_node1 TASK [Create EPEL 40] ********************************************************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Wednesday 31 July 2024 10:48:41 -0400 (0:00:00.028) 0:00:19.082 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:24 Wednesday 31 July 2024 10:48:41 -0400 (0:00:00.015) 0:00:19.097 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:30 Wednesday 31 July 2024 10:48:41 -0400 (0:00:00.014) 0:00:19.111 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:35 Wednesday 31 July 2024 10:48:41 -0400 (0:00:00.015) 0:00:19.126 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:40 Wednesday 31 July 2024 10:48:41 -0400 (0:00:00.013) 0:00:19.140 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/tests_default_initscripts.yml:8 Wednesday 31 July 2024 10:48:41 -0400 (0:00:00.013) 0:00:19.154 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 31 July 2024 10:48:41 -0400 (0:00:00.042) 0:00:19.197 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 31 July 2024 10:48:41 -0400 (0:00:00.021) 0:00:19.219 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 31 July 2024 10:48:41 -0400 (0:00:00.022) 0:00:19.241 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 31 July 2024 10:48:41 -0400 (0:00:00.024) 0:00:19.265 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 31 July 2024 10:48:41 -0400 (0:00:00.021) 0:00:19.287 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 31 July 2024 10:48:41 -0400 (0:00:00.023) 0:00:19.311 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 31 July 2024 10:48:41 -0400 (0:00:00.021) 0:00:19.333 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 31 July 2024 10:48:41 -0400 (0:00:00.022) 0:00:19.355 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 31 July 2024 10:48:41 -0400 (0:00:00.024) 0:00:19.379 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 31 July 2024 10:48:41 -0400 (0:00:00.021) 0:00:19.400 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 31 July 2024 10:48:41 -0400 (0:00:00.021) 0:00:19.422 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 31 July 2024 10:48:41 -0400 (0:00:00.023) 0:00:19.446 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 31 July 2024 10:48:41 -0400 (0:00:00.022) 0:00:19.468 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 31 July 2024 10:48:41 -0400 (0:00:00.022) 0:00:19.490 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 31 July 2024 10:48:41 -0400 (0:00:00.021) 0:00:19.512 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 31 July 2024 10:48:41 -0400 (0:00:00.022) 0:00:19.534 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 31 July 2024 10:48:41 -0400 (0:00:00.024) 0:00:19.559 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 31 July 2024 10:48:41 -0400 (0:00:00.024) 0:00:19.583 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 31 July 2024 10:48:41 -0400 (0:00:00.029) 0:00:19.613 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 31 July 2024 10:48:41 -0400 (0:00:00.022) 0:00:19.635 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 31 July 2024 10:48:41 -0400 (0:00:00.022) 0:00:19.658 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 31 July 2024 10:48:41 -0400 (0:00:00.022) 0:00:19.680 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/tests_default.yml:9 Wednesday 31 July 2024 10:48:41 -0400 (0:00:00.025) 0:00:19.706 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/tests_default.yml:11 Wednesday 31 July 2024 10:48:41 -0400 (0:00:00.023) 0:00:19.730 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/tests_default_nm.yml:3 Wednesday 31 July 2024 10:48:41 -0400 (0:00:00.035) 0:00:19.765 ******** ok: [managed_node1] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/tests_default_nm.yml:6 Wednesday 31 July 2024 10:48:44 -0400 (0:00:02.381) 0:00:22.147 ******** included: /tmp/tmp.jiOtK4AzTt/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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Wednesday 31 July 2024 10:48:44 -0400 (0:00:00.021) 0:00:22.169 ******** ok: [managed_node1] TASK [Check if system is ostree] *********************************************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Wednesday 31 July 2024 10:48:46 -0400 (0:00:01.822) 0:00:23.992 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Wednesday 31 July 2024 10:48:46 -0400 (0:00:00.019) 0:00:24.011 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Wednesday 31 July 2024 10:48:46 -0400 (0:00:00.019) 0:00:24.030 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Wednesday 31 July 2024 10:48:46 -0400 (0:00:00.013) 0:00:24.044 ******** included: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/../tasks/enable_epel.yml for managed_node1 TASK [Create EPEL 40] ********************************************************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Wednesday 31 July 2024 10:48:46 -0400 (0:00:00.028) 0:00:24.073 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:24 Wednesday 31 July 2024 10:48:46 -0400 (0:00:00.013) 0:00:24.087 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:30 Wednesday 31 July 2024 10:48:46 -0400 (0:00:00.014) 0:00:24.101 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:35 Wednesday 31 July 2024 10:48:46 -0400 (0:00:00.015) 0:00:24.116 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:40 Wednesday 31 July 2024 10:48:46 -0400 (0:00:00.013) 0:00:24.130 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/tests_default_nm.yml:8 Wednesday 31 July 2024 10:48:46 -0400 (0:00:00.014) 0:00:24.144 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 31 July 2024 10:48:46 -0400 (0:00:00.038) 0:00:24.182 ******** included: /tmp/tmp.jiOtK4AzTt/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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 31 July 2024 10:48:46 -0400 (0:00:00.026) 0:00:24.209 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 31 July 2024 10:48:46 -0400 (0:00:00.029) 0:00:24.239 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 31 July 2024 10:48:46 -0400 (0:00:00.025) 0:00:24.264 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 31 July 2024 10:48:46 -0400 (0:00:00.026) 0:00:24.291 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 31 July 2024 10:48:49 -0400 (0:00:02.846) 0:00:27.138 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 31 July 2024 10:48:50 -0400 (0:00:01.198) 0:00:28.336 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 31 July 2024 10:48:50 -0400 (0:00:00.042) 0:00:28.378 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 31 July 2024 10:48:50 -0400 (0:00:00.056) 0:00:28.435 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 31 July 2024 10:48:50 -0400 (0:00:00.036) 0:00:28.472 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 31 July 2024 10:48:50 -0400 (0:00:00.044) 0:00:28.516 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 31 July 2024 10:48:50 -0400 (0:00:00.050) 0:00:28.567 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 31 July 2024 10:48:50 -0400 (0:00:00.044) 0:00:28.611 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 31 July 2024 10:48:50 -0400 (0:00:00.045) 0:00:28.656 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 31 July 2024 10:48:50 -0400 (0:00:00.077) 0:00:28.734 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 31 July 2024 10:48:50 -0400 (0:00:00.035) 0:00:28.770 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 31 July 2024 10:48:50 -0400 (0:00:00.036) 0:00:28.807 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 31 July 2024 10:48:51 -0400 (0:00:00.048) 0:00:28.855 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 31 July 2024 10:48:51 -0400 (0:00:00.840) 0:00:29.695 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 31 July 2024 10:48:51 -0400 (0:00:00.052) 0:00:29.747 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 31 July 2024 10:48:51 -0400 (0:00:00.036) 0:00:29.784 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 31 July 2024 10:48:51 -0400 (0:00:00.038) 0:00:29.822 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 31 July 2024 10:48:52 -0400 (0:00:00.743) 0:00:30.566 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 31 July 2024 10:48:52 -0400 (0:00:00.067) 0:00:30.633 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 31 July 2024 10:48:52 -0400 (0:00:00.044) 0:00:30.678 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 31 July 2024 10:48:52 -0400 (0:00:00.043) 0:00:30.721 ******** skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 31 July 2024 10:48:52 -0400 (0:00:00.037) 0:00:30.759 ******** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/tests_default.yml:9 Wednesday 31 July 2024 10:48:53 -0400 (0:00:00.497) 0:00:31.257 ******** included: /tmp/tmp.jiOtK4AzTt/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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Wednesday 31 July 2024 10:48:53 -0400 (0:00:00.062) 0:00:31.319 ******** ok: [managed_node1] TASK [Check if system is ostree] *********************************************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Wednesday 31 July 2024 10:48:55 -0400 (0:00:01.941) 0:00:33.261 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Wednesday 31 July 2024 10:48:55 -0400 (0:00:00.039) 0:00:33.301 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Wednesday 31 July 2024 10:48:55 -0400 (0:00:00.038) 0:00:33.339 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Wednesday 31 July 2024 10:48:55 -0400 (0:00:00.036) 0:00:33.376 ******** included: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/../tasks/enable_epel.yml for managed_node1 TASK [Create EPEL 40] ********************************************************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Wednesday 31 July 2024 10:48:55 -0400 (0:00:00.068) 0:00:33.444 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:24 Wednesday 31 July 2024 10:48:55 -0400 (0:00:00.068) 0:00:33.512 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:30 Wednesday 31 July 2024 10:48:55 -0400 (0:00:00.036) 0:00:33.549 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:35 Wednesday 31 July 2024 10:48:55 -0400 (0:00:00.034) 0:00:33.584 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:40 Wednesday 31 July 2024 10:48:55 -0400 (0:00:00.036) 0:00:33.620 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/tests_default.yml:11 Wednesday 31 July 2024 10:48:55 -0400 (0:00:00.034) 0:00:33.655 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed PLAY [Run Pytest tests] ******************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/integration_pytest_python3.yml:34 Wednesday 31 July 2024 10:48:55 -0400 (0:00:00.126) 0:00:33.782 ******** ok: [managed_node1] TASK [Create tempdir for code to test] ***************************************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/integration_pytest_python3.yml:39 Wednesday 31 July 2024 10:48:58 -0400 (0:00:02.427) 0:00:36.209 ******** changed: [managed_node1] => { "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/lsrtest_ycd78wfq", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 40, "state": "directory", "uid": 0 } TASK [Get tempfile for tar] **************************************************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/integration_pytest_python3.yml:45 Wednesday 31 July 2024 10:48:58 -0400 (0:00:00.477) 0:00:36.687 ******** changed: [managed_node1 -> localhost] => { "changed": true, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/lsrtest_tfnzkv9k.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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/integration_pytest_python3.yml:52 Wednesday 31 July 2024 10:48:59 -0400 (0:00:00.231) 0:00:36.919 ******** included: /tmp/tmp.jiOtK4AzTt/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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_modules_and_utils_paths.yml:3 Wednesday 31 July 2024 10:48:59 -0400 (0:00:00.094) 0:00:37.014 ******** ok: [managed_node1] => { "ansible_facts": { "collection_paths": [ "/tmp/tmp.jiOtK4AzTt", "/tmp/tmp.jiOtK4AzTt" ] }, "changed": false } TASK [Set search paths] ******************************************************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_modules_and_utils_paths.yml:13 Wednesday 31 July 2024 10:48:59 -0400 (0:00:00.048) 0:00:37.062 ******** 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_modules_and_utils_paths.yml:42 Wednesday 31 July 2024 10:48:59 -0400 (0:00:00.051) 0:00:37.113 ******** 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.jiOtK4AzTt /tmp/tmp.jiOtK4AzTt; 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.004032", "end": "2024-07-31 10:48:59.485944", "rc": 0, "start": "2024-07-31 10:48:59.481912" } STDOUT: /tmp/tmp.jiOtK4AzTt 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.jiOtK4AzTt /tmp/tmp.jiOtK4AzTt + '[' '!' -d /tmp/tmp.jiOtK4AzTt ']' + cd /tmp/tmp.jiOtK4AzTt + 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.jiOtK4AzTt + echo ansible_collections/fedora/linux_system_roles/plugins/modules + exit 0 TASK [Find parent directory and path of module_utils] ************************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_modules_and_utils_paths.yml:69 Wednesday 31 July 2024 10:48:59 -0400 (0:00:00.248) 0:00:37.362 ******** 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.jiOtK4AzTt /tmp/tmp.jiOtK4AzTt; 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.004053", "end": "2024-07-31 10:48:59.731939", "rc": 0, "start": "2024-07-31 10:48:59.727886" } STDOUT: /tmp/tmp.jiOtK4AzTt 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.jiOtK4AzTt /tmp/tmp.jiOtK4AzTt + '[' '!' -d /tmp/tmp.jiOtK4AzTt ']' + cd /tmp/tmp.jiOtK4AzTt + 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.jiOtK4AzTt + echo ansible_collections/fedora/linux_system_roles/plugins/module_utils + exit 0 TASK [Get tests directory] ***************************************************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/integration_pytest_python3.yml:55 Wednesday 31 July 2024 10:48:59 -0400 (0:00:00.247) 0:00:37.609 ******** ok: [managed_node1] => { "ansible_facts": { "tests_directory": "/tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/network" }, "changed": false } TASK [Create Tar file] ********************************************************* task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/integration_pytest_python3.yml:70 Wednesday 31 July 2024 10:48:59 -0400 (0:00:00.044) 0:00:37.653 ******** fatal: [managed_node1 -> localhost]: FAILED! => { "changed": false, "cmd": [ "tar", "-cvf", "/tmp/lsrtest_tfnzkv9k.tar", "--exclude", "*.pyc", "--exclude", "__pycache__", "-C", "/tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network", "network", "-C", "/tmp/tmp.jiOtK4AzTt", "ansible_collections/fedora/linux_system_roles/plugins/modules", "-C", "/tmp/tmp.jiOtK4AzTt", "ansible_collections/fedora/linux_system_roles/plugins/module_utils" ], "delta": "0:00:00.007119", "end": "2024-07-31 10:49:00.024515", "rc": 2, "start": "2024-07-31 10:49:00.017396" } 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.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/integration_pytest_python3.yml:167 Wednesday 31 July 2024 10:49:00 -0400 (0:00:00.246) 0:00:37.900 ******** changed: [managed_node1 -> localhost] => { "changed": true, "path": "/tmp/lsrtest_tfnzkv9k.tar", "state": "absent" } TASK [Remove tempdir] ********************************************************** task path: /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/integration_pytest_python3.yml:173 Wednesday 31 July 2024 10:49:00 -0400 (0:00:00.349) 0:00:38.249 ******** changed: [managed_node1] => { "changed": true, "path": "/tmp/lsrtest_ycd78wfq", "state": "absent" } PLAY RECAP ********************************************************************* managed_node1 : ok=43 changed=5 unreachable=0 failed=1 skipped=72 rescued=0 ignored=0 Wednesday 31 July 2024 10:49:00 -0400 (0:00:00.392) 0:00:38.642 ******** =============================================================================== Install rpm dependencies ------------------------------------------------ 4.01s /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/integration_pytest_python3.yml:12 fedora.linux_system_roles.network : Check which services are running ---- 2.85s /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Install Pytest ---------------------------------------------------------- 2.83s /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/integration_pytest_python3.yml:18 Gathering Facts --------------------------------------------------------- 2.65s /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/tests_integration_pytest.yml:3 Gathering Facts --------------------------------------------------------- 2.43s /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/integration_pytest_python3.yml:34 Gathering Facts --------------------------------------------------------- 2.38s /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/tests_default_initscripts.yml:3 Gathering Facts --------------------------------------------------------- 2.38s /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/tests_default_nm.yml:3 Gathering Facts --------------------------------------------------------- 2.33s /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/integration_pytest_python3.yml:3 Gather the minimum subset of ansible_facts required by the network role test --- 2.08s /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Gather the minimum subset of ansible_facts required by the network role test --- 2.07s /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Gather the minimum subset of ansible_facts required by the network role test --- 1.94s /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Gather the minimum subset of ansible_facts required by the network role test --- 1.82s /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 fedora.linux_system_roles.network : Check which packages are installed --- 1.20s /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.84s /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.74s /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 fedora.linux_system_roles.network : Re-test connectivity ---------------- 0.50s /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Create tempdir for code to test ----------------------------------------- 0.48s /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/integration_pytest_python3.yml:39 Check if system is ostree ----------------------------------------------- 0.46s /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Remove tempdir ---------------------------------------------------------- 0.39s /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/integration_pytest_python3.yml:173 Remove local tar file --------------------------------------------------- 0.35s /tmp/tmp.jiOtK4AzTt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/integration_pytest_python3.yml:167