# 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_rewritergf4fa99/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_rewritergf4fa99/tests/tests_ipv6_dns_search_nm.yml:6 Friday 09 February 2024 21:25:58 +0000 (0:00:00.014) 0:00:00.014 ******* ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewritergf4fa99/tests/tests_ipv6_dns_search_nm.yml:9 Friday 09 February 2024 21:25:59 +0000 (0:00:00.979) 0:00:00.993 ******* included: /WORKDIR/git-bond_options_rewritergf4fa99/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_rewritergf4fa99/tests/tasks/el_repo_setup.yml:3 Friday 09 February 2024 21:25:59 +0000 (0:00:00.027) 0:00:01.021 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewritergf4fa99/tests/tasks/el_repo_setup.yml:19 Friday 09 February 2024 21:25:59 +0000 (0:00:00.603) 0:00:01.624 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewritergf4fa99/tests/tasks/el_repo_setup.yml:24 Friday 09 February 2024 21:25:59 +0000 (0:00:00.271) 0:00:01.896 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewritergf4fa99/tests/tasks/el_repo_setup.yml:28 Friday 09 February 2024 21:25:59 +0000 (0:00:00.023) 0:00:01.919 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewritergf4fa99/tests/tasks/el_repo_setup.yml:53 Friday 09 February 2024 21:25:59 +0000 (0:00:00.018) 0:00:01.938 ******* included: /WORKDIR/git-bond_options_rewritergf4fa99/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 38] ********************************************************** task path: /WORKDIR/git-bond_options_rewritergf4fa99/tests/tasks/enable_epel.yml:8 Friday 09 February 2024 21:26:00 +0000 (0:00:00.033) 0:00:01.972 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-bond_options_rewritergf4fa99/tests/tasks/enable_epel.yml:24 Friday 09 February 2024 21:26:00 +0000 (0:00:00.010) 0:00:01.983 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewritergf4fa99/tests/tasks/enable_epel.yml:30 Friday 09 February 2024 21:26:00 +0000 (0:00:00.012) 0:00:01.995 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewritergf4fa99/tests/tasks/enable_epel.yml:35 Friday 09 February 2024 21:26:00 +0000 (0:00:00.010) 0:00:02.005 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewritergf4fa99/tests/tasks/enable_epel.yml:40 Friday 09 February 2024 21:26:00 +0000 (0:00:00.010) 0:00:02.015 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-bond_options_rewritergf4fa99/tests/tests_ipv6_dns_search_nm.yml:11 Friday 09 February 2024 21:26:00 +0000 (0:00:00.010) 0:00:02.025 ******* 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_rewritergf4fa99/tests/playbooks/tests_ipv6_dns_search.yml:2 Friday 09 February 2024 21:26:00 +0000 (0:00:00.013) 0:00:02.039 ******* ok: [sut] META: ran handlers TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 09 February 2024 21:26:00 +0000 (0:00:00.820) 0:00:02.859 ******* included: /WORKDIR/git-bond_options_rewritergf4fa99/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_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 09 February 2024 21:26:00 +0000 (0:00:00.069) 0:00:02.928 ******* 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_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 09 February 2024 21:26:00 +0000 (0:00:00.012) 0:00:02.941 ******* 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_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 09 February 2024 21:26:01 +0000 (0:00:00.011) 0:00:02.953 ******* 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_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 09 February 2024 21:26:01 +0000 (0:00:00.011) 0:00:02.964 ******* 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_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 09 February 2024 21:26:03 +0000 (0:00:02.328) 0:00:05.293 ******* 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_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 09 February 2024 21:26:04 +0000 (0:00:01.121) 0:00:06.414 ******* 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_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 09 February 2024 21:26:04 +0000 (0:00:00.027) 0:00:06.442 ******* 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_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 09 February 2024 21:26:04 +0000 (0:00:00.045) 0:00:06.488 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 09 February 2024 21:26:04 +0000 (0:00:00.035) 0:00:06.524 ******* 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_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/main.yml:43 Friday 09 February 2024 21:26:04 +0000 (0:00:00.053) 0:00:06.577 ******* 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_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/main.yml:58 Friday 09 February 2024 21:26:04 +0000 (0:00:00.024) 0:00:06.601 ******* 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_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/main.yml:74 Friday 09 February 2024 21:26:04 +0000 (0:00:00.028) 0:00:06.630 ******* 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_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/main.yml:88 Friday 09 February 2024 21:26:04 +0000 (0:00:00.033) 0:00:06.663 ******* 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_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/main.yml:99 Friday 09 February 2024 21:26:05 +0000 (0:00:00.755) 0:00:07.419 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/main.yml:108 Friday 09 February 2024 21:26:05 +0000 (0:00:00.027) 0:00:07.446 ******* 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_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/main.yml:116 Friday 09 February 2024 21:26:05 +0000 (0:00:00.024) 0:00:07.471 ******* 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_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/main.yml:125 Friday 09 February 2024 21:26:05 +0000 (0:00:00.030) 0:00:07.501 ******* 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, 127a43eb-6670-4df8-8d99-ddb098cc2c56 [004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 127a43eb-6670-4df8-8d99-ddb098cc2c56 (is-modified) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/main.yml:137 Friday 09 February 2024 21:26:06 +0000 (0:00:00.699) 0:00:08.200 ******* 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_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/main.yml:143 Friday 09 February 2024 21:26:06 +0000 (0:00:00.024) 0:00:08.225 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'br-example': add connection br-example, 127a43eb-6670-4df8-8d99-ddb098cc2c56", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 127a43eb-6670-4df8-8d99-ddb098cc2c56 (is-modified)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/main.yml:147 Friday 09 February 2024 21:26:06 +0000 (0:00:00.026) 0:00:08.251 ******* 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, 127a43eb-6670-4df8-8d99-ddb098cc2c56\n[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 127a43eb-6670-4df8-8d99-ddb098cc2c56 (is-modified)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'br-example': add connection br-example, 127a43eb-6670-4df8-8d99-ddb098cc2c56", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 127a43eb-6670-4df8-8d99-ddb098cc2c56 (is-modified)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/main.yml:152 Friday 09 February 2024 21:26:06 +0000 (0:00:00.030) 0:00:08.282 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/main.yml:158 Friday 09 February 2024 21:26:06 +0000 (0:00:00.047) 0:00:08.330 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get DNS search entry for IPv4] ******************************************* task path: /WORKDIR/git-bond_options_rewritergf4fa99/tests/playbooks/tests_ipv6_dns_search.yml:23 Friday 09 February 2024 21:26:06 +0000 (0:00:00.303) 0:00:08.634 ******* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv4.dns-search", "connection", "show", "br-example" ], "delta": "0:00:00.019761", "end": "2024-02-09 21:26:06.973124", "rc": 0, "start": "2024-02-09 21:26:06.953363" } STDOUT: ipv4.dns-search: example.com TASK [Get DNS search entry for IPv6] ******************************************* task path: /WORKDIR/git-bond_options_rewritergf4fa99/tests/playbooks/tests_ipv6_dns_search.yml:29 Friday 09 February 2024 21:26:07 +0000 (0:00:00.318) 0:00:08.952 ******* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv6.dns-search", "connection", "show", "br-example" ], "delta": "0:00:00.019697", "end": "2024-02-09 21:26:07.217129", "rc": 0, "start": "2024-02-09 21:26:07.197432" } STDOUT: ipv6.dns-search: -- TASK [Assert that IPv4 DNS search entry is configured correctly] *************** task path: /WORKDIR/git-bond_options_rewritergf4fa99/tests/playbooks/tests_ipv6_dns_search.yml:35 Friday 09 February 2024 21:26:07 +0000 (0:00:00.242) 0:00:09.195 ******* 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_rewritergf4fa99/tests/playbooks/tests_ipv6_dns_search.yml:41 Friday 09 February 2024 21:26:07 +0000 (0:00:00.024) 0:00:09.220 ******* 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_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 09 February 2024 21:26:07 +0000 (0:00:00.027) 0:00:09.247 ******* included: /WORKDIR/git-bond_options_rewritergf4fa99/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_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 09 February 2024 21:26:07 +0000 (0:00:00.043) 0:00:09.290 ******* 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_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 09 February 2024 21:26:07 +0000 (0:00:00.031) 0:00:09.321 ******* 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_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 09 February 2024 21:26:07 +0000 (0:00:00.057) 0:00:09.379 ******* 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_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 09 February 2024 21:26:07 +0000 (0:00:00.026) 0:00:09.406 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 09 February 2024 21:26:09 +0000 (0:00:02.441) 0:00:11.848 ******* 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_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 09 February 2024 21:26:10 +0000 (0:00:00.954) 0:00:12.802 ******* 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_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 09 February 2024 21:26:10 +0000 (0:00:00.026) 0:00:12.828 ******* 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_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 09 February 2024 21:26:10 +0000 (0:00:00.027) 0:00:12.856 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 09 February 2024 21:26:10 +0000 (0:00:00.026) 0:00:12.883 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/main.yml:43 Friday 09 February 2024 21:26:10 +0000 (0:00:00.046) 0:00:12.929 ******* 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_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/main.yml:58 Friday 09 February 2024 21:26:11 +0000 (0:00:00.023) 0:00:12.953 ******* 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_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/main.yml:74 Friday 09 February 2024 21:26:11 +0000 (0:00:00.024) 0:00:12.977 ******* 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_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/main.yml:88 Friday 09 February 2024 21:26:11 +0000 (0:00:00.027) 0:00:13.005 ******* 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_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/main.yml:99 Friday 09 February 2024 21:26:11 +0000 (0:00:00.588) 0:00:13.593 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/main.yml:108 Friday 09 February 2024 21:26:11 +0000 (0:00:00.028) 0:00:13.622 ******* 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_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/main.yml:116 Friday 09 February 2024 21:26:11 +0000 (0:00:00.031) 0:00:13.653 ******* 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_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/main.yml:125 Friday 09 February 2024 21:26:11 +0000 (0:00:00.024) 0:00:13.677 ******* 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, 127a43eb-6670-4df8-8d99-ddb098cc2c56 [004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 127a43eb-6670-4df8-8d99-ddb098cc2c56 (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_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/main.yml:137 Friday 09 February 2024 21:26:12 +0000 (0:00:00.551) 0:00:14.229 ******* 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_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/main.yml:143 Friday 09 February 2024 21:26:12 +0000 (0:00:00.024) 0:00:14.254 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'br-example': update connection br-example, 127a43eb-6670-4df8-8d99-ddb098cc2c56", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 127a43eb-6670-4df8-8d99-ddb098cc2c56 (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_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/main.yml:147 Friday 09 February 2024 21:26:12 +0000 (0:00:00.026) 0:00:14.280 ******* 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, 127a43eb-6670-4df8-8d99-ddb098cc2c56\n[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 127a43eb-6670-4df8-8d99-ddb098cc2c56 (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, 127a43eb-6670-4df8-8d99-ddb098cc2c56", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 127a43eb-6670-4df8-8d99-ddb098cc2c56 (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_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/main.yml:152 Friday 09 February 2024 21:26:12 +0000 (0:00:00.027) 0:00:14.308 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/main.yml:158 Friday 09 February 2024 21:26:12 +0000 (0:00:00.036) 0:00:14.344 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get DNS search entry for IPv6] ******************************************* task path: /WORKDIR/git-bond_options_rewritergf4fa99/tests/playbooks/tests_ipv6_dns_search.yml:69 Friday 09 February 2024 21:26:12 +0000 (0:00:00.231) 0:00:14.575 ******* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv6.dns-search", "connection", "show", "br-example" ], "delta": "0:00:00.020395", "end": "2024-02-09 21:26:12.846021", "rc": 0, "start": "2024-02-09 21:26:12.825626" } 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_rewritergf4fa99/tests/playbooks/tests_ipv6_dns_search.yml:75 Friday 09 February 2024 21:26:12 +0000 (0:00:00.252) 0:00:14.828 ******* 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_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 09 February 2024 21:26:12 +0000 (0:00:00.025) 0:00:14.854 ******* included: /WORKDIR/git-bond_options_rewritergf4fa99/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_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 09 February 2024 21:26:12 +0000 (0:00:00.051) 0:00:14.905 ******* 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_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 09 February 2024 21:26:12 +0000 (0:00:00.034) 0:00:14.939 ******* 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_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 09 February 2024 21:26:13 +0000 (0:00:00.029) 0:00:14.969 ******* 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_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 09 February 2024 21:26:13 +0000 (0:00:00.024) 0:00:14.993 ******* 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_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 09 February 2024 21:26:15 +0000 (0:00:02.478) 0:00:17.472 ******* 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_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 09 February 2024 21:26:16 +0000 (0:00:00.971) 0:00:18.444 ******* 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_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 09 February 2024 21:26:16 +0000 (0:00:00.025) 0:00:18.470 ******* 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_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 09 February 2024 21:26:16 +0000 (0:00:00.057) 0:00:18.527 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 09 February 2024 21:26:16 +0000 (0:00:00.027) 0:00:18.554 ******* 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_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/main.yml:43 Friday 09 February 2024 21:26:16 +0000 (0:00:00.069) 0:00:18.623 ******* 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_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/main.yml:58 Friday 09 February 2024 21:26:16 +0000 (0:00:00.045) 0:00:18.669 ******* 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_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/main.yml:74 Friday 09 February 2024 21:26:16 +0000 (0:00:00.026) 0:00:18.696 ******* 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_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/main.yml:88 Friday 09 February 2024 21:26:16 +0000 (0:00:00.038) 0:00:18.734 ******* 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_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/main.yml:99 Friday 09 February 2024 21:26:17 +0000 (0:00:00.598) 0:00:19.333 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/main.yml:108 Friday 09 February 2024 21:26:17 +0000 (0:00:00.046) 0:00:19.380 ******* 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_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/main.yml:116 Friday 09 February 2024 21:26:17 +0000 (0:00:00.030) 0:00:19.410 ******* 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_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/main.yml:125 Friday 09 February 2024 21:26:17 +0000 (0:00:00.026) 0:00:19.437 ******* 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, 127a43eb-6670-4df8-8d99-ddb098cc2c56 [004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 127a43eb-6670-4df8-8d99-ddb098cc2c56 (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_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/main.yml:137 Friday 09 February 2024 21:26:17 +0000 (0:00:00.431) 0:00:19.868 ******* 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_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/main.yml:143 Friday 09 February 2024 21:26:17 +0000 (0:00:00.023) 0:00:19.892 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'br-example': update connection br-example, 127a43eb-6670-4df8-8d99-ddb098cc2c56", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 127a43eb-6670-4df8-8d99-ddb098cc2c56 (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_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/main.yml:147 Friday 09 February 2024 21:26:17 +0000 (0:00:00.025) 0:00:19.918 ******* 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, 127a43eb-6670-4df8-8d99-ddb098cc2c56\n[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 127a43eb-6670-4df8-8d99-ddb098cc2c56 (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, 127a43eb-6670-4df8-8d99-ddb098cc2c56", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 127a43eb-6670-4df8-8d99-ddb098cc2c56 (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_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/main.yml:152 Friday 09 February 2024 21:26:18 +0000 (0:00:00.025) 0:00:19.943 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/main.yml:158 Friday 09 February 2024 21:26:18 +0000 (0:00:00.061) 0:00:20.004 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get DNS search entry for IPv6] ******************************************* task path: /WORKDIR/git-bond_options_rewritergf4fa99/tests/playbooks/tests_ipv6_dns_search.yml:101 Friday 09 February 2024 21:26:18 +0000 (0:00:00.216) 0:00:20.221 ******* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv6.dns-search", "connection", "show", "br-example" ], "delta": "0:00:00.019803", "end": "2024-02-09 21:26:18.489138", "rc": 0, "start": "2024-02-09 21:26:18.469335" } 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_rewritergf4fa99/tests/playbooks/tests_ipv6_dns_search.yml:107 Friday 09 February 2024 21:26:18 +0000 (0:00:00.248) 0:00:20.469 ******* 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_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 09 February 2024 21:26:18 +0000 (0:00:00.029) 0:00:20.499 ******* included: /WORKDIR/git-bond_options_rewritergf4fa99/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_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 09 February 2024 21:26:18 +0000 (0:00:00.044) 0:00:20.544 ******* 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_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 09 February 2024 21:26:18 +0000 (0:00:00.030) 0:00:20.575 ******* 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_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 09 February 2024 21:26:18 +0000 (0:00:00.026) 0:00:20.601 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 09 February 2024 21:26:18 +0000 (0:00:00.026) 0:00:20.628 ******* 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_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 09 February 2024 21:26:21 +0000 (0:00:02.333) 0:00:22.962 ******* 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_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 09 February 2024 21:26:21 +0000 (0:00:00.938) 0:00:23.900 ******* 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_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 09 February 2024 21:26:21 +0000 (0:00:00.027) 0:00:23.927 ******* 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_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 09 February 2024 21:26:22 +0000 (0:00:00.026) 0:00:23.954 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 09 February 2024 21:26:22 +0000 (0:00:00.025) 0:00:23.979 ******* 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_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/main.yml:43 Friday 09 February 2024 21:26:22 +0000 (0:00:00.050) 0:00:24.029 ******* 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_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/main.yml:58 Friday 09 February 2024 21:26:22 +0000 (0:00:00.059) 0:00:24.089 ******* 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_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/main.yml:74 Friday 09 February 2024 21:26:22 +0000 (0:00:00.025) 0:00:24.114 ******* 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_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/main.yml:88 Friday 09 February 2024 21:26:22 +0000 (0:00:00.029) 0:00:24.143 ******* 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_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/main.yml:99 Friday 09 February 2024 21:26:22 +0000 (0:00:00.588) 0:00:24.732 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/main.yml:108 Friday 09 February 2024 21:26:22 +0000 (0:00:00.029) 0:00:24.761 ******* 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_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/main.yml:116 Friday 09 February 2024 21:26:22 +0000 (0:00:00.025) 0:00:24.787 ******* 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_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/main.yml:125 Friday 09 February 2024 21:26:22 +0000 (0:00:00.025) 0:00:24.812 ******* 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_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/main.yml:137 Friday 09 February 2024 21:26:23 +0000 (0:00:00.370) 0:00:25.182 ******* 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_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/main.yml:143 Friday 09 February 2024 21:26:23 +0000 (0:00:00.034) 0:00:25.217 ******* 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_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/main.yml:147 Friday 09 February 2024 21:26:23 +0000 (0:00:00.027) 0:00:25.244 ******* 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_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/main.yml:152 Friday 09 February 2024 21:26:23 +0000 (0:00:00.028) 0:00:25.273 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/main.yml:158 Friday 09 February 2024 21:26:23 +0000 (0:00:00.030) 0:00:25.304 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Assert that reconfiguring network connection is failed] ****************** task path: /WORKDIR/git-bond_options_rewritergf4fa99/tests/playbooks/tests_ipv6_dns_search.yml:131 Friday 09 February 2024 21:26:23 +0000 (0:00:00.294) 0:00:25.599 ******* 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_rewritergf4fa99/tests/playbooks/tests_ipv6_dns_search.yml:138 Friday 09 February 2024 21:26:23 +0000 (0:00:00.043) 0:00:25.642 ******* 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_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 09 February 2024 21:26:23 +0000 (0:00:00.032) 0:00:25.674 ******* included: /WORKDIR/git-bond_options_rewritergf4fa99/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_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 09 February 2024 21:26:23 +0000 (0:00:00.047) 0:00:25.722 ******* 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_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 09 February 2024 21:26:23 +0000 (0:00:00.033) 0:00:25.755 ******* 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_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 09 February 2024 21:26:23 +0000 (0:00:00.026) 0:00:25.782 ******* 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_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 09 February 2024 21:26:23 +0000 (0:00:00.023) 0:00:25.805 ******* 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_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 09 February 2024 21:26:26 +0000 (0:00:02.422) 0:00:28.227 ******* 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_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 09 February 2024 21:26:27 +0000 (0:00:01.017) 0:00:29.245 ******* 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_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 09 February 2024 21:26:27 +0000 (0:00:00.030) 0:00:29.275 ******* 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_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 09 February 2024 21:26:27 +0000 (0:00:00.027) 0:00:29.302 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 09 February 2024 21:26:27 +0000 (0:00:00.031) 0:00:29.334 ******* 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_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/main.yml:43 Friday 09 February 2024 21:26:27 +0000 (0:00:00.050) 0:00:29.384 ******* 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_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/main.yml:58 Friday 09 February 2024 21:26:27 +0000 (0:00:00.024) 0:00:29.408 ******* 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_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/main.yml:74 Friday 09 February 2024 21:26:27 +0000 (0:00:00.026) 0:00:29.435 ******* 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_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/main.yml:88 Friday 09 February 2024 21:26:27 +0000 (0:00:00.028) 0:00:29.463 ******* 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_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/main.yml:99 Friday 09 February 2024 21:26:28 +0000 (0:00:00.631) 0:00:30.095 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/main.yml:108 Friday 09 February 2024 21:26:28 +0000 (0:00:00.030) 0:00:30.126 ******* 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_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/main.yml:116 Friday 09 February 2024 21:26:28 +0000 (0:00:00.024) 0:00:30.151 ******* 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_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/main.yml:125 Friday 09 February 2024 21:26:28 +0000 (0:00:00.025) 0:00:30.176 ******* 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_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/main.yml:137 Friday 09 February 2024 21:26:28 +0000 (0:00:00.479) 0:00:30.656 ******* 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_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/main.yml:143 Friday 09 February 2024 21:26:28 +0000 (0:00:00.027) 0:00:30.683 ******* 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_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/main.yml:147 Friday 09 February 2024 21:26:28 +0000 (0:00:00.029) 0:00:30.712 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "br-example", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/main.yml:152 Friday 09 February 2024 21:26:28 +0000 (0:00:00.040) 0:00:30.752 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/main.yml:158 Friday 09 February 2024 21:26:28 +0000 (0:00:00.031) 0:00:30.784 ******* 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 Friday 09 February 2024 21:26:29 +0000 (0:00:00.197) 0:00:30.981 ******* =============================================================================== linux-system-roles.network : Check which services are running ----------- 2.48s /WORKDIR/git-bond_options_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.44s /WORKDIR/git-bond_options_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.42s /WORKDIR/git-bond_options_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.33s /WORKDIR/git-bond_options_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.33s /WORKDIR/git-bond_options_rewritergf4fa99/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_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.02s /WORKDIR/git-bond_options_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Gathering Facts --------------------------------------------------------- 0.98s /WORKDIR/git-bond_options_rewritergf4fa99/tests/tests_ipv6_dns_search_nm.yml:6 linux-system-roles.network : Check which packages are installed --------- 0.97s /WORKDIR/git-bond_options_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.95s /WORKDIR/git-bond_options_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.94s /WORKDIR/git-bond_options_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Gathering Facts --------------------------------------------------------- 0.82s /WORKDIR/git-bond_options_rewritergf4fa99/tests/playbooks/tests_ipv6_dns_search.yml:2 linux-system-roles.network : Enable and start NetworkManager ------------ 0.76s /WORKDIR/git-bond_options_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/main.yml:88 linux-system-roles.network : Configure networking connection profiles --- 0.70s /WORKDIR/git-bond_options_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Enable and start NetworkManager ------------ 0.63s /WORKDIR/git-bond_options_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/main.yml:88 Gather the minimum subset of ansible_facts required by the network role test --- 0.60s /WORKDIR/git-bond_options_rewritergf4fa99/tests/tasks/el_repo_setup.yml:3 ----- linux-system-roles.network : Enable and start NetworkManager ------------ 0.60s /WORKDIR/git-bond_options_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/main.yml:88 linux-system-roles.network : Enable and start NetworkManager ------------ 0.59s /WORKDIR/git-bond_options_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/main.yml:88 linux-system-roles.network : Enable and start NetworkManager ------------ 0.59s /WORKDIR/git-bond_options_rewritergf4fa99/tests/roles/linux-system-roles.network/tasks/main.yml:88 linux-system-roles.network : Configure networking connection profiles --- 0.55s /WORKDIR/git-bond_options_rewritergf4fa99/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. ---^---^---^---^---^---