# 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-bond_options_rewritem63_1a4p/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-bond_options_rewritem63_1a4p/tests/tests_ipv6_dns_search_nm.yml:6 Tuesday 06 February 2024 16:36:14 +0000 (0:00:00.012) 0:00:00.012 ****** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/tests_ipv6_dns_search_nm.yml:9 Tuesday 06 February 2024 16:36:14 +0000 (0:00:00.670) 0:00:00.683 ****** included: /WORKDIR/git-bond_options_rewritem63_1a4p/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-bond_options_rewritem63_1a4p/tests/tasks/el_repo_setup.yml:3 Tuesday 06 February 2024 16:36:14 +0000 (0:00:00.025) 0:00:00.708 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/tasks/el_repo_setup.yml:19 Tuesday 06 February 2024 16:36:15 +0000 (0:00:00.443) 0:00:01.151 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/tasks/el_repo_setup.yml:24 Tuesday 06 February 2024 16:36:15 +0000 (0:00:00.473) 0:00:01.625 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/tasks/el_repo_setup.yml:28 Tuesday 06 February 2024 16:36:15 +0000 (0:00:00.050) 0:00:01.676 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/tasks/el_repo_setup.yml:53 Tuesday 06 February 2024 16:36:16 +0000 (0:00:00.075) 0:00:01.751 ****** included: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 9] *********************************************************** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/tasks/enable_epel.yml:8 Tuesday 06 February 2024 16:36:16 +0000 (0:00:00.058) 0:00:01.810 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/tasks/enable_epel.yml:24 Tuesday 06 February 2024 16:36:16 +0000 (0:00:00.015) 0:00:01.825 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/tasks/enable_epel.yml:30 Tuesday 06 February 2024 16:36:16 +0000 (0:00:00.018) 0:00:01.844 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/tasks/enable_epel.yml:35 Tuesday 06 February 2024 16:36:16 +0000 (0:00:00.049) 0:00:01.894 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/tasks/enable_epel.yml:40 Tuesday 06 February 2024 16:36:16 +0000 (0:00:00.027) 0:00:01.921 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/tests_ipv6_dns_search_nm.yml:11 Tuesday 06 February 2024 16:36:16 +0000 (0:00:00.036) 0:00:01.957 ****** 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-bond_options_rewritem63_1a4p/tests/playbooks/tests_ipv6_dns_search.yml:2 Tuesday 06 February 2024 16:36:16 +0000 (0:00:00.069) 0:00:02.027 ****** ok: [sut] META: ran handlers TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 16:36:16 +0000 (0:00:00.543) 0:00:02.570 ****** included: /WORKDIR/git-bond_options_rewritem63_1a4p/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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 16:36:16 +0000 (0:00:00.072) 0:00:02.643 ****** 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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 16:36:16 +0000 (0:00:00.036) 0:00:02.679 ****** 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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 16:36:17 +0000 (0:00:00.049) 0:00:02.729 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 16:36:17 +0000 (0:00:00.068) 0:00:02.798 ****** 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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 16:36:18 +0000 (0:00:01.485) 0:00:04.283 ****** 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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 16:36:19 +0000 (0:00:01.123) 0:00:05.407 ****** 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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 16:36:19 +0000 (0:00:00.022) 0:00:05.429 ****** 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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 16:36:19 +0000 (0:00:00.043) 0:00:05.472 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 16:36:19 +0000 (0:00:00.050) 0:00:05.523 ****** 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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 16:36:19 +0000 (0:00:00.057) 0:00:05.581 ****** 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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 16:36:19 +0000 (0:00:00.023) 0:00:05.605 ****** 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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 16:36:19 +0000 (0:00:00.022) 0:00:05.627 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 16:36:19 +0000 (0:00:00.042) 0:00:05.669 ****** 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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 16:36:20 +0000 (0:00:00.591) 0:00:06.261 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 16:36:20 +0000 (0:00:00.034) 0:00:06.296 ****** 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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 16:36:20 +0000 (0:00:00.027) 0:00:06.323 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 16:36:20 +0000 (0:00:00.053) 0:00:06.377 ****** 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, 140f4b8d-b121-4f94-a569-f498290b9af2 [004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 140f4b8d-b121-4f94-a569-f498290b9af2 (is-modified) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 16:36:21 +0000 (0:00:00.718) 0:00:07.095 ****** 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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 16:36:21 +0000 (0:00:00.045) 0:00:07.140 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'br-example': add connection br-example, 140f4b8d-b121-4f94-a569-f498290b9af2", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 140f4b8d-b121-4f94-a569-f498290b9af2 (is-modified)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 16:36:21 +0000 (0:00:00.036) 0:00:07.177 ****** 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, 140f4b8d-b121-4f94-a569-f498290b9af2\n[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 140f4b8d-b121-4f94-a569-f498290b9af2 (is-modified)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'br-example': add connection br-example, 140f4b8d-b121-4f94-a569-f498290b9af2", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 140f4b8d-b121-4f94-a569-f498290b9af2 (is-modified)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 16:36:21 +0000 (0:00:00.025) 0:00:07.203 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 16:36:21 +0000 (0:00:00.022) 0:00:07.225 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get DNS search entry for IPv4] ******************************************* task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tests_ipv6_dns_search.yml:23 Tuesday 06 February 2024 16:36:21 +0000 (0:00:00.305) 0:00:07.531 ****** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv4.dns-search", "connection", "show", "br-example" ], "delta": "0:00:00.018531", "end": "2024-02-06 16:36:22.148797", "rc": 0, "start": "2024-02-06 16:36:22.130266" } STDOUT: ipv4.dns-search: example.com TASK [Get DNS search entry for IPv6] ******************************************* task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tests_ipv6_dns_search.yml:29 Tuesday 06 February 2024 16:36:22 +0000 (0:00:00.380) 0:00:07.911 ****** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv6.dns-search", "connection", "show", "br-example" ], "delta": "0:00:00.017687", "end": "2024-02-06 16:36:22.397256", "rc": 0, "start": "2024-02-06 16:36:22.379569" } STDOUT: ipv6.dns-search: -- TASK [Assert that IPv4 DNS search entry is configured correctly] *************** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tests_ipv6_dns_search.yml:35 Tuesday 06 February 2024 16:36:22 +0000 (0:00:00.289) 0:00:08.201 ****** 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-bond_options_rewritem63_1a4p/tests/playbooks/tests_ipv6_dns_search.yml:41 Tuesday 06 February 2024 16:36:22 +0000 (0:00:00.047) 0:00:08.248 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 16:36:22 +0000 (0:00:00.060) 0:00:08.309 ****** included: /WORKDIR/git-bond_options_rewritem63_1a4p/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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 16:36:22 +0000 (0:00:00.068) 0:00:08.377 ****** 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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 16:36:22 +0000 (0:00:00.089) 0:00:08.466 ****** 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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 16:36:22 +0000 (0:00:00.042) 0:00:08.509 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 16:36:22 +0000 (0:00:00.036) 0:00:08.545 ****** 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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 16:36:24 +0000 (0:00:01.470) 0:00:10.015 ****** 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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 16:36:25 +0000 (0:00:01.040) 0:00:11.055 ****** 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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 16:36:25 +0000 (0:00:00.042) 0:00:11.097 ****** 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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 16:36:25 +0000 (0:00:00.062) 0:00:11.160 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 16:36:25 +0000 (0:00:00.037) 0:00:11.198 ****** 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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 16:36:25 +0000 (0:00:00.057) 0:00:11.255 ****** 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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 16:36:25 +0000 (0:00:00.036) 0:00:11.292 ****** 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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 16:36:25 +0000 (0:00:00.085) 0:00:11.378 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 16:36:25 +0000 (0:00:00.060) 0:00:11.438 ****** 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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 16:36:26 +0000 (0:00:00.411) 0:00:11.850 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 16:36:26 +0000 (0:00:00.033) 0:00:11.884 ****** 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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 16:36:26 +0000 (0:00:00.037) 0:00:11.922 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 16:36:26 +0000 (0:00:00.025) 0:00:11.948 ****** 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, 140f4b8d-b121-4f94-a569-f498290b9af2 [004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 140f4b8d-b121-4f94-a569-f498290b9af2 (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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 16:36:26 +0000 (0:00:00.446) 0:00:12.394 ****** 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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 16:36:26 +0000 (0:00:00.021) 0:00:12.415 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'br-example': update connection br-example, 140f4b8d-b121-4f94-a569-f498290b9af2", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 140f4b8d-b121-4f94-a569-f498290b9af2 (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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 16:36:26 +0000 (0:00:00.023) 0:00:12.438 ****** 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, 140f4b8d-b121-4f94-a569-f498290b9af2\n[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 140f4b8d-b121-4f94-a569-f498290b9af2 (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, 140f4b8d-b121-4f94-a569-f498290b9af2", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 140f4b8d-b121-4f94-a569-f498290b9af2 (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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 16:36:26 +0000 (0:00:00.029) 0:00:12.467 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 16:36:26 +0000 (0:00:00.031) 0:00:12.499 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get DNS search entry for IPv6] ******************************************* task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tests_ipv6_dns_search.yml:69 Tuesday 06 February 2024 16:36:26 +0000 (0:00:00.188) 0:00:12.687 ****** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv6.dns-search", "connection", "show", "br-example" ], "delta": "0:00:00.017681", "end": "2024-02-06 16:36:27.150449", "rc": 0, "start": "2024-02-06 16:36:27.132768" } 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-bond_options_rewritem63_1a4p/tests/playbooks/tests_ipv6_dns_search.yml:75 Tuesday 06 February 2024 16:36:27 +0000 (0:00:00.247) 0:00:12.935 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 16:36:27 +0000 (0:00:00.056) 0:00:12.991 ****** included: /WORKDIR/git-bond_options_rewritem63_1a4p/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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 16:36:27 +0000 (0:00:00.091) 0:00:13.083 ****** 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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 16:36:27 +0000 (0:00:00.124) 0:00:13.208 ****** 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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 16:36:27 +0000 (0:00:00.038) 0:00:13.246 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 16:36:27 +0000 (0:00:00.022) 0:00:13.269 ****** 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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 16:36:28 +0000 (0:00:01.415) 0:00:14.685 ****** 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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 16:36:29 +0000 (0:00:01.028) 0:00:15.713 ****** 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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 16:36:30 +0000 (0:00:00.062) 0:00:15.775 ****** 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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 16:36:30 +0000 (0:00:00.055) 0:00:15.830 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 16:36:30 +0000 (0:00:00.040) 0:00:15.871 ****** 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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 16:36:30 +0000 (0:00:00.116) 0:00:15.988 ****** 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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 16:36:30 +0000 (0:00:00.049) 0:00:16.037 ****** 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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 16:36:30 +0000 (0:00:00.033) 0:00:16.071 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 16:36:30 +0000 (0:00:00.131) 0:00:16.203 ****** 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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 16:36:30 +0000 (0:00:00.421) 0:00:16.625 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 16:36:30 +0000 (0:00:00.047) 0:00:16.672 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 16:36:31 +0000 (0:00:00.064) 0:00:16.737 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 16:36:31 +0000 (0:00:00.044) 0:00:16.781 ****** 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, 140f4b8d-b121-4f94-a569-f498290b9af2 [004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 140f4b8d-b121-4f94-a569-f498290b9af2 (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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 16:36:31 +0000 (0:00:00.497) 0:00:17.279 ****** 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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 16:36:31 +0000 (0:00:00.022) 0:00:17.301 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'br-example': update connection br-example, 140f4b8d-b121-4f94-a569-f498290b9af2", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 140f4b8d-b121-4f94-a569-f498290b9af2 (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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 16:36:31 +0000 (0:00:00.027) 0:00:17.329 ****** 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, 140f4b8d-b121-4f94-a569-f498290b9af2\n[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 140f4b8d-b121-4f94-a569-f498290b9af2 (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, 140f4b8d-b121-4f94-a569-f498290b9af2", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 140f4b8d-b121-4f94-a569-f498290b9af2 (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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 16:36:31 +0000 (0:00:00.044) 0:00:17.373 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 16:36:31 +0000 (0:00:00.058) 0:00:17.431 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get DNS search entry for IPv6] ******************************************* task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tests_ipv6_dns_search.yml:101 Tuesday 06 February 2024 16:36:31 +0000 (0:00:00.267) 0:00:17.699 ****** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv6.dns-search", "connection", "show", "br-example" ], "delta": "0:00:00.017437", "end": "2024-02-06 16:36:32.172871", "rc": 0, "start": "2024-02-06 16:36:32.155434" } 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-bond_options_rewritem63_1a4p/tests/playbooks/tests_ipv6_dns_search.yml:107 Tuesday 06 February 2024 16:36:32 +0000 (0:00:00.238) 0:00:17.938 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 16:36:32 +0000 (0:00:00.035) 0:00:17.973 ****** included: /WORKDIR/git-bond_options_rewritem63_1a4p/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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 16:36:32 +0000 (0:00:00.055) 0:00:18.028 ****** 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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 16:36:32 +0000 (0:00:00.089) 0:00:18.118 ****** 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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 16:36:32 +0000 (0:00:00.044) 0:00:18.163 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 16:36:32 +0000 (0:00:00.059) 0:00:18.222 ****** 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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 16:36:33 +0000 (0:00:01.427) 0:00:19.650 ****** 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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 16:36:34 +0000 (0:00:00.967) 0:00:20.618 ****** 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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 16:36:34 +0000 (0:00:00.040) 0:00:20.658 ****** 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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 16:36:34 +0000 (0:00:00.033) 0:00:20.692 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 16:36:35 +0000 (0:00:00.043) 0:00:20.735 ****** 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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 16:36:35 +0000 (0:00:00.105) 0:00:20.841 ****** 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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 16:36:35 +0000 (0:00:00.050) 0:00:20.892 ****** 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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 16:36:35 +0000 (0:00:00.025) 0:00:20.918 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 16:36:35 +0000 (0:00:00.037) 0:00:20.956 ****** 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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 16:36:35 +0000 (0:00:00.478) 0:00:21.434 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 16:36:35 +0000 (0:00:00.068) 0:00:21.502 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 16:36:35 +0000 (0:00:00.084) 0:00:21.587 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 16:36:35 +0000 (0:00:00.049) 0:00:21.636 ****** 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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 16:36:36 +0000 (0:00:00.363) 0:00:21.999 ****** 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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 16:36:36 +0000 (0:00:00.037) 0:00:22.037 ****** 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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 16:36:36 +0000 (0:00:00.042) 0:00:22.079 ****** 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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 16:36:36 +0000 (0:00:00.032) 0:00:22.111 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 16:36:36 +0000 (0:00:00.044) 0:00:22.156 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Assert that reconfiguring network connection is failed] ****************** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tests_ipv6_dns_search.yml:131 Tuesday 06 February 2024 16:36:36 +0000 (0:00:00.239) 0:00:22.395 ****** 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-bond_options_rewritem63_1a4p/tests/playbooks/tests_ipv6_dns_search.yml:138 Tuesday 06 February 2024 16:36:36 +0000 (0:00:00.045) 0:00:22.441 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 16:36:36 +0000 (0:00:00.035) 0:00:22.476 ****** included: /WORKDIR/git-bond_options_rewritem63_1a4p/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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 16:36:36 +0000 (0:00:00.141) 0:00:22.618 ****** 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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 16:36:36 +0000 (0:00:00.063) 0:00:22.681 ****** 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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 16:36:37 +0000 (0:00:00.075) 0:00:22.756 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 16:36:37 +0000 (0:00:00.032) 0:00:22.789 ****** 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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 16:36:38 +0000 (0:00:01.435) 0:00:24.224 ****** 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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 16:36:39 +0000 (0:00:01.005) 0:00:25.229 ****** 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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 16:36:39 +0000 (0:00:00.099) 0:00:25.329 ****** 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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 16:36:39 +0000 (0:00:00.070) 0:00:25.400 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 16:36:39 +0000 (0:00:00.054) 0:00:25.454 ****** 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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 16:36:39 +0000 (0:00:00.099) 0:00:25.553 ****** 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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 16:36:39 +0000 (0:00:00.084) 0:00:25.638 ****** 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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 16:36:40 +0000 (0:00:00.090) 0:00:25.729 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 16:36:40 +0000 (0:00:00.040) 0:00:25.770 ****** 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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 16:36:40 +0000 (0:00:00.383) 0:00:26.153 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 16:36:40 +0000 (0:00:00.046) 0:00:26.199 ****** 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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 16:36:40 +0000 (0:00:00.034) 0:00:26.233 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 16:36:40 +0000 (0:00:00.046) 0:00:26.280 ****** 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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 16:36:41 +0000 (0:00:00.440) 0:00:26.720 ****** 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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 16:36:41 +0000 (0:00:00.023) 0:00:26.744 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 16:36:41 +0000 (0:00:00.052) 0:00:26.796 ****** 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-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 16:36:41 +0000 (0:00:00.050) 0:00:26.847 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 16:36:41 +0000 (0:00:00.037) 0:00:26.885 ****** 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 06 February 2024 16:36:41 +0000 (0:00:00.196) 0:00:27.081 ****** =============================================================================== linux-system-roles.network : Check which services are running ----------- 1.49s /WORKDIR/git-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.47s /WORKDIR/git-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.44s /WORKDIR/git-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.43s /WORKDIR/git-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.42s /WORKDIR/git-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.12s /WORKDIR/git-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.04s /WORKDIR/git-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.03s /WORKDIR/git-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.01s /WORKDIR/git-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.97s /WORKDIR/git-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Configure networking connection profiles --- 0.72s /WORKDIR/git-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:125 Gathering Facts --------------------------------------------------------- 0.67s /WORKDIR/git-bond_options_rewritem63_1a4p/tests/tests_ipv6_dns_search_nm.yml:6 linux-system-roles.network : Enable and start NetworkManager ------------ 0.59s /WORKDIR/git-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:88 Gathering Facts --------------------------------------------------------- 0.54s /WORKDIR/git-bond_options_rewritem63_1a4p/tests/playbooks/tests_ipv6_dns_search.yml:2 linux-system-roles.network : Configure networking connection profiles --- 0.50s /WORKDIR/git-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Enable and start NetworkManager ------------ 0.48s /WORKDIR/git-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:88 Check if system is ostree ----------------------------------------------- 0.47s /WORKDIR/git-bond_options_rewritem63_1a4p/tests/tasks/el_repo_setup.yml:19 ---- linux-system-roles.network : Configure networking connection profiles --- 0.45s /WORKDIR/git-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:125 Gather the minimum subset of ansible_facts required by the network role test --- 0.44s /WORKDIR/git-bond_options_rewritem63_1a4p/tests/tasks/el_repo_setup.yml:3 ----- linux-system-roles.network : Configure networking connection profiles --- 0.44s /WORKDIR/git-bond_options_rewritem63_1a4p/tests/roles/linux-system-roles.network/tasks/main.yml:125 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---