# 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_refactorns21wcqn/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_refactorns21wcqn/tests/tests_ipv6_dns_search_nm.yml:5 Thursday 30 November 2023 17:00:24 +0000 (0:00:00.016) 0:00:00.016 ***** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-code_refactorns21wcqn/tests/tests_ipv6_dns_search_nm.yml:9 Thursday 30 November 2023 17:00:24 +0000 (0:00:00.565) 0:00:00.581 ***** included: /WORKDIR/git-code_refactorns21wcqn/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_refactorns21wcqn/tests/tasks/el_repo_setup.yml:3 Thursday 30 November 2023 17:00:24 +0000 (0:00:00.016) 0:00:00.598 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-code_refactorns21wcqn/tests/tasks/el_repo_setup.yml:19 Thursday 30 November 2023 17:00:24 +0000 (0:00:00.250) 0:00:00.848 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-code_refactorns21wcqn/tests/tasks/el_repo_setup.yml:24 Thursday 30 November 2023 17:00:25 +0000 (0:00:00.233) 0:00:01.082 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-code_refactorns21wcqn/tests/tasks/el_repo_setup.yml:28 Thursday 30 November 2023 17:00:25 +0000 (0:00:00.030) 0:00:01.112 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-code_refactorns21wcqn/tests/tasks/el_repo_setup.yml:53 Thursday 30 November 2023 17:00:25 +0000 (0:00:00.030) 0:00:01.143 ***** included: /WORKDIR/git-code_refactorns21wcqn/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-code_refactorns21wcqn/tests/tasks/enable_epel.yml:8 Thursday 30 November 2023 17:00:25 +0000 (0:00:00.043) 0:00:01.186 ***** 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_refactorns21wcqn/tests/tasks/enable_epel.yml:24 Thursday 30 November 2023 17:00:25 +0000 (0:00:00.203) 0:00:01.389 ***** 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_refactorns21wcqn/tests/tasks/enable_epel.yml:30 Thursday 30 November 2023 17:00:25 +0000 (0:00:00.517) 0:00:01.907 ***** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.204870", "end": "2023-11-30 17:00:26.308403", "rc": 0, "start": "2023-11-30 17:00:26.103533" } STDOUT: ================================== repo: epel ================================== [epel] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7Server baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7Server/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/7Server/epel/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7Server/epel/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 hdrdir = /var/cache/yum/x86_64/7Server/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=$infra&content=$contentdir 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/7Server/epel pkgdir = /var/cache/yum/x86_64/7Server/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_refactorns21wcqn/tests/tasks/enable_epel.yml:35 Thursday 30 November 2023 17:00:26 +0000 (0:00:00.337) 0:00:02.245 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-code_refactorns21wcqn/tests/tasks/enable_epel.yml:40 Thursday 30 November 2023 17:00:26 +0000 (0:00:00.016) 0:00:02.261 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-code_refactorns21wcqn/tests/tests_ipv6_dns_search_nm.yml:11 Thursday 30 November 2023 17:00:26 +0000 (0:00:00.013) 0:00:02.275 ***** 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_refactorns21wcqn/tests/playbooks/tests_ipv6_dns_search.yml:2 Thursday 30 November 2023 17:00:26 +0000 (0:00:00.016) 0:00:02.292 ***** ok: [sut] META: ran handlers TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-code_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 30 November 2023 17:00:26 +0000 (0:00:00.392) 0:00:02.685 ***** included: /WORKDIR/git-code_refactorns21wcqn/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_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 30 November 2023 17:00:26 +0000 (0:00:00.091) 0:00:02.776 ***** 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_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 30 November 2023 17:00:26 +0000 (0:00:00.015) 0:00:02.791 ***** 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_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 30 November 2023 17:00:26 +0000 (0:00:00.015) 0:00:02.807 ***** 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_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 30 November 2023 17:00:26 +0000 (0:00:00.012) 0:00:02.820 ***** 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_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 30 November 2023 17:00:27 +0000 (0:00:00.856) 0:00:03.676 ***** 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_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 30 November 2023 17:00:28 +0000 (0:00:00.912) 0:00:04.589 ***** 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_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 30 November 2023 17:00:28 +0000 (0:00:00.037) 0:00:04.627 ***** 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_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 30 November 2023 17:00:28 +0000 (0:00:00.028) 0:00:04.655 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-code_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 30 November 2023 17:00:28 +0000 (0:00:00.026) 0:00:04.681 ***** 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_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 30 November 2023 17:00:28 +0000 (0:00:00.058) 0:00:04.740 ***** 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_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 30 November 2023 17:00:28 +0000 (0:00:00.030) 0:00:04.771 ***** 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_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 30 November 2023 17:00:28 +0000 (0:00:00.026) 0:00:04.797 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-code_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 30 November 2023 17:00:28 +0000 (0:00:00.031) 0:00:04.828 ***** 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_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 30 November 2023 17:00:29 +0000 (0:00:00.409) 0:00:05.238 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-code_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 30 November 2023 17:00:29 +0000 (0:00:00.031) 0:00:05.269 ***** 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_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 30 November 2023 17:00:29 +0000 (0:00:00.035) 0:00:05.304 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-code_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 30 November 2023 17:00:29 +0000 (0:00:00.035) 0:00:05.340 ***** 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, ac7dc75b-b072-4c32-971d-00a8cf7f5a26 [004] #0, state:up persistent_state:present, 'br-example': up connection br-example, ac7dc75b-b072-4c32-971d-00a8cf7f5a26 (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-code_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 30 November 2023 17:00:29 +0000 (0:00:00.525) 0:00:05.866 ***** 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_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 30 November 2023 17:00:29 +0000 (0:00:00.027) 0:00:05.894 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'br-example': add connection br-example, ac7dc75b-b072-4c32-971d-00a8cf7f5a26", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, ac7dc75b-b072-4c32-971d-00a8cf7f5a26 (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-code_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 30 November 2023 17:00:30 +0000 (0:00:00.033) 0:00:05.927 ***** 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, ac7dc75b-b072-4c32-971d-00a8cf7f5a26\n[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, ac7dc75b-b072-4c32-971d-00a8cf7f5a26 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'br-example': add connection br-example, ac7dc75b-b072-4c32-971d-00a8cf7f5a26", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, ac7dc75b-b072-4c32-971d-00a8cf7f5a26 (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-code_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 30 November 2023 17:00:30 +0000 (0:00:00.060) 0:00:05.987 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-code_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 30 November 2023 17:00:30 +0000 (0:00:00.028) 0:00:06.016 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get DNS search entry for IPv4] ******************************************* task path: /WORKDIR/git-code_refactorns21wcqn/tests/playbooks/tests_ipv6_dns_search.yml:23 Thursday 30 November 2023 17:00:30 +0000 (0:00:00.233) 0:00:06.249 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv4.dns-search", "connection", "show", "br-example" ], "delta": "0:00:00.025303", "end": "2023-11-30 17:00:30.471572", "rc": 0, "start": "2023-11-30 17:00:30.446269" } STDOUT: ipv4.dns-search: example.com TASK [Get DNS search entry for IPv6] ******************************************* task path: /WORKDIR/git-code_refactorns21wcqn/tests/playbooks/tests_ipv6_dns_search.yml:29 Thursday 30 November 2023 17:00:30 +0000 (0:00:00.170) 0:00:06.420 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv6.dns-search", "connection", "show", "br-example" ], "delta": "0:00:00.020877", "end": "2023-11-30 17:00:30.633066", "rc": 0, "start": "2023-11-30 17:00:30.612189" } STDOUT: ipv6.dns-search: -- TASK [Assert that IPv4 DNS search entry is configured correctly] *************** task path: /WORKDIR/git-code_refactorns21wcqn/tests/playbooks/tests_ipv6_dns_search.yml:35 Thursday 30 November 2023 17:00:30 +0000 (0:00:00.162) 0:00:06.582 ***** 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_refactorns21wcqn/tests/playbooks/tests_ipv6_dns_search.yml:41 Thursday 30 November 2023 17:00:30 +0000 (0:00:00.031) 0:00:06.614 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-code_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 30 November 2023 17:00:30 +0000 (0:00:00.028) 0:00:06.642 ***** included: /WORKDIR/git-code_refactorns21wcqn/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_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 30 November 2023 17:00:30 +0000 (0:00:00.049) 0:00:06.691 ***** 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_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 30 November 2023 17:00:30 +0000 (0:00:00.034) 0:00:06.725 ***** 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_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 30 November 2023 17:00:30 +0000 (0:00:00.029) 0:00:06.755 ***** 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_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 30 November 2023 17:00:30 +0000 (0:00:00.027) 0:00:06.783 ***** 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_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 30 November 2023 17:00:31 +0000 (0:00:00.799) 0:00:07.582 ***** 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_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 30 November 2023 17:00:32 +0000 (0:00:00.706) 0:00:08.288 ***** 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_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 30 November 2023 17:00:32 +0000 (0:00:00.038) 0:00:08.327 ***** 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_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 30 November 2023 17:00:32 +0000 (0:00:00.035) 0:00:08.363 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-code_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 30 November 2023 17:00:32 +0000 (0:00:00.028) 0:00:08.392 ***** 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_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 30 November 2023 17:00:32 +0000 (0:00:00.058) 0:00:08.450 ***** 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_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 30 November 2023 17:00:32 +0000 (0:00:00.026) 0:00:08.476 ***** 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_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 30 November 2023 17:00:32 +0000 (0:00:00.027) 0:00:08.503 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-code_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 30 November 2023 17:00:32 +0000 (0:00:00.038) 0:00:08.542 ***** 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_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 30 November 2023 17:00:32 +0000 (0:00:00.258) 0:00:08.800 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-code_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 30 November 2023 17:00:32 +0000 (0:00:00.032) 0:00:08.833 ***** 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_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 30 November 2023 17:00:32 +0000 (0:00:00.027) 0:00:08.860 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-code_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 30 November 2023 17:00:32 +0000 (0:00:00.024) 0:00:08.884 ***** 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, ac7dc75b-b072-4c32-971d-00a8cf7f5a26 [004] #0, state:up persistent_state:present, 'br-example': up connection br-example, ac7dc75b-b072-4c32-971d-00a8cf7f5a26 (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_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 30 November 2023 17:00:33 +0000 (0:00:00.365) 0:00:09.250 ***** 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_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 30 November 2023 17:00:33 +0000 (0:00:00.028) 0:00:09.278 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'br-example': update connection br-example, ac7dc75b-b072-4c32-971d-00a8cf7f5a26", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, ac7dc75b-b072-4c32-971d-00a8cf7f5a26 (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_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 30 November 2023 17:00:33 +0000 (0:00:00.033) 0:00:09.311 ***** 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, ac7dc75b-b072-4c32-971d-00a8cf7f5a26\n[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, ac7dc75b-b072-4c32-971d-00a8cf7f5a26 (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, ac7dc75b-b072-4c32-971d-00a8cf7f5a26", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, ac7dc75b-b072-4c32-971d-00a8cf7f5a26 (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_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 30 November 2023 17:00:33 +0000 (0:00:00.034) 0:00:09.346 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-code_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 30 November 2023 17:00:33 +0000 (0:00:00.030) 0:00:09.376 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get DNS search entry for IPv6] ******************************************* task path: /WORKDIR/git-code_refactorns21wcqn/tests/playbooks/tests_ipv6_dns_search.yml:69 Thursday 30 November 2023 17:00:33 +0000 (0:00:00.140) 0:00:09.516 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv6.dns-search", "connection", "show", "br-example" ], "delta": "0:00:00.020051", "end": "2023-11-30 17:00:33.732410", "rc": 0, "start": "2023-11-30 17:00:33.712359" } 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_refactorns21wcqn/tests/playbooks/tests_ipv6_dns_search.yml:75 Thursday 30 November 2023 17:00:33 +0000 (0:00:00.163) 0:00:09.680 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-code_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 30 November 2023 17:00:33 +0000 (0:00:00.026) 0:00:09.707 ***** included: /WORKDIR/git-code_refactorns21wcqn/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_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 30 November 2023 17:00:33 +0000 (0:00:00.057) 0:00:09.765 ***** 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_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 30 November 2023 17:00:33 +0000 (0:00:00.039) 0:00:09.804 ***** 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_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 30 November 2023 17:00:33 +0000 (0:00:00.037) 0:00:09.841 ***** 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_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 30 November 2023 17:00:33 +0000 (0:00:00.029) 0:00:09.871 ***** 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_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 30 November 2023 17:00:34 +0000 (0:00:00.797) 0:00:10.668 ***** 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_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 30 November 2023 17:00:35 +0000 (0:00:00.662) 0:00:11.331 ***** 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_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 30 November 2023 17:00:35 +0000 (0:00:00.026) 0:00:11.358 ***** 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_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 30 November 2023 17:00:35 +0000 (0:00:00.030) 0:00:11.388 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-code_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 30 November 2023 17:00:35 +0000 (0:00:00.034) 0:00:11.422 ***** 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_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 30 November 2023 17:00:35 +0000 (0:00:00.063) 0:00:11.486 ***** 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_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 30 November 2023 17:00:35 +0000 (0:00:00.029) 0:00:11.515 ***** 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_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 30 November 2023 17:00:35 +0000 (0:00:00.025) 0:00:11.541 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-code_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 30 November 2023 17:00:35 +0000 (0:00:00.029) 0:00:11.570 ***** 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_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 30 November 2023 17:00:35 +0000 (0:00:00.244) 0:00:11.814 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-code_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 30 November 2023 17:00:35 +0000 (0:00:00.034) 0:00:11.848 ***** 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_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 30 November 2023 17:00:35 +0000 (0:00:00.028) 0:00:11.877 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-code_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 30 November 2023 17:00:36 +0000 (0:00:00.055) 0:00:11.932 ***** 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, ac7dc75b-b072-4c32-971d-00a8cf7f5a26 [004] #0, state:up persistent_state:present, 'br-example': up connection br-example, ac7dc75b-b072-4c32-971d-00a8cf7f5a26 (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_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 30 November 2023 17:00:36 +0000 (0:00:00.330) 0:00:12.262 ***** 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_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 30 November 2023 17:00:36 +0000 (0:00:00.026) 0:00:12.289 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'br-example': update connection br-example, ac7dc75b-b072-4c32-971d-00a8cf7f5a26", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, ac7dc75b-b072-4c32-971d-00a8cf7f5a26 (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_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 30 November 2023 17:00:36 +0000 (0:00:00.030) 0:00:12.320 ***** 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, ac7dc75b-b072-4c32-971d-00a8cf7f5a26\n[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, ac7dc75b-b072-4c32-971d-00a8cf7f5a26 (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, ac7dc75b-b072-4c32-971d-00a8cf7f5a26", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, ac7dc75b-b072-4c32-971d-00a8cf7f5a26 (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_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 30 November 2023 17:00:36 +0000 (0:00:00.038) 0:00:12.358 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-code_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 30 November 2023 17:00:36 +0000 (0:00:00.027) 0:00:12.386 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get DNS search entry for IPv6] ******************************************* task path: /WORKDIR/git-code_refactorns21wcqn/tests/playbooks/tests_ipv6_dns_search.yml:101 Thursday 30 November 2023 17:00:36 +0000 (0:00:00.138) 0:00:12.524 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv6.dns-search", "connection", "show", "br-example" ], "delta": "0:00:00.020299", "end": "2023-11-30 17:00:36.740841", "rc": 0, "start": "2023-11-30 17:00:36.720542" } 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_refactorns21wcqn/tests/playbooks/tests_ipv6_dns_search.yml:107 Thursday 30 November 2023 17:00:36 +0000 (0:00:00.165) 0:00:12.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_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 30 November 2023 17:00:36 +0000 (0:00:00.029) 0:00:12.720 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-code_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 30 November 2023 17:00:36 +0000 (0:00:00.025) 0:00:12.745 ***** 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_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 30 November 2023 17:00:36 +0000 (0:00:00.026) 0:00:12.772 ***** 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_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 30 November 2023 17:00:36 +0000 (0:00:00.024) 0:00:12.797 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-code_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 30 November 2023 17:00:36 +0000 (0:00:00.024) 0:00:12.821 ***** 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_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 30 November 2023 17:00:36 +0000 (0:00:00.024) 0:00:12.846 ***** 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_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 30 November 2023 17:00:36 +0000 (0:00:00.024) 0:00:12.870 ***** 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_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 30 November 2023 17:00:36 +0000 (0:00:00.026) 0:00:12.896 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-code_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 30 November 2023 17:00:37 +0000 (0:00:00.026) 0:00:12.922 ***** 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_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 30 November 2023 17:00:37 +0000 (0:00:00.054) 0:00:12.977 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-code_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 30 November 2023 17:00:37 +0000 (0:00:00.027) 0:00:13.004 ***** 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_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 30 November 2023 17:00:37 +0000 (0:00:00.028) 0:00:13.032 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-code_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 30 November 2023 17:00:37 +0000 (0:00:00.033) 0:00:13.066 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-code_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 30 November 2023 17:00:37 +0000 (0:00:00.025) 0:00:13.091 ***** 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_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 30 November 2023 17:00:37 +0000 (0:00:00.028) 0:00:13.119 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-code_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 30 November 2023 17:00:37 +0000 (0:00:00.027) 0:00:13.147 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-code_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 30 November 2023 17:00:37 +0000 (0:00:00.033) 0:00:13.181 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-code_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 30 November 2023 17:00:37 +0000 (0:00:00.036) 0:00:13.218 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that reconfiguring network connection is failed] ****************** task path: /WORKDIR/git-code_refactorns21wcqn/tests/playbooks/tests_ipv6_dns_search.yml:131 Thursday 30 November 2023 17:00:37 +0000 (0:00:00.039) 0:00:13.257 ***** 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_refactorns21wcqn/tests/playbooks/tests_ipv6_dns_search.yml:138 Thursday 30 November 2023 17:00:37 +0000 (0:00:00.029) 0:00:13.286 ***** 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_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 30 November 2023 17:00:37 +0000 (0:00:00.030) 0:00:13.317 ***** included: /WORKDIR/git-code_refactorns21wcqn/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_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 30 November 2023 17:00:37 +0000 (0:00:00.054) 0:00:13.371 ***** 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_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 30 November 2023 17:00:37 +0000 (0:00:00.036) 0:00:13.407 ***** 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_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 30 November 2023 17:00:37 +0000 (0:00:00.028) 0:00:13.435 ***** 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_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 30 November 2023 17:00:37 +0000 (0:00:00.036) 0:00:13.472 ***** 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_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 30 November 2023 17:00:38 +0000 (0:00:00.783) 0:00:14.255 ***** 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_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 30 November 2023 17:00:39 +0000 (0:00:00.669) 0:00:14.925 ***** 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_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 30 November 2023 17:00:39 +0000 (0:00:00.029) 0:00:14.954 ***** 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_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 30 November 2023 17:00:39 +0000 (0:00:00.027) 0:00:14.982 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-code_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 30 November 2023 17:00:39 +0000 (0:00:00.025) 0:00:15.007 ***** 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_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 30 November 2023 17:00:39 +0000 (0:00:00.053) 0:00:15.060 ***** 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_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 30 November 2023 17:00:39 +0000 (0:00:00.026) 0:00:15.087 ***** 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_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 30 November 2023 17:00:39 +0000 (0:00:00.027) 0:00:15.114 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-code_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 30 November 2023 17:00:39 +0000 (0:00:00.032) 0:00:15.147 ***** 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_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 30 November 2023 17:00:39 +0000 (0:00:00.240) 0:00:15.387 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-code_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 30 November 2023 17:00:39 +0000 (0:00:00.031) 0:00:15.419 ***** 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_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 30 November 2023 17:00:39 +0000 (0:00:00.051) 0:00:15.471 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-code_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 30 November 2023 17:00:39 +0000 (0:00:00.025) 0:00:15.497 ***** 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_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 30 November 2023 17:00:39 +0000 (0:00:00.409) 0:00:15.906 ***** 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_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 30 November 2023 17:00:40 +0000 (0:00:00.027) 0:00:15.934 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-code_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 30 November 2023 17:00:40 +0000 (0:00:00.037) 0:00:15.971 ***** 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_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 30 November 2023 17:00:40 +0000 (0:00:00.030) 0:00:16.002 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-code_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 30 November 2023 17:00:40 +0000 (0:00:00.024) 0:00:16.027 ***** 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 17:00:40 +0000 (0:00:00.125) 0:00:16.152 ***** =============================================================================== linux-system-roles.network : Check which packages are installed --------- 0.91s /WORKDIR/git-code_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which services are running ----------- 0.86s /WORKDIR/git-code_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.80s /WORKDIR/git-code_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.80s /WORKDIR/git-code_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.78s /WORKDIR/git-code_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 0.71s /WORKDIR/git-code_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.67s /WORKDIR/git-code_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.66s /WORKDIR/git-code_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Gathering Facts --------------------------------------------------------- 0.57s /WORKDIR/git-code_refactorns21wcqn/tests/tests_ipv6_dns_search_nm.yml:5 ------- linux-system-roles.network : Configure networking connection profiles --- 0.53s /WORKDIR/git-code_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/main.yml:122 Install yum-utils package ----------------------------------------------- 0.52s /WORKDIR/git-code_refactorns21wcqn/tests/tasks/enable_epel.yml:24 ------------- linux-system-roles.network : Configure networking connection profiles --- 0.41s /WORKDIR/git-code_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable and start NetworkManager ------------ 0.41s /WORKDIR/git-code_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/main.yml:85 Gathering Facts --------------------------------------------------------- 0.39s /WORKDIR/git-code_refactorns21wcqn/tests/playbooks/tests_ipv6_dns_search.yml:2 linux-system-roles.network : Configure networking connection profiles --- 0.37s /WORKDIR/git-code_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/main.yml:122 Enable EPEL 7 ----------------------------------------------------------- 0.34s /WORKDIR/git-code_refactorns21wcqn/tests/tasks/enable_epel.yml:30 ------------- linux-system-roles.network : Configure networking connection profiles --- 0.33s /WORKDIR/git-code_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable and start NetworkManager ------------ 0.26s /WORKDIR/git-code_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/main.yml:85 Gather the minimum subset of ansible_facts required by the network role test --- 0.25s /WORKDIR/git-code_refactorns21wcqn/tests/tasks/el_repo_setup.yml:3 ------------ linux-system-roles.network : Enable and start NetworkManager ------------ 0.24s /WORKDIR/git-code_refactorns21wcqn/tests/roles/linux-system-roles.network/tasks/main.yml:85 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---