# STDOUT: ---v---v---v---v---v--- ansible-playbook [core 2.16.0] config file = /etc/ansible/ansible.cfg configured module search path = ['/home/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /opt/ansible-2.16/lib/python3.11/site-packages/ansible ansible collection location = /WORKDIR/git-code_refactorx95r6s3q/.collection executable location = /opt/ansible-2.16/bin/ansible-playbook python version = 3.11.5 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] (/opt/ansible-2.16/bin/python) jinja version = 3.1.2 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_wireless_wpa3_sae_nm.yml *************************************** 2 plays in /WORKDIR/git-code_refactorx95r6s3q/tests/tests_wireless_wpa3_sae_nm.yml PLAY [Run playbook 'playbooks/tests_wireless_wpa3_sae.yml' with nm as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-code_refactorx95r6s3q/tests/tests_wireless_wpa3_sae_nm.yml:5 Thursday 30 November 2023 18:44:37 +0000 (0:00:00.015) 0:00:00.015 ***** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-code_refactorx95r6s3q/tests/tests_wireless_wpa3_sae_nm.yml:9 Thursday 30 November 2023 18:44:38 +0000 (0:00:00.720) 0:00:00.735 ***** included: /WORKDIR/git-code_refactorx95r6s3q/tests/tasks/el_repo_setup.yml for sut TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /WORKDIR/git-code_refactorx95r6s3q/tests/tasks/el_repo_setup.yml:3 Thursday 30 November 2023 18:44:38 +0000 (0:00:00.014) 0:00:00.750 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-code_refactorx95r6s3q/tests/tasks/el_repo_setup.yml:17 Thursday 30 November 2023 18:44:38 +0000 (0:00:00.240) 0:00:00.991 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-code_refactorx95r6s3q/tests/tasks/el_repo_setup.yml:22 Thursday 30 November 2023 18:44:38 +0000 (0:00:00.209) 0:00:01.200 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-code_refactorx95r6s3q/tests/tasks/el_repo_setup.yml:26 Thursday 30 November 2023 18:44:38 +0000 (0:00:00.019) 0:00:01.219 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-code_refactorx95r6s3q/tests/tasks/el_repo_setup.yml:51 Thursday 30 November 2023 18:44:38 +0000 (0:00:00.013) 0:00:01.233 ***** included: /WORKDIR/git-code_refactorx95r6s3q/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-code_refactorx95r6s3q/tests/tasks/enable_epel.yml:8 Thursday 30 November 2023 18:44:39 +0000 (0:00:00.033) 0:00:01.266 ***** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm" ], "delta": null, "end": null, "rc": 0, "start": null } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists MSG: Did not run command since '/etc/yum.repos.d/epel.repo' exists TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-code_refactorx95r6s3q/tests/tasks/enable_epel.yml:24 Thursday 30 November 2023 18:44:39 +0000 (0:00:00.217) 0:00:01.484 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "yum-utils-1.1.31-54.el7_8.noarch providing yum-utils is already installed" ] } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-code_refactorx95r6s3q/tests/tasks/enable_epel.yml:30 Thursday 30 November 2023 18:44:39 +0000 (0:00:00.433) 0:00:01.917 ***** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.178600", "end": "2023-11-30 18:44:39.972560", "rc": 0, "start": "2023-11-30 18:44:39.793960" } STDOUT: Loaded plugins: fastestmirror ================================== repo: epel ================================== [epel] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7 baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7/epel check_config_file_age = True compare_providers_priority = 80 cost = 1000 deltarpm_metadata_percentage = 100 deltarpm_percentage = enabled = True enablegroups = True exclude = failovermethod = priority ftp_disable_epsv = False gpgcadir = /var/lib/yum/repos/x86_64/7/epel/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7/epel/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 hdrdir = /var/cache/yum/x86_64/7/epel/headers http_caching = all includepkgs = ip_resolve = keepalive = True keepcache = False mddownloadpolicy = sqlite mdpolicy = group:small mediaid = metadata_expire = 21600 metadata_expire_filter = read-only:present metalink = https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64&infra=stock&content=centos minrate = 0 mirrorlist = mirrorlist_expire = 86400 name = Extra Packages for Enterprise Linux 7 - x86_64 old_base_cache_dir = password = persistdir = /var/lib/yum/repos/x86_64/7/epel pkgdir = /var/cache/yum/x86_64/7/epel/packages proxy = False proxy_dict = proxy_password = proxy_username = repo_gpgcheck = False retries = 10 skip_if_unavailable = False ssl_check_cert_permissions = True sslcacert = sslclientcert = sslclientkey = sslverify = True throttle = 0 timeout = 30.0 ui_id = epel/x86_64 ui_repoid_vars = releasever, basearch username = TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-code_refactorx95r6s3q/tests/tasks/enable_epel.yml:35 Thursday 30 November 2023 18:44:39 +0000 (0:00:00.306) 0:00:02.224 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '8'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-code_refactorx95r6s3q/tests/tasks/enable_epel.yml:40 Thursday 30 November 2023 18:44:39 +0000 (0:00:00.010) 0:00:02.235 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-code_refactorx95r6s3q/tests/tests_wireless_wpa3_sae_nm.yml:11 Thursday 30 November 2023 18:44:40 +0000 (0:00:00.011) 0:00:02.246 ***** ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing wireless connection] ************************************ TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tests_wireless_wpa3_sae.yml:3 Thursday 30 November 2023 18:44:40 +0000 (0:00:00.020) 0:00:02.267 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version != '7' and ansible_distribution != 'RedHat'", "skip_reason": "Conditional result was False" } TASK [INIT: wireless tests] **************************************************** task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tests_wireless_wpa3_sae.yml:8 Thursday 30 November 2023 18:44:40 +0000 (0:00:00.014) 0:00:02.282 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version != '7' and ansible_distribution != 'RedHat'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 30 November 2023 18:44:40 +0000 (0:00:00.010) 0:00:02.293 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version != '7' and ansible_distribution != 'RedHat'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 30 November 2023 18:44:40 +0000 (0:00:00.010) 0:00:02.303 ***** skipping: [sut] => { "false_condition": "ansible_distribution_major_version != '7' and ansible_distribution != 'RedHat'" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 30 November 2023 18:44:40 +0000 (0:00:00.011) 0:00:02.314 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version != '7' and ansible_distribution != 'RedHat'", "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: /WORKDIR/git-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 30 November 2023 18:44:40 +0000 (0:00:00.011) 0:00:02.326 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version != '7' and ansible_distribution != 'RedHat'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 30 November 2023 18:44:40 +0000 (0:00:00.013) 0:00:02.339 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version != '7' and ansible_distribution != 'RedHat'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 30 November 2023 18:44:40 +0000 (0:00:00.013) 0:00:02.352 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version != '7' and ansible_distribution != 'RedHat'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 30 November 2023 18:44:40 +0000 (0:00:00.012) 0:00:02.365 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version != '7' and ansible_distribution != 'RedHat'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 30 November 2023 18:44:40 +0000 (0:00:00.012) 0:00:02.377 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version != '7' and ansible_distribution != 'RedHat'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 30 November 2023 18:44:40 +0000 (0:00:00.011) 0:00:02.389 ***** skipping: [sut] => { "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: /WORKDIR/git-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 30 November 2023 18:44:40 +0000 (0:00:00.011) 0:00:02.401 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version != '7' and ansible_distribution != 'RedHat'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 30 November 2023 18:44:40 +0000 (0:00:00.011) 0:00:02.412 ***** skipping: [sut] => { "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: /WORKDIR/git-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 30 November 2023 18:44:40 +0000 (0:00:00.010) 0:00:02.422 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version != '7' and ansible_distribution != 'RedHat'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 30 November 2023 18:44:40 +0000 (0:00:00.012) 0:00:02.435 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version != '7' and ansible_distribution != 'RedHat'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 30 November 2023 18:44:40 +0000 (0:00:00.010) 0:00:02.446 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version != '7' and ansible_distribution != 'RedHat'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 30 November 2023 18:44:40 +0000 (0:00:00.011) 0:00:02.457 ***** skipping: [sut] => { "false_condition": "ansible_distribution_major_version != '7' and ansible_distribution != 'RedHat'" } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 30 November 2023 18:44:40 +0000 (0:00:00.011) 0:00:02.469 ***** skipping: [sut] => { "false_condition": "ansible_distribution_major_version != '7' and ansible_distribution != 'RedHat'" } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 30 November 2023 18:44:40 +0000 (0:00:00.011) 0:00:02.480 ***** skipping: [sut] => { "false_condition": "ansible_distribution_major_version != '7' and ansible_distribution != 'RedHat'" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 30 November 2023 18:44:40 +0000 (0:00:00.012) 0:00:02.492 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version != '7' and ansible_distribution != 'RedHat'", "skip_reason": "Conditional result was False" } TASK [Verify wireless profile KEY_MGMT entry] ********************************** task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tests_wireless_wpa3_sae.yml:33 Thursday 30 November 2023 18:44:40 +0000 (0:00:00.015) 0:00:02.507 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version != '7' and ansible_distribution != 'RedHat'", "skip_reason": "Conditional result was False" } TASK [Assert that WPA3 Personal is configured correctly] *********************** task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tests_wireless_wpa3_sae.yml:41 Thursday 30 November 2023 18:44:40 +0000 (0:00:00.011) 0:00:02.519 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version != '7' and ansible_distribution != 'RedHat'", "skip_reason": "Conditional result was False" } PLAY RECAP ********************************************************************* sut : ok=10 changed=0 unreachable=0 failed=0 skipped=25 rescued=0 ignored=0 Thursday 30 November 2023 18:44:40 +0000 (0:00:00.016) 0:00:02.536 ***** =============================================================================== Gathering Facts --------------------------------------------------------- 0.72s /WORKDIR/git-code_refactorx95r6s3q/tests/tests_wireless_wpa3_sae_nm.yml:5 ----- Install yum-utils package ----------------------------------------------- 0.43s /WORKDIR/git-code_refactorx95r6s3q/tests/tasks/enable_epel.yml:24 ------------- Enable EPEL 7 ----------------------------------------------------------- 0.31s /WORKDIR/git-code_refactorx95r6s3q/tests/tasks/enable_epel.yml:30 ------------- Gather the minimum subset of ansible_facts required by the network role test --- 0.24s /WORKDIR/git-code_refactorx95r6s3q/tests/tasks/el_repo_setup.yml:3 ------------ Create EPEL 7 ----------------------------------------------------------- 0.22s /WORKDIR/git-code_refactorx95r6s3q/tests/tasks/enable_epel.yml:8 -------------- Check if system is ostree ----------------------------------------------- 0.21s /WORKDIR/git-code_refactorx95r6s3q/tests/tasks/el_repo_setup.yml:17 ----------- Include the task 'enable_epel.yml' -------------------------------------- 0.03s /WORKDIR/git-code_refactorx95r6s3q/tests/tasks/el_repo_setup.yml:51 ----------- Set network provider to 'nm' -------------------------------------------- 0.02s /WORKDIR/git-code_refactorx95r6s3q/tests/tests_wireless_wpa3_sae_nm.yml:11 ---- Set flag to indicate system is ostree ----------------------------------- 0.02s /WORKDIR/git-code_refactorx95r6s3q/tests/tasks/el_repo_setup.yml:22 ----------- Assert that WPA3 Personal is configured correctly ----------------------- 0.02s /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tests_wireless_wpa3_sae.yml:41 fedora.linux_system_roles.network : Re-test connectivity ---------------- 0.02s /WORKDIR/git-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Gathering Facts --------------------------------------------------------- 0.01s /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tests_wireless_wpa3_sae.yml:3 Include the task 'el_repo_setup.yml' ------------------------------------ 0.01s /WORKDIR/git-code_refactorx95r6s3q/tests/tests_wireless_wpa3_sae_nm.yml:9 ----- fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8 --- 0.01s /WORKDIR/git-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 fedora.linux_system_roles.network : Install packages -------------------- 0.01s /WORKDIR/git-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Fix CentOS6 Base repo --------------------------------------------------- 0.01s /WORKDIR/git-code_refactorx95r6s3q/tests/tasks/el_repo_setup.yml:26 ----------- fedora.linux_system_roles.network : Show debug messages for the network_state --- 0.01s /WORKDIR/git-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 fedora.linux_system_roles.network : Ensure initscripts network file dependency is present --- 0.01s /WORKDIR/git-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable --- 0.01s /WORKDIR/git-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable --- 0.01s /WORKDIR/git-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [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. ---^---^---^---^---^---