# 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-ci_fixdvzr7jvp/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-ci_fixdvzr7jvp/tests/tests_ipv6_dns_search_nm.yml:5 Thursday 21 December 2023 17:27:35 +0000 (0:00:00.011) 0:00:00.011 ***** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-ci_fixdvzr7jvp/tests/tests_ipv6_dns_search_nm.yml:9 Thursday 21 December 2023 17:27:36 +0000 (0:00:00.963) 0:00:00.975 ***** included: /WORKDIR/git-ci_fixdvzr7jvp/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-ci_fixdvzr7jvp/tests/tasks/el_repo_setup.yml:3 Thursday 21 December 2023 17:27:36 +0000 (0:00:00.011) 0:00:00.986 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-ci_fixdvzr7jvp/tests/tasks/el_repo_setup.yml:19 Thursday 21 December 2023 17:27:37 +0000 (0:00:00.575) 0:00:01.562 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-ci_fixdvzr7jvp/tests/tasks/el_repo_setup.yml:24 Thursday 21 December 2023 17:27:37 +0000 (0:00:00.269) 0:00:01.831 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-ci_fixdvzr7jvp/tests/tasks/el_repo_setup.yml:28 Thursday 21 December 2023 17:27:37 +0000 (0:00:00.019) 0:00:01.851 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-ci_fixdvzr7jvp/tests/tasks/el_repo_setup.yml:53 Thursday 21 December 2023 17:27:37 +0000 (0:00:00.017) 0:00:01.868 ***** included: /WORKDIR/git-ci_fixdvzr7jvp/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 38] ********************************************************** task path: /WORKDIR/git-ci_fixdvzr7jvp/tests/tasks/enable_epel.yml:8 Thursday 21 December 2023 17:27:37 +0000 (0:00:00.030) 0:00:01.899 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-ci_fixdvzr7jvp/tests/tasks/enable_epel.yml:24 Thursday 21 December 2023 17:27:37 +0000 (0:00:00.008) 0:00:01.908 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-ci_fixdvzr7jvp/tests/tasks/enable_epel.yml:30 Thursday 21 December 2023 17:27:37 +0000 (0:00:00.008) 0:00:01.916 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-ci_fixdvzr7jvp/tests/tasks/enable_epel.yml:35 Thursday 21 December 2023 17:27:37 +0000 (0:00:00.009) 0:00:01.926 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-ci_fixdvzr7jvp/tests/tasks/enable_epel.yml:40 Thursday 21 December 2023 17:27:37 +0000 (0:00:00.008) 0:00:01.934 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-ci_fixdvzr7jvp/tests/tests_ipv6_dns_search_nm.yml:11 Thursday 21 December 2023 17:27:37 +0000 (0:00:00.008) 0:00:01.942 ***** 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-ci_fixdvzr7jvp/tests/playbooks/tests_ipv6_dns_search.yml:2 Thursday 21 December 2023 17:27:37 +0000 (0:00:00.010) 0:00:01.953 ***** ok: [sut] META: ran handlers TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 17:27:38 +0000 (0:00:00.845) 0:00:02.799 ***** included: /WORKDIR/git-ci_fixdvzr7jvp/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-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 17:27:38 +0000 (0:00:00.066) 0:00:02.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 : Check if system is ostree] ****************** task path: /WORKDIR/git-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 17:27:38 +0000 (0:00:00.011) 0:00:02.877 ***** 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-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 17:27:38 +0000 (0:00:00.010) 0:00:02.888 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 17:27:38 +0000 (0:00:00.009) 0:00:02.897 ***** 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-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 17:27:41 +0000 (0:00:02.567) 0:00:05.465 ***** 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-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 17:27:42 +0000 (0:00:01.132) 0:00:06.597 ***** 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-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 17:27:42 +0000 (0:00:00.022) 0:00:06.620 ***** 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-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 17:27:42 +0000 (0:00:00.021) 0:00:06.641 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 17:27:42 +0000 (0:00:00.021) 0:00:06.663 ***** 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-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 17:27:42 +0000 (0:00:00.042) 0:00:06.706 ***** 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-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 17:27:42 +0000 (0:00:00.021) 0:00:06.727 ***** 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-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 17:27:42 +0000 (0:00:00.021) 0:00:06.749 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 17:27:42 +0000 (0:00:00.024) 0:00:06.774 ***** 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-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 17:27:43 +0000 (0:00:00.744) 0:00:07.518 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 17:27:43 +0000 (0:00:00.026) 0:00:07.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-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 17:27:43 +0000 (0:00:00.022) 0:00:07.567 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 17:27:43 +0000 (0:00:00.022) 0:00:07.590 ***** 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, e77e2d91-5f30-415f-93bc-8090f9a267df [004] #0, state:up persistent_state:present, 'br-example': up connection br-example, e77e2d91-5f30-415f-93bc-8090f9a267df (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 17:27:43 +0000 (0:00:00.618) 0:00:08.209 ***** 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-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 17:27:43 +0000 (0:00:00.021) 0:00:08.231 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'br-example': add connection br-example, e77e2d91-5f30-415f-93bc-8090f9a267df", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, e77e2d91-5f30-415f-93bc-8090f9a267df (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 17:27:44 +0000 (0:00:00.022) 0:00:08.253 ***** 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, e77e2d91-5f30-415f-93bc-8090f9a267df\n[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, e77e2d91-5f30-415f-93bc-8090f9a267df (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'br-example': add connection br-example, e77e2d91-5f30-415f-93bc-8090f9a267df", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, e77e2d91-5f30-415f-93bc-8090f9a267df (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 17:27:44 +0000 (0:00:00.022) 0:00:08.276 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 17:27:44 +0000 (0:00:00.021) 0:00:08.297 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get DNS search entry for IPv4] ******************************************* task path: /WORKDIR/git-ci_fixdvzr7jvp/tests/playbooks/tests_ipv6_dns_search.yml:23 Thursday 21 December 2023 17:27:44 +0000 (0:00:00.272) 0:00:08.569 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv4.dns-search", "connection", "show", "br-example" ], "delta": "0:00:00.019666", "end": "2023-12-21 17:27:44.604824", "rc": 0, "start": "2023-12-21 17:27:44.585158" } STDOUT: ipv4.dns-search: example.com TASK [Get DNS search entry for IPv6] ******************************************* task path: /WORKDIR/git-ci_fixdvzr7jvp/tests/playbooks/tests_ipv6_dns_search.yml:29 Thursday 21 December 2023 17:27:44 +0000 (0:00:00.323) 0:00:08.893 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv6.dns-search", "connection", "show", "br-example" ], "delta": "0:00:00.020009", "end": "2023-12-21 17:27:44.857200", "rc": 0, "start": "2023-12-21 17:27:44.837191" } STDOUT: ipv6.dns-search: -- TASK [Assert that IPv4 DNS search entry is configured correctly] *************** task path: /WORKDIR/git-ci_fixdvzr7jvp/tests/playbooks/tests_ipv6_dns_search.yml:35 Thursday 21 December 2023 17:27:44 +0000 (0:00:00.252) 0:00:09.146 ***** 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-ci_fixdvzr7jvp/tests/playbooks/tests_ipv6_dns_search.yml:41 Thursday 21 December 2023 17:27:44 +0000 (0:00:00.022) 0:00:09.168 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 17:27:44 +0000 (0:00:00.023) 0:00:09.192 ***** included: /WORKDIR/git-ci_fixdvzr7jvp/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-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 17:27:44 +0000 (0:00:00.058) 0:00:09.250 ***** 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-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 17:27:45 +0000 (0:00:00.027) 0:00:09.277 ***** 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-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 17:27:45 +0000 (0:00:00.021) 0:00:09.299 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 17:27:45 +0000 (0:00:00.021) 0:00:09.321 ***** 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-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 17:27:47 +0000 (0:00:02.498) 0:00:11.819 ***** 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-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 17:27:48 +0000 (0:00:00.985) 0:00:12.805 ***** 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-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 17:27:48 +0000 (0:00:00.022) 0:00:12.827 ***** 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-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 17:27:48 +0000 (0:00:00.023) 0:00:12.850 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 17:27:48 +0000 (0:00:00.021) 0:00:12.872 ***** 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-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 17:27:48 +0000 (0:00:00.043) 0:00:12.916 ***** 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-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 17:27:48 +0000 (0:00:00.022) 0:00:12.939 ***** 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-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 17:27:48 +0000 (0:00:00.023) 0:00:12.962 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 17:27:48 +0000 (0:00:00.025) 0:00:12.988 ***** 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-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 17:27:49 +0000 (0:00:00.606) 0:00:13.594 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 17:27:49 +0000 (0:00:00.074) 0:00:13.669 ***** 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-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 17:27:49 +0000 (0:00:00.022) 0:00:13.692 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 17:27:49 +0000 (0:00:00.022) 0:00:13.715 ***** 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, e77e2d91-5f30-415f-93bc-8090f9a267df [004] #0, state:up persistent_state:present, 'br-example': up connection br-example, e77e2d91-5f30-415f-93bc-8090f9a267df (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-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 17:27:49 +0000 (0:00:00.426) 0:00:14.141 ***** 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-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 17:27:49 +0000 (0:00:00.022) 0:00:14.164 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'br-example': update connection br-example, e77e2d91-5f30-415f-93bc-8090f9a267df", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, e77e2d91-5f30-415f-93bc-8090f9a267df (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-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 17:27:49 +0000 (0:00:00.024) 0:00:14.189 ***** 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, e77e2d91-5f30-415f-93bc-8090f9a267df\n[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, e77e2d91-5f30-415f-93bc-8090f9a267df (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, e77e2d91-5f30-415f-93bc-8090f9a267df", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, e77e2d91-5f30-415f-93bc-8090f9a267df (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-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 17:27:49 +0000 (0:00:00.023) 0:00:14.213 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 17:27:49 +0000 (0:00:00.022) 0:00:14.235 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get DNS search entry for IPv6] ******************************************* task path: /WORKDIR/git-ci_fixdvzr7jvp/tests/playbooks/tests_ipv6_dns_search.yml:69 Thursday 21 December 2023 17:27:50 +0000 (0:00:00.224) 0:00:14.459 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv6.dns-search", "connection", "show", "br-example" ], "delta": "0:00:00.019457", "end": "2023-12-21 17:27:50.424519", "rc": 0, "start": "2023-12-21 17:27:50.405062" } 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-ci_fixdvzr7jvp/tests/playbooks/tests_ipv6_dns_search.yml:75 Thursday 21 December 2023 17:27:50 +0000 (0:00:00.252) 0:00:14.712 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 17:27:50 +0000 (0:00:00.023) 0:00:14.735 ***** included: /WORKDIR/git-ci_fixdvzr7jvp/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-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 17:27:50 +0000 (0:00:00.063) 0:00:14.799 ***** 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-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 17:27:50 +0000 (0:00:00.027) 0:00:14.827 ***** 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-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 17:27:50 +0000 (0:00:00.021) 0:00:14.848 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 17:27:50 +0000 (0:00:00.021) 0:00:14.870 ***** 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-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 17:27:53 +0000 (0:00:02.470) 0:00:17.340 ***** 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-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 17:27:54 +0000 (0:00:00.989) 0:00:18.330 ***** 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-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 17:27:54 +0000 (0:00:00.024) 0:00:18.354 ***** 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-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 17:27:54 +0000 (0:00:00.021) 0:00:18.376 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 17:27:54 +0000 (0:00:00.021) 0:00:18.397 ***** 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-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 17:27:54 +0000 (0:00:00.043) 0:00:18.440 ***** 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-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 17:27:54 +0000 (0:00:00.021) 0:00:18.462 ***** 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-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 17:27:54 +0000 (0:00:00.021) 0:00:18.483 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 17:27:54 +0000 (0:00:00.024) 0:00:18.508 ***** 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-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 17:27:54 +0000 (0:00:00.603) 0:00:19.111 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 17:27:54 +0000 (0:00:00.068) 0:00:19.180 ***** 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-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 17:27:54 +0000 (0:00:00.022) 0:00:19.202 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 17:27:54 +0000 (0:00:00.021) 0:00:19.224 ***** 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, e77e2d91-5f30-415f-93bc-8090f9a267df [004] #0, state:up persistent_state:present, 'br-example': up connection br-example, e77e2d91-5f30-415f-93bc-8090f9a267df (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-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 17:27:55 +0000 (0:00:00.432) 0:00:19.657 ***** 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-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 17:27:55 +0000 (0:00:00.022) 0:00:19.679 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'br-example': update connection br-example, e77e2d91-5f30-415f-93bc-8090f9a267df", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, e77e2d91-5f30-415f-93bc-8090f9a267df (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-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 17:27:55 +0000 (0:00:00.023) 0:00:19.703 ***** 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, e77e2d91-5f30-415f-93bc-8090f9a267df\n[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, e77e2d91-5f30-415f-93bc-8090f9a267df (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, e77e2d91-5f30-415f-93bc-8090f9a267df", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, e77e2d91-5f30-415f-93bc-8090f9a267df (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-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 17:27:55 +0000 (0:00:00.022) 0:00:19.725 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 17:27:55 +0000 (0:00:00.021) 0:00:19.747 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get DNS search entry for IPv6] ******************************************* task path: /WORKDIR/git-ci_fixdvzr7jvp/tests/playbooks/tests_ipv6_dns_search.yml:101 Thursday 21 December 2023 17:27:55 +0000 (0:00:00.221) 0:00:19.969 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv6.dns-search", "connection", "show", "br-example" ], "delta": "0:00:00.019593", "end": "2023-12-21 17:27:55.930134", "rc": 0, "start": "2023-12-21 17:27:55.910541" } 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-ci_fixdvzr7jvp/tests/playbooks/tests_ipv6_dns_search.yml:107 Thursday 21 December 2023 17:27:55 +0000 (0:00:00.249) 0:00:20.218 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 17:27:55 +0000 (0:00:00.023) 0:00:20.242 ***** included: /WORKDIR/git-ci_fixdvzr7jvp/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-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 17:27:56 +0000 (0:00:00.065) 0:00:20.307 ***** 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-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 17:27:56 +0000 (0:00:00.029) 0:00:20.337 ***** 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-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 17:27:56 +0000 (0:00:00.024) 0:00:20.362 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 17:27:56 +0000 (0:00:00.022) 0:00:20.384 ***** 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-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 17:27:58 +0000 (0:00:02.480) 0:00:22.865 ***** 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-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 17:27:59 +0000 (0:00:00.995) 0:00:23.861 ***** 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-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 17:27:59 +0000 (0:00:00.023) 0:00:23.884 ***** 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-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 17:27:59 +0000 (0:00:00.022) 0:00:23.907 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 17:27:59 +0000 (0:00:00.022) 0:00:23.930 ***** 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-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 17:27:59 +0000 (0:00:00.044) 0:00:23.974 ***** 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-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 17:27:59 +0000 (0:00:00.031) 0:00:24.006 ***** 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-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 17:27:59 +0000 (0:00:00.025) 0:00:24.031 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 17:27:59 +0000 (0:00:00.027) 0:00:24.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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 17:28:00 +0000 (0:00:00.640) 0:00:24.699 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 17:28:00 +0000 (0:00:00.026) 0:00:24.725 ***** 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-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 17:28:00 +0000 (0:00:00.023) 0:00:24.748 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 17:28:00 +0000 (0:00:00.022) 0:00:24.771 ***** fatal: [sut]: FAILED! => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "dhcp4": false, "dns_search": "example.com", "ipv6_disabled": true }, "name": "br-example", "state": "up", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [001] #0, state:up persistent_state:present, 'br-example': connection[0]: Setting 'dns_search', 'dns_options' and 'dns_priority' are not allowed when both IPv4 and IPv6 are disabled. MSG: error: connection[0]: Setting 'dns_search', 'dns_options' and 'dns_priority' are not allowed when both IPv4 and IPv6 are disabled. ...ignoring TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 17:28:00 +0000 (0:00:00.371) 0:00:25.143 ***** 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-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 17:28:00 +0000 (0:00:00.023) 0:00:25.166 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[001] #0, state:up persistent_state:present, 'br-example': connection[0]: Setting 'dns_search', 'dns_options' and 'dns_priority' are not allowed when both IPv4 and IPv6 are disabled." ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 17:28:00 +0000 (0:00:00.025) 0:00:25.192 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "dhcp4": false, "dns_search": "example.com", "ipv6_disabled": true }, "name": "br-example", "state": "up", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": true, "msg": "error: connection[0]: Setting 'dns_search', 'dns_options' and 'dns_priority' are not allowed when both IPv4 and IPv6 are disabled.", "stderr": "[001] #0, state:up persistent_state:present, 'br-example': connection[0]: Setting 'dns_search', 'dns_options' and 'dns_priority' are not allowed when both IPv4 and IPv6 are disabled.\n", "stderr_lines": [ "[001] #0, state:up persistent_state:present, 'br-example': connection[0]: Setting 'dns_search', 'dns_options' and 'dns_priority' are not allowed when both IPv4 and IPv6 are disabled." ], "warnings": [ "[001] #0, state:up persistent_state:present, 'br-example': connection[0]: Setting 'dns_search', 'dns_options' and 'dns_priority' are not allowed when both IPv4 and IPv6 are disabled." ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 17:28:00 +0000 (0:00:00.025) 0:00:25.217 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 17:28:00 +0000 (0:00:00.024) 0:00:25.242 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Assert that reconfiguring network connection is failed] ****************** task path: /WORKDIR/git-ci_fixdvzr7jvp/tests/playbooks/tests_ipv6_dns_search.yml:131 Thursday 21 December 2023 17:28:01 +0000 (0:00:00.226) 0:00:25.468 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that configuring DNS search setting is not allowed when both IPv4 and IPv6 are disabled] *** task path: /WORKDIR/git-ci_fixdvzr7jvp/tests/playbooks/tests_ipv6_dns_search.yml:138 Thursday 21 December 2023 17:28:01 +0000 (0:00:00.025) 0:00:25.494 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 17:28:01 +0000 (0:00:00.024) 0:00:25.519 ***** included: /WORKDIR/git-ci_fixdvzr7jvp/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-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 17:28:01 +0000 (0:00:00.038) 0:00:25.557 ***** 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-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 17:28:01 +0000 (0:00:00.051) 0:00:25.608 ***** 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-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 17:28:01 +0000 (0:00:00.022) 0:00:25.631 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 17:28:01 +0000 (0:00:00.021) 0:00:25.653 ***** 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-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 17:28:03 +0000 (0:00:02.554) 0:00:28.207 ***** 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-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 17:28:04 +0000 (0:00:01.033) 0:00:29.240 ***** 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-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 17:28:05 +0000 (0:00:00.023) 0:00:29.263 ***** 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-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 17:28:05 +0000 (0:00:00.022) 0:00:29.285 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 17:28:05 +0000 (0:00:00.021) 0:00:29.307 ***** 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-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 17:28:05 +0000 (0:00:00.042) 0:00:29.350 ***** 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-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 17:28:05 +0000 (0:00:00.021) 0:00:29.371 ***** 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-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 17:28:05 +0000 (0:00:00.021) 0:00:29.393 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 17:28:05 +0000 (0:00:00.032) 0:00:29.425 ***** 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-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 17:28:05 +0000 (0:00:00.612) 0:00:30.037 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 17:28:05 +0000 (0:00:00.026) 0:00:30.064 ***** 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-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 17:28:05 +0000 (0:00:00.021) 0:00:30.085 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 17:28:05 +0000 (0:00:00.022) 0:00:30.108 ***** 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-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 17:28:06 +0000 (0:00:00.557) 0:00:30.666 ***** 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-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 17:28:06 +0000 (0:00:00.023) 0:00:30.689 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 17:28:06 +0000 (0:00:00.022) 0:00:30.712 ***** 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-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 17:28:06 +0000 (0:00:00.024) 0:00:30.736 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 17:28:06 +0000 (0:00:00.023) 0:00:30.760 ***** ok: [sut] => { "changed": false, "ping": "pong" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=63 changed=4 unreachable=0 failed=0 skipped=76 rescued=0 ignored=1 Thursday 21 December 2023 17:28:06 +0000 (0:00:00.210) 0:00:30.970 ***** =============================================================================== linux-system-roles.network : Check which services are running ----------- 2.57s /WORKDIR/git-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.55s /WORKDIR/git-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.50s /WORKDIR/git-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.48s /WORKDIR/git-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.47s /WORKDIR/git-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.13s /WORKDIR/git-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.03s /WORKDIR/git-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.00s /WORKDIR/git-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.99s /WORKDIR/git-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.99s /WORKDIR/git-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Gathering Facts --------------------------------------------------------- 0.96s /WORKDIR/git-ci_fixdvzr7jvp/tests/tests_ipv6_dns_search_nm.yml:5 -------------- Gathering Facts --------------------------------------------------------- 0.85s /WORKDIR/git-ci_fixdvzr7jvp/tests/playbooks/tests_ipv6_dns_search.yml:2 ------- linux-system-roles.network : Enable and start NetworkManager ------------ 0.74s /WORKDIR/git-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Enable and start NetworkManager ------------ 0.64s /WORKDIR/git-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Configure networking connection profiles --- 0.62s /WORKDIR/git-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable and start NetworkManager ------------ 0.61s /WORKDIR/git-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Enable and start NetworkManager ------------ 0.61s /WORKDIR/git-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Enable and start NetworkManager ------------ 0.60s /WORKDIR/git-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/main.yml:85 Gather the minimum subset of ansible_facts required by the network role test --- 0.58s /WORKDIR/git-ci_fixdvzr7jvp/tests/tasks/el_repo_setup.yml:3 ------------------- linux-system-roles.network : Configure networking connection profiles --- 0.56s /WORKDIR/git-ci_fixdvzr7jvp/tests/roles/linux-system-roles.network/tasks/main.yml:122 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: [001] #0, state:up persistent_state:present, 'br-example': connection[0]: Setting 'dns_search', 'dns_options' and 'dns_priority' are not allowed when both IPv4 and IPv6 are disabled. ---^---^---^---^---^---