# STDOUT: ---v---v---v---v---v--- ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /opt/ansible-2.9/lib/python3.9/site-packages/ansible executable location = /opt/ansible-2.9/bin/ansible-playbook python version = 3.9.18 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] Using /etc/ansible/ansible.cfg as config file Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_ipv6_dns_search_nm.yml ***************************************** 2 plays in /WORKDIR/git-code_refactorh774nepo/tests/tests_ipv6_dns_search_nm.yml PLAY [Run playbook 'playbooks/tests_ipv6_dns_search.yml' with nm as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-code_refactorh774nepo/tests/tests_ipv6_dns_search_nm.yml:5 Thursday 30 November 2023 18:18:00 +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-code_refactorh774nepo/tests/tests_ipv6_dns_search_nm.yml:9 Thursday 30 November 2023 18:18:01 +0000 (0:00:01.036) 0:00:01.061 ***** included: /WORKDIR/git-code_refactorh774nepo/tests/tasks/el_repo_setup.yml for sut TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /WORKDIR/git-code_refactorh774nepo/tests/tasks/el_repo_setup.yml:3 Thursday 30 November 2023 18:18:01 +0000 (0:00:00.022) 0:00:01.083 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-code_refactorh774nepo/tests/tasks/el_repo_setup.yml:19 Thursday 30 November 2023 18:18:01 +0000 (0:00:00.553) 0:00:01.637 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-code_refactorh774nepo/tests/tasks/el_repo_setup.yml:24 Thursday 30 November 2023 18:18:01 +0000 (0:00:00.318) 0:00:01.955 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-code_refactorh774nepo/tests/tasks/el_repo_setup.yml:28 Thursday 30 November 2023 18:18:01 +0000 (0:00:00.033) 0:00:01.988 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-code_refactorh774nepo/tests/tasks/el_repo_setup.yml:53 Thursday 30 November 2023 18:18:02 +0000 (0:00:00.039) 0:00:02.028 ***** included: /WORKDIR/git-code_refactorh774nepo/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 38] ********************************************************** task path: /WORKDIR/git-code_refactorh774nepo/tests/tasks/enable_epel.yml:8 Thursday 30 November 2023 18:18:02 +0000 (0:00:00.075) 0:00:02.104 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-code_refactorh774nepo/tests/tasks/enable_epel.yml:24 Thursday 30 November 2023 18:18:02 +0000 (0:00:00.032) 0:00:02.136 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-code_refactorh774nepo/tests/tasks/enable_epel.yml:30 Thursday 30 November 2023 18:18:02 +0000 (0:00:00.014) 0:00:02.151 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-code_refactorh774nepo/tests/tasks/enable_epel.yml:35 Thursday 30 November 2023 18:18:02 +0000 (0:00:00.025) 0:00:02.176 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-code_refactorh774nepo/tests/tasks/enable_epel.yml:40 Thursday 30 November 2023 18:18:02 +0000 (0:00:00.030) 0:00:02.207 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-code_refactorh774nepo/tests/tests_ipv6_dns_search_nm.yml:11 Thursday 30 November 2023 18:18:02 +0000 (0:00:00.022) 0:00:02.229 ***** ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for testing DNS search setting] ************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tests_ipv6_dns_search.yml:2 Thursday 30 November 2023 18:18:02 +0000 (0:00:00.032) 0:00:02.262 ***** ok: [sut] META: ran handlers TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 30 November 2023 18:18:03 +0000 (0:00:00.819) 0:00:03.081 ***** included: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 30 November 2023 18:18:03 +0000 (0:00:00.088) 0:00:03.170 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 30 November 2023 18:18:03 +0000 (0:00:00.015) 0:00:03.185 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 30 November 2023 18:18:03 +0000 (0:00:00.012) 0:00:03.198 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 30 November 2023 18:18:03 +0000 (0:00:00.012) 0:00:03.211 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 30 November 2023 18:18:05 +0000 (0:00:02.455) 0:00:05.666 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 30 November 2023 18:18:06 +0000 (0:00:01.266) 0:00:06.933 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 30 November 2023 18:18:06 +0000 (0:00:00.043) 0:00:06.977 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 30 November 2023 18:18:07 +0000 (0:00:00.047) 0:00:07.025 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 30 November 2023 18:18:07 +0000 (0:00:00.032) 0:00:07.057 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 30 November 2023 18:18:07 +0000 (0:00:00.092) 0:00:07.150 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 30 November 2023 18:18:07 +0000 (0:00:00.036) 0:00:07.186 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 30 November 2023 18:18:07 +0000 (0:00:00.038) 0:00:07.225 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 30 November 2023 18:18:07 +0000 (0:00:00.040) 0:00:07.266 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 30 November 2023 18:18:08 +0000 (0:00:00.869) 0:00:08.136 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 30 November 2023 18:18:08 +0000 (0:00:00.060) 0:00:08.196 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 30 November 2023 18:18:08 +0000 (0:00:00.041) 0:00:08.238 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 30 November 2023 18:18:08 +0000 (0:00:00.042) 0:00:08.280 ***** 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, c6bcd53b-e7f7-43f7-ae58-ced7e731d850 [004] #0, state:up persistent_state:present, 'br-example': up connection br-example, c6bcd53b-e7f7-43f7-ae58-ced7e731d850 (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 30 November 2023 18:18:09 +0000 (0:00:00.722) 0:00:09.003 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 30 November 2023 18:18:09 +0000 (0:00:00.048) 0:00:09.051 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'br-example': add connection br-example, c6bcd53b-e7f7-43f7-ae58-ced7e731d850", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, c6bcd53b-e7f7-43f7-ae58-ced7e731d850 (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 30 November 2023 18:18:09 +0000 (0:00:00.050) 0:00:09.101 ***** 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, c6bcd53b-e7f7-43f7-ae58-ced7e731d850\n[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, c6bcd53b-e7f7-43f7-ae58-ced7e731d850 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'br-example': add connection br-example, c6bcd53b-e7f7-43f7-ae58-ced7e731d850", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, c6bcd53b-e7f7-43f7-ae58-ced7e731d850 (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 30 November 2023 18:18:09 +0000 (0:00:00.038) 0:00:09.140 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 30 November 2023 18:18:09 +0000 (0:00:00.044) 0:00:09.184 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get DNS search entry for IPv4] ******************************************* task path: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tests_ipv6_dns_search.yml:23 Thursday 30 November 2023 18:18:09 +0000 (0:00:00.293) 0:00:09.478 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv4.dns-search", "connection", "show", "br-example" ], "delta": "0:00:00.019797", "end": "2023-11-30 18:18:09.786645", "rc": 0, "start": "2023-11-30 18:18:09.766848" } STDOUT: ipv4.dns-search: example.com TASK [Get DNS search entry for IPv6] ******************************************* task path: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tests_ipv6_dns_search.yml:29 Thursday 30 November 2023 18:18:09 +0000 (0:00:00.358) 0:00:09.836 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv6.dns-search", "connection", "show", "br-example" ], "delta": "0:00:00.019343", "end": "2023-11-30 18:18:10.045514", "rc": 0, "start": "2023-11-30 18:18:10.026171" } STDOUT: ipv6.dns-search: -- TASK [Assert that IPv4 DNS search entry is configured correctly] *************** task path: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tests_ipv6_dns_search.yml:35 Thursday 30 November 2023 18:18:10 +0000 (0:00:00.253) 0:00:10.090 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that DNS search setting for IPv6 is not configured when IPv6 address is not configured] *** task path: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tests_ipv6_dns_search.yml:41 Thursday 30 November 2023 18:18:10 +0000 (0:00:00.036) 0:00:10.126 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 30 November 2023 18:18:10 +0000 (0:00:00.045) 0:00:10.172 ***** included: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 30 November 2023 18:18:10 +0000 (0:00:00.081) 0:00:10.253 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 30 November 2023 18:18:10 +0000 (0:00:00.072) 0:00:10.325 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 30 November 2023 18:18:10 +0000 (0:00:00.031) 0:00:10.356 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 30 November 2023 18:18:10 +0000 (0:00:00.028) 0:00:10.385 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 30 November 2023 18:18:12 +0000 (0:00:02.396) 0:00:12.782 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 30 November 2023 18:18:13 +0000 (0:00:01.063) 0:00:13.845 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 30 November 2023 18:18:13 +0000 (0:00:00.030) 0:00:13.876 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 30 November 2023 18:18:13 +0000 (0:00:00.031) 0:00:13.907 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 30 November 2023 18:18:13 +0000 (0:00:00.047) 0:00:13.955 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 30 November 2023 18:18:14 +0000 (0:00:00.105) 0:00:14.061 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 30 November 2023 18:18:14 +0000 (0:00:00.053) 0:00:14.115 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 30 November 2023 18:18:14 +0000 (0:00:00.036) 0:00:14.151 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 30 November 2023 18:18:14 +0000 (0:00:00.045) 0:00:14.197 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 30 November 2023 18:18:14 +0000 (0:00:00.677) 0:00:14.875 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 30 November 2023 18:18:14 +0000 (0:00:00.050) 0:00:14.926 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 30 November 2023 18:18:14 +0000 (0:00:00.046) 0:00:14.972 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 30 November 2023 18:18:15 +0000 (0:00:00.033) 0:00:15.005 ***** 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, c6bcd53b-e7f7-43f7-ae58-ced7e731d850 [004] #0, state:up persistent_state:present, 'br-example': up connection br-example, c6bcd53b-e7f7-43f7-ae58-ced7e731d850 (is-modified) [005] #0, state:up persistent_state:present, 'br-example': connection reapplied TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 30 November 2023 18:18:15 +0000 (0:00:00.546) 0:00:15.552 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 30 November 2023 18:18:15 +0000 (0:00:00.030) 0:00:15.583 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'br-example': update connection br-example, c6bcd53b-e7f7-43f7-ae58-ced7e731d850", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, c6bcd53b-e7f7-43f7-ae58-ced7e731d850 (is-modified)", "[005] #0, state:up persistent_state:present, 'br-example': connection reapplied" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 30 November 2023 18:18:15 +0000 (0:00:00.031) 0:00:15.614 ***** 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, c6bcd53b-e7f7-43f7-ae58-ced7e731d850\n[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, c6bcd53b-e7f7-43f7-ae58-ced7e731d850 (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, c6bcd53b-e7f7-43f7-ae58-ced7e731d850", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, c6bcd53b-e7f7-43f7-ae58-ced7e731d850 (is-modified)", "[005] #0, state:up persistent_state:present, 'br-example': connection reapplied" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 30 November 2023 18:18:15 +0000 (0:00:00.040) 0:00:15.655 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 30 November 2023 18:18:15 +0000 (0:00:00.032) 0:00:15.687 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get DNS search entry for IPv6] ******************************************* task path: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tests_ipv6_dns_search.yml:69 Thursday 30 November 2023 18:18:15 +0000 (0:00:00.240) 0:00:15.928 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv6.dns-search", "connection", "show", "br-example" ], "delta": "0:00:00.020119", "end": "2023-11-30 18:18:16.141291", "rc": 0, "start": "2023-11-30 18:18:16.121172" } STDOUT: ipv6.dns-search: example.com TASK [Assert that DNS search setting for IPv6 is configured when the static IPv6 address is configured] *** task path: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tests_ipv6_dns_search.yml:75 Thursday 30 November 2023 18:18:16 +0000 (0:00:00.264) 0:00:16.193 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 30 November 2023 18:18:16 +0000 (0:00:00.033) 0:00:16.227 ***** included: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 30 November 2023 18:18:16 +0000 (0:00:00.054) 0:00:16.281 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 30 November 2023 18:18:16 +0000 (0:00:00.037) 0:00:16.319 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 30 November 2023 18:18:16 +0000 (0:00:00.031) 0:00:16.351 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 30 November 2023 18:18:16 +0000 (0:00:00.031) 0:00:16.382 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 30 November 2023 18:18:18 +0000 (0:00:02.341) 0:00:18.723 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 30 November 2023 18:18:19 +0000 (0:00:00.997) 0:00:19.721 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 30 November 2023 18:18:19 +0000 (0:00:00.061) 0:00:19.783 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 30 November 2023 18:18:19 +0000 (0:00:00.032) 0:00:19.816 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 30 November 2023 18:18:19 +0000 (0:00:00.031) 0:00:19.847 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 30 November 2023 18:18:19 +0000 (0:00:00.063) 0:00:19.911 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 30 November 2023 18:18:19 +0000 (0:00:00.032) 0:00:19.943 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 30 November 2023 18:18:19 +0000 (0:00:00.030) 0:00:19.973 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 30 November 2023 18:18:20 +0000 (0:00:00.034) 0:00:20.008 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 30 November 2023 18:18:20 +0000 (0:00:00.601) 0:00:20.609 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 30 November 2023 18:18:20 +0000 (0:00:00.038) 0:00:20.648 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 30 November 2023 18:18:20 +0000 (0:00:00.031) 0:00:20.679 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 30 November 2023 18:18:20 +0000 (0:00:00.032) 0:00:20.712 ***** 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, c6bcd53b-e7f7-43f7-ae58-ced7e731d850 [004] #0, state:up persistent_state:present, 'br-example': up connection br-example, c6bcd53b-e7f7-43f7-ae58-ced7e731d850 (is-modified) [005] #0, state:up persistent_state:present, 'br-example': connection reapplied TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 30 November 2023 18:18:21 +0000 (0:00:00.442) 0:00:21.155 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 30 November 2023 18:18:21 +0000 (0:00:00.067) 0:00:21.222 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'br-example': update connection br-example, c6bcd53b-e7f7-43f7-ae58-ced7e731d850", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, c6bcd53b-e7f7-43f7-ae58-ced7e731d850 (is-modified)", "[005] #0, state:up persistent_state:present, 'br-example': connection reapplied" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 30 November 2023 18:18:21 +0000 (0:00:00.043) 0:00:21.265 ***** 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, c6bcd53b-e7f7-43f7-ae58-ced7e731d850\n[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, c6bcd53b-e7f7-43f7-ae58-ced7e731d850 (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, c6bcd53b-e7f7-43f7-ae58-ced7e731d850", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, c6bcd53b-e7f7-43f7-ae58-ced7e731d850 (is-modified)", "[005] #0, state:up persistent_state:present, 'br-example': connection reapplied" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 30 November 2023 18:18:21 +0000 (0:00:00.049) 0:00:21.314 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 30 November 2023 18:18:21 +0000 (0:00:00.038) 0:00:21.353 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get DNS search entry for IPv6] ******************************************* task path: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tests_ipv6_dns_search.yml:101 Thursday 30 November 2023 18:18:21 +0000 (0:00:00.219) 0:00:21.573 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv6.dns-search", "connection", "show", "br-example" ], "delta": "0:00:00.019396", "end": "2023-11-30 18:18:21.784663", "rc": 0, "start": "2023-11-30 18:18:21.765267" } STDOUT: ipv6.dns-search: example.com TASK [Assert that DNS search setting for IPv6 is configured when only the static IPv6 address is configured] *** task path: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tests_ipv6_dns_search.yml:107 Thursday 30 November 2023 18:18:21 +0000 (0:00:00.264) 0:00:21.837 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 30 November 2023 18:18:21 +0000 (0:00:00.034) 0:00:21.872 ***** included: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 30 November 2023 18:18:21 +0000 (0:00:00.070) 0:00:21.943 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 30 November 2023 18:18:21 +0000 (0:00:00.049) 0:00:21.992 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 30 November 2023 18:18:22 +0000 (0:00:00.046) 0:00:22.038 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 30 November 2023 18:18:22 +0000 (0:00:00.047) 0:00:22.086 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 30 November 2023 18:18:24 +0000 (0:00:02.277) 0:00:24.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 : Print network provider] ********************* task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 30 November 2023 18:18:25 +0000 (0:00:00.960) 0:00:25.324 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 30 November 2023 18:18:25 +0000 (0:00:00.031) 0:00:25.356 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 30 November 2023 18:18:25 +0000 (0:00:00.028) 0:00:25.385 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 30 November 2023 18:18:25 +0000 (0:00:00.058) 0:00:25.444 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 30 November 2023 18:18:25 +0000 (0:00:00.060) 0:00:25.505 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 30 November 2023 18:18:25 +0000 (0:00:00.031) 0:00:25.536 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 30 November 2023 18:18:25 +0000 (0:00:00.032) 0:00:25.569 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 30 November 2023 18:18:25 +0000 (0:00:00.035) 0:00:25.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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 30 November 2023 18:18:26 +0000 (0:00:00.593) 0:00:26.198 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 30 November 2023 18:18:26 +0000 (0:00:00.038) 0:00:26.237 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 30 November 2023 18:18:26 +0000 (0:00:00.033) 0:00:26.270 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 30 November 2023 18:18:26 +0000 (0:00:00.034) 0:00:26.305 ***** 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-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 30 November 2023 18:18:26 +0000 (0:00:00.413) 0:00:26.719 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 30 November 2023 18:18:26 +0000 (0:00:00.045) 0:00:26.764 ***** 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-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 30 November 2023 18:18:26 +0000 (0:00:00.056) 0:00:26.820 ***** 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-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 30 November 2023 18:18:26 +0000 (0:00:00.056) 0:00:26.877 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 30 November 2023 18:18:26 +0000 (0:00:00.115) 0:00:26.993 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Assert that reconfiguring network connection is failed] ****************** task path: /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tests_ipv6_dns_search.yml:131 Thursday 30 November 2023 18:18:27 +0000 (0:00:00.257) 0:00:27.250 ***** 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-code_refactorh774nepo/tests/playbooks/tests_ipv6_dns_search.yml:138 Thursday 30 November 2023 18:18:27 +0000 (0:00:00.067) 0:00:27.317 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 30 November 2023 18:18:27 +0000 (0:00:00.059) 0:00:27.376 ***** included: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 30 November 2023 18:18:27 +0000 (0:00:00.089) 0:00:27.466 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 30 November 2023 18:18:27 +0000 (0:00:00.048) 0:00:27.515 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 30 November 2023 18:18:27 +0000 (0:00:00.045) 0:00:27.560 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 30 November 2023 18:18:27 +0000 (0:00:00.044) 0:00:27.605 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 30 November 2023 18:18:29 +0000 (0:00:02.286) 0:00:29.891 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 30 November 2023 18:18:30 +0000 (0:00:00.991) 0:00:30.883 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 30 November 2023 18:18:30 +0000 (0:00:00.048) 0:00:30.931 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 30 November 2023 18:18:30 +0000 (0:00:00.040) 0:00:30.971 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 30 November 2023 18:18:31 +0000 (0:00:00.031) 0:00:31.003 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 30 November 2023 18:18:31 +0000 (0:00:00.061) 0:00:31.065 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 30 November 2023 18:18:31 +0000 (0:00:00.029) 0:00:31.095 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 30 November 2023 18:18:31 +0000 (0:00:00.030) 0:00:31.125 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 30 November 2023 18:18:31 +0000 (0:00:00.034) 0:00:31.159 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 30 November 2023 18:18:31 +0000 (0:00:00.663) 0:00:31.823 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 30 November 2023 18:18:31 +0000 (0:00:00.062) 0:00:31.885 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 30 November 2023 18:18:31 +0000 (0:00:00.042) 0:00:31.928 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 30 November 2023 18:18:31 +0000 (0:00:00.043) 0:00:31.972 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "br-example", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 30 November 2023 18:18:32 +0000 (0:00:00.555) 0:00:32.528 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 30 November 2023 18:18:32 +0000 (0:00:00.032) 0:00:32.560 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 30 November 2023 18:18:32 +0000 (0:00:00.036) 0:00:32.596 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "br-example", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 30 November 2023 18:18:32 +0000 (0:00:00.041) 0:00:32.638 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 30 November 2023 18:18:32 +0000 (0:00:00.031) 0:00:32.669 ***** 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 30 November 2023 18:18:32 +0000 (0:00:00.224) 0:00:32.893 ***** =============================================================================== linux-system-roles.network : Check which services are running ----------- 2.46s /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.40s /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.34s /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.29s /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.28s /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.27s /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.06s /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Gathering Facts --------------------------------------------------------- 1.04s /WORKDIR/git-code_refactorh774nepo/tests/tests_ipv6_dns_search_nm.yml:5 ------- linux-system-roles.network : Check which packages are installed --------- 1.00s /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.99s /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.96s /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Enable and start NetworkManager ------------ 0.87s /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:85 Gathering Facts --------------------------------------------------------- 0.82s /WORKDIR/git-code_refactorh774nepo/tests/playbooks/tests_ipv6_dns_search.yml:2 linux-system-roles.network : Configure networking connection profiles --- 0.72s /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable and start NetworkManager ------------ 0.68s /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Enable and start NetworkManager ------------ 0.66s /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Enable and start NetworkManager ------------ 0.60s /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Enable and start NetworkManager ------------ 0.59s /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Configure networking connection profiles --- 0.56s /WORKDIR/git-code_refactorh774nepo/tests/roles/linux-system-roles.network/tasks/main.yml:122 Gather the minimum subset of ansible_facts required by the network role test --- 0.55s /WORKDIR/git-code_refactorh774nepo/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. ---^---^---^---^---^---