# 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.16a7fiha57/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.16a7fiha57/tests/tests_ipv6_dns_search_nm.yml:6 Thursday 21 December 2023 15:50:24 +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-ansible-lint-test-2.16a7fiha57/tests/tests_ipv6_dns_search_nm.yml:9 Thursday 21 December 2023 15:50:25 +0000 (0:00:00.971) 0:00:00.983 ***** included: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/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.16a7fiha57/tests/tasks/el_repo_setup.yml:3 Thursday 21 December 2023 15:50:25 +0000 (0:00:00.022) 0:00:01.006 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/tasks/el_repo_setup.yml:19 Thursday 21 December 2023 15:50:25 +0000 (0:00:00.583) 0:00:01.589 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/tasks/el_repo_setup.yml:24 Thursday 21 December 2023 15:50:26 +0000 (0:00:00.272) 0:00:01.862 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/tasks/el_repo_setup.yml:28 Thursday 21 December 2023 15:50:26 +0000 (0:00:00.019) 0:00:01.882 ***** 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.16a7fiha57/tests/tasks/el_repo_setup.yml:53 Thursday 21 December 2023 15:50:26 +0000 (0:00:00.017) 0:00:01.899 ***** included: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 38] ********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/tasks/enable_epel.yml:8 Thursday 21 December 2023 15:50:26 +0000 (0:00:00.031) 0:00:01.931 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/tasks/enable_epel.yml:24 Thursday 21 December 2023 15:50:26 +0000 (0:00:00.008) 0:00:01.939 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/tasks/enable_epel.yml:30 Thursday 21 December 2023 15:50:26 +0000 (0:00:00.008) 0:00:01.948 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/tasks/enable_epel.yml:35 Thursday 21 December 2023 15:50:26 +0000 (0:00:00.008) 0:00:01.956 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/tasks/enable_epel.yml:40 Thursday 21 December 2023 15:50:26 +0000 (0:00:00.008) 0:00:01.965 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/tests_ipv6_dns_search_nm.yml:11 Thursday 21 December 2023 15:50:26 +0000 (0:00:00.008) 0:00:01.973 ***** 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.16a7fiha57/tests/playbooks/tests_ipv6_dns_search.yml:2 Thursday 21 December 2023 15:50:26 +0000 (0:00:00.012) 0:00:01.986 ***** ok: [sut] META: ran handlers TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 15:50:27 +0000 (0:00:00.862) 0:00:02.848 ***** included: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/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.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 15:50:27 +0000 (0:00:00.065) 0:00:02.913 ***** 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.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 15:50:27 +0000 (0:00:00.012) 0:00:02.925 ***** 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.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 15:50:27 +0000 (0:00:00.009) 0:00:02.935 ***** 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.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 15:50:27 +0000 (0:00:00.009) 0:00:02.945 ***** 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.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 15:50:29 +0000 (0:00:02.510) 0:00:05.455 ***** 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.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 15:50:30 +0000 (0:00:01.142) 0:00:06.597 ***** 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.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 15:50:30 +0000 (0:00:00.022) 0:00:06.620 ***** 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.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 15:50:30 +0000 (0:00:00.021) 0:00:06.641 ***** 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.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 15:50:30 +0000 (0:00:00.021) 0:00:06.663 ***** 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.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 15:50:30 +0000 (0:00:00.044) 0:00:06.707 ***** 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.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 15:50:30 +0000 (0:00:00.021) 0:00:06.728 ***** 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.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 15:50:31 +0000 (0:00:00.022) 0:00:06.751 ***** 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.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 15:50:31 +0000 (0:00:00.024) 0:00:06.775 ***** 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.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 15:50:31 +0000 (0:00:00.762) 0:00:07.538 ***** 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.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 15:50:31 +0000 (0:00:00.025) 0:00:07.563 ***** 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.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 15:50:31 +0000 (0:00:00.021) 0:00:07.585 ***** 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.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 15:50:31 +0000 (0:00:00.022) 0:00:07.607 ***** 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, 7970a4f9-247e-425b-b582-46474db9444f [004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 7970a4f9-247e-425b-b582-46474db9444f (is-modified) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 15:50:32 +0000 (0:00:00.623) 0:00:08.231 ***** 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.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 15:50:32 +0000 (0:00:00.023) 0:00:08.254 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'br-example': add connection br-example, 7970a4f9-247e-425b-b582-46474db9444f", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 7970a4f9-247e-425b-b582-46474db9444f (is-modified)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 15:50:32 +0000 (0:00:00.024) 0:00:08.279 ***** 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, 7970a4f9-247e-425b-b582-46474db9444f\n[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 7970a4f9-247e-425b-b582-46474db9444f (is-modified)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'br-example': add connection br-example, 7970a4f9-247e-425b-b582-46474db9444f", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 7970a4f9-247e-425b-b582-46474db9444f (is-modified)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 15:50:32 +0000 (0:00:00.023) 0:00:08.302 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 15:50:32 +0000 (0:00:00.021) 0:00:08.324 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get DNS search entry for IPv4] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tests_ipv6_dns_search.yml:23 Thursday 21 December 2023 15:50:32 +0000 (0:00:00.277) 0:00:08.602 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv4.dns-search", "connection", "show", "br-example" ], "delta": "0:00:00.020103", "end": "2023-12-21 15:50:33.162930", "rc": 0, "start": "2023-12-21 15:50:33.142827" } STDOUT: ipv4.dns-search: example.com TASK [Get DNS search entry for IPv6] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tests_ipv6_dns_search.yml:29 Thursday 21 December 2023 15:50:33 +0000 (0:00:00.331) 0:00:08.934 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv6.dns-search", "connection", "show", "br-example" ], "delta": "0:00:00.019496", "end": "2023-12-21 15:50:33.415882", "rc": 0, "start": "2023-12-21 15:50:33.396386" } STDOUT: ipv6.dns-search: -- TASK [Assert that IPv4 DNS search entry is configured correctly] *************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tests_ipv6_dns_search.yml:35 Thursday 21 December 2023 15:50:33 +0000 (0:00:00.252) 0:00:09.186 ***** 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.16a7fiha57/tests/playbooks/tests_ipv6_dns_search.yml:41 Thursday 21 December 2023 15:50:33 +0000 (0:00:00.024) 0:00:09.210 ***** 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.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 15:50:33 +0000 (0:00:00.026) 0:00:09.236 ***** included: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/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.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 15:50:33 +0000 (0:00:00.064) 0:00:09.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-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 15:50:33 +0000 (0:00:00.029) 0:00:09.331 ***** 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.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 15:50:33 +0000 (0:00:00.023) 0:00:09.355 ***** 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.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 15:50:33 +0000 (0:00:00.023) 0:00:09.379 ***** 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.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 15:50:36 +0000 (0:00:02.452) 0:00:11.831 ***** 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.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 15:50:37 +0000 (0:00:00.976) 0:00:12.807 ***** 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.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 15:50:37 +0000 (0:00:00.024) 0:00:12.832 ***** 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.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 15:50:37 +0000 (0:00:00.021) 0:00:12.853 ***** 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.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 15:50:37 +0000 (0:00:00.021) 0:00:12.875 ***** 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.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 15:50:37 +0000 (0:00:00.044) 0:00:12.919 ***** 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.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 15:50:37 +0000 (0:00:00.022) 0:00:12.942 ***** 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.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 15:50:37 +0000 (0:00:00.023) 0:00:12.965 ***** 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.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 15:50:37 +0000 (0:00:00.024) 0:00:12.990 ***** 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.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 15:50:37 +0000 (0:00:00.628) 0:00:13.618 ***** 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.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 15:50:37 +0000 (0:00:00.025) 0:00:13.644 ***** 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.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 15:50:37 +0000 (0:00:00.021) 0:00:13.666 ***** 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.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 15:50:37 +0000 (0:00:00.021) 0:00:13.687 ***** 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, 7970a4f9-247e-425b-b582-46474db9444f [004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 7970a4f9-247e-425b-b582-46474db9444f (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.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 15:50:38 +0000 (0:00:00.431) 0:00:14.119 ***** 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.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 15:50:38 +0000 (0:00:00.022) 0:00:14.142 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'br-example': update connection br-example, 7970a4f9-247e-425b-b582-46474db9444f", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 7970a4f9-247e-425b-b582-46474db9444f (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.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 15:50:38 +0000 (0:00:00.023) 0:00:14.166 ***** 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, 7970a4f9-247e-425b-b582-46474db9444f\n[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 7970a4f9-247e-425b-b582-46474db9444f (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, 7970a4f9-247e-425b-b582-46474db9444f", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 7970a4f9-247e-425b-b582-46474db9444f (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.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 15:50:38 +0000 (0:00:00.023) 0:00:14.189 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 15:50:38 +0000 (0:00:00.020) 0:00:14.210 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get DNS search entry for IPv6] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tests_ipv6_dns_search.yml:69 Thursday 21 December 2023 15:50:38 +0000 (0:00:00.223) 0:00:14.433 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv6.dns-search", "connection", "show", "br-example" ], "delta": "0:00:00.021126", "end": "2023-12-21 15:50:38.914701", "rc": 0, "start": "2023-12-21 15:50:38.893575" } 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.16a7fiha57/tests/playbooks/tests_ipv6_dns_search.yml:75 Thursday 21 December 2023 15:50:38 +0000 (0:00:00.251) 0:00:14.685 ***** 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.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 15:50:38 +0000 (0:00:00.023) 0:00:14.709 ***** included: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/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.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 15:50:39 +0000 (0:00:00.059) 0:00:14.769 ***** 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.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 15:50:39 +0000 (0:00:00.027) 0:00:14.796 ***** 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.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 15:50:39 +0000 (0:00:00.021) 0:00:14.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-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 15:50:39 +0000 (0:00:00.021) 0:00:14.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-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 15:50:41 +0000 (0:00:02.483) 0:00:17.323 ***** 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.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 15:50:42 +0000 (0:00:00.973) 0:00:18.296 ***** 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.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 15:50:42 +0000 (0:00:00.025) 0:00:18.321 ***** 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.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 15:50:42 +0000 (0:00:00.022) 0:00:18.344 ***** 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.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 15:50:42 +0000 (0:00:00.023) 0:00:18.367 ***** 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.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 15:50:42 +0000 (0:00:00.045) 0:00:18.413 ***** 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.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 15:50:42 +0000 (0:00:00.022) 0:00:18.435 ***** 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.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 15:50:42 +0000 (0:00:00.023) 0:00:18.458 ***** 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.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 15:50:42 +0000 (0:00:00.026) 0:00:18.485 ***** 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.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 15:50:43 +0000 (0:00:00.638) 0:00:19.124 ***** 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.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 15:50:43 +0000 (0:00:00.026) 0:00:19.150 ***** 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.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 15:50:43 +0000 (0:00:00.021) 0:00:19.172 ***** 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.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 15:50:43 +0000 (0:00:00.021) 0:00:19.194 ***** 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, 7970a4f9-247e-425b-b582-46474db9444f [004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 7970a4f9-247e-425b-b582-46474db9444f (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.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 15:50:43 +0000 (0:00:00.424) 0:00:19.618 ***** 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.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 15:50:43 +0000 (0:00:00.021) 0:00:19.639 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'br-example': update connection br-example, 7970a4f9-247e-425b-b582-46474db9444f", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 7970a4f9-247e-425b-b582-46474db9444f (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.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 15:50:43 +0000 (0:00:00.022) 0:00:19.661 ***** 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, 7970a4f9-247e-425b-b582-46474db9444f\n[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 7970a4f9-247e-425b-b582-46474db9444f (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, 7970a4f9-247e-425b-b582-46474db9444f", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 7970a4f9-247e-425b-b582-46474db9444f (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.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 15:50:43 +0000 (0:00:00.022) 0:00:19.684 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 15:50:43 +0000 (0:00:00.020) 0:00:19.705 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get DNS search entry for IPv6] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tests_ipv6_dns_search.yml:101 Thursday 21 December 2023 15:50:44 +0000 (0:00:00.216) 0:00:19.921 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv6.dns-search", "connection", "show", "br-example" ], "delta": "0:00:00.019978", "end": "2023-12-21 15:50:44.396215", "rc": 0, "start": "2023-12-21 15:50:44.376237" } 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.16a7fiha57/tests/playbooks/tests_ipv6_dns_search.yml:107 Thursday 21 December 2023 15:50:44 +0000 (0:00:00.242) 0:00:20.164 ***** 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.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 15:50:44 +0000 (0:00:00.023) 0:00:20.187 ***** included: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/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.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 15:50:44 +0000 (0:00:00.059) 0:00:20.247 ***** 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.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 15:50:44 +0000 (0:00:00.029) 0:00:20.276 ***** 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.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 15:50:44 +0000 (0:00:00.022) 0:00:20.298 ***** 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.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 15:50:44 +0000 (0:00:00.022) 0:00:20.321 ***** 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.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 15:50:47 +0000 (0:00:02.426) 0:00:22.748 ***** 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.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 15:50:47 +0000 (0:00:00.973) 0:00:23.721 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 15:50:48 +0000 (0:00:00.023) 0:00:23.745 ***** 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.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 15:50:48 +0000 (0:00:00.022) 0:00:23.767 ***** 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.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 15:50:48 +0000 (0:00:00.022) 0:00:23.790 ***** 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.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 15:50:48 +0000 (0:00:00.044) 0:00:23.834 ***** 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.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 15:50:48 +0000 (0:00:00.022) 0:00:23.857 ***** 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.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 15:50:48 +0000 (0:00:00.022) 0:00:23.880 ***** 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.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 15:50:48 +0000 (0:00:00.025) 0:00:23.905 ***** 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.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 15:50:48 +0000 (0:00:00.628) 0:00:24.534 ***** 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.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 15:50:48 +0000 (0:00:00.027) 0:00:24.562 ***** 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.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 15:50:48 +0000 (0:00:00.025) 0:00:24.588 ***** 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.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 15:50:48 +0000 (0:00:00.024) 0:00:24.612 ***** 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.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 15:50:49 +0000 (0:00:00.383) 0:00:24.996 ***** 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.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 15:50:49 +0000 (0:00:00.025) 0:00:25.022 ***** 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.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 15:50:49 +0000 (0:00:00.025) 0:00:25.047 ***** 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.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 15:50:49 +0000 (0:00:00.027) 0:00:25.075 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 15:50:49 +0000 (0:00:00.026) 0:00:25.102 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Assert that reconfiguring network connection is failed] ****************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tests_ipv6_dns_search.yml:131 Thursday 21 December 2023 15:50:49 +0000 (0:00:00.224) 0:00:25.326 ***** 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.16a7fiha57/tests/playbooks/tests_ipv6_dns_search.yml:138 Thursday 21 December 2023 15:50:49 +0000 (0:00:00.024) 0:00:25.351 ***** 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.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 15:50:49 +0000 (0:00:00.024) 0:00:25.376 ***** included: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/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.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 15:50:49 +0000 (0:00:00.039) 0:00:25.416 ***** 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.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 15:50:49 +0000 (0:00:00.054) 0:00:25.470 ***** 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.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 15:50:49 +0000 (0:00:00.023) 0:00:25.493 ***** 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.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 15:50:49 +0000 (0:00:00.021) 0:00:25.515 ***** 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.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 15:50:52 +0000 (0:00:02.433) 0:00:27.949 ***** 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.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 15:50:53 +0000 (0:00:01.005) 0:00:28.955 ***** 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.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 15:50:53 +0000 (0:00:00.027) 0:00:28.982 ***** 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.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 15:50:53 +0000 (0:00:00.025) 0:00:29.008 ***** 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.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 15:50:53 +0000 (0:00:00.025) 0:00:29.033 ***** 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.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 15:50:53 +0000 (0:00:00.050) 0:00:29.084 ***** 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.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 15:50:53 +0000 (0:00:00.022) 0:00:29.106 ***** 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.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 15:50:53 +0000 (0:00:00.021) 0:00:29.127 ***** 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.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 15:50:53 +0000 (0:00:00.024) 0:00:29.152 ***** 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.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 15:50:54 +0000 (0:00:00.602) 0:00:29.754 ***** 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.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 15:50:54 +0000 (0:00:00.025) 0:00:29.780 ***** 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.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 15:50:54 +0000 (0:00:00.021) 0:00:29.801 ***** 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.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 15:50:54 +0000 (0:00:00.021) 0:00:29.823 ***** 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.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 15:50:54 +0000 (0:00:00.557) 0:00:30.380 ***** 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.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 15:50:54 +0000 (0:00:00.022) 0:00:30.403 ***** 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.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 15:50:54 +0000 (0:00:00.024) 0:00:30.427 ***** 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.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 15:50:54 +0000 (0:00:00.024) 0:00:30.452 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 15:50:54 +0000 (0:00:00.021) 0:00:30.473 ***** ok: [sut] => { "changed": false, "ping": "pong" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=63 changed=4 unreachable=0 failed=0 skipped=76 rescued=0 ignored=1 Thursday 21 December 2023 15:50:54 +0000 (0:00:00.212) 0:00:30.686 ***** =============================================================================== linux-system-roles.network : Check which services are running ----------- 2.51s /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.48s /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.45s /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.43s /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.43s /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.14s /WORKDIR/git-ansible-lint-test-2.16a7fiha57/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.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.98s /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.97s /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.97s /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Gathering Facts --------------------------------------------------------- 0.97s /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/tests_ipv6_dns_search_nm.yml:6 Gathering Facts --------------------------------------------------------- 0.86s /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tests_ipv6_dns_search.yml:2 linux-system-roles.network : Enable and start NetworkManager ------------ 0.76s /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Enable and start NetworkManager ------------ 0.64s /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Enable and start NetworkManager ------------ 0.63s /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Enable and start NetworkManager ------------ 0.63s /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Configure networking connection profiles --- 0.62s /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable and start NetworkManager ------------ 0.60s /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:85 Gather the minimum subset of ansible_facts required by the network role test --- 0.58s /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/tasks/el_repo_setup.yml:3 --- linux-system-roles.network : Configure networking connection profiles --- 0.56s /WORKDIR/git-ansible-lint-test-2.16a7fiha57/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. ---^---^---^---^---^---