# 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-route_typedtuxjrqv/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-route_typedtuxjrqv/tests/tests_ipv6_dns_search_nm.yml:6 Wednesday 10 January 2024 15:43:27 +0000 (0:00:00.012) 0:00:00.012 ***** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_typedtuxjrqv/tests/tests_ipv6_dns_search_nm.yml:9 Wednesday 10 January 2024 15:43:28 +0000 (0:00:00.531) 0:00:00.543 ***** included: /WORKDIR/git-route_typedtuxjrqv/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-route_typedtuxjrqv/tests/tasks/el_repo_setup.yml:3 Wednesday 10 January 2024 15:43:28 +0000 (0:00:00.011) 0:00:00.554 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_typedtuxjrqv/tests/tasks/el_repo_setup.yml:19 Wednesday 10 January 2024 15:43:28 +0000 (0:00:00.249) 0:00:00.804 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_typedtuxjrqv/tests/tasks/el_repo_setup.yml:24 Wednesday 10 January 2024 15:43:28 +0000 (0:00:00.204) 0:00:01.009 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_typedtuxjrqv/tests/tasks/el_repo_setup.yml:28 Wednesday 10 January 2024 15:43:28 +0000 (0:00:00.021) 0:00:01.030 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_typedtuxjrqv/tests/tasks/el_repo_setup.yml:53 Wednesday 10 January 2024 15:43:28 +0000 (0:00:00.022) 0:00:01.053 ***** included: /WORKDIR/git-route_typedtuxjrqv/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-route_typedtuxjrqv/tests/tasks/enable_epel.yml:8 Wednesday 10 January 2024 15:43:28 +0000 (0:00:00.042) 0:00:01.095 ***** 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-route_typedtuxjrqv/tests/tasks/enable_epel.yml:24 Wednesday 10 January 2024 15:43:29 +0000 (0:00:00.236) 0:00:01.331 ***** 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-route_typedtuxjrqv/tests/tasks/enable_epel.yml:30 Wednesday 10 January 2024 15:43:29 +0000 (0:00:00.458) 0:00:01.790 ***** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.183404", "end": "2024-01-10 15:43:29.921057", "rc": 0, "start": "2024-01-10 15:43:29.737653" } 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-route_typedtuxjrqv/tests/tasks/enable_epel.yml:35 Wednesday 10 January 2024 15:43:29 +0000 (0:00:00.309) 0:00:02.099 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_typedtuxjrqv/tests/tasks/enable_epel.yml:40 Wednesday 10 January 2024 15:43:29 +0000 (0:00:00.010) 0:00:02.110 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-route_typedtuxjrqv/tests/tests_ipv6_dns_search_nm.yml:11 Wednesday 10 January 2024 15:43:29 +0000 (0:00:00.009) 0:00:02.119 ***** 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-route_typedtuxjrqv/tests/playbooks/tests_ipv6_dns_search.yml:2 Wednesday 10 January 2024 15:43:29 +0000 (0:00:00.012) 0:00:02.131 ***** ok: [sut] META: ran handlers TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 15:43:30 +0000 (0:00:00.382) 0:00:02.513 ***** included: /WORKDIR/git-route_typedtuxjrqv/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-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 15:43:30 +0000 (0:00:00.065) 0:00:02.579 ***** 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-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 15:43:30 +0000 (0:00:00.012) 0:00:02.591 ***** 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-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 15:43:30 +0000 (0:00:00.009) 0:00:02.601 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 15:43:30 +0000 (0:00:00.010) 0:00:02.612 ***** 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-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 15:43:31 +0000 (0:00:00.806) 0:00:03.418 ***** 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-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 15:43:32 +0000 (0:00:01.104) 0:00:04.523 ***** 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-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 15:43:32 +0000 (0:00:00.028) 0:00:04.551 ***** 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-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 15:43:32 +0000 (0:00:00.021) 0:00:04.572 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 15:43:32 +0000 (0:00:00.019) 0:00:04.592 ***** 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-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 15:43:32 +0000 (0:00:00.041) 0:00:04.633 ***** 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-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 15:43:32 +0000 (0:00:00.019) 0:00:04.653 ***** 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-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 15:43:32 +0000 (0:00:00.019) 0:00:04.672 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 15:43:32 +0000 (0:00:00.022) 0:00:04.695 ***** 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-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 15:43:32 +0000 (0:00:00.359) 0:00:05.055 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 15:43:32 +0000 (0:00:00.023) 0:00:05.079 ***** 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-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 15:43:32 +0000 (0:00:00.019) 0:00:05.098 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 15:43:32 +0000 (0:00:00.019) 0:00:05.117 ***** 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, 99ffc3f8-74a0-4ed1-8bfb-23f8736eb82d [004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 99ffc3f8-74a0-4ed1-8bfb-23f8736eb82d (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-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 15:43:33 +0000 (0:00:00.451) 0:00:05.569 ***** 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-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 15:43:33 +0000 (0:00:00.031) 0:00:05.600 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'br-example': add connection br-example, 99ffc3f8-74a0-4ed1-8bfb-23f8736eb82d", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 99ffc3f8-74a0-4ed1-8bfb-23f8736eb82d (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-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 15:43:33 +0000 (0:00:00.027) 0:00:05.627 ***** 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, 99ffc3f8-74a0-4ed1-8bfb-23f8736eb82d\n[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 99ffc3f8-74a0-4ed1-8bfb-23f8736eb82d (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, 99ffc3f8-74a0-4ed1-8bfb-23f8736eb82d", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 99ffc3f8-74a0-4ed1-8bfb-23f8736eb82d (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-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 15:43:33 +0000 (0:00:00.047) 0:00:05.675 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 15:43:33 +0000 (0:00:00.035) 0:00:05.710 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get DNS search entry for IPv4] ******************************************* task path: /WORKDIR/git-route_typedtuxjrqv/tests/playbooks/tests_ipv6_dns_search.yml:23 Wednesday 10 January 2024 15:43:33 +0000 (0:00:00.186) 0:00:05.897 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv4.dns-search", "connection", "show", "br-example" ], "delta": "0:00:00.024376", "end": "2024-01-10 15:43:33.870660", "rc": 0, "start": "2024-01-10 15:43:33.846284" } STDOUT: ipv4.dns-search: example.com TASK [Get DNS search entry for IPv6] ******************************************* task path: /WORKDIR/git-route_typedtuxjrqv/tests/playbooks/tests_ipv6_dns_search.yml:29 Wednesday 10 January 2024 15:43:33 +0000 (0:00:00.167) 0:00:06.064 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv6.dns-search", "connection", "show", "br-example" ], "delta": "0:00:00.021624", "end": "2024-01-10 15:43:34.042816", "rc": 0, "start": "2024-01-10 15:43:34.021192" } STDOUT: ipv6.dns-search: -- TASK [Assert that IPv4 DNS search entry is configured correctly] *************** task path: /WORKDIR/git-route_typedtuxjrqv/tests/playbooks/tests_ipv6_dns_search.yml:35 Wednesday 10 January 2024 15:43:34 +0000 (0:00:00.173) 0:00:06.237 ***** 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-route_typedtuxjrqv/tests/playbooks/tests_ipv6_dns_search.yml:41 Wednesday 10 January 2024 15:43:34 +0000 (0:00:00.022) 0:00:06.260 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 15:43:34 +0000 (0:00:00.020) 0:00:06.280 ***** included: /WORKDIR/git-route_typedtuxjrqv/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-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 15:43:34 +0000 (0:00:00.035) 0:00:06.316 ***** 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-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 15:43:34 +0000 (0:00:00.025) 0:00:06.341 ***** 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-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 15:43:34 +0000 (0:00:00.023) 0:00:06.365 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 15:43:34 +0000 (0:00:00.040) 0:00:06.406 ***** 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-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 15:43:34 +0000 (0:00:00.727) 0:00:07.133 ***** 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-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 15:43:35 +0000 (0:00:00.960) 0:00:08.093 ***** 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-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 15:43:35 +0000 (0:00:00.021) 0:00:08.115 ***** 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-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 15:43:35 +0000 (0:00:00.021) 0:00:08.137 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 15:43:36 +0000 (0:00:00.031) 0:00:08.168 ***** 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-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 15:43:36 +0000 (0:00:00.046) 0:00:08.214 ***** 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-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 15:43:36 +0000 (0:00:00.020) 0:00:08.235 ***** 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-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 15:43:36 +0000 (0:00:00.028) 0:00:08.264 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 15:43:36 +0000 (0:00:00.032) 0:00:08.296 ***** 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-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 15:43:36 +0000 (0:00:00.231) 0:00:08.528 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 15:43:36 +0000 (0:00:00.024) 0:00:08.552 ***** 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-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 15:43:36 +0000 (0:00:00.021) 0:00:08.573 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 15:43:36 +0000 (0:00:00.019) 0:00:08.592 ***** 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, 99ffc3f8-74a0-4ed1-8bfb-23f8736eb82d [004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 99ffc3f8-74a0-4ed1-8bfb-23f8736eb82d (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-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 15:43:36 +0000 (0:00:00.343) 0:00:08.935 ***** 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-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 15:43:36 +0000 (0:00:00.020) 0:00:08.956 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'br-example': update connection br-example, 99ffc3f8-74a0-4ed1-8bfb-23f8736eb82d", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 99ffc3f8-74a0-4ed1-8bfb-23f8736eb82d (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-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 15:43:36 +0000 (0:00:00.024) 0:00:08.980 ***** 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, 99ffc3f8-74a0-4ed1-8bfb-23f8736eb82d\n[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 99ffc3f8-74a0-4ed1-8bfb-23f8736eb82d (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, 99ffc3f8-74a0-4ed1-8bfb-23f8736eb82d", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 99ffc3f8-74a0-4ed1-8bfb-23f8736eb82d (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-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 15:43:36 +0000 (0:00:00.022) 0:00:09.003 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 15:43:36 +0000 (0:00:00.021) 0:00:09.024 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get DNS search entry for IPv6] ******************************************* task path: /WORKDIR/git-route_typedtuxjrqv/tests/playbooks/tests_ipv6_dns_search.yml:69 Wednesday 10 January 2024 15:43:36 +0000 (0:00:00.133) 0:00:09.157 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv6.dns-search", "connection", "show", "br-example" ], "delta": "0:00:00.022482", "end": "2024-01-10 15:43:37.128552", "rc": 0, "start": "2024-01-10 15:43:37.106070" } 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-route_typedtuxjrqv/tests/playbooks/tests_ipv6_dns_search.yml:75 Wednesday 10 January 2024 15:43:37 +0000 (0:00:00.160) 0:00:09.318 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 15:43:37 +0000 (0:00:00.022) 0:00:09.340 ***** included: /WORKDIR/git-route_typedtuxjrqv/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-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 15:43:37 +0000 (0:00:00.036) 0:00:09.376 ***** 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-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 15:43:37 +0000 (0:00:00.023) 0:00:09.400 ***** 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-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 15:43:37 +0000 (0:00:00.019) 0:00:09.420 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 15:43:37 +0000 (0:00:00.019) 0:00:09.439 ***** 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-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 15:43:43 +0000 (0:00:05.732) 0:00:15.172 ***** 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-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 15:43:43 +0000 (0:00:00.933) 0:00:16.105 ***** 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-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 15:43:43 +0000 (0:00:00.037) 0:00:16.142 ***** 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-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 15:43:43 +0000 (0:00:00.019) 0:00:16.162 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 15:43:44 +0000 (0:00:00.019) 0:00:16.182 ***** 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-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 15:43:44 +0000 (0:00:00.040) 0:00:16.223 ***** 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-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 15:43:44 +0000 (0:00:00.019) 0:00:16.242 ***** 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-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 15:43:44 +0000 (0:00:00.019) 0:00:16.262 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 15:43:44 +0000 (0:00:00.022) 0:00:16.285 ***** 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-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 15:43:44 +0000 (0:00:00.236) 0:00:16.521 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 15:43:44 +0000 (0:00:00.023) 0:00:16.545 ***** 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-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 15:43:44 +0000 (0:00:00.019) 0:00:16.565 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 15:43:44 +0000 (0:00:00.018) 0:00:16.584 ***** 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, 99ffc3f8-74a0-4ed1-8bfb-23f8736eb82d [004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 99ffc3f8-74a0-4ed1-8bfb-23f8736eb82d (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-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 15:43:44 +0000 (0:00:00.316) 0:00:16.900 ***** 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-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 15:43:44 +0000 (0:00:00.019) 0:00:16.920 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'br-example': update connection br-example, 99ffc3f8-74a0-4ed1-8bfb-23f8736eb82d", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 99ffc3f8-74a0-4ed1-8bfb-23f8736eb82d (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-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 15:43:44 +0000 (0:00:00.021) 0:00:16.942 ***** 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, 99ffc3f8-74a0-4ed1-8bfb-23f8736eb82d\n[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 99ffc3f8-74a0-4ed1-8bfb-23f8736eb82d (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, 99ffc3f8-74a0-4ed1-8bfb-23f8736eb82d", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 99ffc3f8-74a0-4ed1-8bfb-23f8736eb82d (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-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 15:43:44 +0000 (0:00:00.024) 0:00:16.966 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 15:43:44 +0000 (0:00:00.023) 0:00:16.989 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get DNS search entry for IPv6] ******************************************* task path: /WORKDIR/git-route_typedtuxjrqv/tests/playbooks/tests_ipv6_dns_search.yml:101 Wednesday 10 January 2024 15:43:44 +0000 (0:00:00.153) 0:00:17.143 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv6.dns-search", "connection", "show", "br-example" ], "delta": "0:00:00.021046", "end": "2024-01-10 15:43:45.112746", "rc": 0, "start": "2024-01-10 15:43:45.091700" } 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-route_typedtuxjrqv/tests/playbooks/tests_ipv6_dns_search.yml:107 Wednesday 10 January 2024 15:43:45 +0000 (0:00:00.159) 0:00:17.302 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 15:43:45 +0000 (0:00:00.022) 0:00:17.325 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 15:43:45 +0000 (0:00:00.021) 0:00:17.347 ***** 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-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 15:43:45 +0000 (0:00:00.020) 0:00:17.368 ***** 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-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 15:43:45 +0000 (0:00:00.020) 0:00:17.388 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 15:43:45 +0000 (0:00:00.021) 0:00:17.409 ***** 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-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 15:43:45 +0000 (0:00:00.019) 0:00:17.429 ***** 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-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 15:43:45 +0000 (0:00:00.020) 0:00:17.449 ***** 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-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 15:43:45 +0000 (0:00:00.019) 0:00:17.469 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 15:43:45 +0000 (0:00:00.020) 0:00:17.489 ***** 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-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 15:43:45 +0000 (0:00:00.019) 0:00:17.509 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 15:43:45 +0000 (0:00:00.019) 0:00:17.528 ***** 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-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 15:43:45 +0000 (0:00:00.019) 0:00:17.548 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 15:43:45 +0000 (0:00:00.018) 0:00:17.567 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 15:43:45 +0000 (0:00:00.019) 0:00:17.586 ***** 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-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 15:43:45 +0000 (0:00:00.019) 0:00:17.606 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 15:43:45 +0000 (0:00:00.020) 0:00:17.626 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 15:43:45 +0000 (0:00:00.056) 0:00:17.683 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 15:43:45 +0000 (0:00:00.022) 0:00:17.705 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that reconfiguring network connection is failed] ****************** task path: /WORKDIR/git-route_typedtuxjrqv/tests/playbooks/tests_ipv6_dns_search.yml:131 Wednesday 10 January 2024 15:43:45 +0000 (0:00:00.023) 0:00:17.728 ***** 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-route_typedtuxjrqv/tests/playbooks/tests_ipv6_dns_search.yml:138 Wednesday 10 January 2024 15:43:45 +0000 (0:00:00.021) 0:00:17.749 ***** 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-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 15:43:45 +0000 (0:00:00.020) 0:00:17.770 ***** included: /WORKDIR/git-route_typedtuxjrqv/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-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 15:43:45 +0000 (0:00:00.037) 0:00:17.807 ***** 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-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 15:43:45 +0000 (0:00:00.028) 0:00:17.836 ***** 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-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 15:43:45 +0000 (0:00:00.020) 0:00:17.856 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 15:43:45 +0000 (0:00:00.020) 0:00:17.876 ***** 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-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 15:43:46 +0000 (0:00:00.742) 0:00:18.619 ***** 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-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 15:43:47 +0000 (0:00:00.962) 0:00:19.582 ***** 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-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 15:43:47 +0000 (0:00:00.021) 0:00:19.603 ***** 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-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 15:43:47 +0000 (0:00:00.019) 0:00:19.622 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 15:43:47 +0000 (0:00:00.019) 0:00:19.642 ***** 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-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 15:43:47 +0000 (0:00:00.040) 0:00:19.682 ***** 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-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 15:43:47 +0000 (0:00:00.019) 0:00:19.702 ***** 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-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 15:43:47 +0000 (0:00:00.021) 0:00:19.724 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 15:43:47 +0000 (0:00:00.023) 0:00:19.747 ***** 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-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 15:43:47 +0000 (0:00:00.236) 0:00:19.983 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 15:43:47 +0000 (0:00:00.025) 0:00:20.009 ***** 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-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 15:43:47 +0000 (0:00:00.021) 0:00:20.030 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 15:43:47 +0000 (0:00:00.020) 0:00:20.050 ***** 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-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 15:43:48 +0000 (0:00:00.401) 0:00:20.452 ***** 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-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 15:43:48 +0000 (0:00:00.021) 0:00:20.473 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 15:43:48 +0000 (0:00:00.046) 0:00:20.520 ***** 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-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 15:43:48 +0000 (0:00:00.022) 0:00:20.542 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 15:43:48 +0000 (0:00:00.021) 0:00:20.563 ***** 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 Wednesday 10 January 2024 15:43:48 +0000 (0:00:00.123) 0:00:20.687 ***** =============================================================================== linux-system-roles.network : Check which services are running ----------- 5.73s /WORKDIR/git-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.10s /WORKDIR/git-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.96s /WORKDIR/git-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.96s /WORKDIR/git-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.93s /WORKDIR/git-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which services are running ----------- 0.81s /WORKDIR/git-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.74s /WORKDIR/git-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.73s /WORKDIR/git-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Gathering Facts --------------------------------------------------------- 0.53s /WORKDIR/git-route_typedtuxjrqv/tests/tests_ipv6_dns_search_nm.yml:6 ---------- Install yum-utils package ----------------------------------------------- 0.46s /WORKDIR/git-route_typedtuxjrqv/tests/tasks/enable_epel.yml:24 ---------------- linux-system-roles.network : Configure networking connection profiles --- 0.45s /WORKDIR/git-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Configure networking connection profiles --- 0.40s /WORKDIR/git-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/main.yml:122 Gathering Facts --------------------------------------------------------- 0.38s /WORKDIR/git-route_typedtuxjrqv/tests/playbooks/tests_ipv6_dns_search.yml:2 --- linux-system-roles.network : Enable and start NetworkManager ------------ 0.36s /WORKDIR/git-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Configure networking connection profiles --- 0.34s /WORKDIR/git-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Configure networking connection profiles --- 0.32s /WORKDIR/git-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/main.yml:122 Enable EPEL 7 ----------------------------------------------------------- 0.31s /WORKDIR/git-route_typedtuxjrqv/tests/tasks/enable_epel.yml:30 ---------------- Gather the minimum subset of ansible_facts required by the network role test --- 0.25s /WORKDIR/git-route_typedtuxjrqv/tests/tasks/el_repo_setup.yml:3 --------------- linux-system-roles.network : Enable and start NetworkManager ------------ 0.24s /WORKDIR/git-route_typedtuxjrqv/tests/roles/linux-system-roles.network/tasks/main.yml:85 Create EPEL 7 ----------------------------------------------------------- 0.24s /WORKDIR/git-route_typedtuxjrqv/tests/tasks/enable_epel.yml:8 ----------------- ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---