# 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-ansible-lint-test-2.167syr9l5j/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-ansible-lint-test-2.167syr9l5j/tests/tests_ipv6_dns_search_nm.yml:6 Wednesday 27 December 2023 17:37:24 +0000 (0:00:00.018) 0:00:00.018 **** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-ansible-lint-test-2.167syr9l5j/tests/tests_ipv6_dns_search_nm.yml:9 Wednesday 27 December 2023 17:37:25 +0000 (0:00:00.658) 0:00:00.676 **** included: /WORKDIR/git-ansible-lint-test-2.167syr9l5j/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-ansible-lint-test-2.167syr9l5j/tests/tasks/el_repo_setup.yml:3 Wednesday 27 December 2023 17:37:25 +0000 (0:00:00.010) 0:00:00.687 **** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-ansible-lint-test-2.167syr9l5j/tests/tasks/el_repo_setup.yml:19 Wednesday 27 December 2023 17:37:25 +0000 (0:00:00.383) 0:00:01.071 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.167syr9l5j/tests/tasks/el_repo_setup.yml:24 Wednesday 27 December 2023 17:37:25 +0000 (0:00:00.268) 0:00:01.339 **** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-ansible-lint-test-2.167syr9l5j/tests/tasks/el_repo_setup.yml:28 Wednesday 27 December 2023 17:37:25 +0000 (0:00:00.020) 0:00:01.360 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-ansible-lint-test-2.167syr9l5j/tests/tasks/el_repo_setup.yml:53 Wednesday 27 December 2023 17:37:25 +0000 (0:00:00.018) 0:00:01.379 **** included: /WORKDIR/git-ansible-lint-test-2.167syr9l5j/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 9] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.167syr9l5j/tests/tasks/enable_epel.yml:8 Wednesday 27 December 2023 17:37:25 +0000 (0:00:00.032) 0:00:01.411 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-ansible-lint-test-2.167syr9l5j/tests/tasks/enable_epel.yml:24 Wednesday 27 December 2023 17:37:26 +0000 (0:00:00.036) 0:00:01.447 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.167syr9l5j/tests/tasks/enable_epel.yml:30 Wednesday 27 December 2023 17:37:26 +0000 (0:00:00.010) 0:00:01.457 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.167syr9l5j/tests/tasks/enable_epel.yml:35 Wednesday 27 December 2023 17:37:26 +0000 (0:00:00.012) 0:00:01.469 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.167syr9l5j/tests/tasks/enable_epel.yml:40 Wednesday 27 December 2023 17:37:26 +0000 (0:00:00.009) 0:00:01.479 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.167syr9l5j/tests/tests_ipv6_dns_search_nm.yml:11 Wednesday 27 December 2023 17:37:26 +0000 (0:00:00.010) 0:00:01.489 **** 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-ansible-lint-test-2.167syr9l5j/tests/playbooks/tests_ipv6_dns_search.yml:2 Wednesday 27 December 2023 17:37:26 +0000 (0:00:00.014) 0:00:01.504 **** ok: [sut] META: ran handlers TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 27 December 2023 17:37:26 +0000 (0:00:00.533) 0:00:02.037 **** included: /WORKDIR/git-ansible-lint-test-2.167syr9l5j/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-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 27 December 2023 17:37:26 +0000 (0:00:00.072) 0:00:02.109 **** 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-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 27 December 2023 17:37:26 +0000 (0:00:00.021) 0:00:02.131 **** 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-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 27 December 2023 17:37:26 +0000 (0:00:00.009) 0:00:02.141 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 27 December 2023 17:37:26 +0000 (0:00:00.010) 0:00:02.151 **** 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-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 27 December 2023 17:37:28 +0000 (0:00:01.625) 0:00:03.776 **** 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-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 27 December 2023 17:37:29 +0000 (0:00:01.244) 0:00:05.021 **** 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-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 27 December 2023 17:37:29 +0000 (0:00:00.057) 0:00:05.078 **** 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-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 27 December 2023 17:37:29 +0000 (0:00:00.055) 0:00:05.133 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 27 December 2023 17:37:29 +0000 (0:00:00.026) 0:00:05.160 **** 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-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 27 December 2023 17:37:29 +0000 (0:00:00.076) 0:00:05.236 **** 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-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 27 December 2023 17:37:29 +0000 (0:00:00.027) 0:00:05.264 **** 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-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 27 December 2023 17:37:29 +0000 (0:00:00.021) 0:00:05.285 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 27 December 2023 17:37:29 +0000 (0:00:00.029) 0:00:05.315 **** 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-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 27 December 2023 17:37:30 +0000 (0:00:00.517) 0:00:05.833 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 27 December 2023 17:37:30 +0000 (0:00:00.026) 0:00:05.859 **** 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-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 27 December 2023 17:37:30 +0000 (0:00:00.020) 0:00:05.880 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 27 December 2023 17:37:30 +0000 (0:00:00.019) 0:00:05.900 **** 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, f8ad1823-1fe8-4310-81b6-44cf05d629d2 [004] #0, state:up persistent_state:present, 'br-example': up connection br-example, f8ad1823-1fe8-4310-81b6-44cf05d629d2 (is-modified) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 27 December 2023 17:37:30 +0000 (0:00:00.535) 0:00:06.435 **** 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-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 27 December 2023 17:37:31 +0000 (0:00:00.022) 0:00:06.457 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'br-example': add connection br-example, f8ad1823-1fe8-4310-81b6-44cf05d629d2", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, f8ad1823-1fe8-4310-81b6-44cf05d629d2 (is-modified)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 27 December 2023 17:37:31 +0000 (0:00:00.027) 0:00:06.485 **** 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, f8ad1823-1fe8-4310-81b6-44cf05d629d2\n[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, f8ad1823-1fe8-4310-81b6-44cf05d629d2 (is-modified)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'br-example': add connection br-example, f8ad1823-1fe8-4310-81b6-44cf05d629d2", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, f8ad1823-1fe8-4310-81b6-44cf05d629d2 (is-modified)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 27 December 2023 17:37:31 +0000 (0:00:00.054) 0:00:06.539 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 27 December 2023 17:37:31 +0000 (0:00:00.025) 0:00:06.564 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get DNS search entry for IPv4] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.167syr9l5j/tests/playbooks/tests_ipv6_dns_search.yml:23 Wednesday 27 December 2023 17:37:31 +0000 (0:00:00.261) 0:00:06.826 **** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv4.dns-search", "connection", "show", "br-example" ], "delta": "0:00:00.018947", "end": "2023-12-27 17:37:31.634970", "rc": 0, "start": "2023-12-27 17:37:31.616023" } STDOUT: ipv4.dns-search: example.com TASK [Get DNS search entry for IPv6] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.167syr9l5j/tests/playbooks/tests_ipv6_dns_search.yml:29 Wednesday 27 December 2023 17:37:31 +0000 (0:00:00.290) 0:00:07.116 **** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv6.dns-search", "connection", "show", "br-example" ], "delta": "0:00:01.019568", "end": "2023-12-27 17:37:32.876681", "rc": 0, "start": "2023-12-27 17:37:31.857113" } STDOUT: ipv6.dns-search: -- TASK [Assert that IPv4 DNS search entry is configured correctly] *************** task path: /WORKDIR/git-ansible-lint-test-2.167syr9l5j/tests/playbooks/tests_ipv6_dns_search.yml:35 Wednesday 27 December 2023 17:37:32 +0000 (0:00:01.234) 0:00:08.350 **** 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-ansible-lint-test-2.167syr9l5j/tests/playbooks/tests_ipv6_dns_search.yml:41 Wednesday 27 December 2023 17:37:32 +0000 (0:00:00.022) 0:00:08.373 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 27 December 2023 17:37:32 +0000 (0:00:00.022) 0:00:08.396 **** included: /WORKDIR/git-ansible-lint-test-2.167syr9l5j/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-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 27 December 2023 17:37:32 +0000 (0:00:00.037) 0:00:08.434 **** 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-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 27 December 2023 17:37:33 +0000 (0:00:00.026) 0:00:08.460 **** 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-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 27 December 2023 17:37:33 +0000 (0:00:00.020) 0:00:08.480 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 27 December 2023 17:37:33 +0000 (0:00:00.019) 0:00:08.500 **** 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-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 27 December 2023 17:37:34 +0000 (0:00:01.565) 0:00:10.066 **** 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-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 27 December 2023 17:37:35 +0000 (0:00:01.057) 0:00:11.123 **** 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-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 27 December 2023 17:37:35 +0000 (0:00:00.028) 0:00:11.152 **** 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-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 27 December 2023 17:37:35 +0000 (0:00:00.063) 0:00:11.215 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 27 December 2023 17:37:35 +0000 (0:00:00.035) 0:00:11.251 **** 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-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 27 December 2023 17:37:35 +0000 (0:00:00.101) 0:00:11.352 **** 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-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 27 December 2023 17:37:35 +0000 (0:00:00.059) 0:00:11.412 **** 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-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 27 December 2023 17:37:36 +0000 (0:00:00.041) 0:00:11.453 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 27 December 2023 17:37:36 +0000 (0:00:00.042) 0:00:11.496 **** 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-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 27 December 2023 17:37:36 +0000 (0:00:00.425) 0:00:11.921 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 27 December 2023 17:37:36 +0000 (0:00:00.030) 0:00:11.951 **** 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-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 27 December 2023 17:37:36 +0000 (0:00:00.027) 0:00:11.978 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 27 December 2023 17:37:36 +0000 (0:00:00.021) 0:00:12.000 **** 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, f8ad1823-1fe8-4310-81b6-44cf05d629d2 [004] #0, state:up persistent_state:present, 'br-example': up connection br-example, f8ad1823-1fe8-4310-81b6-44cf05d629d2 (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-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 27 December 2023 17:37:36 +0000 (0:00:00.425) 0:00:12.425 **** 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-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 27 December 2023 17:37:37 +0000 (0:00:00.021) 0:00:12.447 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'br-example': update connection br-example, f8ad1823-1fe8-4310-81b6-44cf05d629d2", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, f8ad1823-1fe8-4310-81b6-44cf05d629d2 (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-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 27 December 2023 17:37:37 +0000 (0:00:00.023) 0:00:12.470 **** 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, f8ad1823-1fe8-4310-81b6-44cf05d629d2\n[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, f8ad1823-1fe8-4310-81b6-44cf05d629d2 (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, f8ad1823-1fe8-4310-81b6-44cf05d629d2", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, f8ad1823-1fe8-4310-81b6-44cf05d629d2 (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-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 27 December 2023 17:37:37 +0000 (0:00:00.022) 0:00:12.492 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 27 December 2023 17:37:37 +0000 (0:00:00.021) 0:00:12.514 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get DNS search entry for IPv6] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.167syr9l5j/tests/playbooks/tests_ipv6_dns_search.yml:69 Wednesday 27 December 2023 17:37:37 +0000 (0:00:00.263) 0:00:12.778 **** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv6.dns-search", "connection", "show", "br-example" ], "delta": "0:00:00.019177", "end": "2023-12-27 17:37:37.532678", "rc": 0, "start": "2023-12-27 17:37:37.513501" } 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-ansible-lint-test-2.167syr9l5j/tests/playbooks/tests_ipv6_dns_search.yml:75 Wednesday 27 December 2023 17:37:37 +0000 (0:00:00.229) 0:00:13.007 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 27 December 2023 17:37:37 +0000 (0:00:00.023) 0:00:13.030 **** included: /WORKDIR/git-ansible-lint-test-2.167syr9l5j/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-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 27 December 2023 17:37:37 +0000 (0:00:00.057) 0:00:13.088 **** 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-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 27 December 2023 17:37:37 +0000 (0:00:00.025) 0:00:13.114 **** 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-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 27 December 2023 17:37:37 +0000 (0:00:00.020) 0:00:13.135 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 27 December 2023 17:37:37 +0000 (0:00:00.021) 0:00:13.156 **** 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-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 27 December 2023 17:37:39 +0000 (0:00:01.564) 0:00:14.720 **** 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-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 27 December 2023 17:37:40 +0000 (0:00:01.005) 0:00:15.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-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 27 December 2023 17:37:40 +0000 (0:00:00.021) 0:00:15.747 **** 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-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 27 December 2023 17:37:40 +0000 (0:00:00.021) 0:00:15.769 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 27 December 2023 17:37:40 +0000 (0:00:00.019) 0:00:15.789 **** 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-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 27 December 2023 17:37:40 +0000 (0:00:00.043) 0:00:15.833 **** 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-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 27 December 2023 17:37:40 +0000 (0:00:00.020) 0:00:15.854 **** 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-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 27 December 2023 17:37:40 +0000 (0:00:00.019) 0:00:15.873 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 27 December 2023 17:37:40 +0000 (0:00:00.023) 0:00:15.897 **** 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-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 27 December 2023 17:37:40 +0000 (0:00:00.383) 0:00:16.280 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 27 December 2023 17:37:40 +0000 (0:00:00.036) 0:00:16.317 **** 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-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 27 December 2023 17:37:40 +0000 (0:00:00.032) 0:00:16.349 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 27 December 2023 17:37:40 +0000 (0:00:00.022) 0:00:16.371 **** 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, f8ad1823-1fe8-4310-81b6-44cf05d629d2 [004] #0, state:up persistent_state:present, 'br-example': up connection br-example, f8ad1823-1fe8-4310-81b6-44cf05d629d2 (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-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 27 December 2023 17:37:41 +0000 (0:00:00.400) 0:00:16.772 **** 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-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 27 December 2023 17:37:41 +0000 (0:00:00.022) 0:00:16.795 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'br-example': update connection br-example, f8ad1823-1fe8-4310-81b6-44cf05d629d2", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, f8ad1823-1fe8-4310-81b6-44cf05d629d2 (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-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 27 December 2023 17:37:41 +0000 (0:00:00.049) 0:00:16.844 **** 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, f8ad1823-1fe8-4310-81b6-44cf05d629d2\n[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, f8ad1823-1fe8-4310-81b6-44cf05d629d2 (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, f8ad1823-1fe8-4310-81b6-44cf05d629d2", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, f8ad1823-1fe8-4310-81b6-44cf05d629d2 (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-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 27 December 2023 17:37:41 +0000 (0:00:00.023) 0:00:16.867 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 27 December 2023 17:37:41 +0000 (0:00:00.021) 0:00:16.888 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get DNS search entry for IPv6] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.167syr9l5j/tests/playbooks/tests_ipv6_dns_search.yml:101 Wednesday 27 December 2023 17:37:41 +0000 (0:00:00.201) 0:00:17.090 **** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv6.dns-search", "connection", "show", "br-example" ], "delta": "0:00:00.018645", "end": "2023-12-27 17:37:41.842073", "rc": 0, "start": "2023-12-27 17:37:41.823428" } 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-ansible-lint-test-2.167syr9l5j/tests/playbooks/tests_ipv6_dns_search.yml:107 Wednesday 27 December 2023 17:37:41 +0000 (0:00:00.226) 0:00:17.316 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 27 December 2023 17:37:41 +0000 (0:00:00.023) 0:00:17.340 **** included: /WORKDIR/git-ansible-lint-test-2.167syr9l5j/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-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 27 December 2023 17:37:41 +0000 (0:00:00.038) 0:00:17.378 **** 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-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 27 December 2023 17:37:41 +0000 (0:00:00.027) 0:00:17.406 **** 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-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 27 December 2023 17:37:41 +0000 (0:00:00.022) 0:00:17.429 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 27 December 2023 17:37:42 +0000 (0:00:00.039) 0:00:17.469 **** 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-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 27 December 2023 17:37:43 +0000 (0:00:01.661) 0:00:19.130 **** 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-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 27 December 2023 17:37:44 +0000 (0:00:01.020) 0:00:20.150 **** 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-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 27 December 2023 17:37:44 +0000 (0:00:00.024) 0:00:20.174 **** 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-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 27 December 2023 17:37:44 +0000 (0:00:00.022) 0:00:20.196 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 27 December 2023 17:37:44 +0000 (0:00:00.021) 0:00:20.217 **** 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-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 27 December 2023 17:37:44 +0000 (0:00:00.055) 0:00:20.273 **** 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-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 27 December 2023 17:37:44 +0000 (0:00:00.033) 0:00:20.306 **** 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-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 27 December 2023 17:37:44 +0000 (0:00:00.031) 0:00:20.338 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 27 December 2023 17:37:44 +0000 (0:00:00.028) 0:00:20.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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 27 December 2023 17:37:45 +0000 (0:00:00.438) 0:00:20.805 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 27 December 2023 17:37:45 +0000 (0:00:00.026) 0:00:20.831 **** 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-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 27 December 2023 17:37:45 +0000 (0:00:00.021) 0:00:20.853 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 27 December 2023 17:37:45 +0000 (0:00:00.021) 0:00:20.874 **** 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-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 27 December 2023 17:37:45 +0000 (0:00:00.351) 0:00:21.225 **** 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-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 27 December 2023 17:37:45 +0000 (0:00:00.021) 0:00:21.247 **** 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-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 27 December 2023 17:37:45 +0000 (0:00:00.022) 0:00:21.270 **** 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-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 27 December 2023 17:37:45 +0000 (0:00:00.022) 0:00:21.292 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 27 December 2023 17:37:45 +0000 (0:00:00.021) 0:00:21.314 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Assert that reconfiguring network connection is failed] ****************** task path: /WORKDIR/git-ansible-lint-test-2.167syr9l5j/tests/playbooks/tests_ipv6_dns_search.yml:131 Wednesday 27 December 2023 17:37:46 +0000 (0:00:00.209) 0:00:21.523 **** 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-ansible-lint-test-2.167syr9l5j/tests/playbooks/tests_ipv6_dns_search.yml:138 Wednesday 27 December 2023 17:37:46 +0000 (0:00:00.023) 0:00:21.546 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 27 December 2023 17:37:46 +0000 (0:00:00.024) 0:00:21.571 **** included: /WORKDIR/git-ansible-lint-test-2.167syr9l5j/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-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 27 December 2023 17:37:46 +0000 (0:00:00.040) 0:00:21.611 **** 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-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 27 December 2023 17:37:46 +0000 (0:00:00.026) 0:00:21.638 **** 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-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 27 December 2023 17:37:46 +0000 (0:00:00.028) 0:00:21.667 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 27 December 2023 17:37:46 +0000 (0:00:00.061) 0:00:21.728 **** 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-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 27 December 2023 17:37:47 +0000 (0:00:01.653) 0:00:23.382 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 27 December 2023 17:37:48 +0000 (0:00:01.016) 0:00:24.398 **** 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-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 27 December 2023 17:37:48 +0000 (0:00:00.022) 0:00:24.421 **** 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-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 27 December 2023 17:37:49 +0000 (0:00:00.049) 0:00:24.471 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 27 December 2023 17:37:49 +0000 (0:00:00.024) 0:00:24.495 **** 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-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 27 December 2023 17:37:49 +0000 (0:00:00.053) 0:00:24.548 **** 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-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 27 December 2023 17:37:49 +0000 (0:00:00.030) 0:00:24.579 **** 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-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 27 December 2023 17:37:49 +0000 (0:00:00.020) 0:00:24.600 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 27 December 2023 17:37:49 +0000 (0:00:00.024) 0:00:24.625 **** 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-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 27 December 2023 17:37:49 +0000 (0:00:00.392) 0:00:25.017 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 27 December 2023 17:37:49 +0000 (0:00:00.025) 0:00:25.043 **** 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-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 27 December 2023 17:37:49 +0000 (0:00:00.026) 0:00:25.069 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 27 December 2023 17:37:49 +0000 (0:00:00.020) 0:00:25.090 **** 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-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 27 December 2023 17:37:50 +0000 (0:00:00.472) 0:00:25.562 **** 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-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 27 December 2023 17:37:50 +0000 (0:00:00.023) 0:00:25.586 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 27 December 2023 17:37:50 +0000 (0:00:00.032) 0:00:25.618 **** 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-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 27 December 2023 17:37:50 +0000 (0:00:00.023) 0:00:25.641 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 27 December 2023 17:37:50 +0000 (0:00:00.026) 0:00:25.668 **** 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 Wednesday 27 December 2023 17:37:50 +0000 (0:00:00.202) 0:00:25.870 **** =============================================================================== linux-system-roles.network : Check which services are running ----------- 1.66s /WORKDIR/git-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.65s /WORKDIR/git-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.63s /WORKDIR/git-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.57s /WORKDIR/git-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.56s /WORKDIR/git-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.24s /WORKDIR/git-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Get DNS search entry for IPv6 ------------------------------------------- 1.23s /WORKDIR/git-ansible-lint-test-2.167syr9l5j/tests/playbooks/tests_ipv6_dns_search.yml:29 linux-system-roles.network : Check which packages are installed --------- 1.06s /WORKDIR/git-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.02s /WORKDIR/git-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.02s /WORKDIR/git-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.01s /WORKDIR/git-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Gathering Facts --------------------------------------------------------- 0.66s /WORKDIR/git-ansible-lint-test-2.167syr9l5j/tests/tests_ipv6_dns_search_nm.yml:6 linux-system-roles.network : Configure networking connection profiles --- 0.54s /WORKDIR/git-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/main.yml:122 Gathering Facts --------------------------------------------------------- 0.53s /WORKDIR/git-ansible-lint-test-2.167syr9l5j/tests/playbooks/tests_ipv6_dns_search.yml:2 linux-system-roles.network : Enable and start NetworkManager ------------ 0.52s /WORKDIR/git-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Configure networking connection profiles --- 0.47s /WORKDIR/git-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable and start NetworkManager ------------ 0.44s /WORKDIR/git-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Configure networking connection profiles --- 0.43s /WORKDIR/git-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable and start NetworkManager ------------ 0.43s /WORKDIR/git-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Configure networking connection profiles --- 0.40s /WORKDIR/git-ansible-lint-test-2.167syr9l5j/tests/roles/linux-system-roles.network/tasks/main.yml:122 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---