# 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_type2f4zm0t0/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_type2f4zm0t0/tests/tests_ipv6_dns_search_nm.yml:5 Tuesday 19 December 2023 23:15:52 +0000 (0:00:00.024) 0:00:00.024 ****** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_type2f4zm0t0/tests/tests_ipv6_dns_search_nm.yml:9 Tuesday 19 December 2023 23:15:52 +0000 (0:00:00.715) 0:00:00.739 ****** included: /WORKDIR/git-route_type2f4zm0t0/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_type2f4zm0t0/tests/tasks/el_repo_setup.yml:3 Tuesday 19 December 2023 23:15:52 +0000 (0:00:00.024) 0:00:00.764 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_type2f4zm0t0/tests/tasks/el_repo_setup.yml:19 Tuesday 19 December 2023 23:15:53 +0000 (0:00:00.377) 0:00:01.141 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_type2f4zm0t0/tests/tasks/el_repo_setup.yml:24 Tuesday 19 December 2023 23:15:53 +0000 (0:00:00.278) 0:00:01.419 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_type2f4zm0t0/tests/tasks/el_repo_setup.yml:28 Tuesday 19 December 2023 23:15:53 +0000 (0:00:00.079) 0:00:01.498 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_type2f4zm0t0/tests/tasks/el_repo_setup.yml:53 Tuesday 19 December 2023 23:15:53 +0000 (0:00:00.026) 0:00:01.525 ****** included: /WORKDIR/git-route_type2f4zm0t0/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 9] *********************************************************** task path: /WORKDIR/git-route_type2f4zm0t0/tests/tasks/enable_epel.yml:8 Tuesday 19 December 2023 23:15:53 +0000 (0:00:00.036) 0:00:01.562 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-route_type2f4zm0t0/tests/tasks/enable_epel.yml:24 Tuesday 19 December 2023 23:15:53 +0000 (0:00:00.087) 0:00:01.649 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-route_type2f4zm0t0/tests/tasks/enable_epel.yml:30 Tuesday 19 December 2023 23:15:53 +0000 (0:00:00.048) 0:00:01.697 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_type2f4zm0t0/tests/tasks/enable_epel.yml:35 Tuesday 19 December 2023 23:15:53 +0000 (0:00:00.046) 0:00:01.744 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_type2f4zm0t0/tests/tasks/enable_epel.yml:40 Tuesday 19 December 2023 23:15:54 +0000 (0:00:00.041) 0:00:01.785 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-route_type2f4zm0t0/tests/tests_ipv6_dns_search_nm.yml:11 Tuesday 19 December 2023 23:15:54 +0000 (0:00:00.037) 0:00:01.823 ****** 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_type2f4zm0t0/tests/playbooks/tests_ipv6_dns_search.yml:2 Tuesday 19 December 2023 23:15:54 +0000 (0:00:00.043) 0:00:01.867 ****** ok: [sut] META: ran handlers TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 19 December 2023 23:15:54 +0000 (0:00:00.512) 0:00:02.379 ****** included: /WORKDIR/git-route_type2f4zm0t0/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_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 19 December 2023 23:15:54 +0000 (0:00:00.150) 0:00:02.530 ****** 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_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 19 December 2023 23:15:54 +0000 (0:00:00.028) 0:00:02.559 ****** 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_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 19 December 2023 23:15:54 +0000 (0:00:00.023) 0:00:02.582 ****** 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_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 19 December 2023 23:15:54 +0000 (0:00:00.021) 0:00:02.604 ****** 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_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 19 December 2023 23:15:56 +0000 (0:00:01.504) 0:00:04.108 ****** 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_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 19 December 2023 23:15:57 +0000 (0:00:01.167) 0:00:05.275 ****** 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_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 19 December 2023 23:15:57 +0000 (0:00:00.062) 0:00:05.338 ****** 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_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 19 December 2023 23:15:57 +0000 (0:00:00.039) 0:00:05.378 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 19 December 2023 23:15:57 +0000 (0:00:00.067) 0:00:05.446 ****** 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_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 19 December 2023 23:15:57 +0000 (0:00:00.080) 0:00:05.526 ****** 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_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 19 December 2023 23:15:57 +0000 (0:00:00.125) 0:00:05.651 ****** 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_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 19 December 2023 23:15:58 +0000 (0:00:00.138) 0:00:05.789 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 19 December 2023 23:15:58 +0000 (0:00:00.050) 0:00:05.840 ****** 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_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 19 December 2023 23:15:58 +0000 (0:00:00.582) 0:00:06.423 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 19 December 2023 23:15:58 +0000 (0:00:00.047) 0:00:06.470 ****** 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_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 19 December 2023 23:15:58 +0000 (0:00:00.030) 0:00:06.501 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 19 December 2023 23:15:58 +0000 (0:00:00.022) 0:00:06.524 ****** 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, cdcacd5e-ac95-48d9-8a45-f44e8f1705c4 [004] #0, state:up persistent_state:present, 'br-example': up connection br-example, cdcacd5e-ac95-48d9-8a45-f44e8f1705c4 (is-modified) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 19 December 2023 23:15:59 +0000 (0:00:00.834) 0:00:07.358 ****** 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_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 19 December 2023 23:15:59 +0000 (0:00:00.021) 0:00:07.380 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'br-example': add connection br-example, cdcacd5e-ac95-48d9-8a45-f44e8f1705c4", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, cdcacd5e-ac95-48d9-8a45-f44e8f1705c4 (is-modified)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 19 December 2023 23:15:59 +0000 (0:00:00.050) 0:00:07.431 ****** 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, cdcacd5e-ac95-48d9-8a45-f44e8f1705c4\n[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, cdcacd5e-ac95-48d9-8a45-f44e8f1705c4 (is-modified)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'br-example': add connection br-example, cdcacd5e-ac95-48d9-8a45-f44e8f1705c4", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, cdcacd5e-ac95-48d9-8a45-f44e8f1705c4 (is-modified)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 19 December 2023 23:15:59 +0000 (0:00:00.034) 0:00:07.465 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 19 December 2023 23:15:59 +0000 (0:00:00.101) 0:00:07.567 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get DNS search entry for IPv4] ******************************************* task path: /WORKDIR/git-route_type2f4zm0t0/tests/playbooks/tests_ipv6_dns_search.yml:23 Tuesday 19 December 2023 23:16:00 +0000 (0:00:00.356) 0:00:07.923 ****** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv4.dns-search", "connection", "show", "br-example" ], "delta": "0:00:00.018935", "end": "2023-12-19 23:16:00.466133", "rc": 0, "start": "2023-12-19 23:16:00.447198" } STDOUT: ipv4.dns-search: example.com TASK [Get DNS search entry for IPv6] ******************************************* task path: /WORKDIR/git-route_type2f4zm0t0/tests/playbooks/tests_ipv6_dns_search.yml:29 Tuesday 19 December 2023 23:16:00 +0000 (0:00:00.352) 0:00:08.276 ****** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv6.dns-search", "connection", "show", "br-example" ], "delta": "0:00:00.018013", "end": "2023-12-19 23:16:00.702186", "rc": 0, "start": "2023-12-19 23:16:00.684173" } STDOUT: ipv6.dns-search: -- TASK [Assert that IPv4 DNS search entry is configured correctly] *************** task path: /WORKDIR/git-route_type2f4zm0t0/tests/playbooks/tests_ipv6_dns_search.yml:35 Tuesday 19 December 2023 23:16:00 +0000 (0:00:00.238) 0:00:08.514 ****** 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_type2f4zm0t0/tests/playbooks/tests_ipv6_dns_search.yml:41 Tuesday 19 December 2023 23:16:00 +0000 (0:00:00.025) 0:00:08.540 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 19 December 2023 23:16:00 +0000 (0:00:00.023) 0:00:08.563 ****** included: /WORKDIR/git-route_type2f4zm0t0/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_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 19 December 2023 23:16:00 +0000 (0:00:00.065) 0:00:08.629 ****** 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_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 19 December 2023 23:16:00 +0000 (0:00:00.049) 0:00:08.678 ****** 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_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 19 December 2023 23:16:00 +0000 (0:00:00.031) 0:00:08.710 ****** 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_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 19 December 2023 23:16:00 +0000 (0:00:00.036) 0:00:08.746 ****** 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_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 19 December 2023 23:16:02 +0000 (0:00:01.521) 0:00:10.267 ****** 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_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 19 December 2023 23:16:03 +0000 (0:00:01.013) 0:00:11.280 ****** 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_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 19 December 2023 23:16:03 +0000 (0:00:00.053) 0:00:11.334 ****** 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_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 19 December 2023 23:16:03 +0000 (0:00:00.026) 0:00:11.360 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 19 December 2023 23:16:03 +0000 (0:00:00.022) 0:00:11.383 ****** 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_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 19 December 2023 23:16:03 +0000 (0:00:00.079) 0:00:11.463 ****** 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_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 19 December 2023 23:16:03 +0000 (0:00:00.046) 0:00:11.509 ****** 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_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 19 December 2023 23:16:03 +0000 (0:00:00.050) 0:00:11.560 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 19 December 2023 23:16:03 +0000 (0:00:00.026) 0:00:11.587 ****** 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_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 19 December 2023 23:16:04 +0000 (0:00:00.366) 0:00:11.953 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 19 December 2023 23:16:04 +0000 (0:00:00.041) 0:00:11.994 ****** 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_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 19 December 2023 23:16:04 +0000 (0:00:00.040) 0:00:12.034 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 19 December 2023 23:16:04 +0000 (0:00:00.053) 0:00:12.088 ****** 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, cdcacd5e-ac95-48d9-8a45-f44e8f1705c4 [004] #0, state:up persistent_state:present, 'br-example': up connection br-example, cdcacd5e-ac95-48d9-8a45-f44e8f1705c4 (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_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 19 December 2023 23:16:04 +0000 (0:00:00.455) 0:00:12.543 ****** 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_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 19 December 2023 23:16:04 +0000 (0:00:00.036) 0:00:12.579 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'br-example': update connection br-example, cdcacd5e-ac95-48d9-8a45-f44e8f1705c4", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, cdcacd5e-ac95-48d9-8a45-f44e8f1705c4 (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_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 19 December 2023 23:16:04 +0000 (0:00:00.037) 0:00:12.616 ****** 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, cdcacd5e-ac95-48d9-8a45-f44e8f1705c4\n[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, cdcacd5e-ac95-48d9-8a45-f44e8f1705c4 (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, cdcacd5e-ac95-48d9-8a45-f44e8f1705c4", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, cdcacd5e-ac95-48d9-8a45-f44e8f1705c4 (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_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 19 December 2023 23:16:04 +0000 (0:00:00.039) 0:00:12.655 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 19 December 2023 23:16:04 +0000 (0:00:00.092) 0:00:12.749 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get DNS search entry for IPv6] ******************************************* task path: /WORKDIR/git-route_type2f4zm0t0/tests/playbooks/tests_ipv6_dns_search.yml:69 Tuesday 19 December 2023 23:16:05 +0000 (0:00:00.223) 0:00:12.972 ****** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv6.dns-search", "connection", "show", "br-example" ], "delta": "0:00:00.017707", "end": "2023-12-19 23:16:05.396856", "rc": 0, "start": "2023-12-19 23:16:05.379149" } 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_type2f4zm0t0/tests/playbooks/tests_ipv6_dns_search.yml:75 Tuesday 19 December 2023 23:16:05 +0000 (0:00:00.240) 0:00:13.212 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 19 December 2023 23:16:05 +0000 (0:00:00.028) 0:00:13.240 ****** included: /WORKDIR/git-route_type2f4zm0t0/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_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 19 December 2023 23:16:05 +0000 (0:00:00.039) 0:00:13.280 ****** 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_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 19 December 2023 23:16:05 +0000 (0:00:00.027) 0:00:13.308 ****** 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_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 19 December 2023 23:16:05 +0000 (0:00:00.022) 0:00:13.331 ****** 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_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 19 December 2023 23:16:05 +0000 (0:00:00.025) 0:00:13.356 ****** 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_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 19 December 2023 23:16:06 +0000 (0:00:01.418) 0:00:14.775 ****** 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_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 19 December 2023 23:16:08 +0000 (0:00:01.006) 0:00:15.782 ****** 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_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 19 December 2023 23:16:08 +0000 (0:00:00.035) 0:00:15.818 ****** 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_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 19 December 2023 23:16:08 +0000 (0:00:00.021) 0:00:15.839 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 19 December 2023 23:16:08 +0000 (0:00:00.044) 0:00:15.883 ****** 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_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 19 December 2023 23:16:08 +0000 (0:00:00.069) 0:00:15.953 ****** 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_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 19 December 2023 23:16:08 +0000 (0:00:00.061) 0:00:16.014 ****** 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_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 19 December 2023 23:16:08 +0000 (0:00:00.079) 0:00:16.093 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 19 December 2023 23:16:08 +0000 (0:00:00.067) 0:00:16.160 ****** 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_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 19 December 2023 23:16:08 +0000 (0:00:00.454) 0:00:16.615 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 19 December 2023 23:16:08 +0000 (0:00:00.041) 0:00:16.656 ****** 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_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 19 December 2023 23:16:08 +0000 (0:00:00.033) 0:00:16.690 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 19 December 2023 23:16:08 +0000 (0:00:00.036) 0:00:16.727 ****** 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, cdcacd5e-ac95-48d9-8a45-f44e8f1705c4 [004] #0, state:up persistent_state:present, 'br-example': up connection br-example, cdcacd5e-ac95-48d9-8a45-f44e8f1705c4 (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_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 19 December 2023 23:16:09 +0000 (0:00:00.509) 0:00:17.236 ****** 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_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 19 December 2023 23:16:09 +0000 (0:00:00.022) 0:00:17.259 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'br-example': update connection br-example, cdcacd5e-ac95-48d9-8a45-f44e8f1705c4", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, cdcacd5e-ac95-48d9-8a45-f44e8f1705c4 (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_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 19 December 2023 23:16:09 +0000 (0:00:00.025) 0:00:17.284 ****** 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, cdcacd5e-ac95-48d9-8a45-f44e8f1705c4\n[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, cdcacd5e-ac95-48d9-8a45-f44e8f1705c4 (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, cdcacd5e-ac95-48d9-8a45-f44e8f1705c4", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, cdcacd5e-ac95-48d9-8a45-f44e8f1705c4 (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_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 19 December 2023 23:16:09 +0000 (0:00:00.030) 0:00:17.314 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 19 December 2023 23:16:09 +0000 (0:00:00.024) 0:00:17.339 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get DNS search entry for IPv6] ******************************************* task path: /WORKDIR/git-route_type2f4zm0t0/tests/playbooks/tests_ipv6_dns_search.yml:101 Tuesday 19 December 2023 23:16:09 +0000 (0:00:00.242) 0:00:17.581 ****** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv6.dns-search", "connection", "show", "br-example" ], "delta": "0:00:00.018122", "end": "2023-12-19 23:16:10.001276", "rc": 0, "start": "2023-12-19 23:16:09.983154" } 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_type2f4zm0t0/tests/playbooks/tests_ipv6_dns_search.yml:107 Tuesday 19 December 2023 23:16:10 +0000 (0:00:00.234) 0:00:17.815 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 19 December 2023 23:16:10 +0000 (0:00:00.049) 0:00:17.864 ****** included: /WORKDIR/git-route_type2f4zm0t0/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_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 19 December 2023 23:16:10 +0000 (0:00:00.041) 0:00:17.906 ****** 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_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 19 December 2023 23:16:10 +0000 (0:00:00.037) 0:00:17.943 ****** 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_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 19 December 2023 23:16:10 +0000 (0:00:00.042) 0:00:17.986 ****** 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_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 19 December 2023 23:16:10 +0000 (0:00:00.040) 0:00:18.027 ****** 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_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 19 December 2023 23:16:11 +0000 (0:00:01.477) 0:00:19.504 ****** 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_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 19 December 2023 23:16:12 +0000 (0:00:00.966) 0:00:20.470 ****** 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_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 19 December 2023 23:16:12 +0000 (0:00:00.044) 0:00:20.515 ****** 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_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 19 December 2023 23:16:12 +0000 (0:00:00.027) 0:00:20.543 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 19 December 2023 23:16:12 +0000 (0:00:00.025) 0:00:20.568 ****** 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_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 19 December 2023 23:16:12 +0000 (0:00:00.050) 0:00:20.619 ****** 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_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 19 December 2023 23:16:12 +0000 (0:00:00.026) 0:00:20.646 ****** 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_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 19 December 2023 23:16:12 +0000 (0:00:00.053) 0:00:20.700 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 19 December 2023 23:16:12 +0000 (0:00:00.046) 0:00:20.746 ****** 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_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 19 December 2023 23:16:13 +0000 (0:00:00.362) 0:00:21.109 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 19 December 2023 23:16:13 +0000 (0:00:00.065) 0:00:21.174 ****** 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_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 19 December 2023 23:16:13 +0000 (0:00:00.031) 0:00:21.206 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 19 December 2023 23:16:13 +0000 (0:00:00.032) 0:00:21.238 ****** 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-route_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 19 December 2023 23:16:13 +0000 (0:00:00.409) 0:00:21.648 ****** 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_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 19 December 2023 23:16:13 +0000 (0:00:00.066) 0:00:21.714 ****** 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-route_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 19 December 2023 23:16:13 +0000 (0:00:00.050) 0:00:21.765 ****** 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-route_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 19 December 2023 23:16:14 +0000 (0:00:00.076) 0:00:21.841 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 19 December 2023 23:16:14 +0000 (0:00:00.060) 0:00:21.902 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Assert that reconfiguring network connection is failed] ****************** task path: /WORKDIR/git-route_type2f4zm0t0/tests/playbooks/tests_ipv6_dns_search.yml:131 Tuesday 19 December 2023 23:16:14 +0000 (0:00:00.214) 0:00:22.117 ****** 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-route_type2f4zm0t0/tests/playbooks/tests_ipv6_dns_search.yml:138 Tuesday 19 December 2023 23:16:14 +0000 (0:00:00.031) 0:00:22.148 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 19 December 2023 23:16:14 +0000 (0:00:00.028) 0:00:22.176 ****** included: /WORKDIR/git-route_type2f4zm0t0/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_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 19 December 2023 23:16:14 +0000 (0:00:00.086) 0:00:22.262 ****** 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_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 19 December 2023 23:16:14 +0000 (0:00:00.040) 0:00:22.302 ****** 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_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 19 December 2023 23:16:14 +0000 (0:00:00.031) 0:00:22.334 ****** 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_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 19 December 2023 23:16:14 +0000 (0:00:00.029) 0:00:22.364 ****** 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_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 19 December 2023 23:16:16 +0000 (0:00:01.436) 0:00:23.800 ****** 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_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 19 December 2023 23:16:17 +0000 (0:00:00.996) 0:00:24.797 ****** 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_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 19 December 2023 23:16:17 +0000 (0:00:00.032) 0:00:24.829 ****** 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_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 19 December 2023 23:16:17 +0000 (0:00:00.041) 0:00:24.871 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 19 December 2023 23:16:17 +0000 (0:00:00.032) 0:00:24.903 ****** 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_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 19 December 2023 23:16:17 +0000 (0:00:00.056) 0:00:24.960 ****** 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_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 19 December 2023 23:16:17 +0000 (0:00:00.034) 0:00:24.995 ****** 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_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 19 December 2023 23:16:17 +0000 (0:00:00.029) 0:00:25.025 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 19 December 2023 23:16:17 +0000 (0:00:00.067) 0:00:25.092 ****** 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_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 19 December 2023 23:16:17 +0000 (0:00:00.364) 0:00:25.457 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 19 December 2023 23:16:17 +0000 (0:00:00.035) 0:00:25.493 ****** 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_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 19 December 2023 23:16:17 +0000 (0:00:00.027) 0:00:25.520 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 19 December 2023 23:16:17 +0000 (0:00:00.030) 0:00:25.551 ****** 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_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 19 December 2023 23:16:18 +0000 (0:00:00.453) 0:00:26.004 ****** 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_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 19 December 2023 23:16:18 +0000 (0:00:00.038) 0:00:26.042 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 19 December 2023 23:16:18 +0000 (0:00:00.024) 0:00:26.067 ****** 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_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 19 December 2023 23:16:18 +0000 (0:00:00.024) 0:00:26.092 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 19 December 2023 23:16:18 +0000 (0:00:00.023) 0:00:26.115 ****** 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 Tuesday 19 December 2023 23:16:18 +0000 (0:00:00.191) 0:00:26.307 ****** =============================================================================== linux-system-roles.network : Check which services are running ----------- 1.52s /WORKDIR/git-route_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.50s /WORKDIR/git-route_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.48s /WORKDIR/git-route_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.44s /WORKDIR/git-route_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.42s /WORKDIR/git-route_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.17s /WORKDIR/git-route_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.01s /WORKDIR/git-route_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.01s /WORKDIR/git-route_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.00s /WORKDIR/git-route_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.97s /WORKDIR/git-route_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Configure networking connection profiles --- 0.83s /WORKDIR/git-route_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/main.yml:122 Gathering Facts --------------------------------------------------------- 0.72s /WORKDIR/git-route_type2f4zm0t0/tests/tests_ipv6_dns_search_nm.yml:5 ---------- linux-system-roles.network : Enable and start NetworkManager ------------ 0.58s /WORKDIR/git-route_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/main.yml:85 Gathering Facts --------------------------------------------------------- 0.51s /WORKDIR/git-route_type2f4zm0t0/tests/playbooks/tests_ipv6_dns_search.yml:2 --- linux-system-roles.network : Configure networking connection profiles --- 0.51s /WORKDIR/git-route_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Configure networking connection profiles --- 0.46s /WORKDIR/git-route_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable and start NetworkManager ------------ 0.45s /WORKDIR/git-route_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Configure networking connection profiles --- 0.45s /WORKDIR/git-route_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Configure networking connection profiles --- 0.41s /WORKDIR/git-route_type2f4zm0t0/tests/roles/linux-system-roles.network/tasks/main.yml:122 Gather the minimum subset of ansible_facts required by the network role test --- 0.38s /WORKDIR/git-route_type2f4zm0t0/tests/tasks/el_repo_setup.yml:3 --------------- ---^---^---^---^---^--- # 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. ---^---^---^---^---^---