[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.WlspkZzDER executable location = /usr/local/bin/ansible-playbook python version = 3.12.4 (main, Jun 7 2024, 00:00:00) [GCC 13.3.1 20240522 (Red Hat 13.3.1-1)] (/usr/bin/python3.12) jinja version = 3.1.4 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles redirecting (type: 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.WlspkZzDER/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.WlspkZzDER/ansible_collections/fedora/linux_system_roles/tests/network/tests_integration_pytest.yml:3 Wednesday 31 July 2024 06:30:45 -0400 (0:00:00.009) 0:00:00.009 ******** [WARNING]: Platform linux on host managed_node1 is using the discovered Python interpreter at /usr/bin/python3.12, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed_node1] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/tmp.WlspkZzDER/ansible_collections/fedora/linux_system_roles/tests/network/tests_integration_pytest.yml:6 Wednesday 31 July 2024 06:30:46 -0400 (0:00:01.315) 0:00:01.324 ******** included: /tmp/tmp.WlspkZzDER/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.WlspkZzDER/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Wednesday 31 July 2024 06:30:46 -0400 (0:00:00.025) 0:00:01.349 ******** 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.WlspkZzDER/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Wednesday 31 July 2024 06:30:46 -0400 (0:00:00.027) 0:00:01.376 ******** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/tmp.WlspkZzDER/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Wednesday 31 July 2024 06:30:47 -0400 (0:00:00.518) 0:00:01.894 ******** ok: [managed_node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmp.WlspkZzDER/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Wednesday 31 July 2024 06:30:47 -0400 (0:00:00.028) 0:00:01.923 ******** 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.WlspkZzDER/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Wednesday 31 July 2024 06:30:47 -0400 (0:00:00.017) 0:00:01.941 ******** included: /tmp/tmp.WlspkZzDER/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node1 TASK [Create EPEL 39] ********************************************************** task path: /tmp/tmp.WlspkZzDER/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Wednesday 31 July 2024 06:30:47 -0400 (0:00:00.037) 0:00:01.978 ******** 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.WlspkZzDER/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:24 Wednesday 31 July 2024 06:30:47 -0400 (0:00:00.016) 0:00:01.995 ******** 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.WlspkZzDER/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:30 Wednesday 31 July 2024 06:30:47 -0400 (0:00:00.016) 0:00:02.011 ******** 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.WlspkZzDER/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:35 Wednesday 31 July 2024 06:30:47 -0400 (0:00:00.015) 0:00:02.027 ******** 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.WlspkZzDER/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:40 Wednesday 31 July 2024 06:30:47 -0400 (0:00:00.015) 0:00:02.043 ******** 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.WlspkZzDER/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/integration_pytest_python3.yml:3 Wednesday 31 July 2024 06:30:47 -0400 (0:00:00.035) 0:00:02.079 ******** ok: [managed_node1] TASK [Install rpm dependencies] ************************************************ task path: /tmp/tmp.WlspkZzDER/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/integration_pytest_python3.yml:12 Wednesday 31 July 2024 06:30:48 -0400 (0:00:00.988) 0:00:03.067 ******** changed: [managed_node1] => { "changed": true, "rc": 0, "results": [ "Installed: python3-pip-23.2.1-2.fc39.noarch" ] } TASK [Install Pytest] ********************************************************** task path: /tmp/tmp.WlspkZzDER/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/integration_pytest_python3.yml:18 Wednesday 31 July 2024 06:30:52 -0400 (0:00:04.580) 0:00:07.648 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "pip3", "install", "pytest" ], "delta": "0:00:02.267717", "end": "2024-07-31 06:30:55.642724", "rc": 0, "start": "2024-07-31 06:30:53.375007" } STDOUT: Collecting pytest Obtaining dependency information for pytest from https://files.pythonhosted.org/packages/0f/f9/cf155cf32ca7d6fa3601bc4c5dd19086af4b320b706919d48a4c79081cf9/pytest-8.3.2-py3-none-any.whl.metadata Downloading pytest-8.3.2-py3-none-any.whl.metadata (7.5 kB) Collecting iniconfig (from pytest) Obtaining dependency information for iniconfig from https://files.pythonhosted.org/packages/ef/a6/62565a6e1cf69e10f5727360368e451d4b7f58beeac6173dc9db836a5b46/iniconfig-2.0.0-py3-none-any.whl.metadata Downloading iniconfig-2.0.0-py3-none-any.whl.metadata (2.6 kB) Collecting packaging (from pytest) Obtaining dependency information for packaging from https://files.pythonhosted.org/packages/08/aa/cc0199a5f0ad350994d660967a8efb233fe0416e4639146c089643407ce6/packaging-24.1-py3-none-any.whl.metadata Downloading packaging-24.1-py3-none-any.whl.metadata (3.2 kB) Collecting pluggy<2,>=1.5 (from pytest) Obtaining dependency information for pluggy<2,>=1.5 from https://files.pythonhosted.org/packages/88/5f/e351af9a41f866ac3f1fac4ca0613908d9a41741cfcf2228f4ad853b697d/pluggy-1.5.0-py3-none-any.whl.metadata 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 14.1 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 7.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.WlspkZzDER/ansible_collections/fedora/linux_system_roles/tests/network/tests_default_initscripts.yml:3 Wednesday 31 July 2024 06:30:55 -0400 (0:00:02.802) 0:00:10.450 ******** ok: [managed_node1] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/tmp.WlspkZzDER/ansible_collections/fedora/linux_system_roles/tests/network/tests_default_initscripts.yml:6 Wednesday 31 July 2024 06:30:56 -0400 (0:00:00.973) 0:00:11.424 ******** included: /tmp/tmp.WlspkZzDER/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.WlspkZzDER/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Wednesday 31 July 2024 06:30:56 -0400 (0:00:00.027) 0:00:11.452 ******** 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.WlspkZzDER/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Wednesday 31 July 2024 06:30:56 -0400 (0:00:00.028) 0:00:11.480 ******** 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.WlspkZzDER/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Wednesday 31 July 2024 06:30:56 -0400 (0:00:00.028) 0:00:11.509 ******** 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.WlspkZzDER/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Wednesday 31 July 2024 06:30:56 -0400 (0:00:00.025) 0:00:11.534 ******** 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.WlspkZzDER/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Wednesday 31 July 2024 06:30:56 -0400 (0:00:00.020) 0:00:11.554 ******** included: /tmp/tmp.WlspkZzDER/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/../tasks/enable_epel.yml for managed_node1 TASK [Create EPEL 39] ********************************************************** task path: /tmp/tmp.WlspkZzDER/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Wednesday 31 July 2024 06:30:56 -0400 (0:00:00.039) 0:00:11.593 ******** 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.WlspkZzDER/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:24 Wednesday 31 July 2024 06:30:56 -0400 (0:00:00.018) 0:00:11.612 ******** 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.WlspkZzDER/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:30 Wednesday 31 July 2024 06:30:56 -0400 (0:00:00.018) 0:00:11.631 ******** 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.WlspkZzDER/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:35 Wednesday 31 July 2024 06:30:56 -0400 (0:00:00.017) 0:00:11.648 ******** 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.WlspkZzDER/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:40 Wednesday 31 July 2024 06:30:56 -0400 (0:00:00.018) 0:00:11.667 ******** 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.WlspkZzDER/ansible_collections/fedora/linux_system_roles/tests/network/tests_default_initscripts.yml:8 Wednesday 31 July 2024 06:30:56 -0400 (0:00:00.018) 0:00:11.685 ******** 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.WlspkZzDER/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 31 July 2024 06:30:57 -0400 (0:00:00.050) 0:00:11.736 ******** 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.WlspkZzDER/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 31 July 2024 06:30:57 -0400 (0:00:00.026) 0:00:11.762 ******** 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.WlspkZzDER/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 31 July 2024 06:30:57 -0400 (0:00:00.028) 0:00:11.791 ******** 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.WlspkZzDER/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 31 July 2024 06:30:57 -0400 (0:00:00.029) 0:00:11.821 ******** 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.WlspkZzDER/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 31 July 2024 06:30:57 -0400 (0:00:00.028) 0:00:11.849 ******** 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.WlspkZzDER/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 31 July 2024 06:30:57 -0400 (0:00:00.028) 0:00:11.878 ******** 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.WlspkZzDER/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 31 July 2024 06:30:57 -0400 (0:00:00.027) 0:00:11.905 ******** 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.WlspkZzDER/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 31 July 2024 06:30:57 -0400 (0:00:00.026) 0:00:11.932 ******** 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.WlspkZzDER/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 31 July 2024 06:30:57 -0400 (0:00:00.026) 0:00:11.958 ******** 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.WlspkZzDER/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 31 July 2024 06:30:57 -0400 (0:00:00.026) 0:00:11.984 ******** 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.WlspkZzDER/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 31 July 2024 06:30:57 -0400 (0:00:00.027) 0:00:12.012 ******** 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.WlspkZzDER/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 31 July 2024 06:30:57 -0400 (0:00:00.026) 0:00:12.038 ******** 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.WlspkZzDER/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 31 July 2024 06:30:57 -0400 (0:00:00.026) 0:00:12.065 ******** 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.WlspkZzDER/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 31 July 2024 06:30:57 -0400 (0:00:00.026) 0:00:12.091 ******** 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.WlspkZzDER/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 31 July 2024 06:30:57 -0400 (0:00:00.026) 0:00:12.117 ******** 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.WlspkZzDER/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 31 July 2024 06:30:57 -0400 (0:00:00.026) 0:00:12.144 ******** 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.WlspkZzDER/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 31 July 2024 06:30:57 -0400 (0:00:00.026) 0:00:12.170 ******** 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.WlspkZzDER/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 31 July 2024 06:30:57 -0400 (0:00:00.027) 0:00:12.198 ******** 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.WlspkZzDER/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 31 July 2024 06:30:57 -0400 (0:00:00.026) 0:00:12.224 ******** 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.WlspkZzDER/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 31 July 2024 06:30:57 -0400 (0:00:00.027) 0:00:12.252 ******** 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.WlspkZzDER/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 31 July 2024 06:30:57 -0400 (0:00:00.027) 0:00:12.280 ******** 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.WlspkZzDER/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 31 July 2024 06:30:57 -0400 (0:00:00.026) 0:00:12.306 ******** 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.WlspkZzDER/ansible_collections/fedora/linux_system_roles/tests/network/tests_default.yml:9 Wednesday 31 July 2024 06:30:57 -0400 (0:00:00.031) 0:00:12.338 ******** 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.WlspkZzDER/ansible_collections/fedora/linux_system_roles/tests/network/tests_default.yml:11 Wednesday 31 July 2024 06:30:57 -0400 (0:00:00.032) 0:00:12.370 ******** 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.WlspkZzDER/ansible_collections/fedora/linux_system_roles/tests/network/tests_default_nm.yml:3 Wednesday 31 July 2024 06:30:57 -0400 (0:00:00.045) 0:00:12.415 ******** ok: [managed_node1] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/tmp.WlspkZzDER/ansible_collections/fedora/linux_system_roles/tests/network/tests_default_nm.yml:6 Wednesday 31 July 2024 06:30:58 -0400 (0:00:01.006) 0:00:13.421 ******** included: /tmp/tmp.WlspkZzDER/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.WlspkZzDER/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Wednesday 31 July 2024 06:30:58 -0400 (0:00:00.027) 0:00:13.449 ******** 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.WlspkZzDER/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Wednesday 31 July 2024 06:30:58 -0400 (0:00:00.027) 0:00:13.477 ******** 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.WlspkZzDER/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Wednesday 31 July 2024 06:30:58 -0400 (0:00:00.025) 0:00:13.503 ******** 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.WlspkZzDER/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Wednesday 31 July 2024 06:30:58 -0400 (0:00:00.024) 0:00:13.527 ******** 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.WlspkZzDER/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Wednesday 31 July 2024 06:30:58 -0400 (0:00:00.020) 0:00:13.548 ******** included: /tmp/tmp.WlspkZzDER/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/../tasks/enable_epel.yml for managed_node1 TASK [Create EPEL 39] ********************************************************** task path: /tmp/tmp.WlspkZzDER/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Wednesday 31 July 2024 06:30:58 -0400 (0:00:00.040) 0:00:13.588 ******** 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.WlspkZzDER/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:24 Wednesday 31 July 2024 06:30:58 -0400 (0:00:00.020) 0:00:13.608 ******** 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.WlspkZzDER/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:30 Wednesday 31 July 2024 06:30:58 -0400 (0:00:00.023) 0:00:13.632 ******** 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.WlspkZzDER/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:35 Wednesday 31 July 2024 06:30:58 -0400 (0:00:00.019) 0:00:13.652 ******** 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.WlspkZzDER/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:40 Wednesday 31 July 2024 06:30:58 -0400 (0:00:00.020) 0:00:13.672 ******** 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.WlspkZzDER/ansible_collections/fedora/linux_system_roles/tests/network/tests_default_nm.yml:8 Wednesday 31 July 2024 06:30:58 -0400 (0:00:00.019) 0:00:13.691 ******** 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.WlspkZzDER/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 31 July 2024 06:30:59 -0400 (0:00:00.051) 0:00:13.743 ******** included: /tmp/tmp.WlspkZzDER/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.WlspkZzDER/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 31 July 2024 06:30:59 -0400 (0:00:00.037) 0:00:13.781 ******** 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.WlspkZzDER/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 31 July 2024 06:30:59 -0400 (0:00:00.040) 0:00:13.821 ******** 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.WlspkZzDER/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 31 July 2024 06:30:59 -0400 (0:00:00.035) 0:00:13.856 ******** 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.WlspkZzDER/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 31 July 2024 06:30:59 -0400 (0:00:00.035) 0:00:13.892 ******** 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.WlspkZzDER/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 31 July 2024 06:31:01 -0400 (0:00:02.707) 0:00:16.599 ******** 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.WlspkZzDER/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 31 July 2024 06:31:03 -0400 (0:00:01.404) 0:00:18.004 ******** 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.WlspkZzDER/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 31 July 2024 06:31:03 -0400 (0:00:00.057) 0:00:18.062 ******** 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.WlspkZzDER/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 31 July 2024 06:31:03 -0400 (0:00:00.073) 0:00:18.135 ******** 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.WlspkZzDER/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 31 July 2024 06:31:03 -0400 (0:00:00.053) 0:00:18.188 ******** 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.WlspkZzDER/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 31 July 2024 06:31:03 -0400 (0:00:00.061) 0:00:18.249 ******** 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.WlspkZzDER/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 31 July 2024 06:31:03 -0400 (0:00:00.070) 0:00:18.319 ******** 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.WlspkZzDER/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 31 July 2024 06:31:03 -0400 (0:00:00.059) 0:00:18.379 ******** 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.WlspkZzDER/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 31 July 2024 06:31:03 -0400 (0:00:00.067) 0:00:18.447 ******** 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.WlspkZzDER/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 31 July 2024 06:31:03 -0400 (0:00:00.113) 0:00:18.560 ******** 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.WlspkZzDER/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 31 July 2024 06:31:03 -0400 (0:00:00.053) 0:00:18.614 ******** 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.WlspkZzDER/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 31 July 2024 06:31:03 -0400 (0:00:00.053) 0:00:18.667 ******** 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.WlspkZzDER/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 31 July 2024 06:31:04 -0400 (0:00:00.070) 0:00:18.738 ******** 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.WlspkZzDER/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 31 July 2024 06:31:05 -0400 (0:00:00.997) 0:00:19.735 ******** 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.WlspkZzDER/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 31 July 2024 06:31:05 -0400 (0:00:00.069) 0:00:19.805 ******** 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.WlspkZzDER/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 31 July 2024 06:31:05 -0400 (0:00:00.052) 0:00:19.858 ******** 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.WlspkZzDER/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 31 July 2024 06:31:05 -0400 (0:00:00.053) 0:00:19.911 ******** 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.WlspkZzDER/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 31 July 2024 06:31:06 -0400 (0:00:00.883) 0:00:20.795 ******** 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.WlspkZzDER/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 31 July 2024 06:31:06 -0400 (0:00:00.051) 0:00:20.847 ******** 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.WlspkZzDER/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 31 July 2024 06:31:06 -0400 (0:00:00.086) 0:00:20.933 ******** 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.WlspkZzDER/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 31 July 2024 06:31:06 -0400 (0:00:00.059) 0:00:20.992 ******** skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.WlspkZzDER/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 31 July 2024 06:31:06 -0400 (0:00:00.051) 0:00:21.044 ******** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/tmp.WlspkZzDER/ansible_collections/fedora/linux_system_roles/tests/network/tests_default.yml:9 Wednesday 31 July 2024 06:31:06 -0400 (0:00:00.578) 0:00:21.623 ******** included: /tmp/tmp.WlspkZzDER/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.WlspkZzDER/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Wednesday 31 July 2024 06:31:06 -0400 (0:00:00.087) 0:00:21.710 ******** 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.WlspkZzDER/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Wednesday 31 July 2024 06:31:07 -0400 (0:00:00.068) 0:00:21.779 ******** 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.WlspkZzDER/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Wednesday 31 July 2024 06:31:07 -0400 (0:00:00.057) 0:00:21.836 ******** 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.WlspkZzDER/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Wednesday 31 July 2024 06:31:07 -0400 (0:00:00.056) 0:00:21.893 ******** 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.WlspkZzDER/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Wednesday 31 July 2024 06:31:07 -0400 (0:00:00.051) 0:00:21.944 ******** included: /tmp/tmp.WlspkZzDER/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/../tasks/enable_epel.yml for managed_node1 TASK [Create EPEL 39] ********************************************************** task path: /tmp/tmp.WlspkZzDER/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Wednesday 31 July 2024 06:31:07 -0400 (0:00:00.097) 0:00:22.041 ******** 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.WlspkZzDER/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:24 Wednesday 31 July 2024 06:31:07 -0400 (0:00:00.050) 0:00:22.092 ******** 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.WlspkZzDER/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:30 Wednesday 31 July 2024 06:31:07 -0400 (0:00:00.050) 0:00:22.142 ******** 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.WlspkZzDER/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:35 Wednesday 31 July 2024 06:31:07 -0400 (0:00:00.078) 0:00:22.221 ******** 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.WlspkZzDER/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:40 Wednesday 31 July 2024 06:31:07 -0400 (0:00:00.050) 0:00:22.272 ******** 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.WlspkZzDER/ansible_collections/fedora/linux_system_roles/tests/network/tests_default.yml:11 Wednesday 31 July 2024 06:31:07 -0400 (0:00:00.050) 0:00:22.322 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed PLAY [Run Pytest tests] ******************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp.WlspkZzDER/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/integration_pytest_python3.yml:34 Wednesday 31 July 2024 06:31:07 -0400 (0:00:00.180) 0:00:22.502 ******** ok: [managed_node1] TASK [Create tempdir for code to test] ***************************************** task path: /tmp/tmp.WlspkZzDER/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/integration_pytest_python3.yml:39 Wednesday 31 July 2024 06:31:08 -0400 (0:00:01.076) 0:00:23.579 ******** changed: [managed_node1] => { "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/lsrtest_fblvlsut", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 40, "state": "directory", "uid": 0 } TASK [Get tempfile for tar] **************************************************** task path: /tmp/tmp.WlspkZzDER/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/integration_pytest_python3.yml:45 Wednesday 31 July 2024 06:31:09 -0400 (0:00:00.543) 0:00:24.122 ******** changed: [managed_node1 -> localhost] => { "changed": true, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/lsrtest_k0ly9_ch.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.WlspkZzDER/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/integration_pytest_python3.yml:52 Wednesday 31 July 2024 06:31:09 -0400 (0:00:00.273) 0:00:24.395 ******** included: /tmp/tmp.WlspkZzDER/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.WlspkZzDER/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_modules_and_utils_paths.yml:3 Wednesday 31 July 2024 06:31:09 -0400 (0:00:00.086) 0:00:24.482 ******** ok: [managed_node1] => { "ansible_facts": { "collection_paths": [ "/tmp/tmp.WlspkZzDER", "/tmp/tmp.WlspkZzDER" ] }, "changed": false } TASK [Set search paths] ******************************************************** task path: /tmp/tmp.WlspkZzDER/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_modules_and_utils_paths.yml:13 Wednesday 31 July 2024 06:31:09 -0400 (0:00:00.068) 0:00:24.550 ******** 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.WlspkZzDER/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_modules_and_utils_paths.yml:42 Wednesday 31 July 2024 06:31:09 -0400 (0:00:00.141) 0:00:24.692 ******** 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.WlspkZzDER /tmp/tmp.WlspkZzDER; 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.004522", "end": "2024-07-31 06:31:10.191587", "rc": 0, "start": "2024-07-31 06:31:10.187065" } STDOUT: /tmp/tmp.WlspkZzDER 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.WlspkZzDER /tmp/tmp.WlspkZzDER + '[' '!' -d /tmp/tmp.WlspkZzDER ']' + cd /tmp/tmp.WlspkZzDER + 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.WlspkZzDER + echo ansible_collections/fedora/linux_system_roles/plugins/modules + exit 0 TASK [Find parent directory and path of module_utils] ************************** task path: /tmp/tmp.WlspkZzDER/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_modules_and_utils_paths.yml:69 Wednesday 31 July 2024 06:31:10 -0400 (0:00:00.290) 0:00:24.983 ******** 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.WlspkZzDER /tmp/tmp.WlspkZzDER; 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.004483", "end": "2024-07-31 06:31:10.481742", "rc": 0, "start": "2024-07-31 06:31:10.477259" } STDOUT: /tmp/tmp.WlspkZzDER 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.WlspkZzDER /tmp/tmp.WlspkZzDER + '[' '!' -d /tmp/tmp.WlspkZzDER ']' + cd /tmp/tmp.WlspkZzDER + 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.WlspkZzDER + echo ansible_collections/fedora/linux_system_roles/plugins/module_utils + exit 0 TASK [Get tests directory] ***************************************************** task path: /tmp/tmp.WlspkZzDER/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/integration_pytest_python3.yml:55 Wednesday 31 July 2024 06:31:10 -0400 (0:00:00.289) 0:00:25.273 ******** ok: [managed_node1] => { "ansible_facts": { "tests_directory": "/tmp/tmp.WlspkZzDER/ansible_collections/fedora/linux_system_roles/tests/network/network" }, "changed": false } TASK [Create Tar file] ********************************************************* task path: /tmp/tmp.WlspkZzDER/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/integration_pytest_python3.yml:70 Wednesday 31 July 2024 06:31:10 -0400 (0:00:00.057) 0:00:25.330 ******** fatal: [managed_node1 -> localhost]: FAILED! => { "changed": false, "cmd": [ "tar", "-cvf", "/tmp/lsrtest_k0ly9_ch.tar", "--exclude", "*.pyc", "--exclude", "__pycache__", "-C", "/tmp/tmp.WlspkZzDER/ansible_collections/fedora/linux_system_roles/tests/network", "network", "-C", "/tmp/tmp.WlspkZzDER", "ansible_collections/fedora/linux_system_roles/plugins/modules", "-C", "/tmp/tmp.WlspkZzDER", "ansible_collections/fedora/linux_system_roles/plugins/module_utils" ], "delta": "0:00:00.005213", "end": "2024-07-31 06:31:10.830090", "rc": 2, "start": "2024-07-31 06:31:10.824877" } STDOUT: ansible_collections/fedora/linux_system_roles/plugins/modules/ 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/modules/__init__.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/nm_provider.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/connection.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/error.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/__init__.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/myerror.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/ethtool.py ansible_collections/fedora/linux_system_roles/plugins/module_utils/network_lsr/__init__.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.WlspkZzDER/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/integration_pytest_python3.yml:167 Wednesday 31 July 2024 06:31:10 -0400 (0:00:00.290) 0:00:25.621 ******** changed: [managed_node1 -> localhost] => { "changed": true, "path": "/tmp/lsrtest_k0ly9_ch.tar", "state": "absent" } TASK [Remove tempdir] ********************************************************** task path: /tmp/tmp.WlspkZzDER/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/integration_pytest_python3.yml:173 Wednesday 31 July 2024 06:31:11 -0400 (0:00:00.413) 0:00:26.035 ******** changed: [managed_node1] => { "changed": true, "path": "/tmp/lsrtest_fblvlsut", "state": "absent" } PLAY RECAP ********************************************************************* managed_node1 : ok=39 changed=5 unreachable=0 failed=1 skipped=76 rescued=0 ignored=0 Wednesday 31 July 2024 06:31:11 -0400 (0:00:00.405) 0:00:26.440 ******** =============================================================================== Install rpm dependencies ------------------------------------------------ 4.58s /tmp/tmp.WlspkZzDER/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/integration_pytest_python3.yml:12 Install Pytest ---------------------------------------------------------- 2.80s /tmp/tmp.WlspkZzDER/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.71s /tmp/tmp.WlspkZzDER/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.40s /tmp/tmp.WlspkZzDER/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gathering Facts --------------------------------------------------------- 1.32s /tmp/tmp.WlspkZzDER/ansible_collections/fedora/linux_system_roles/tests/network/tests_integration_pytest.yml:3 Gathering Facts --------------------------------------------------------- 1.08s /tmp/tmp.WlspkZzDER/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/integration_pytest_python3.yml:34 Gathering Facts --------------------------------------------------------- 1.01s /tmp/tmp.WlspkZzDER/ansible_collections/fedora/linux_system_roles/tests/network/tests_default_nm.yml:3 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 1.00s /tmp/tmp.WlspkZzDER/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Gathering Facts --------------------------------------------------------- 0.99s /tmp/tmp.WlspkZzDER/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/integration_pytest_python3.yml:3 Gathering Facts --------------------------------------------------------- 0.97s /tmp/tmp.WlspkZzDER/ansible_collections/fedora/linux_system_roles/tests/network/tests_default_initscripts.yml:3 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.88s /tmp/tmp.WlspkZzDER/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 fedora.linux_system_roles.network : Re-test connectivity ---------------- 0.58s /tmp/tmp.WlspkZzDER/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Create tempdir for code to test ----------------------------------------- 0.54s /tmp/tmp.WlspkZzDER/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/integration_pytest_python3.yml:39 Check if system is ostree ----------------------------------------------- 0.52s /tmp/tmp.WlspkZzDER/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Remove local tar file --------------------------------------------------- 0.41s /tmp/tmp.WlspkZzDER/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/integration_pytest_python3.yml:167 Remove tempdir ---------------------------------------------------------- 0.41s /tmp/tmp.WlspkZzDER/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/integration_pytest_python3.yml:173 Create Tar file --------------------------------------------------------- 0.29s /tmp/tmp.WlspkZzDER/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/integration_pytest_python3.yml:70 Find parent directory and path of modules ------------------------------- 0.29s /tmp/tmp.WlspkZzDER/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_modules_and_utils_paths.yml:42 Find parent directory and path of module_utils -------------------------- 0.29s /tmp/tmp.WlspkZzDER/ansible_collections/fedora/linux_system_roles/tests/network/tasks/get_modules_and_utils_paths.yml:69 Get tempfile for tar ---------------------------------------------------- 0.27s /tmp/tmp.WlspkZzDER/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/integration_pytest_python3.yml:45