# STDOUT: ---v---v---v---v---v--- ansible-playbook 2.9.27 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.9/lib/python3.9/site-packages/ansible executable location = /opt/ansible-2.9/bin/ansible-playbook python version = 3.9.18 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] Using /etc/ansible/ansible.cfg as config file Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_ipv6_dns_search_nm.yml ***************************************** 2 plays in /WORKDIR/git-code_refactortjv142fh/tests/tests_ipv6_dns_search_nm.yml PLAY [Run playbook 'playbooks/tests_ipv6_dns_search.yml' with nm as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-code_refactortjv142fh/tests/tests_ipv6_dns_search_nm.yml:5 Thursday 30 November 2023 18:23:05 +0000 (0:00:00.017) 0:00:00.017 ***** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-code_refactortjv142fh/tests/tests_ipv6_dns_search_nm.yml:9 Thursday 30 November 2023 18:23:06 +0000 (0:00:00.632) 0:00:00.649 ***** included: /WORKDIR/git-code_refactortjv142fh/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_refactortjv142fh/tests/tasks/el_repo_setup.yml:3 Thursday 30 November 2023 18:23:06 +0000 (0:00:00.016) 0:00:00.666 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-code_refactortjv142fh/tests/tasks/el_repo_setup.yml:19 Thursday 30 November 2023 18:23:06 +0000 (0:00:00.260) 0:00:00.927 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-code_refactortjv142fh/tests/tasks/el_repo_setup.yml:24 Thursday 30 November 2023 18:23:07 +0000 (0:00:00.222) 0:00:01.149 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-code_refactortjv142fh/tests/tasks/el_repo_setup.yml:28 Thursday 30 November 2023 18:23:07 +0000 (0:00:00.026) 0:00:01.176 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-code_refactortjv142fh/tests/tasks/el_repo_setup.yml:53 Thursday 30 November 2023 18:23:07 +0000 (0:00:00.025) 0:00:01.201 ***** included: /WORKDIR/git-code_refactortjv142fh/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-code_refactortjv142fh/tests/tasks/enable_epel.yml:8 Thursday 30 November 2023 18:23:07 +0000 (0:00:00.051) 0:00:01.253 ***** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm" ], "rc": 0 } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-code_refactortjv142fh/tests/tasks/enable_epel.yml:24 Thursday 30 November 2023 18:23:07 +0000 (0:00:00.189) 0:00:01.443 ***** 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_refactortjv142fh/tests/tasks/enable_epel.yml:30 Thursday 30 November 2023 18:23:07 +0000 (0:00:00.547) 0:00:01.991 ***** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.265184", "end": "2023-11-30 18:23:08.310181", "rc": 0, "start": "2023-11-30 18:23:08.044997" } 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_refactortjv142fh/tests/tasks/enable_epel.yml:35 Thursday 30 November 2023 18:23:08 +0000 (0:00:00.415) 0:00:02.406 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-code_refactortjv142fh/tests/tasks/enable_epel.yml:40 Thursday 30 November 2023 18:23:08 +0000 (0:00:00.013) 0:00:02.420 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-code_refactortjv142fh/tests/tests_ipv6_dns_search_nm.yml:11 Thursday 30 November 2023 18:23:08 +0000 (0:00:00.012) 0:00:02.433 ***** ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for testing DNS search setting] ************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-code_refactortjv142fh/tests/playbooks/tests_ipv6_dns_search.yml:2 Thursday 30 November 2023 18:23:08 +0000 (0:00:00.015) 0:00:02.448 ***** ok: [sut] META: ran handlers TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-code_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 30 November 2023 18:23:08 +0000 (0:00:00.445) 0:00:02.894 ***** included: /WORKDIR/git-code_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-code_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 30 November 2023 18:23:08 +0000 (0:00:00.097) 0:00:02.992 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-code_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 30 November 2023 18:23:08 +0000 (0:00:00.016) 0:00:03.008 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-code_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 30 November 2023 18:23:08 +0000 (0:00:00.015) 0:00:03.024 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-code_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 30 November 2023 18:23:08 +0000 (0:00:00.014) 0:00:03.039 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-code_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 30 November 2023 18:23:09 +0000 (0:00:00.957) 0:00:03.996 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-code_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 30 November 2023 18:23:11 +0000 (0:00:01.377) 0:00:05.374 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [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_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 30 November 2023 18:23:11 +0000 (0:00:00.027) 0:00:05.401 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 30 November 2023 18:23:11 +0000 (0:00:00.031) 0:00:05.432 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-code_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 30 November 2023 18:23:11 +0000 (0:00:00.029) 0:00:05.462 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-code_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 30 November 2023 18:23:11 +0000 (0:00:00.061) 0:00:05.524 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-code_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 30 November 2023 18:23:11 +0000 (0:00:00.027) 0:00:05.551 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-code_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 30 November 2023 18:23:11 +0000 (0:00:00.029) 0:00:05.581 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-code_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 30 November 2023 18:23:11 +0000 (0:00:00.035) 0:00:05.617 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-code_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 30 November 2023 18:23:12 +0000 (0:00:00.481) 0:00:06.098 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-code_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 30 November 2023 18:23:12 +0000 (0:00:00.030) 0:00:06.129 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-code_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 30 November 2023 18:23:12 +0000 (0:00:00.025) 0:00:06.154 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-code_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 30 November 2023 18:23:12 +0000 (0:00:00.026) 0:00:06.181 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "192.0.2.1/24" ], "auto6": false, "dhcp4": false, "dns": "203.0.113.113", "dns_search": "example.com" }, "name": "br-example", "state": "up", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'br-example': add connection br-example, 07e86c8f-b662-4b84-8097-c11b39d747ea [004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 07e86c8f-b662-4b84-8097-c11b39d747ea (is-modified) [005] #0, state:up persistent_state:present, 'br-example': connection reapplied TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-code_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 30 November 2023 18:23:12 +0000 (0:00:00.597) 0:00:06.778 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-code_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 30 November 2023 18:23:12 +0000 (0:00:00.027) 0:00:06.806 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'br-example': add connection br-example, 07e86c8f-b662-4b84-8097-c11b39d747ea", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 07e86c8f-b662-4b84-8097-c11b39d747ea (is-modified)", "[005] #0, state:up persistent_state:present, 'br-example': connection reapplied" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-code_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 30 November 2023 18:23:12 +0000 (0:00:00.056) 0:00:06.862 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "192.0.2.1/24" ], "auto6": false, "dhcp4": false, "dns": "203.0.113.113", "dns_search": "example.com" }, "name": "br-example", "state": "up", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'br-example': add connection br-example, 07e86c8f-b662-4b84-8097-c11b39d747ea\n[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 07e86c8f-b662-4b84-8097-c11b39d747ea (is-modified)\n[005] #0, state:up persistent_state:present, 'br-example': connection reapplied\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'br-example': add connection br-example, 07e86c8f-b662-4b84-8097-c11b39d747ea", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 07e86c8f-b662-4b84-8097-c11b39d747ea (is-modified)", "[005] #0, state:up persistent_state:present, 'br-example': connection reapplied" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-code_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 30 November 2023 18:23:12 +0000 (0:00:00.030) 0:00:06.893 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-code_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 30 November 2023 18:23:12 +0000 (0:00:00.030) 0:00:06.923 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get DNS search entry for IPv4] ******************************************* task path: /WORKDIR/git-code_refactortjv142fh/tests/playbooks/tests_ipv6_dns_search.yml:23 Thursday 30 November 2023 18:23:13 +0000 (0:00:00.265) 0:00:07.189 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv4.dns-search", "connection", "show", "br-example" ], "delta": "0:00:00.028811", "end": "2023-11-30 18:23:13.305915", "rc": 0, "start": "2023-11-30 18:23:13.277104" } STDOUT: ipv4.dns-search: example.com TASK [Get DNS search entry for IPv6] ******************************************* task path: /WORKDIR/git-code_refactortjv142fh/tests/playbooks/tests_ipv6_dns_search.yml:29 Thursday 30 November 2023 18:23:13 +0000 (0:00:00.236) 0:00:07.426 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv6.dns-search", "connection", "show", "br-example" ], "delta": "0:00:00.030094", "end": "2023-11-30 18:23:13.541655", "rc": 0, "start": "2023-11-30 18:23:13.511561" } STDOUT: ipv6.dns-search: -- TASK [Assert that IPv4 DNS search entry is configured correctly] *************** task path: /WORKDIR/git-code_refactortjv142fh/tests/playbooks/tests_ipv6_dns_search.yml:35 Thursday 30 November 2023 18:23:13 +0000 (0:00:00.229) 0:00:07.655 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that DNS search setting for IPv6 is not configured when IPv6 address is not configured] *** task path: /WORKDIR/git-code_refactortjv142fh/tests/playbooks/tests_ipv6_dns_search.yml:41 Thursday 30 November 2023 18:23:13 +0000 (0:00:00.034) 0:00:07.690 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-code_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 30 November 2023 18:23:13 +0000 (0:00:00.032) 0:00:07.722 ***** included: /WORKDIR/git-code_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-code_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 30 November 2023 18:23:13 +0000 (0:00:00.060) 0:00:07.783 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-code_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 30 November 2023 18:23:13 +0000 (0:00:00.035) 0:00:07.818 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-code_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 30 November 2023 18:23:13 +0000 (0:00:00.030) 0:00:07.849 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-code_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 30 November 2023 18:23:13 +0000 (0:00:00.032) 0:00:07.882 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-code_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 30 November 2023 18:23:14 +0000 (0:00:00.996) 0:00:08.879 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-code_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 30 November 2023 18:23:15 +0000 (0:00:01.040) 0:00:09.919 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [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_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 30 November 2023 18:23:15 +0000 (0:00:00.028) 0:00:09.948 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 30 November 2023 18:23:15 +0000 (0:00:00.025) 0:00:09.973 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-code_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 30 November 2023 18:23:15 +0000 (0:00:00.026) 0:00:10.000 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-code_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 30 November 2023 18:23:15 +0000 (0:00:00.054) 0:00:10.054 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-code_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 30 November 2023 18:23:16 +0000 (0:00:00.025) 0:00:10.080 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-code_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 30 November 2023 18:23:16 +0000 (0:00:00.024) 0:00:10.104 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-code_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 30 November 2023 18:23:16 +0000 (0:00:00.027) 0:00:10.132 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-code_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 30 November 2023 18:23:16 +0000 (0:00:00.296) 0:00:10.429 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-code_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 30 November 2023 18:23:16 +0000 (0:00:00.031) 0:00:10.460 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-code_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 30 November 2023 18:23:16 +0000 (0:00:00.024) 0:00:10.485 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-code_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 30 November 2023 18:23:16 +0000 (0:00:00.024) 0:00:10.510 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "192.0.2.1/24", "2001:db8::2/32" ], "auto6": false, "dhcp4": false, "dns": [ "203.0.113.113", "2001:db8::20" ], "dns_search": "example.com" }, "name": "br-example", "state": "up", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'br-example': update connection br-example, 07e86c8f-b662-4b84-8097-c11b39d747ea [004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 07e86c8f-b662-4b84-8097-c11b39d747ea (is-modified) [005] #0, state:up persistent_state:present, 'br-example': connection reapplied TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-code_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 30 November 2023 18:23:16 +0000 (0:00:00.325) 0:00:10.836 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-code_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 30 November 2023 18:23:16 +0000 (0:00:00.026) 0:00:10.862 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'br-example': update connection br-example, 07e86c8f-b662-4b84-8097-c11b39d747ea", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 07e86c8f-b662-4b84-8097-c11b39d747ea (is-modified)", "[005] #0, state:up persistent_state:present, 'br-example': connection reapplied" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-code_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 30 November 2023 18:23:16 +0000 (0:00:00.031) 0:00:10.894 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "192.0.2.1/24", "2001:db8::2/32" ], "auto6": false, "dhcp4": false, "dns": [ "203.0.113.113", "2001:db8::20" ], "dns_search": "example.com" }, "name": "br-example", "state": "up", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'br-example': update connection br-example, 07e86c8f-b662-4b84-8097-c11b39d747ea\n[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 07e86c8f-b662-4b84-8097-c11b39d747ea (is-modified)\n[005] #0, state:up persistent_state:present, 'br-example': connection reapplied\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'br-example': update connection br-example, 07e86c8f-b662-4b84-8097-c11b39d747ea", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 07e86c8f-b662-4b84-8097-c11b39d747ea (is-modified)", "[005] #0, state:up persistent_state:present, 'br-example': connection reapplied" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-code_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 30 November 2023 18:23:16 +0000 (0:00:00.029) 0:00:10.923 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-code_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 30 November 2023 18:23:16 +0000 (0:00:00.027) 0:00:10.951 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get DNS search entry for IPv6] ******************************************* task path: /WORKDIR/git-code_refactortjv142fh/tests/playbooks/tests_ipv6_dns_search.yml:69 Thursday 30 November 2023 18:23:17 +0000 (0:00:00.134) 0:00:11.085 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv6.dns-search", "connection", "show", "br-example" ], "delta": "0:00:00.021369", "end": "2023-11-30 18:23:17.136594", "rc": 0, "start": "2023-11-30 18:23:17.115225" } STDOUT: ipv6.dns-search: example.com TASK [Assert that DNS search setting for IPv6 is configured when the static IPv6 address is configured] *** task path: /WORKDIR/git-code_refactortjv142fh/tests/playbooks/tests_ipv6_dns_search.yml:75 Thursday 30 November 2023 18:23:17 +0000 (0:00:00.159) 0:00:11.244 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-code_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 30 November 2023 18:23:17 +0000 (0:00:00.029) 0:00:11.273 ***** included: /WORKDIR/git-code_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-code_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 30 November 2023 18:23:17 +0000 (0:00:00.052) 0:00:11.326 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-code_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 30 November 2023 18:23:17 +0000 (0:00:00.039) 0:00:11.365 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-code_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 30 November 2023 18:23:17 +0000 (0:00:00.039) 0:00:11.405 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-code_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 30 November 2023 18:23:17 +0000 (0:00:00.027) 0:00:11.433 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-code_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 30 November 2023 18:23:18 +0000 (0:00:00.755) 0:00:12.189 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-code_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 30 November 2023 18:23:19 +0000 (0:00:00.955) 0:00:13.144 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [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_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 30 November 2023 18:23:19 +0000 (0:00:00.034) 0:00:13.179 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 30 November 2023 18:23:19 +0000 (0:00:00.027) 0:00:13.206 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-code_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 30 November 2023 18:23:19 +0000 (0:00:00.026) 0:00:13.233 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-code_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 30 November 2023 18:23:19 +0000 (0:00:00.067) 0:00:13.301 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-code_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 30 November 2023 18:23:19 +0000 (0:00:00.027) 0:00:13.328 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-code_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 30 November 2023 18:23:19 +0000 (0:00:00.025) 0:00:13.354 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-code_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 30 November 2023 18:23:19 +0000 (0:00:00.054) 0:00:13.408 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-code_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 30 November 2023 18:23:19 +0000 (0:00:00.254) 0:00:13.662 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-code_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 30 November 2023 18:23:19 +0000 (0:00:00.033) 0:00:13.696 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-code_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 30 November 2023 18:23:19 +0000 (0:00:00.024) 0:00:13.720 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-code_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 30 November 2023 18:23:19 +0000 (0:00:00.025) 0:00:13.746 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/32" ], "auto6": false, "dhcp4": false, "dns": [ "2001:db8::20" ], "dns_search": "example.com" }, "name": "br-example", "state": "up", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'br-example': update connection br-example, 07e86c8f-b662-4b84-8097-c11b39d747ea [004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 07e86c8f-b662-4b84-8097-c11b39d747ea (is-modified) [005] #0, state:up persistent_state:present, 'br-example': connection reapplied TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-code_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 30 November 2023 18:23:19 +0000 (0:00:00.324) 0:00:14.071 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-code_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 30 November 2023 18:23:20 +0000 (0:00:00.026) 0:00:14.097 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'br-example': update connection br-example, 07e86c8f-b662-4b84-8097-c11b39d747ea", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 07e86c8f-b662-4b84-8097-c11b39d747ea (is-modified)", "[005] #0, state:up persistent_state:present, 'br-example': connection reapplied" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-code_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 30 November 2023 18:23:20 +0000 (0:00:00.026) 0:00:14.124 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/32" ], "auto6": false, "dhcp4": false, "dns": [ "2001:db8::20" ], "dns_search": "example.com" }, "name": "br-example", "state": "up", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'br-example': update connection br-example, 07e86c8f-b662-4b84-8097-c11b39d747ea\n[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 07e86c8f-b662-4b84-8097-c11b39d747ea (is-modified)\n[005] #0, state:up persistent_state:present, 'br-example': connection reapplied\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'br-example': update connection br-example, 07e86c8f-b662-4b84-8097-c11b39d747ea", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 07e86c8f-b662-4b84-8097-c11b39d747ea (is-modified)", "[005] #0, state:up persistent_state:present, 'br-example': connection reapplied" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-code_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 30 November 2023 18:23:20 +0000 (0:00:00.027) 0:00:14.152 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-code_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 30 November 2023 18:23:20 +0000 (0:00:00.030) 0:00:14.182 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get DNS search entry for IPv6] ******************************************* task path: /WORKDIR/git-code_refactortjv142fh/tests/playbooks/tests_ipv6_dns_search.yml:101 Thursday 30 November 2023 18:23:20 +0000 (0:00:00.131) 0:00:14.313 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv6.dns-search", "connection", "show", "br-example" ], "delta": "0:00:00.020426", "end": "2023-11-30 18:23:20.363454", "rc": 0, "start": "2023-11-30 18:23:20.343028" } STDOUT: ipv6.dns-search: example.com TASK [Assert that DNS search setting for IPv6 is configured when only the static IPv6 address is configured] *** task path: /WORKDIR/git-code_refactortjv142fh/tests/playbooks/tests_ipv6_dns_search.yml:107 Thursday 30 November 2023 18:23:20 +0000 (0:00:00.157) 0:00:14.471 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-code_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 30 November 2023 18:23:20 +0000 (0:00:00.028) 0:00:14.500 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-code_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 30 November 2023 18:23:20 +0000 (0:00:00.027) 0:00:14.527 ***** skipping: [sut] => {} TASK [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_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 30 November 2023 18:23:20 +0000 (0:00:00.030) 0:00:14.557 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 30 November 2023 18:23:20 +0000 (0:00:00.037) 0:00:14.595 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-code_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 30 November 2023 18:23:20 +0000 (0:00:00.055) 0:00:14.650 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-code_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 30 November 2023 18:23:20 +0000 (0:00:00.028) 0:00:14.678 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-code_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 30 November 2023 18:23:20 +0000 (0:00:00.028) 0:00:14.706 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-code_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 30 November 2023 18:23:20 +0000 (0:00:00.033) 0:00:14.740 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-code_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 30 November 2023 18:23:20 +0000 (0:00:00.027) 0:00:14.768 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-code_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 30 November 2023 18:23:20 +0000 (0:00:00.026) 0:00:14.794 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-code_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 30 November 2023 18:23:20 +0000 (0:00:00.028) 0:00:14.822 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-code_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 30 November 2023 18:23:20 +0000 (0:00:00.024) 0:00:14.847 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-code_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 30 November 2023 18:23:20 +0000 (0:00:00.026) 0:00:14.874 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-code_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 30 November 2023 18:23:20 +0000 (0:00:00.025) 0:00:14.899 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-code_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 30 November 2023 18:23:20 +0000 (0:00:00.026) 0:00:14.926 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-code_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 30 November 2023 18:23:20 +0000 (0:00:00.029) 0:00:14.955 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-code_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 30 November 2023 18:23:20 +0000 (0:00:00.028) 0:00:14.984 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-code_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 30 November 2023 18:23:20 +0000 (0:00:00.027) 0:00:15.011 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that reconfiguring network connection is failed] ****************** task path: /WORKDIR/git-code_refactortjv142fh/tests/playbooks/tests_ipv6_dns_search.yml:131 Thursday 30 November 2023 18:23:20 +0000 (0:00:00.026) 0:00:15.038 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that configuring DNS search setting is not allowed when both IPv4 and IPv6 are disabled] *** task path: /WORKDIR/git-code_refactortjv142fh/tests/playbooks/tests_ipv6_dns_search.yml:138 Thursday 30 November 2023 18:23:20 +0000 (0:00:00.026) 0:00:15.065 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-code_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 30 November 2023 18:23:21 +0000 (0:00:00.029) 0:00:15.094 ***** included: /WORKDIR/git-code_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-code_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 30 November 2023 18:23:21 +0000 (0:00:00.074) 0:00:15.168 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-code_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 30 November 2023 18:23:21 +0000 (0:00:00.031) 0:00:15.200 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-code_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 30 November 2023 18:23:21 +0000 (0:00:00.026) 0:00:15.227 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-code_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 30 November 2023 18:23:21 +0000 (0:00:00.029) 0:00:15.257 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-code_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 30 November 2023 18:23:21 +0000 (0:00:00.755) 0:00:16.013 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-code_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 30 November 2023 18:23:22 +0000 (0:00:00.932) 0:00:16.945 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [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_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 30 November 2023 18:23:22 +0000 (0:00:00.027) 0:00:16.972 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 30 November 2023 18:23:22 +0000 (0:00:00.024) 0:00:16.997 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-code_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 30 November 2023 18:23:22 +0000 (0:00:00.023) 0:00:17.021 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-code_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 30 November 2023 18:23:23 +0000 (0:00:00.108) 0:00:17.129 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-code_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 30 November 2023 18:23:23 +0000 (0:00:00.027) 0:00:17.157 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-code_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 30 November 2023 18:23:23 +0000 (0:00:00.028) 0:00:17.186 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-code_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 30 November 2023 18:23:23 +0000 (0:00:00.030) 0:00:17.216 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-code_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 30 November 2023 18:23:23 +0000 (0:00:00.253) 0:00:17.470 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-code_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 30 November 2023 18:23:23 +0000 (0:00:00.032) 0:00:17.503 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-code_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 30 November 2023 18:23:23 +0000 (0:00:00.024) 0:00:17.527 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-code_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 30 November 2023 18:23:23 +0000 (0:00:00.024) 0:00:17.552 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "br-example", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-code_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 30 November 2023 18:23:23 +0000 (0:00:00.398) 0:00:17.951 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-code_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 30 November 2023 18:23:23 +0000 (0:00:00.025) 0:00:17.976 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-code_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 30 November 2023 18:23:23 +0000 (0:00:00.027) 0:00:18.003 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "br-example", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-code_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 30 November 2023 18:23:23 +0000 (0:00:00.027) 0:00:18.031 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-code_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 30 November 2023 18:23:23 +0000 (0:00:00.027) 0:00:18.059 ***** ok: [sut] => { "changed": false, "ping": "pong" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=55 changed=4 unreachable=0 failed=0 skipped=79 rescued=0 ignored=0 Thursday 30 November 2023 18:23:24 +0000 (0:00:00.129) 0:00:18.188 ***** =============================================================================== linux-system-roles.network : Check which packages are installed --------- 1.38s /WORKDIR/git-code_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.04s /WORKDIR/git-code_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which services are running ----------- 1.00s /WORKDIR/git-code_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.96s /WORKDIR/git-code_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 0.96s /WORKDIR/git-code_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.93s /WORKDIR/git-code_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which services are running ----------- 0.76s /WORKDIR/git-code_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.76s /WORKDIR/git-code_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Gathering Facts --------------------------------------------------------- 0.63s /WORKDIR/git-code_refactortjv142fh/tests/tests_ipv6_dns_search_nm.yml:5 ------- linux-system-roles.network : Configure networking connection profiles --- 0.60s /WORKDIR/git-code_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/main.yml:122 Install yum-utils package ----------------------------------------------- 0.55s /WORKDIR/git-code_refactortjv142fh/tests/tasks/enable_epel.yml:24 ------------- linux-system-roles.network : Enable and start NetworkManager ------------ 0.48s /WORKDIR/git-code_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/main.yml:85 Gathering Facts --------------------------------------------------------- 0.45s /WORKDIR/git-code_refactortjv142fh/tests/playbooks/tests_ipv6_dns_search.yml:2 Enable EPEL 7 ----------------------------------------------------------- 0.42s /WORKDIR/git-code_refactortjv142fh/tests/tasks/enable_epel.yml:30 ------------- linux-system-roles.network : Configure networking connection profiles --- 0.40s /WORKDIR/git-code_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Configure networking connection profiles --- 0.33s /WORKDIR/git-code_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Configure networking connection profiles --- 0.32s /WORKDIR/git-code_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable and start NetworkManager ------------ 0.30s /WORKDIR/git-code_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Re-test connectivity ----------------------- 0.27s /WORKDIR/git-code_refactortjv142fh/tests/roles/linux-system-roles.network/tasks/main.yml:155 Gather the minimum subset of ansible_facts required by the network role test --- 0.26s /WORKDIR/git-code_refactortjv142fh/tests/tasks/el_repo_setup.yml:3 ------------ ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---