# 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_rewritejvj9c8ut/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_rewritejvj9c8ut/tests/tests_ipv6_dns_search_nm.yml:6 Tuesday 06 February 2024 22:02:08 +0000 (0:00:00.011) 0:00:00.011 ****** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/tests_ipv6_dns_search_nm.yml:9 Tuesday 06 February 2024 22:02:09 +0000 (0:00:00.914) 0:00:00.926 ****** included: /WORKDIR/git-bond_options_rewritejvj9c8ut/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_rewritejvj9c8ut/tests/tasks/el_repo_setup.yml:3 Tuesday 06 February 2024 22:02:09 +0000 (0:00:00.010) 0:00:00.937 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/tasks/el_repo_setup.yml:19 Tuesday 06 February 2024 22:02:10 +0000 (0:00:00.553) 0:00:01.491 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/tasks/el_repo_setup.yml:24 Tuesday 06 February 2024 22:02:10 +0000 (0:00:00.264) 0:00:01.755 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/tasks/el_repo_setup.yml:28 Tuesday 06 February 2024 22:02:10 +0000 (0:00:00.020) 0:00:01.776 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/tasks/el_repo_setup.yml:53 Tuesday 06 February 2024 22:02:10 +0000 (0:00:00.017) 0:00:01.793 ****** included: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 38] ********************************************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/tasks/enable_epel.yml:8 Tuesday 06 February 2024 22:02:10 +0000 (0:00:00.031) 0:00:01.824 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/tasks/enable_epel.yml:24 Tuesday 06 February 2024 22:02:10 +0000 (0:00:00.010) 0:00:01.834 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/tasks/enable_epel.yml:30 Tuesday 06 February 2024 22:02:10 +0000 (0:00:00.008) 0:00:01.843 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/tasks/enable_epel.yml:35 Tuesday 06 February 2024 22:02:10 +0000 (0:00:00.008) 0:00:01.851 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/tasks/enable_epel.yml:40 Tuesday 06 February 2024 22:02:10 +0000 (0:00:00.008) 0:00:01.859 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/tests_ipv6_dns_search_nm.yml:11 Tuesday 06 February 2024 22:02:10 +0000 (0:00:00.009) 0:00:01.869 ****** 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_rewritejvj9c8ut/tests/playbooks/tests_ipv6_dns_search.yml:2 Tuesday 06 February 2024 22:02:10 +0000 (0:00:00.012) 0:00:01.881 ****** ok: [sut] META: ran handlers TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 22:02:11 +0000 (0:00:00.846) 0:00:02.728 ****** included: /WORKDIR/git-bond_options_rewritejvj9c8ut/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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:02:11 +0000 (0:00:00.066) 0:00:02.795 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 22:02:11 +0000 (0:00:00.012) 0:00:02.807 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 22:02:11 +0000 (0:00:00.011) 0:00:02.818 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 22:02:11 +0000 (0:00:00.021) 0:00:02.839 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 22:02:14 +0000 (0:00:02.477) 0:00:05.317 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 22:02:15 +0000 (0:00:01.071) 0:00:06.388 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 22:02:15 +0000 (0:00:00.022) 0:00:06.411 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 22:02:15 +0000 (0:00:00.020) 0:00:06.432 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 22:02:15 +0000 (0:00:00.021) 0:00:06.453 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 22:02:15 +0000 (0:00:00.042) 0:00:06.495 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 22:02:15 +0000 (0:00:00.020) 0:00:06.516 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 22:02:15 +0000 (0:00:00.021) 0:00:06.537 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 22:02:15 +0000 (0:00:00.024) 0:00:06.561 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 22:02:16 +0000 (0:00:00.691) 0:00:07.253 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 22:02:16 +0000 (0:00:00.025) 0:00:07.278 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 22:02:16 +0000 (0:00:00.021) 0:00:07.300 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 22:02:16 +0000 (0:00:00.020) 0:00:07.320 ****** 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, 1a3bbf1b-9402-4b42-ba46-efa5ebbedb20 [004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 1a3bbf1b-9402-4b42-ba46-efa5ebbedb20 (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 22:02:16 +0000 (0:00:00.581) 0:00:07.902 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 22:02:16 +0000 (0:00:00.022) 0:00:07.925 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'br-example': add connection br-example, 1a3bbf1b-9402-4b42-ba46-efa5ebbedb20", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 1a3bbf1b-9402-4b42-ba46-efa5ebbedb20 (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 22:02:16 +0000 (0:00:00.022) 0:00:07.947 ****** 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, 1a3bbf1b-9402-4b42-ba46-efa5ebbedb20\n[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 1a3bbf1b-9402-4b42-ba46-efa5ebbedb20 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'br-example': add connection br-example, 1a3bbf1b-9402-4b42-ba46-efa5ebbedb20", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 1a3bbf1b-9402-4b42-ba46-efa5ebbedb20 (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 22:02:16 +0000 (0:00:00.021) 0:00:07.969 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 22:02:16 +0000 (0:00:00.021) 0:00:07.990 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get DNS search entry for IPv4] ******************************************* task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tests_ipv6_dns_search.yml:23 Tuesday 06 February 2024 22:02:17 +0000 (0:00:00.253) 0:00:08.244 ****** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv4.dns-search", "connection", "show", "br-example" ], "delta": "0:00:00.019385", "end": "2024-02-06 22:02:17.440861", "rc": 0, "start": "2024-02-06 22:02:17.421476" } STDOUT: ipv4.dns-search: example.com TASK [Get DNS search entry for IPv6] ******************************************* task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tests_ipv6_dns_search.yml:29 Tuesday 06 February 2024 22:02:17 +0000 (0:00:00.285) 0:00:08.530 ****** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv6.dns-search", "connection", "show", "br-example" ], "delta": "0:00:00.019171", "end": "2024-02-06 22:02:17.673154", "rc": 0, "start": "2024-02-06 22:02:17.653983" } STDOUT: ipv6.dns-search: -- TASK [Assert that IPv4 DNS search entry is configured correctly] *************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tests_ipv6_dns_search.yml:35 Tuesday 06 February 2024 22:02:17 +0000 (0:00:00.232) 0:00:08.762 ****** 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_rewritejvj9c8ut/tests/playbooks/tests_ipv6_dns_search.yml:41 Tuesday 06 February 2024 22:02:17 +0000 (0:00:00.023) 0:00:08.786 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 22:02:17 +0000 (0:00:00.021) 0:00:08.808 ****** included: /WORKDIR/git-bond_options_rewritejvj9c8ut/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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:02:17 +0000 (0:00:00.038) 0:00:08.846 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 22:02:17 +0000 (0:00:00.026) 0:00:08.872 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 22:02:17 +0000 (0:00:00.043) 0:00:08.916 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 22:02:17 +0000 (0:00:00.023) 0:00:08.939 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 22:02:20 +0000 (0:00:02.426) 0:00:11.366 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 22:02:21 +0000 (0:00:00.996) 0:00:12.362 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 22:02:21 +0000 (0:00:00.023) 0:00:12.385 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 22:02:21 +0000 (0:00:00.021) 0:00:12.406 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 22:02:21 +0000 (0:00:00.021) 0:00:12.428 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 22:02:21 +0000 (0:00:00.043) 0:00:12.472 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 22:02:21 +0000 (0:00:00.021) 0:00:12.493 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 22:02:21 +0000 (0:00:00.021) 0:00:12.515 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 22:02:21 +0000 (0:00:00.026) 0:00:12.541 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 22:02:22 +0000 (0:00:00.601) 0:00:13.142 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 22:02:22 +0000 (0:00:00.026) 0:00:13.168 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 22:02:22 +0000 (0:00:00.021) 0:00:13.190 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 22:02:22 +0000 (0:00:00.020) 0:00:13.211 ****** 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, 1a3bbf1b-9402-4b42-ba46-efa5ebbedb20 [004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 1a3bbf1b-9402-4b42-ba46-efa5ebbedb20 (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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 22:02:22 +0000 (0:00:00.475) 0:00:13.686 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 22:02:22 +0000 (0:00:00.022) 0:00:13.709 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'br-example': update connection br-example, 1a3bbf1b-9402-4b42-ba46-efa5ebbedb20", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 1a3bbf1b-9402-4b42-ba46-efa5ebbedb20 (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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 22:02:22 +0000 (0:00:00.022) 0:00:13.732 ****** 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, 1a3bbf1b-9402-4b42-ba46-efa5ebbedb20\n[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 1a3bbf1b-9402-4b42-ba46-efa5ebbedb20 (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, 1a3bbf1b-9402-4b42-ba46-efa5ebbedb20", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 1a3bbf1b-9402-4b42-ba46-efa5ebbedb20 (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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 22:02:22 +0000 (0:00:00.023) 0:00:13.755 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 22:02:22 +0000 (0:00:00.021) 0:00:13.777 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get DNS search entry for IPv6] ******************************************* task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tests_ipv6_dns_search.yml:69 Tuesday 06 February 2024 22:02:22 +0000 (0:00:00.219) 0:00:13.996 ****** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv6.dns-search", "connection", "show", "br-example" ], "delta": "0:00:00.020139", "end": "2024-02-06 22:02:23.151150", "rc": 0, "start": "2024-02-06 22:02:23.131011" } 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_rewritejvj9c8ut/tests/playbooks/tests_ipv6_dns_search.yml:75 Tuesday 06 February 2024 22:02:23 +0000 (0:00:00.243) 0:00:14.240 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 22:02:23 +0000 (0:00:00.023) 0:00:14.264 ****** included: /WORKDIR/git-bond_options_rewritejvj9c8ut/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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:02:23 +0000 (0:00:00.037) 0:00:14.301 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 22:02:23 +0000 (0:00:00.027) 0:00:14.328 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 22:02:23 +0000 (0:00:00.021) 0:00:14.350 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 22:02:23 +0000 (0:00:00.020) 0:00:14.371 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 22:02:25 +0000 (0:00:02.437) 0:00:16.809 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 22:02:26 +0000 (0:00:00.916) 0:00:17.725 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 22:02:26 +0000 (0:00:00.022) 0:00:17.748 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 22:02:26 +0000 (0:00:00.039) 0:00:17.788 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 22:02:26 +0000 (0:00:00.021) 0:00:17.810 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 22:02:26 +0000 (0:00:00.043) 0:00:17.854 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 22:02:26 +0000 (0:00:00.020) 0:00:17.875 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 22:02:26 +0000 (0:00:00.021) 0:00:17.896 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 22:02:26 +0000 (0:00:00.024) 0:00:17.921 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 22:02:27 +0000 (0:00:00.595) 0:00:18.516 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 22:02:27 +0000 (0:00:00.026) 0:00:18.542 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 22:02:27 +0000 (0:00:00.020) 0:00:18.563 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 22:02:27 +0000 (0:00:00.021) 0:00:18.584 ****** 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, 1a3bbf1b-9402-4b42-ba46-efa5ebbedb20 [004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 1a3bbf1b-9402-4b42-ba46-efa5ebbedb20 (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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 22:02:27 +0000 (0:00:00.426) 0:00:19.011 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 22:02:27 +0000 (0:00:00.022) 0:00:19.034 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'br-example': update connection br-example, 1a3bbf1b-9402-4b42-ba46-efa5ebbedb20", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 1a3bbf1b-9402-4b42-ba46-efa5ebbedb20 (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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 22:02:28 +0000 (0:00:00.048) 0:00:19.082 ****** 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, 1a3bbf1b-9402-4b42-ba46-efa5ebbedb20\n[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 1a3bbf1b-9402-4b42-ba46-efa5ebbedb20 (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, 1a3bbf1b-9402-4b42-ba46-efa5ebbedb20", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 1a3bbf1b-9402-4b42-ba46-efa5ebbedb20 (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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 22:02:28 +0000 (0:00:00.024) 0:00:19.107 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 22:02:28 +0000 (0:00:00.021) 0:00:19.128 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get DNS search entry for IPv6] ******************************************* task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tests_ipv6_dns_search.yml:101 Tuesday 06 February 2024 22:02:28 +0000 (0:00:00.216) 0:00:19.344 ****** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv6.dns-search", "connection", "show", "br-example" ], "delta": "0:00:00.020129", "end": "2024-02-06 22:02:28.498855", "rc": 0, "start": "2024-02-06 22:02:28.478726" } 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_rewritejvj9c8ut/tests/playbooks/tests_ipv6_dns_search.yml:107 Tuesday 06 February 2024 22:02:28 +0000 (0:00:00.245) 0:00:19.590 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 22:02:28 +0000 (0:00:00.023) 0:00:19.614 ****** included: /WORKDIR/git-bond_options_rewritejvj9c8ut/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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:02:28 +0000 (0:00:00.038) 0:00:19.653 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 22:02:28 +0000 (0:00:00.027) 0:00:19.680 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 22:02:28 +0000 (0:00:00.021) 0:00:19.702 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 22:02:28 +0000 (0:00:00.022) 0:00:19.724 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 22:02:31 +0000 (0:00:02.431) 0:00:22.155 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 22:02:32 +0000 (0:00:00.958) 0:00:23.114 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 22:02:32 +0000 (0:00:00.024) 0:00:23.139 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 22:02:32 +0000 (0:00:00.041) 0:00:23.180 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 22:02:32 +0000 (0:00:00.022) 0:00:23.203 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 22:02:32 +0000 (0:00:00.043) 0:00:23.247 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 22:02:32 +0000 (0:00:00.022) 0:00:23.270 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 22:02:32 +0000 (0:00:00.022) 0:00:23.293 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 22:02:32 +0000 (0:00:00.025) 0:00:23.318 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 22:02:32 +0000 (0:00:00.598) 0:00:23.916 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 22:02:32 +0000 (0:00:00.026) 0:00:23.943 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 22:02:32 +0000 (0:00:00.024) 0:00:23.968 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 22:02:32 +0000 (0:00:00.022) 0:00:23.990 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 22:02:33 +0000 (0:00:00.362) 0:00:24.353 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 22:02:33 +0000 (0:00:00.024) 0:00:24.377 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 22:02:33 +0000 (0:00:00.051) 0:00:24.429 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 22:02:33 +0000 (0:00:00.025) 0:00:24.454 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 22:02:33 +0000 (0:00:00.023) 0:00:24.478 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Assert that reconfiguring network connection is failed] ****************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tests_ipv6_dns_search.yml:131 Tuesday 06 February 2024 22:02:33 +0000 (0:00:00.219) 0:00:24.697 ****** 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_rewritejvj9c8ut/tests/playbooks/tests_ipv6_dns_search.yml:138 Tuesday 06 February 2024 22:02:33 +0000 (0:00:00.037) 0:00:24.735 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 22:02:33 +0000 (0:00:00.026) 0:00:24.761 ****** included: /WORKDIR/git-bond_options_rewritejvj9c8ut/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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:02:33 +0000 (0:00:00.040) 0:00:24.802 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 22:02:33 +0000 (0:00:00.027) 0:00:24.830 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 22:02:33 +0000 (0:00:00.022) 0:00:24.852 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 22:02:33 +0000 (0:00:00.023) 0:00:24.875 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 22:02:36 +0000 (0:00:02.200) 0:00:27.076 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 22:02:36 +0000 (0:00:00.906) 0:00:27.982 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 22:02:36 +0000 (0:00:00.022) 0:00:28.005 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 22:02:36 +0000 (0:00:00.021) 0:00:28.026 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 22:02:36 +0000 (0:00:00.021) 0:00:28.047 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 22:02:37 +0000 (0:00:00.042) 0:00:28.090 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 22:02:37 +0000 (0:00:00.040) 0:00:28.131 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 22:02:37 +0000 (0:00:00.021) 0:00:28.153 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 22:02:37 +0000 (0:00:00.024) 0:00:28.177 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 22:02:37 +0000 (0:00:00.565) 0:00:28.743 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 22:02:37 +0000 (0:00:00.024) 0:00:28.768 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 22:02:37 +0000 (0:00:00.021) 0:00:28.789 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 22:02:37 +0000 (0:00:00.021) 0:00:28.810 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 22:02:38 +0000 (0:00:00.469) 0:00:29.280 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 22:02:38 +0000 (0:00:00.022) 0:00:29.302 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 22:02:38 +0000 (0:00:00.024) 0:00:29.327 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 22:02:38 +0000 (0:00:00.024) 0:00:29.351 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 22:02:38 +0000 (0:00:00.021) 0:00:29.372 ****** 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 22:02:38 +0000 (0:00:00.191) 0:00:29.564 ****** =============================================================================== linux-system-roles.network : Check which services are running ----------- 2.48s /WORKDIR/git-bond_options_rewritejvj9c8ut/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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.43s /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.43s /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.20s /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.07s /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.00s /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.96s /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.92s /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Gathering Facts --------------------------------------------------------- 0.91s /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/tests_ipv6_dns_search_nm.yml:6 linux-system-roles.network : Check which packages are installed --------- 0.91s /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Gathering Facts --------------------------------------------------------- 0.85s /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tests_ipv6_dns_search.yml:2 linux-system-roles.network : Enable and start NetworkManager ------------ 0.69s /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:88 linux-system-roles.network : Enable and start NetworkManager ------------ 0.60s /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:88 linux-system-roles.network : Enable and start NetworkManager ------------ 0.60s /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:88 linux-system-roles.network : Enable and start NetworkManager ------------ 0.60s /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:88 linux-system-roles.network : Configure networking connection profiles --- 0.58s /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Enable and start NetworkManager ------------ 0.57s /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:88 Gather the minimum subset of ansible_facts required by the network role test --- 0.55s /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/tasks/el_repo_setup.yml:3 ----- linux-system-roles.network : Configure networking connection profiles --- 0.48s /WORKDIR/git-bond_options_rewritejvj9c8ut/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. ---^---^---^---^---^---