# 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-tft-testsgbd2_0in/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-tft-testsgbd2_0in/tests/tests_ipv6_dns_search_nm.yml:6 Monday 17 June 2024 14:47:04 +0000 (0:00:00.012) 0:00:00.012 *********** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-tft-testsgbd2_0in/tests/tests_ipv6_dns_search_nm.yml:9 Monday 17 June 2024 14:47:05 +0000 (0:00:00.705) 0:00:00.717 *********** included: /WORKDIR/git-tft-testsgbd2_0in/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-tft-testsgbd2_0in/tests/tasks/el_repo_setup.yml:3 Monday 17 June 2024 14:47:05 +0000 (0:00:00.010) 0:00:00.728 *********** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/tasks/el_repo_setup.yml:19 Monday 17 June 2024 14:47:05 +0000 (0:00:00.350) 0:00:01.078 *********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/tasks/el_repo_setup.yml:24 Monday 17 June 2024 14:47:06 +0000 (0:00:00.239) 0:00:01.318 *********** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/tasks/el_repo_setup.yml:28 Monday 17 June 2024 14:47:06 +0000 (0:00:00.020) 0:00:01.338 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/tasks/el_repo_setup.yml:53 Monday 17 June 2024 14:47:06 +0000 (0:00:00.018) 0:00:01.356 *********** included: /WORKDIR/git-tft-testsgbd2_0in/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 9] *********************************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/tasks/enable_epel.yml:8 Monday 17 June 2024 14:47:06 +0000 (0:00:00.032) 0:00:01.389 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/tasks/enable_epel.yml:24 Monday 17 June 2024 14:47:06 +0000 (0:00:00.010) 0:00:01.399 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/tasks/enable_epel.yml:30 Monday 17 June 2024 14:47:06 +0000 (0:00:00.009) 0:00:01.409 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/tasks/enable_epel.yml:35 Monday 17 June 2024 14:47:06 +0000 (0:00:00.009) 0:00:01.418 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/tasks/enable_epel.yml:40 Monday 17 June 2024 14:47:06 +0000 (0:00:00.009) 0:00:01.428 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/tests_ipv6_dns_search_nm.yml:11 Monday 17 June 2024 14:47:06 +0000 (0:00:00.009) 0:00:01.437 *********** 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-tft-testsgbd2_0in/tests/playbooks/tests_ipv6_dns_search.yml:2 Monday 17 June 2024 14:47:06 +0000 (0:00:00.012) 0:00:01.449 *********** ok: [sut] META: ran handlers TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 17 June 2024 14:47:06 +0000 (0:00:00.492) 0:00:01.942 *********** included: /WORKDIR/git-tft-testsgbd2_0in/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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 17 June 2024 14:47:06 +0000 (0:00:00.016) 0:00:01.958 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 17 June 2024 14:47:06 +0000 (0:00:00.010) 0:00:01.969 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 17 June 2024 14:47:06 +0000 (0:00:00.009) 0:00:01.978 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 17 June 2024 14:47:06 +0000 (0:00:00.009) 0:00:01.988 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 17 June 2024 14:47:08 +0000 (0:00:01.590) 0:00:03.579 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 17 June 2024 14:47:09 +0000 (0:00:00.802) 0:00:04.381 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 17 June 2024 14:47:09 +0000 (0:00:00.037) 0:00:04.418 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 17 June 2024 14:47:09 +0000 (0:00:00.020) 0:00:04.439 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:28 Monday 17 June 2024 14:47:09 +0000 (0:00:00.020) 0:00:04.459 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 17 June 2024 14:47:09 +0000 (0:00:00.024) 0:00:04.484 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:57 Monday 17 June 2024 14:47:09 +0000 (0:00:00.020) 0:00:04.504 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:77 Monday 17 June 2024 14:47:09 +0000 (0:00:00.023) 0:00:04.527 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:90 Monday 17 June 2024 14:47:09 +0000 (0:00:00.041) 0:00:04.569 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 17 June 2024 14:47:09 +0000 (0:00:00.020) 0:00:04.589 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 17 June 2024 14:47:09 +0000 (0:00:00.020) 0:00:04.610 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:136 Monday 17 June 2024 14:47:09 +0000 (0:00:00.030) 0:00:04.641 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 17 June 2024 14:47:10 +0000 (0:00:00.494) 0:00:05.136 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:156 Monday 17 June 2024 14:47:10 +0000 (0:00:00.025) 0:00:05.162 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:164 Monday 17 June 2024 14:47:10 +0000 (0:00:00.019) 0:00:05.181 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:173 Monday 17 June 2024 14:47:10 +0000 (0:00:00.020) 0:00:05.202 *********** 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, 21d8bdd9-6eaa-442a-ac30-6aa6afa1fa5c [004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 21d8bdd9-6eaa-442a-ac30-6aa6afa1fa5c (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:185 Monday 17 June 2024 14:47:10 +0000 (0:00:00.586) 0:00:05.789 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:191 Monday 17 June 2024 14:47:10 +0000 (0:00:00.021) 0:00:05.810 *********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'br-example': add connection br-example, 21d8bdd9-6eaa-442a-ac30-6aa6afa1fa5c", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 21d8bdd9-6eaa-442a-ac30-6aa6afa1fa5c (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:195 Monday 17 June 2024 14:47:10 +0000 (0:00:00.021) 0:00:05.832 *********** 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, 21d8bdd9-6eaa-442a-ac30-6aa6afa1fa5c\n[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 21d8bdd9-6eaa-442a-ac30-6aa6afa1fa5c (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'br-example': add connection br-example, 21d8bdd9-6eaa-442a-ac30-6aa6afa1fa5c", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 21d8bdd9-6eaa-442a-ac30-6aa6afa1fa5c (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:200 Monday 17 June 2024 14:47:10 +0000 (0:00:00.023) 0:00:05.855 *********** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:206 Monday 17 June 2024 14:47:10 +0000 (0:00:00.020) 0:00:05.876 *********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get DNS search entry for IPv4] ******************************************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tests_ipv6_dns_search.yml:23 Monday 17 June 2024 14:47:11 +0000 (0:00:00.245) 0:00:06.121 *********** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv4.dns-search", "connection", "show", "br-example" ], "delta": "0:00:00.018406", "end": "2024-06-17 14:47:11.254149", "rc": 0, "start": "2024-06-17 14:47:11.235743" } STDOUT: ipv4.dns-search: example.com TASK [Get DNS search entry for IPv6] ******************************************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tests_ipv6_dns_search.yml:29 Monday 17 June 2024 14:47:11 +0000 (0:00:00.264) 0:00:06.386 *********** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv6.dns-search", "connection", "show", "br-example" ], "delta": "0:00:00.018084", "end": "2024-06-17 14:47:11.482681", "rc": 0, "start": "2024-06-17 14:47:11.464597" } STDOUT: ipv6.dns-search: -- TASK [Assert that IPv4 DNS search entry is configured correctly] *************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tests_ipv6_dns_search.yml:35 Monday 17 June 2024 14:47:11 +0000 (0:00:00.229) 0:00:06.615 *********** 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-tft-testsgbd2_0in/tests/playbooks/tests_ipv6_dns_search.yml:41 Monday 17 June 2024 14:47:11 +0000 (0:00:00.023) 0:00:06.639 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 17 June 2024 14:47:11 +0000 (0:00:00.024) 0:00:06.663 *********** included: /WORKDIR/git-tft-testsgbd2_0in/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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 17 June 2024 14:47:11 +0000 (0:00:00.038) 0:00:06.702 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 17 June 2024 14:47:11 +0000 (0:00:00.026) 0:00:06.729 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 17 June 2024 14:47:11 +0000 (0:00:00.022) 0:00:06.751 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 17 June 2024 14:47:11 +0000 (0:00:00.021) 0:00:06.773 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 17 June 2024 14:47:13 +0000 (0:00:01.617) 0:00:08.390 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 17 June 2024 14:47:13 +0000 (0:00:00.659) 0:00:09.050 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 17 June 2024 14:47:13 +0000 (0:00:00.022) 0:00:09.072 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 17 June 2024 14:47:13 +0000 (0:00:00.020) 0:00:09.092 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:28 Monday 17 June 2024 14:47:14 +0000 (0:00:00.020) 0:00:09.113 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 17 June 2024 14:47:14 +0000 (0:00:00.024) 0:00:09.137 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:57 Monday 17 June 2024 14:47:14 +0000 (0:00:00.041) 0:00:09.179 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:77 Monday 17 June 2024 14:47:14 +0000 (0:00:00.024) 0:00:09.203 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:90 Monday 17 June 2024 14:47:14 +0000 (0:00:00.042) 0:00:09.246 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 17 June 2024 14:47:14 +0000 (0:00:00.020) 0:00:09.266 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 17 June 2024 14:47:14 +0000 (0:00:00.021) 0:00:09.287 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:136 Monday 17 June 2024 14:47:14 +0000 (0:00:00.024) 0:00:09.311 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 17 June 2024 14:47:14 +0000 (0:00:00.363) 0:00:09.675 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:156 Monday 17 June 2024 14:47:14 +0000 (0:00:00.024) 0:00:09.699 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:164 Monday 17 June 2024 14:47:14 +0000 (0:00:00.020) 0:00:09.720 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:173 Monday 17 June 2024 14:47:14 +0000 (0:00:00.019) 0:00:09.739 *********** 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, 21d8bdd9-6eaa-442a-ac30-6aa6afa1fa5c [004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 21d8bdd9-6eaa-442a-ac30-6aa6afa1fa5c (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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:185 Monday 17 June 2024 14:47:15 +0000 (0:00:00.380) 0:00:10.120 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:191 Monday 17 June 2024 14:47:15 +0000 (0:00:00.022) 0:00:10.142 *********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'br-example': update connection br-example, 21d8bdd9-6eaa-442a-ac30-6aa6afa1fa5c", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 21d8bdd9-6eaa-442a-ac30-6aa6afa1fa5c (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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:195 Monday 17 June 2024 14:47:15 +0000 (0:00:00.024) 0:00:10.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, 21d8bdd9-6eaa-442a-ac30-6aa6afa1fa5c\n[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 21d8bdd9-6eaa-442a-ac30-6aa6afa1fa5c (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, 21d8bdd9-6eaa-442a-ac30-6aa6afa1fa5c", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 21d8bdd9-6eaa-442a-ac30-6aa6afa1fa5c (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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:200 Monday 17 June 2024 14:47:15 +0000 (0:00:00.038) 0:00:10.205 *********** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:206 Monday 17 June 2024 14:47:15 +0000 (0:00:00.026) 0:00:10.232 *********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get DNS search entry for IPv6] ******************************************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tests_ipv6_dns_search.yml:69 Monday 17 June 2024 14:47:15 +0000 (0:00:00.193) 0:00:10.425 *********** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv6.dns-search", "connection", "show", "br-example" ], "delta": "0:00:00.019373", "end": "2024-06-17 14:47:15.511577", "rc": 0, "start": "2024-06-17 14:47:15.492204" } 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-tft-testsgbd2_0in/tests/playbooks/tests_ipv6_dns_search.yml:75 Monday 17 June 2024 14:47:15 +0000 (0:00:00.217) 0:00:10.643 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 17 June 2024 14:47:15 +0000 (0:00:00.023) 0:00:10.667 *********** included: /WORKDIR/git-tft-testsgbd2_0in/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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 17 June 2024 14:47:15 +0000 (0:00:00.036) 0:00:10.703 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 17 June 2024 14:47:15 +0000 (0:00:00.026) 0:00:10.730 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 17 June 2024 14:47:15 +0000 (0:00:00.020) 0:00:10.751 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 17 June 2024 14:47:15 +0000 (0:00:00.021) 0:00:10.772 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 17 June 2024 14:47:17 +0000 (0:00:01.528) 0:00:12.300 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 17 June 2024 14:47:17 +0000 (0:00:00.687) 0:00:12.988 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 17 June 2024 14:47:17 +0000 (0:00:00.024) 0:00:13.012 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 17 June 2024 14:47:17 +0000 (0:00:00.022) 0:00:13.035 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:28 Monday 17 June 2024 14:47:17 +0000 (0:00:00.021) 0:00:13.056 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 17 June 2024 14:47:17 +0000 (0:00:00.032) 0:00:13.089 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:57 Monday 17 June 2024 14:47:18 +0000 (0:00:00.022) 0:00:13.111 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:77 Monday 17 June 2024 14:47:18 +0000 (0:00:00.026) 0:00:13.138 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:90 Monday 17 June 2024 14:47:18 +0000 (0:00:00.043) 0:00:13.181 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 17 June 2024 14:47:18 +0000 (0:00:00.022) 0:00:13.204 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 17 June 2024 14:47:18 +0000 (0:00:00.020) 0:00:13.224 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:136 Monday 17 June 2024 14:47:18 +0000 (0:00:00.023) 0:00:13.248 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 17 June 2024 14:47:18 +0000 (0:00:00.362) 0:00:13.611 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:156 Monday 17 June 2024 14:47:18 +0000 (0:00:00.073) 0:00:13.684 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:164 Monday 17 June 2024 14:47:18 +0000 (0:00:00.022) 0:00:13.706 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:173 Monday 17 June 2024 14:47:18 +0000 (0:00:00.020) 0:00:13.726 *********** 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, 21d8bdd9-6eaa-442a-ac30-6aa6afa1fa5c [004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 21d8bdd9-6eaa-442a-ac30-6aa6afa1fa5c (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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:185 Monday 17 June 2024 14:47:19 +0000 (0:00:00.388) 0:00:14.115 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:191 Monday 17 June 2024 14:47:19 +0000 (0:00:00.021) 0:00:14.137 *********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'br-example': update connection br-example, 21d8bdd9-6eaa-442a-ac30-6aa6afa1fa5c", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 21d8bdd9-6eaa-442a-ac30-6aa6afa1fa5c (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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:195 Monday 17 June 2024 14:47:19 +0000 (0:00:00.023) 0:00:14.160 *********** 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, 21d8bdd9-6eaa-442a-ac30-6aa6afa1fa5c\n[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 21d8bdd9-6eaa-442a-ac30-6aa6afa1fa5c (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, 21d8bdd9-6eaa-442a-ac30-6aa6afa1fa5c", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 21d8bdd9-6eaa-442a-ac30-6aa6afa1fa5c (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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:200 Monday 17 June 2024 14:47:19 +0000 (0:00:00.023) 0:00:14.184 *********** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:206 Monday 17 June 2024 14:47:19 +0000 (0:00:00.020) 0:00:14.204 *********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get DNS search entry for IPv6] ******************************************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tests_ipv6_dns_search.yml:101 Monday 17 June 2024 14:47:19 +0000 (0:00:00.194) 0:00:14.398 *********** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv6.dns-search", "connection", "show", "br-example" ], "delta": "0:00:00.018348", "end": "2024-06-17 14:47:19.481873", "rc": 0, "start": "2024-06-17 14:47:19.463525" } 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-tft-testsgbd2_0in/tests/playbooks/tests_ipv6_dns_search.yml:107 Monday 17 June 2024 14:47:19 +0000 (0:00:00.214) 0:00:14.613 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 17 June 2024 14:47:19 +0000 (0:00:00.030) 0:00:14.643 *********** included: /WORKDIR/git-tft-testsgbd2_0in/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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 17 June 2024 14:47:19 +0000 (0:00:00.041) 0:00:14.684 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 17 June 2024 14:47:19 +0000 (0:00:00.028) 0:00:14.713 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 17 June 2024 14:47:19 +0000 (0:00:00.022) 0:00:14.736 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 17 June 2024 14:47:19 +0000 (0:00:00.045) 0:00:14.782 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 17 June 2024 14:47:21 +0000 (0:00:01.518) 0:00:16.300 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 17 June 2024 14:47:21 +0000 (0:00:00.657) 0:00:16.958 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 17 June 2024 14:47:21 +0000 (0:00:00.022) 0:00:16.980 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 17 June 2024 14:47:21 +0000 (0:00:00.022) 0:00:17.002 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:28 Monday 17 June 2024 14:47:21 +0000 (0:00:00.021) 0:00:17.024 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 17 June 2024 14:47:21 +0000 (0:00:00.073) 0:00:17.098 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:57 Monday 17 June 2024 14:47:22 +0000 (0:00:00.024) 0:00:17.123 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:77 Monday 17 June 2024 14:47:22 +0000 (0:00:00.025) 0:00:17.148 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:90 Monday 17 June 2024 14:47:22 +0000 (0:00:00.045) 0:00:17.194 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 17 June 2024 14:47:22 +0000 (0:00:00.025) 0:00:17.219 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 17 June 2024 14:47:22 +0000 (0:00:00.022) 0:00:17.242 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:136 Monday 17 June 2024 14:47:22 +0000 (0:00:00.025) 0:00:17.267 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 17 June 2024 14:47:22 +0000 (0:00:00.359) 0:00:17.627 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:156 Monday 17 June 2024 14:47:22 +0000 (0:00:00.026) 0:00:17.654 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:164 Monday 17 June 2024 14:47:22 +0000 (0:00:00.021) 0:00:17.675 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:173 Monday 17 June 2024 14:47:22 +0000 (0:00:00.021) 0:00:17.697 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:185 Monday 17 June 2024 14:47:22 +0000 (0:00:00.324) 0:00:18.021 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:191 Monday 17 June 2024 14:47:22 +0000 (0:00:00.023) 0:00:18.044 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:195 Monday 17 June 2024 14:47:22 +0000 (0:00:00.025) 0:00:18.070 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:200 Monday 17 June 2024 14:47:22 +0000 (0:00:00.024) 0:00:18.095 *********** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:206 Monday 17 June 2024 14:47:23 +0000 (0:00:00.044) 0:00:18.140 *********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Assert that reconfiguring network connection is failed] ****************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tests_ipv6_dns_search.yml:131 Monday 17 June 2024 14:47:23 +0000 (0:00:00.199) 0:00:18.339 *********** 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-tft-testsgbd2_0in/tests/playbooks/tests_ipv6_dns_search.yml:138 Monday 17 June 2024 14:47:23 +0000 (0:00:00.023) 0:00:18.363 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 17 June 2024 14:47:23 +0000 (0:00:00.024) 0:00:18.388 *********** included: /WORKDIR/git-tft-testsgbd2_0in/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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 17 June 2024 14:47:23 +0000 (0:00:00.039) 0:00:18.427 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 17 June 2024 14:47:23 +0000 (0:00:00.027) 0:00:18.455 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 17 June 2024 14:47:23 +0000 (0:00:00.020) 0:00:18.476 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 17 June 2024 14:47:23 +0000 (0:00:00.020) 0:00:18.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 : Check which packages are installed] ********* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 17 June 2024 14:47:24 +0000 (0:00:01.548) 0:00:20.045 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 17 June 2024 14:47:25 +0000 (0:00:00.683) 0:00:20.728 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 17 June 2024 14:47:25 +0000 (0:00:00.026) 0:00:20.755 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 17 June 2024 14:47:25 +0000 (0:00:00.024) 0:00:20.780 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:28 Monday 17 June 2024 14:47:25 +0000 (0:00:00.045) 0:00:20.825 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 17 June 2024 14:47:25 +0000 (0:00:00.045) 0:00:20.871 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:57 Monday 17 June 2024 14:47:25 +0000 (0:00:00.031) 0:00:20.902 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:77 Monday 17 June 2024 14:47:25 +0000 (0:00:00.029) 0:00:20.932 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:90 Monday 17 June 2024 14:47:25 +0000 (0:00:00.045) 0:00:20.978 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 17 June 2024 14:47:25 +0000 (0:00:00.020) 0:00:20.999 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 17 June 2024 14:47:25 +0000 (0:00:00.030) 0:00:21.029 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:136 Monday 17 June 2024 14:47:25 +0000 (0:00:00.024) 0:00:21.054 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 17 June 2024 14:47:26 +0000 (0:00:00.387) 0:00:21.441 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:156 Monday 17 June 2024 14:47:26 +0000 (0:00:00.025) 0:00:21.467 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:164 Monday 17 June 2024 14:47:26 +0000 (0:00:00.021) 0:00:21.489 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:173 Monday 17 June 2024 14:47:26 +0000 (0:00:00.021) 0:00:21.510 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:185 Monday 17 June 2024 14:47:26 +0000 (0:00:00.442) 0:00:21.953 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:191 Monday 17 June 2024 14:47:26 +0000 (0:00:00.024) 0:00:21.977 *********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:195 Monday 17 June 2024 14:47:26 +0000 (0:00:00.027) 0:00:22.005 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:200 Monday 17 June 2024 14:47:26 +0000 (0:00:00.026) 0:00:22.032 *********** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:206 Monday 17 June 2024 14:47:26 +0000 (0:00:00.023) 0:00:22.055 *********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Verify network state restored to default] ******************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tests_ipv6_dns_search.yml:164 Monday 17 June 2024 14:47:27 +0000 (0:00:00.194) 0:00:22.250 *********** included: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/check_network_dns.yml:6 Monday 17 June 2024 14:47:27 +0000 (0:00:00.039) 0:00:22.290 *********** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :\nfi\n", "delta": "0:00:00.009243", "end": "2024-06-17 14:47:27.366562", "rc": 0, "start": "2024-06-17 14:47:27.357319" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 0a:ff:fb:e1:0c:bd brd ff:ff:ff:ff:ff:ff altname enX0 inet 10.31.14.120/22 brd 10.31.15.255 scope global dynamic noprefixroute eth0 valid_lft 3335sec preferred_lft 3335sec inet6 fe80::8ff:fbff:fee1:cbd/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.12.1 dev eth0 proto dhcp src 10.31.14.120 metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.14.120 metric 100 IP -6 ROUTE ::1 dev lo proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com testing-farm nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and network connectivity] ************************************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/check_network_dns.yml:24 Monday 17 June 2024 14:47:27 +0000 (0:00:00.207) 0:00:22.497 *********** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:00.578462", "end": "2024-06-17 14:47:28.149479", "rc": 0, "start": "2024-06-17 14:47:27.571017" } STDOUT: CHECK DNS AND CONNECTIVITY 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 1452 0 --:--:-- --:--:-- --:--:-- 1459 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 291 100 291 0 0 853 0 --:--:-- --:--:-- --:--:-- 853 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=66 changed=4 unreachable=0 failed=0 skipped=91 rescued=0 ignored=1 Monday 17 June 2024 14:47:28 +0000 (0:00:00.771) 0:00:23.269 *********** =============================================================================== linux-system-roles.network : Check which services are running ----------- 1.62s /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.59s /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.55s /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.53s /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.52s /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 0.80s /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Verify DNS and network connectivity ------------------------------------- 0.77s /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/check_network_dns.yml:24 - Gathering Facts --------------------------------------------------------- 0.71s /WORKDIR/git-tft-testsgbd2_0in/tests/tests_ipv6_dns_search_nm.yml:6 ----------- linux-system-roles.network : Check which packages are installed --------- 0.69s /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.68s /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.66s /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.66s /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Configure networking connection profiles --- 0.59s /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:173 linux-system-roles.network : Enable and start NetworkManager ------------ 0.50s /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:136 Gathering Facts --------------------------------------------------------- 0.49s /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tests_ipv6_dns_search.yml:2 ---- linux-system-roles.network : Configure networking connection profiles --- 0.44s /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:173 linux-system-roles.network : Configure networking connection profiles --- 0.39s /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:173 linux-system-roles.network : Enable and start NetworkManager ------------ 0.39s /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:136 linux-system-roles.network : Configure networking connection profiles --- 0.38s /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:173 linux-system-roles.network : Enable and start NetworkManager ------------ 0.36s /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:136 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: Distribution centos 9 on host sut should use /usr/libexec/platform-python, but is using /usr/bin/python for backward compatibility with prior Ansible releases. A future Ansible release will default to using the discovered platform python for this host. See https://docs .ansible.com/ansible/2.9/reference_appendices/interpreter_discovery.html for more information. This feature will be removed in version 2.12. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. [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. ---^---^---^---^---^---