# 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_refactor4d2psdfe/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_refactor4d2psdfe/tests/tests_ipv6_dns_search_nm.yml:5 Thursday 30 November 2023 17:12:03 +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_refactor4d2psdfe/tests/tests_ipv6_dns_search_nm.yml:9 Thursday 30 November 2023 17:12:03 +0000 (0:00:00.544) 0:00:00.561 ***** included: /WORKDIR/git-code_refactor4d2psdfe/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_refactor4d2psdfe/tests/tasks/el_repo_setup.yml:3 Thursday 30 November 2023 17:12:03 +0000 (0:00:00.016) 0:00:00.578 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-code_refactor4d2psdfe/tests/tasks/el_repo_setup.yml:19 Thursday 30 November 2023 17:12:03 +0000 (0:00:00.220) 0:00:00.799 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-code_refactor4d2psdfe/tests/tasks/el_repo_setup.yml:24 Thursday 30 November 2023 17:12:04 +0000 (0:00:00.235) 0:00:01.034 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-code_refactor4d2psdfe/tests/tasks/el_repo_setup.yml:28 Thursday 30 November 2023 17:12:04 +0000 (0:00:00.026) 0:00:01.061 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-code_refactor4d2psdfe/tests/tasks/el_repo_setup.yml:53 Thursday 30 November 2023 17:12:04 +0000 (0:00:00.025) 0:00:01.086 ***** included: /WORKDIR/git-code_refactor4d2psdfe/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-code_refactor4d2psdfe/tests/tasks/enable_epel.yml:8 Thursday 30 November 2023 17:12:04 +0000 (0:00:00.040) 0:00:01.127 ***** 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_refactor4d2psdfe/tests/tasks/enable_epel.yml:24 Thursday 30 November 2023 17:12:04 +0000 (0:00:00.187) 0:00:01.314 ***** 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_refactor4d2psdfe/tests/tasks/enable_epel.yml:30 Thursday 30 November 2023 17:12:04 +0000 (0:00:00.503) 0:00:01.818 ***** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.179047", "end": "2023-11-30 17:12:05.124508", "rc": 0, "start": "2023-11-30 17:12:04.945461" } 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_refactor4d2psdfe/tests/tasks/enable_epel.yml:35 Thursday 30 November 2023 17:12:05 +0000 (0:00:00.315) 0:00:02.133 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-code_refactor4d2psdfe/tests/tasks/enable_epel.yml:40 Thursday 30 November 2023 17:12:05 +0000 (0:00:00.015) 0:00:02.149 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-code_refactor4d2psdfe/tests/tests_ipv6_dns_search_nm.yml:11 Thursday 30 November 2023 17:12:05 +0000 (0:00:00.015) 0:00:02.165 ***** 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_refactor4d2psdfe/tests/playbooks/tests_ipv6_dns_search.yml:2 Thursday 30 November 2023 17:12:05 +0000 (0:00:00.018) 0:00:02.184 ***** ok: [sut] META: ran handlers TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-code_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 30 November 2023 17:12:05 +0000 (0:00:00.378) 0:00:02.563 ***** included: /WORKDIR/git-code_refactor4d2psdfe/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_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 30 November 2023 17:12:05 +0000 (0:00:00.108) 0:00:02.672 ***** 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_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 30 November 2023 17:12:05 +0000 (0:00:00.016) 0:00:02.688 ***** 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_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 30 November 2023 17:12:05 +0000 (0:00:00.014) 0:00:02.703 ***** 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_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 30 November 2023 17:12:05 +0000 (0:00:00.014) 0:00:02.718 ***** 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_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 30 November 2023 17:12:06 +0000 (0:00:00.838) 0:00:03.556 ***** 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_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 30 November 2023 17:12:07 +0000 (0:00:01.210) 0:00:04.766 ***** 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_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 30 November 2023 17:12:07 +0000 (0:00:00.052) 0:00:04.819 ***** 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_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 30 November 2023 17:12:07 +0000 (0:00:00.030) 0:00:04.849 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-code_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 30 November 2023 17:12:07 +0000 (0:00:00.027) 0:00:04.877 ***** 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_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 30 November 2023 17:12:07 +0000 (0:00:00.060) 0:00:04.938 ***** 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_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 30 November 2023 17:12:07 +0000 (0:00:00.026) 0:00:04.965 ***** 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_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 30 November 2023 17:12:08 +0000 (0:00:00.035) 0:00:05.000 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-code_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 30 November 2023 17:12:08 +0000 (0:00:00.034) 0:00:05.035 ***** 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_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 30 November 2023 17:12:08 +0000 (0:00:00.436) 0:00:05.472 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-code_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 30 November 2023 17:12:08 +0000 (0:00:00.030) 0:00:05.502 ***** 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_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 30 November 2023 17:12:08 +0000 (0:00:00.025) 0:00:05.528 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-code_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 30 November 2023 17:12:08 +0000 (0:00:00.026) 0:00:05.554 ***** 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, 05119212-dab6-4548-8967-01ea3e4f0c0f [004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 05119212-dab6-4548-8967-01ea3e4f0c0f (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_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 30 November 2023 17:12:09 +0000 (0:00:00.487) 0:00:06.041 ***** 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_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 30 November 2023 17:12:09 +0000 (0:00:00.027) 0:00:06.069 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'br-example': add connection br-example, 05119212-dab6-4548-8967-01ea3e4f0c0f", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 05119212-dab6-4548-8967-01ea3e4f0c0f (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_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 30 November 2023 17:12:09 +0000 (0:00:00.030) 0:00:06.099 ***** 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, 05119212-dab6-4548-8967-01ea3e4f0c0f\n[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 05119212-dab6-4548-8967-01ea3e4f0c0f (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, 05119212-dab6-4548-8967-01ea3e4f0c0f", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 05119212-dab6-4548-8967-01ea3e4f0c0f (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_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 30 November 2023 17:12:09 +0000 (0:00:00.032) 0:00:06.132 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-code_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 30 November 2023 17:12:09 +0000 (0:00:00.056) 0:00:06.188 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get DNS search entry for IPv4] ******************************************* task path: /WORKDIR/git-code_refactor4d2psdfe/tests/playbooks/tests_ipv6_dns_search.yml:23 Thursday 30 November 2023 17:12:09 +0000 (0:00:00.218) 0:00:06.406 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv4.dns-search", "connection", "show", "br-example" ], "delta": "0:00:00.022402", "end": "2023-11-30 17:12:09.553167", "rc": 0, "start": "2023-11-30 17:12:09.530765" } STDOUT: ipv4.dns-search: example.com TASK [Get DNS search entry for IPv6] ******************************************* task path: /WORKDIR/git-code_refactor4d2psdfe/tests/playbooks/tests_ipv6_dns_search.yml:29 Thursday 30 November 2023 17:12:09 +0000 (0:00:00.168) 0:00:06.575 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv6.dns-search", "connection", "show", "br-example" ], "delta": "0:00:00.020228", "end": "2023-11-30 17:12:09.716599", "rc": 0, "start": "2023-11-30 17:12:09.696371" } STDOUT: ipv6.dns-search: -- TASK [Assert that IPv4 DNS search entry is configured correctly] *************** task path: /WORKDIR/git-code_refactor4d2psdfe/tests/playbooks/tests_ipv6_dns_search.yml:35 Thursday 30 November 2023 17:12:09 +0000 (0:00:00.163) 0:00:06.739 ***** 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_refactor4d2psdfe/tests/playbooks/tests_ipv6_dns_search.yml:41 Thursday 30 November 2023 17:12:09 +0000 (0:00:00.028) 0:00:06.767 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-code_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 30 November 2023 17:12:09 +0000 (0:00:00.027) 0:00:06.795 ***** included: /WORKDIR/git-code_refactor4d2psdfe/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_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 30 November 2023 17:12:09 +0000 (0:00:00.048) 0:00:06.843 ***** 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_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 30 November 2023 17:12:09 +0000 (0:00:00.032) 0:00:06.876 ***** 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_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 30 November 2023 17:12:09 +0000 (0:00:00.026) 0:00:06.902 ***** 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_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 30 November 2023 17:12:09 +0000 (0:00:00.030) 0:00:06.933 ***** 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_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 30 November 2023 17:12:10 +0000 (0:00:00.729) 0:00:07.662 ***** 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_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 30 November 2023 17:12:11 +0000 (0:00:00.999) 0:00:08.662 ***** 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_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 30 November 2023 17:12:11 +0000 (0:00:00.029) 0:00:08.692 ***** 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_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 30 November 2023 17:12:11 +0000 (0:00:00.029) 0:00:08.721 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-code_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 30 November 2023 17:12:11 +0000 (0:00:00.032) 0:00:08.754 ***** 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_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 30 November 2023 17:12:11 +0000 (0:00:00.064) 0:00:08.819 ***** 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_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 30 November 2023 17:12:11 +0000 (0:00:00.030) 0:00:08.849 ***** 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_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 30 November 2023 17:12:11 +0000 (0:00:00.030) 0:00:08.880 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-code_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 30 November 2023 17:12:11 +0000 (0:00:00.046) 0:00:08.927 ***** 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_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 30 November 2023 17:12:12 +0000 (0:00:00.264) 0:00:09.191 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-code_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 30 November 2023 17:12:12 +0000 (0:00:00.043) 0:00:09.235 ***** 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_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 30 November 2023 17:12:12 +0000 (0:00:00.030) 0:00:09.265 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-code_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 30 November 2023 17:12:12 +0000 (0:00:00.031) 0:00:09.297 ***** 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, 05119212-dab6-4548-8967-01ea3e4f0c0f [004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 05119212-dab6-4548-8967-01ea3e4f0c0f (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_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 30 November 2023 17:12:12 +0000 (0:00:00.400) 0:00:09.697 ***** 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_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 30 November 2023 17:12:12 +0000 (0:00:00.037) 0:00:09.735 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'br-example': update connection br-example, 05119212-dab6-4548-8967-01ea3e4f0c0f", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 05119212-dab6-4548-8967-01ea3e4f0c0f (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_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 30 November 2023 17:12:12 +0000 (0:00:00.042) 0:00:09.778 ***** 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, 05119212-dab6-4548-8967-01ea3e4f0c0f\n[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 05119212-dab6-4548-8967-01ea3e4f0c0f (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, 05119212-dab6-4548-8967-01ea3e4f0c0f", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 05119212-dab6-4548-8967-01ea3e4f0c0f (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_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 30 November 2023 17:12:12 +0000 (0:00:00.040) 0:00:09.818 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-code_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 30 November 2023 17:12:12 +0000 (0:00:00.037) 0:00:09.856 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get DNS search entry for IPv6] ******************************************* task path: /WORKDIR/git-code_refactor4d2psdfe/tests/playbooks/tests_ipv6_dns_search.yml:69 Thursday 30 November 2023 17:12:13 +0000 (0:00:00.150) 0:00:10.006 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv6.dns-search", "connection", "show", "br-example" ], "delta": "0:00:00.021644", "end": "2023-11-30 17:12:13.151883", "rc": 0, "start": "2023-11-30 17:12:13.130239" } 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_refactor4d2psdfe/tests/playbooks/tests_ipv6_dns_search.yml:75 Thursday 30 November 2023 17:12:13 +0000 (0:00:00.167) 0:00:10.174 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-code_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 30 November 2023 17:12:13 +0000 (0:00:00.031) 0:00:10.205 ***** included: /WORKDIR/git-code_refactor4d2psdfe/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_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 30 November 2023 17:12:13 +0000 (0:00:00.058) 0:00:10.263 ***** 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_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 30 November 2023 17:12:13 +0000 (0:00:00.037) 0:00:10.300 ***** 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_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 30 November 2023 17:12:13 +0000 (0:00:00.027) 0:00:10.328 ***** 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_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 30 November 2023 17:12:13 +0000 (0:00:00.044) 0:00:10.372 ***** 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_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 30 November 2023 17:12:14 +0000 (0:00:00.743) 0:00:11.116 ***** 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_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 30 November 2023 17:12:15 +0000 (0:00:00.947) 0:00:12.063 ***** 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_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 30 November 2023 17:12:15 +0000 (0:00:00.035) 0:00:12.099 ***** 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_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 30 November 2023 17:12:15 +0000 (0:00:00.030) 0:00:12.129 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-code_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 30 November 2023 17:12:15 +0000 (0:00:00.030) 0:00:12.160 ***** 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_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 30 November 2023 17:12:15 +0000 (0:00:00.076) 0:00:12.236 ***** 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_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 30 November 2023 17:12:15 +0000 (0:00:00.030) 0:00:12.266 ***** 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_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 30 November 2023 17:12:15 +0000 (0:00:00.027) 0:00:12.294 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-code_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 30 November 2023 17:12:15 +0000 (0:00:00.034) 0:00:12.328 ***** 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_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 30 November 2023 17:12:15 +0000 (0:00:00.256) 0:00:12.585 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-code_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 30 November 2023 17:12:15 +0000 (0:00:00.082) 0:00:12.668 ***** 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_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 30 November 2023 17:12:15 +0000 (0:00:00.028) 0:00:12.696 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-code_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 30 November 2023 17:12:15 +0000 (0:00:00.033) 0:00:12.730 ***** 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, 05119212-dab6-4548-8967-01ea3e4f0c0f [004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 05119212-dab6-4548-8967-01ea3e4f0c0f (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_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 30 November 2023 17:12:16 +0000 (0:00:00.333) 0:00:13.064 ***** 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_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 30 November 2023 17:12:16 +0000 (0:00:00.034) 0:00:13.098 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'br-example': update connection br-example, 05119212-dab6-4548-8967-01ea3e4f0c0f", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 05119212-dab6-4548-8967-01ea3e4f0c0f (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_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 30 November 2023 17:12:16 +0000 (0:00:00.030) 0:00:13.129 ***** 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, 05119212-dab6-4548-8967-01ea3e4f0c0f\n[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 05119212-dab6-4548-8967-01ea3e4f0c0f (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, 05119212-dab6-4548-8967-01ea3e4f0c0f", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 05119212-dab6-4548-8967-01ea3e4f0c0f (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_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 30 November 2023 17:12:16 +0000 (0:00:00.032) 0:00:13.161 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-code_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 30 November 2023 17:12:16 +0000 (0:00:00.028) 0:00:13.190 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get DNS search entry for IPv6] ******************************************* task path: /WORKDIR/git-code_refactor4d2psdfe/tests/playbooks/tests_ipv6_dns_search.yml:101 Thursday 30 November 2023 17:12:16 +0000 (0:00:00.146) 0:00:13.337 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv6.dns-search", "connection", "show", "br-example" ], "delta": "0:00:00.021407", "end": "2023-11-30 17:12:16.478882", "rc": 0, "start": "2023-11-30 17:12:16.457475" } 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_refactor4d2psdfe/tests/playbooks/tests_ipv6_dns_search.yml:107 Thursday 30 November 2023 17:12:16 +0000 (0:00:00.164) 0:00:13.501 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-code_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 30 November 2023 17:12:16 +0000 (0:00:00.030) 0:00:13.532 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-code_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 30 November 2023 17:12:16 +0000 (0:00:00.028) 0:00:13.561 ***** 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_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 30 November 2023 17:12:16 +0000 (0:00:00.036) 0:00:13.598 ***** 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_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 30 November 2023 17:12:16 +0000 (0:00:00.029) 0:00:13.628 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-code_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 30 November 2023 17:12:16 +0000 (0:00:00.027) 0:00:13.655 ***** 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_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 30 November 2023 17:12:16 +0000 (0:00:00.029) 0:00:13.684 ***** 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_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 30 November 2023 17:12:16 +0000 (0:00:00.034) 0:00:13.719 ***** 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_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 30 November 2023 17:12:16 +0000 (0:00:00.060) 0:00:13.779 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-code_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 30 November 2023 17:12:16 +0000 (0:00:00.029) 0:00:13.809 ***** 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_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 30 November 2023 17:12:16 +0000 (0:00:00.027) 0:00:13.836 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-code_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 30 November 2023 17:12:16 +0000 (0:00:00.028) 0:00:13.865 ***** 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_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 30 November 2023 17:12:16 +0000 (0:00:00.024) 0:00:13.889 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-code_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 30 November 2023 17:12:16 +0000 (0:00:00.026) 0:00:13.916 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-code_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 30 November 2023 17:12:16 +0000 (0:00:00.025) 0:00:13.942 ***** 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_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 30 November 2023 17:12:16 +0000 (0:00:00.039) 0:00:13.981 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-code_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 30 November 2023 17:12:17 +0000 (0:00:00.037) 0:00:14.019 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-code_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 30 November 2023 17:12:17 +0000 (0:00:00.040) 0:00:14.060 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-code_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 30 November 2023 17:12:17 +0000 (0:00:00.027) 0:00:14.087 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that reconfiguring network connection is failed] ****************** task path: /WORKDIR/git-code_refactor4d2psdfe/tests/playbooks/tests_ipv6_dns_search.yml:131 Thursday 30 November 2023 17:12:17 +0000 (0:00:00.027) 0:00:14.115 ***** 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_refactor4d2psdfe/tests/playbooks/tests_ipv6_dns_search.yml:138 Thursday 30 November 2023 17:12:17 +0000 (0:00:00.026) 0:00:14.142 ***** 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_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 30 November 2023 17:12:17 +0000 (0:00:00.028) 0:00:14.170 ***** included: /WORKDIR/git-code_refactor4d2psdfe/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_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 30 November 2023 17:12:17 +0000 (0:00:00.057) 0:00:14.228 ***** 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_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 30 November 2023 17:12:17 +0000 (0:00:00.037) 0:00:14.265 ***** 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_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 30 November 2023 17:12:17 +0000 (0:00:00.027) 0:00:14.293 ***** 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_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 30 November 2023 17:12:17 +0000 (0:00:00.026) 0:00:14.319 ***** 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_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 30 November 2023 17:12:18 +0000 (0:00:00.739) 0:00:15.058 ***** 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_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 30 November 2023 17:12:19 +0000 (0:00:00.937) 0:00:15.995 ***** 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_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 30 November 2023 17:12:19 +0000 (0:00:00.027) 0:00:16.023 ***** 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_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 30 November 2023 17:12:19 +0000 (0:00:00.027) 0:00:16.051 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-code_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 30 November 2023 17:12:19 +0000 (0:00:00.026) 0:00:16.077 ***** 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_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 30 November 2023 17:12:19 +0000 (0:00:00.052) 0:00:16.130 ***** 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_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 30 November 2023 17:12:19 +0000 (0:00:00.024) 0:00:16.155 ***** 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_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 30 November 2023 17:12:19 +0000 (0:00:00.024) 0:00:16.179 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-code_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 30 November 2023 17:12:19 +0000 (0:00:00.051) 0:00:16.231 ***** 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_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 30 November 2023 17:12:19 +0000 (0:00:00.250) 0:00:16.482 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-code_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 30 November 2023 17:12:19 +0000 (0:00:00.030) 0:00:16.513 ***** 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_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 30 November 2023 17:12:19 +0000 (0:00:00.031) 0:00:16.544 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-code_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 30 November 2023 17:12:19 +0000 (0:00:00.031) 0:00:16.576 ***** 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_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 30 November 2023 17:12:20 +0000 (0:00:00.432) 0:00:17.008 ***** 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_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 30 November 2023 17:12:20 +0000 (0:00:00.032) 0:00:17.040 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-code_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 30 November 2023 17:12:20 +0000 (0:00:00.041) 0:00:17.082 ***** 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_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 30 November 2023 17:12:20 +0000 (0:00:00.031) 0:00:17.113 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-code_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 30 November 2023 17:12:20 +0000 (0:00:00.031) 0:00:17.145 ***** 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:12:20 +0000 (0:00:00.130) 0:00:17.276 ***** =============================================================================== linux-system-roles.network : Check which packages are installed --------- 1.21s /WORKDIR/git-code_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.00s /WORKDIR/git-code_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.95s /WORKDIR/git-code_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.94s /WORKDIR/git-code_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which services are running ----------- 0.84s /WORKDIR/git-code_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.74s /WORKDIR/git-code_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.74s /WORKDIR/git-code_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.73s /WORKDIR/git-code_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Gathering Facts --------------------------------------------------------- 0.54s /WORKDIR/git-code_refactor4d2psdfe/tests/tests_ipv6_dns_search_nm.yml:5 ------- Install yum-utils package ----------------------------------------------- 0.50s /WORKDIR/git-code_refactor4d2psdfe/tests/tasks/enable_epel.yml:24 ------------- linux-system-roles.network : Configure networking connection profiles --- 0.49s /WORKDIR/git-code_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable and start NetworkManager ------------ 0.44s /WORKDIR/git-code_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Configure networking connection profiles --- 0.43s /WORKDIR/git-code_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Configure networking connection profiles --- 0.40s /WORKDIR/git-code_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/main.yml:122 Gathering Facts --------------------------------------------------------- 0.38s /WORKDIR/git-code_refactor4d2psdfe/tests/playbooks/tests_ipv6_dns_search.yml:2 linux-system-roles.network : Configure networking connection profiles --- 0.33s /WORKDIR/git-code_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/main.yml:122 Enable EPEL 7 ----------------------------------------------------------- 0.32s /WORKDIR/git-code_refactor4d2psdfe/tests/tasks/enable_epel.yml:30 ------------- linux-system-roles.network : Enable and start NetworkManager ------------ 0.26s /WORKDIR/git-code_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Enable and start NetworkManager ------------ 0.26s /WORKDIR/git-code_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Enable and start NetworkManager ------------ 0.25s /WORKDIR/git-code_refactor4d2psdfe/tests/roles/linux-system-roles.network/tasks/main.yml:85 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---