# 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_states_nm.yml ************************************************** 2 plays in /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/tests_states_nm.yml:5 Tuesday 19 December 2023 15:29:55 +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-ansible-lint-test-2.16wndh1hfr/tests/tests_states_nm.yml:9 Tuesday 19 December 2023 15:29:56 +0000 (0:00:01.045) 0:00:01.058 ****** included: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/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.16wndh1hfr/tests/tasks/el_repo_setup.yml:3 Tuesday 19 December 2023 15:29:56 +0000 (0:00:00.033) 0:00:01.091 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/tasks/el_repo_setup.yml:19 Tuesday 19 December 2023 15:29:56 +0000 (0:00:00.586) 0:00:01.678 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/tasks/el_repo_setup.yml:24 Tuesday 19 December 2023 15:29:57 +0000 (0:00:00.357) 0:00:02.035 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/tasks/el_repo_setup.yml:28 Tuesday 19 December 2023 15:29:57 +0000 (0:00:00.029) 0:00:02.065 ****** 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.16wndh1hfr/tests/tasks/el_repo_setup.yml:53 Tuesday 19 December 2023 15:29:57 +0000 (0:00:00.020) 0:00:02.085 ****** included: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 38] ********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/tasks/enable_epel.yml:8 Tuesday 19 December 2023 15:29:57 +0000 (0:00:00.031) 0:00:02.117 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/tasks/enable_epel.yml:24 Tuesday 19 December 2023 15:29:57 +0000 (0:00:00.016) 0:00:02.133 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/tasks/enable_epel.yml:30 Tuesday 19 December 2023 15:29:57 +0000 (0:00:00.009) 0:00:02.143 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/tasks/enable_epel.yml:35 Tuesday 19 December 2023 15:29:57 +0000 (0:00:00.008) 0:00:02.152 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/tasks/enable_epel.yml:40 Tuesday 19 December 2023 15:29:57 +0000 (0:00:00.014) 0:00:02.166 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/tests_states_nm.yml:11 Tuesday 19 December 2023 15:29:57 +0000 (0:00:00.019) 0:00:02.186 ****** ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tests_states.yml:3 Tuesday 19 December 2023 15:29:57 +0000 (0:00:00.014) 0:00:02.200 ****** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tests_states.yml:11 Tuesday 19 December 2023 15:29:58 +0000 (0:00:00.852) 0:00:03.053 ****** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tests_states.yml:22 Tuesday 19 December 2023 15:29:58 +0000 (0:00:00.011) 0:00:03.064 ****** included: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/run_test.yml:5 Tuesday 19 December 2023 15:29:58 +0000 (0:00:00.030) 0:00:03.094 ****** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/run_test.yml:9 Tuesday 19 December 2023 15:29:58 +0000 (0:00:00.012) 0:00:03.107 ****** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_present.yml" } ] } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/run_test.yml:21 Tuesday 19 December 2023 15:29:58 +0000 (0:00:00.069) 0:00:03.176 ****** included: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 19 December 2023 15:29:58 +0000 (0:00:00.019) 0:00:03.196 ****** included: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 19 December 2023 15:29:58 +0000 (0:00:00.034) 0:00:03.230 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004779", "end": "2023-12-19 15:29:58.490944", "rc": 0, "start": "2023-12-19 15:29:58.486165" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 19 December 2023 15:29:58 +0000 (0:00:00.283) 0:00:03.514 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 19 December 2023 15:29:58 +0000 (0:00:00.035) 0:00:03.550 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/run_test.yml:24 Tuesday 19 December 2023 15:29:58 +0000 (0:00:00.017) 0:00:03.567 ****** included: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 19 December 2023 15:29:58 +0000 (0:00:00.052) 0:00:03.620 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.009896", "end": "2023-12-19 15:29:58.852791", "rc": 1, "start": "2023-12-19 15:29:58.842895" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 19 December 2023 15:29:58 +0000 (0:00:00.248) 0:00:03.869 ****** included: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 19 December 2023 15:29:58 +0000 (0:00:00.029) 0:00:03.898 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 19 December 2023 15:29:59 +0000 (0:00:00.297) 0:00:04.196 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/run_test.yml:30 Tuesday 19 December 2023 15:29:59 +0000 (0:00:00.066) 0:00:04.262 ****** included: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 19 December 2023 15:29:59 +0000 (0:00:00.071) 0:00:04.334 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 19 December 2023 15:29:59 +0000 (0:00:00.062) 0:00:04.396 ****** included: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 19 December 2023 15:29:59 +0000 (0:00:00.120) 0:00:04.517 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 19 December 2023 15:29:59 +0000 (0:00:00.018) 0:00:04.536 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 19 December 2023 15:29:59 +0000 (0:00:00.017) 0:00:04.553 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 19 December 2023 15:29:59 +0000 (0:00:00.022) 0:00:04.575 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 19 December 2023 15:30:02 +0000 (0:00:02.634) 0:00:07.210 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 19 December 2023 15:30:03 +0000 (0:00:01.360) 0:00:08.570 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 19 December 2023 15:30:03 +0000 (0:00:00.023) 0:00:08.594 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 19 December 2023 15:30:03 +0000 (0:00:00.041) 0:00:08.636 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 19 December 2023 15:30:03 +0000 (0:00:00.025) 0:00:08.661 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 19 December 2023 15:30:03 +0000 (0:00:00.045) 0:00:08.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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 19 December 2023 15:30:03 +0000 (0:00:00.030) 0:00:08.737 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 19 December 2023 15:30:03 +0000 (0:00:00.038) 0:00:08.776 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 19 December 2023 15:30:03 +0000 (0:00:00.029) 0:00:08.805 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 19 December 2023 15:30:04 +0000 (0:00:00.814) 0:00:09.620 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 19 December 2023 15:30:04 +0000 (0:00:00.054) 0:00:09.675 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 19 December 2023 15:30:04 +0000 (0:00:00.039) 0:00:09.715 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 19 December 2023 15:30:04 +0000 (0:00:00.040) 0:00:09.755 ****** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4f654de7-1bdb-4d1f-a226-936b706ea147 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 19 December 2023 15:30:05 +0000 (0:00:00.662) 0:00:10.418 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 19 December 2023 15:30:05 +0000 (0:00:00.062) 0:00:10.480 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4f654de7-1bdb-4d1f-a226-936b706ea147" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 19 December 2023 15:30:05 +0000 (0:00:00.060) 0:00:10.541 ****** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4f654de7-1bdb-4d1f-a226-936b706ea147\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4f654de7-1bdb-4d1f-a226-936b706ea147" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 19 December 2023 15:30:05 +0000 (0:00:00.070) 0:00:10.611 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 19 December 2023 15:30:05 +0000 (0:00:00.045) 0:00:10.657 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 19 December 2023 15:30:05 +0000 (0:00:00.310) 0:00:10.967 ****** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4f654de7-1bdb-4d1f-a226-936b706ea147\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4f654de7-1bdb-4d1f-a226-936b706ea147" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/run_test.yml:36 Tuesday 19 December 2023 15:30:06 +0000 (0:00:00.025) 0:00:10.993 ****** included: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 19 December 2023 15:30:06 +0000 (0:00:00.044) 0:00:11.038 ****** included: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 19 December 2023 15:30:06 +0000 (0:00:00.040) 0:00:11.079 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 19 December 2023 15:30:06 +0000 (0:00:00.023) 0:00:11.102 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 19 December 2023 15:30:06 +0000 (0:00:00.243) 0:00:11.345 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 19 December 2023 15:30:06 +0000 (0:00:00.051) 0:00:11.397 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024260", "end": "2023-12-19 15:30:06.649463", "rc": 0, "start": "2023-12-19 15:30:06.625203" } STDOUT: statebr /etc/NetworkManager/system-connections/statebr.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 19 December 2023 15:30:06 +0000 (0:00:00.311) 0:00:11.709 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 19 December 2023 15:30:06 +0000 (0:00:00.072) 0:00:11.782 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 19 December 2023 15:30:06 +0000 (0:00:00.071) 0:00:11.853 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 19 December 2023 15:30:06 +0000 (0:00:00.078) 0:00:11.932 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 19 December 2023 15:30:07 +0000 (0:00:00.064) 0:00:11.997 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 19 December 2023 15:30:07 +0000 (0:00:00.093) 0:00:12.090 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 19 December 2023 15:30:07 +0000 (0:00:00.089) 0:00:12.180 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 19 December 2023 15:30:07 +0000 (0:00:00.054) 0:00:12.234 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/run_test.yml:42 Tuesday 19 December 2023 15:30:07 +0000 (0:00:00.056) 0:00:12.291 ****** included: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 19 December 2023 15:30:07 +0000 (0:00:00.060) 0:00:12.351 ****** included: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 19 December 2023 15:30:07 +0000 (0:00:00.053) 0:00:12.404 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1702999805.335571, "block_size": 4096, "blocks": 0, "ctime": 1702999805.335571, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 31825, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/statebr", "lnk_target": "../../devices/virtual/net/statebr", "mode": "0777", "mtime": 1702999805.335571, "nlink": 1, "path": "/sys/class/net/statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that the interface is present - 'statebr'] ************************ task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 19 December 2023 15:30:07 +0000 (0:00:00.286) 0:00:12.691 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/run_test.yml:47 Tuesday 19 December 2023 15:30:07 +0000 (0:00:00.044) 0:00:12.736 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/run_test.yml:66 Tuesday 19 December 2023 15:30:07 +0000 (0:00:00.050) 0:00:12.786 ****** included: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 19 December 2023 15:30:07 +0000 (0:00:00.129) 0:00:12.916 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.067929", "end": "2023-12-19 15:30:08.196844", "rc": 1, "start": "2023-12-19 15:30:08.128915" } STDOUT: Connection 'statebr' (4f654de7-1bdb-4d1f-a226-936b706ea147) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tests_states.yml:45 Tuesday 19 December 2023 15:30:08 +0000 (0:00:00.310) 0:00:13.226 ****** included: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/run_test.yml:5 Tuesday 19 December 2023 15:30:08 +0000 (0:00:00.043) 0:00:13.270 ****** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/run_test.yml:9 Tuesday 19 December 2023 15:30:08 +0000 (0:00:00.040) 0:00:13.311 ****** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile without autoconnect" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile_no_autoconnect.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_absent.yml", "tasks/assert_profile_present.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/run_test.yml:21 Tuesday 19 December 2023 15:30:08 +0000 (0:00:00.078) 0:00:13.389 ****** included: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 19 December 2023 15:30:08 +0000 (0:00:00.047) 0:00:13.437 ****** included: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 19 December 2023 15:30:08 +0000 (0:00:00.077) 0:00:13.514 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.005939", "end": "2023-12-19 15:30:09.774909", "rc": 0, "start": "2023-12-19 15:30:08.768970" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 19 December 2023 15:30:09 +0000 (0:00:01.286) 0:00:14.801 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 19 December 2023 15:30:09 +0000 (0:00:00.024) 0:00:14.826 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/run_test.yml:24 Tuesday 19 December 2023 15:30:09 +0000 (0:00:00.048) 0:00:14.874 ****** included: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 19 December 2023 15:30:09 +0000 (0:00:00.044) 0:00:14.918 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008082", "end": "2023-12-19 15:30:10.133816", "rc": 1, "start": "2023-12-19 15:30:10.125734" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 19 December 2023 15:30:10 +0000 (0:00:00.233) 0:00:15.151 ****** included: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 19 December 2023 15:30:10 +0000 (0:00:00.047) 0:00:15.198 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 19 December 2023 15:30:10 +0000 (0:00:00.227) 0:00:15.426 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/run_test.yml:30 Tuesday 19 December 2023 15:30:10 +0000 (0:00:00.029) 0:00:15.455 ****** included: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Tuesday 19 December 2023 15:30:10 +0000 (0:00:00.043) 0:00:15.498 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 19 December 2023 15:30:10 +0000 (0:00:00.067) 0:00:15.566 ****** included: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 19 December 2023 15:30:10 +0000 (0:00:00.052) 0:00:15.619 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 19 December 2023 15:30:10 +0000 (0:00:00.048) 0:00:15.668 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 19 December 2023 15:30:10 +0000 (0:00:00.052) 0:00:15.720 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 19 December 2023 15:30:10 +0000 (0:00:00.046) 0:00:15.767 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 19 December 2023 15:30:13 +0000 (0:00:02.585) 0:00:18.352 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 19 December 2023 15:30:14 +0000 (0:00:01.077) 0:00:19.429 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 19 December 2023 15:30:14 +0000 (0:00:00.055) 0:00:19.485 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 19 December 2023 15:30:14 +0000 (0:00:00.027) 0:00:19.513 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 19 December 2023 15:30:14 +0000 (0:00:00.031) 0:00:19.544 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 19 December 2023 15:30:14 +0000 (0:00:00.080) 0:00:19.624 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 19 December 2023 15:30:14 +0000 (0:00:00.052) 0:00:19.677 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 19 December 2023 15:30:14 +0000 (0:00:00.045) 0:00:19.722 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 19 December 2023 15:30:14 +0000 (0:00:00.052) 0:00:19.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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 19 December 2023 15:30:15 +0000 (0:00:00.715) 0:00:20.490 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 19 December 2023 15:30:15 +0000 (0:00:00.028) 0:00:20.519 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 19 December 2023 15:30:15 +0000 (0:00:00.060) 0:00:20.579 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 19 December 2023 15:30:15 +0000 (0:00:00.031) 0:00:20.611 ****** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3bc62e3f-51b1-48f8-aa9b-0219312a25f7 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 19 December 2023 15:30:16 +0000 (0:00:00.502) 0:00:21.113 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 19 December 2023 15:30:16 +0000 (0:00:00.039) 0:00:21.152 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3bc62e3f-51b1-48f8-aa9b-0219312a25f7" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 19 December 2023 15:30:16 +0000 (0:00:00.056) 0:00:21.209 ****** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3bc62e3f-51b1-48f8-aa9b-0219312a25f7\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3bc62e3f-51b1-48f8-aa9b-0219312a25f7" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 19 December 2023 15:30:16 +0000 (0:00:00.043) 0:00:21.252 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 19 December 2023 15:30:16 +0000 (0:00:00.034) 0:00:21.287 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Tuesday 19 December 2023 15:30:16 +0000 (0:00:00.252) 0:00:21.540 ****** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3bc62e3f-51b1-48f8-aa9b-0219312a25f7\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3bc62e3f-51b1-48f8-aa9b-0219312a25f7" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/run_test.yml:36 Tuesday 19 December 2023 15:30:16 +0000 (0:00:00.035) 0:00:21.576 ****** included: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 19 December 2023 15:30:16 +0000 (0:00:00.107) 0:00:21.684 ****** included: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 19 December 2023 15:30:16 +0000 (0:00:00.141) 0:00:21.825 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 19 December 2023 15:30:17 +0000 (0:00:00.291) 0:00:22.116 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 19 December 2023 15:30:17 +0000 (0:00:00.043) 0:00:22.160 ****** included: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 19 December 2023 15:30:17 +0000 (0:00:00.096) 0:00:22.256 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 19 December 2023 15:30:17 +0000 (0:00:00.071) 0:00:22.328 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 19 December 2023 15:30:17 +0000 (0:00:00.245) 0:00:22.574 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 19 December 2023 15:30:17 +0000 (0:00:00.080) 0:00:22.655 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024512", "end": "2023-12-19 15:30:17.924477", "rc": 0, "start": "2023-12-19 15:30:17.899965" } STDOUT: statebr /etc/NetworkManager/system-connections/statebr.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 19 December 2023 15:30:17 +0000 (0:00:00.322) 0:00:22.977 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 19 December 2023 15:30:18 +0000 (0:00:00.028) 0:00:23.006 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 19 December 2023 15:30:18 +0000 (0:00:00.026) 0:00:23.032 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 19 December 2023 15:30:18 +0000 (0:00:00.026) 0:00:23.059 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 19 December 2023 15:30:18 +0000 (0:00:00.026) 0:00:23.085 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 19 December 2023 15:30:18 +0000 (0:00:00.112) 0:00:23.197 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 19 December 2023 15:30:18 +0000 (0:00:00.059) 0:00:23.257 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 19 December 2023 15:30:18 +0000 (0:00:00.031) 0:00:23.289 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/run_test.yml:42 Tuesday 19 December 2023 15:30:18 +0000 (0:00:00.036) 0:00:23.325 ****** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/run_test.yml:47 Tuesday 19 December 2023 15:30:18 +0000 (0:00:00.054) 0:00:23.380 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/run_test.yml:66 Tuesday 19 December 2023 15:30:18 +0000 (0:00:00.047) 0:00:23.427 ****** included: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 19 December 2023 15:30:18 +0000 (0:00:00.082) 0:00:23.510 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.050010", "end": "2023-12-19 15:30:18.790523", "rc": 1, "start": "2023-12-19 15:30:18.740513" } STDOUT: Connection 'statebr' (3bc62e3f-51b1-48f8-aa9b-0219312a25f7) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tests_states.yml:65 Tuesday 19 December 2023 15:30:18 +0000 (0:00:00.304) 0:00:23.814 ****** included: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/run_test.yml:5 Tuesday 19 December 2023 15:30:18 +0000 (0:00:00.064) 0:00:23.879 ****** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/run_test.yml:9 Tuesday 19 December 2023 15:30:18 +0000 (0:00:00.028) 0:00:23.907 ****** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can activate an existing profile" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/activate_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_present.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/run_test.yml:21 Tuesday 19 December 2023 15:30:18 +0000 (0:00:00.051) 0:00:23.959 ****** included: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 19 December 2023 15:30:19 +0000 (0:00:00.046) 0:00:24.005 ****** included: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 19 December 2023 15:30:19 +0000 (0:00:00.075) 0:00:24.081 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.005957", "end": "2023-12-19 15:30:20.300957", "rc": 0, "start": "2023-12-19 15:30:19.295000" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 19 December 2023 15:30:20 +0000 (0:00:01.246) 0:00:25.327 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 19 December 2023 15:30:20 +0000 (0:00:00.050) 0:00:25.377 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/run_test.yml:24 Tuesday 19 December 2023 15:30:20 +0000 (0:00:00.029) 0:00:25.406 ****** included: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 19 December 2023 15:30:20 +0000 (0:00:00.054) 0:00:25.461 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 19 December 2023 15:30:20 +0000 (0:00:00.055) 0:00:25.516 ****** included: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 19 December 2023 15:30:20 +0000 (0:00:00.047) 0:00:25.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 : Check if system is ostree] ****************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 19 December 2023 15:30:20 +0000 (0:00:00.073) 0:00:25.637 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 19 December 2023 15:30:20 +0000 (0:00:00.029) 0:00:25.667 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 19 December 2023 15:30:20 +0000 (0:00:00.040) 0:00:25.707 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 19 December 2023 15:30:23 +0000 (0:00:02.539) 0:00:28.247 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 19 December 2023 15:30:24 +0000 (0:00:01.091) 0:00:29.338 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 19 December 2023 15:30:24 +0000 (0:00:00.027) 0:00:29.366 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 19 December 2023 15:30:24 +0000 (0:00:00.027) 0:00:29.393 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 19 December 2023 15:30:24 +0000 (0:00:00.024) 0:00:29.418 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 19 December 2023 15:30:24 +0000 (0:00:00.084) 0:00:29.502 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 19 December 2023 15:30:24 +0000 (0:00:00.028) 0:00:29.530 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 19 December 2023 15:30:24 +0000 (0:00:00.031) 0:00:29.561 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 19 December 2023 15:30:24 +0000 (0:00:00.029) 0:00:29.591 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 19 December 2023 15:30:25 +0000 (0:00:00.613) 0:00:30.205 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 19 December 2023 15:30:25 +0000 (0:00:00.027) 0:00:30.232 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 19 December 2023 15:30:25 +0000 (0:00:00.024) 0:00:30.257 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 19 December 2023 15:30:25 +0000 (0:00:00.023) 0:00:30.280 ****** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9415c245-76ad-43fa-b887-de5ec2927503 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 19 December 2023 15:30:25 +0000 (0:00:00.466) 0:00:30.747 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 19 December 2023 15:30:25 +0000 (0:00:00.024) 0:00:30.772 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9415c245-76ad-43fa-b887-de5ec2927503" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 19 December 2023 15:30:25 +0000 (0:00:00.024) 0:00:30.797 ****** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9415c245-76ad-43fa-b887-de5ec2927503\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9415c245-76ad-43fa-b887-de5ec2927503" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 19 December 2023 15:30:25 +0000 (0:00:00.024) 0:00:30.821 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 19 December 2023 15:30:25 +0000 (0:00:00.022) 0:00:30.843 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 19 December 2023 15:30:26 +0000 (0:00:00.250) 0:00:31.093 ****** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9415c245-76ad-43fa-b887-de5ec2927503\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9415c245-76ad-43fa-b887-de5ec2927503" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/run_test.yml:30 Tuesday 19 December 2023 15:30:26 +0000 (0:00:00.027) 0:00:31.120 ****** included: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 19 December 2023 15:30:26 +0000 (0:00:00.049) 0:00:31.170 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 19 December 2023 15:30:26 +0000 (0:00:00.049) 0:00:31.219 ****** included: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 19 December 2023 15:30:26 +0000 (0:00:00.064) 0:00:31.283 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 19 December 2023 15:30:26 +0000 (0:00:00.048) 0:00:31.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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 19 December 2023 15:30:26 +0000 (0:00:00.051) 0:00:31.383 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 19 December 2023 15:30:26 +0000 (0:00:00.029) 0:00:31.413 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 19 December 2023 15:30:29 +0000 (0:00:02.636) 0:00:34.049 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 19 December 2023 15:30:30 +0000 (0:00:00.997) 0:00:35.047 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 19 December 2023 15:30:30 +0000 (0:00:00.046) 0:00:35.093 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 19 December 2023 15:30:30 +0000 (0:00:00.054) 0:00:35.148 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 19 December 2023 15:30:30 +0000 (0:00:00.050) 0:00:35.198 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 19 December 2023 15:30:30 +0000 (0:00:00.088) 0:00:35.287 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 19 December 2023 15:30:30 +0000 (0:00:00.075) 0:00:35.362 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 19 December 2023 15:30:30 +0000 (0:00:00.066) 0:00:35.429 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 19 December 2023 15:30:30 +0000 (0:00:00.107) 0:00:35.536 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 19 December 2023 15:30:31 +0000 (0:00:00.654) 0:00:36.191 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 19 December 2023 15:30:31 +0000 (0:00:00.028) 0:00:36.220 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 19 December 2023 15:30:31 +0000 (0:00:00.027) 0:00:36.247 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 19 December 2023 15:30:31 +0000 (0:00:00.025) 0:00:36.273 ****** ok: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 9415c245-76ad-43fa-b887-de5ec2927503 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 19 December 2023 15:30:31 +0000 (0:00:00.438) 0:00:36.711 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 19 December 2023 15:30:31 +0000 (0:00:00.023) 0:00:36.735 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 9415c245-76ad-43fa-b887-de5ec2927503 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 19 December 2023 15:30:31 +0000 (0:00:00.025) 0:00:36.760 ****** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 9415c245-76ad-43fa-b887-de5ec2927503 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 9415c245-76ad-43fa-b887-de5ec2927503 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 19 December 2023 15:30:31 +0000 (0:00:00.031) 0:00:36.792 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 19 December 2023 15:30:31 +0000 (0:00:00.025) 0:00:36.817 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/run_test.yml:36 Tuesday 19 December 2023 15:30:32 +0000 (0:00:00.237) 0:00:37.055 ****** included: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 19 December 2023 15:30:32 +0000 (0:00:00.063) 0:00:37.118 ****** included: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 19 December 2023 15:30:32 +0000 (0:00:00.077) 0:00:37.196 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1702999825.6537933, "block_size": 4096, "blocks": 0, "ctime": 1702999825.6537933, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 31956, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/statebr", "lnk_target": "../../devices/virtual/net/statebr", "mode": "0777", "mtime": 1702999825.6537933, "nlink": 1, "path": "/sys/class/net/statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that the interface is present - 'statebr'] ************************ task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 19 December 2023 15:30:32 +0000 (0:00:00.234) 0:00:37.430 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 19 December 2023 15:30:32 +0000 (0:00:00.025) 0:00:37.456 ****** included: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 19 December 2023 15:30:32 +0000 (0:00:00.038) 0:00:37.494 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 19 December 2023 15:30:32 +0000 (0:00:00.035) 0:00:37.529 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 19 December 2023 15:30:32 +0000 (0:00:00.241) 0:00:37.771 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 19 December 2023 15:30:32 +0000 (0:00:00.039) 0:00:37.810 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024517", "end": "2023-12-19 15:30:33.047216", "rc": 0, "start": "2023-12-19 15:30:33.022699" } STDOUT: statebr /etc/NetworkManager/system-connections/statebr.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 19 December 2023 15:30:33 +0000 (0:00:00.275) 0:00:38.086 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 19 December 2023 15:30:33 +0000 (0:00:00.055) 0:00:38.141 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 19 December 2023 15:30:33 +0000 (0:00:00.082) 0:00:38.224 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 19 December 2023 15:30:33 +0000 (0:00:00.055) 0:00:38.280 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 19 December 2023 15:30:33 +0000 (0:00:00.036) 0:00:38.316 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 19 December 2023 15:30:33 +0000 (0:00:00.125) 0:00:38.442 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 19 December 2023 15:30:33 +0000 (0:00:00.036) 0:00:38.479 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 19 December 2023 15:30:33 +0000 (0:00:00.032) 0:00:38.511 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/run_test.yml:42 Tuesday 19 December 2023 15:30:33 +0000 (0:00:00.033) 0:00:38.545 ****** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/run_test.yml:47 Tuesday 19 December 2023 15:30:33 +0000 (0:00:00.022) 0:00:38.568 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/run_test.yml:66 Tuesday 19 December 2023 15:30:33 +0000 (0:00:00.023) 0:00:38.591 ****** included: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 19 December 2023 15:30:33 +0000 (0:00:00.044) 0:00:38.636 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.078592", "end": "2023-12-19 15:30:33.933244", "rc": 1, "start": "2023-12-19 15:30:33.854652" } STDOUT: Connection 'statebr' (9415c245-76ad-43fa-b887-de5ec2927503) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tests_states.yml:83 Tuesday 19 December 2023 15:30:33 +0000 (0:00:00.321) 0:00:38.957 ****** included: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/run_test.yml:5 Tuesday 19 December 2023 15:30:34 +0000 (0:00:00.041) 0:00:38.999 ****** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/run_test.yml:9 Tuesday 19 December 2023 15:30:34 +0000 (0:00:00.034) 0:00:39.033 ****** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can remove an existing profile without taking it down" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_absent.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/run_test.yml:21 Tuesday 19 December 2023 15:30:34 +0000 (0:00:00.052) 0:00:39.085 ****** included: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 19 December 2023 15:30:34 +0000 (0:00:00.069) 0:00:39.155 ****** included: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 19 December 2023 15:30:34 +0000 (0:00:00.045) 0:00:39.200 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004674", "end": "2023-12-19 15:30:34.410070", "rc": 0, "start": "2023-12-19 15:30:34.405396" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 19 December 2023 15:30:34 +0000 (0:00:00.247) 0:00:39.448 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 19 December 2023 15:30:34 +0000 (0:00:00.029) 0:00:39.478 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/run_test.yml:24 Tuesday 19 December 2023 15:30:34 +0000 (0:00:00.031) 0:00:39.509 ****** included: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 19 December 2023 15:30:34 +0000 (0:00:00.068) 0:00:39.577 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 19 December 2023 15:30:34 +0000 (0:00:00.061) 0:00:39.639 ****** included: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 19 December 2023 15:30:34 +0000 (0:00:00.097) 0:00:39.736 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 19 December 2023 15:30:34 +0000 (0:00:00.034) 0:00:39.771 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 19 December 2023 15:30:34 +0000 (0:00:00.041) 0:00:39.813 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 19 December 2023 15:30:34 +0000 (0:00:00.042) 0:00:39.855 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 19 December 2023 15:30:37 +0000 (0:00:02.427) 0:00:42.283 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 19 December 2023 15:30:38 +0000 (0:00:00.965) 0:00:43.249 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 19 December 2023 15:30:38 +0000 (0:00:00.023) 0:00:43.272 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 19 December 2023 15:30:38 +0000 (0:00:00.022) 0:00:43.294 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 19 December 2023 15:30:38 +0000 (0:00:00.021) 0:00:43.316 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 19 December 2023 15:30:38 +0000 (0:00:00.095) 0:00:43.412 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 19 December 2023 15:30:38 +0000 (0:00:00.023) 0:00:43.436 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 19 December 2023 15:30:38 +0000 (0:00:00.027) 0:00:43.463 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 19 December 2023 15:30:38 +0000 (0:00:00.028) 0:00:43.492 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 19 December 2023 15:30:39 +0000 (0:00:00.605) 0:00:44.098 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 19 December 2023 15:30:39 +0000 (0:00:00.027) 0:00:44.125 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 19 December 2023 15:30:39 +0000 (0:00:00.024) 0:00:44.149 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 19 December 2023 15:30:39 +0000 (0:00:00.022) 0:00:44.172 ****** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ac761672-f6dc-4811-9430-869e415eb917 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 19 December 2023 15:30:39 +0000 (0:00:00.499) 0:00:44.671 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 19 December 2023 15:30:39 +0000 (0:00:00.024) 0:00:44.695 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ac761672-f6dc-4811-9430-869e415eb917" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 19 December 2023 15:30:39 +0000 (0:00:00.024) 0:00:44.719 ****** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ac761672-f6dc-4811-9430-869e415eb917\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ac761672-f6dc-4811-9430-869e415eb917" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 19 December 2023 15:30:39 +0000 (0:00:00.026) 0:00:44.746 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 19 December 2023 15:30:39 +0000 (0:00:00.029) 0:00:44.775 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 19 December 2023 15:30:40 +0000 (0:00:00.252) 0:00:45.027 ****** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ac761672-f6dc-4811-9430-869e415eb917\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ac761672-f6dc-4811-9430-869e415eb917" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 19 December 2023 15:30:40 +0000 (0:00:00.049) 0:00:45.077 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 19 December 2023 15:30:40 +0000 (0:00:00.120) 0:00:45.197 ****** included: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 19 December 2023 15:30:40 +0000 (0:00:00.075) 0:00:45.273 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 19 December 2023 15:30:40 +0000 (0:00:00.089) 0:00:45.362 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 19 December 2023 15:30:40 +0000 (0:00:00.055) 0:00:45.418 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 19 December 2023 15:30:40 +0000 (0:00:00.070) 0:00:45.489 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 19 December 2023 15:30:43 +0000 (0:00:02.515) 0:00:48.004 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 19 December 2023 15:30:43 +0000 (0:00:00.961) 0:00:48.966 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 19 December 2023 15:30:44 +0000 (0:00:00.023) 0:00:48.989 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 19 December 2023 15:30:44 +0000 (0:00:00.023) 0:00:49.013 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 19 December 2023 15:30:44 +0000 (0:00:00.023) 0:00:49.037 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 19 December 2023 15:30:44 +0000 (0:00:00.044) 0:00:49.082 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 19 December 2023 15:30:44 +0000 (0:00:00.029) 0:00:49.111 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 19 December 2023 15:30:44 +0000 (0:00:00.025) 0:00:49.136 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 19 December 2023 15:30:44 +0000 (0:00:00.029) 0:00:49.166 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 19 December 2023 15:30:44 +0000 (0:00:00.601) 0:00:49.767 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 19 December 2023 15:30:44 +0000 (0:00:00.028) 0:00:49.796 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 19 December 2023 15:30:44 +0000 (0:00:00.024) 0:00:49.820 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 19 December 2023 15:30:44 +0000 (0:00:00.023) 0:00:49.844 ****** ok: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, ac761672-f6dc-4811-9430-869e415eb917 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 19 December 2023 15:30:45 +0000 (0:00:00.404) 0:00:50.248 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 19 December 2023 15:30:45 +0000 (0:00:00.025) 0:00:50.273 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, ac761672-f6dc-4811-9430-869e415eb917 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 19 December 2023 15:30:45 +0000 (0:00:00.025) 0:00:50.299 ****** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, ac761672-f6dc-4811-9430-869e415eb917 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, ac761672-f6dc-4811-9430-869e415eb917 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 19 December 2023 15:30:45 +0000 (0:00:00.038) 0:00:50.337 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 19 December 2023 15:30:45 +0000 (0:00:00.025) 0:00:50.362 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/run_test.yml:30 Tuesday 19 December 2023 15:30:45 +0000 (0:00:00.240) 0:00:50.602 ****** included: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 19 December 2023 15:30:45 +0000 (0:00:00.043) 0:00:50.646 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 19 December 2023 15:30:45 +0000 (0:00:00.068) 0:00:50.714 ****** included: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 19 December 2023 15:30:45 +0000 (0:00:00.043) 0:00:50.758 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 19 December 2023 15:30:45 +0000 (0:00:00.028) 0:00:50.787 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 19 December 2023 15:30:45 +0000 (0:00:00.023) 0:00:50.811 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 19 December 2023 15:30:45 +0000 (0:00:00.024) 0:00:50.836 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 19 December 2023 15:30:48 +0000 (0:00:02.495) 0:00:53.331 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 19 December 2023 15:30:49 +0000 (0:00:00.958) 0:00:54.290 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 19 December 2023 15:30:49 +0000 (0:00:00.038) 0:00:54.328 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 19 December 2023 15:30:49 +0000 (0:00:00.063) 0:00:54.392 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 19 December 2023 15:30:49 +0000 (0:00:00.074) 0:00:54.467 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 19 December 2023 15:30:49 +0000 (0:00:00.051) 0:00:54.518 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 19 December 2023 15:30:49 +0000 (0:00:00.045) 0:00:54.564 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 19 December 2023 15:30:49 +0000 (0:00:00.047) 0:00:54.611 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 19 December 2023 15:30:49 +0000 (0:00:00.027) 0:00:54.639 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 19 December 2023 15:30:50 +0000 (0:00:00.661) 0:00:55.300 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 19 December 2023 15:30:50 +0000 (0:00:00.066) 0:00:55.366 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 19 December 2023 15:30:50 +0000 (0:00:00.070) 0:00:55.437 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 19 December 2023 15:30:50 +0000 (0:00:00.025) 0:00:55.462 ****** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 19 December 2023 15:30:50 +0000 (0:00:00.448) 0:00:55.910 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 19 December 2023 15:30:50 +0000 (0:00:00.040) 0:00:55.951 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 19 December 2023 15:30:51 +0000 (0:00:00.037) 0:00:55.988 ****** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 19 December 2023 15:30:51 +0000 (0:00:00.037) 0:00:56.025 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 19 December 2023 15:30:51 +0000 (0:00:00.041) 0:00:56.066 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/run_test.yml:36 Tuesday 19 December 2023 15:30:51 +0000 (0:00:00.241) 0:00:56.307 ****** included: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 19 December 2023 15:30:51 +0000 (0:00:00.051) 0:00:56.359 ****** included: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 19 December 2023 15:30:51 +0000 (0:00:00.073) 0:00:56.432 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1702999839.5898008, "block_size": 4096, "blocks": 0, "ctime": 1702999839.5898008, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 32087, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/statebr", "lnk_target": "../../devices/virtual/net/statebr", "mode": "0777", "mtime": 1702999839.5898008, "nlink": 1, "path": "/sys/class/net/statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that the interface is present - 'statebr'] ************************ task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 19 December 2023 15:30:51 +0000 (0:00:00.314) 0:00:56.747 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 19 December 2023 15:30:51 +0000 (0:00:00.076) 0:00:56.823 ****** included: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 19 December 2023 15:30:52 +0000 (0:00:00.163) 0:00:56.987 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 19 December 2023 15:30:52 +0000 (0:00:00.057) 0:00:57.044 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 19 December 2023 15:30:52 +0000 (0:00:00.290) 0:00:57.335 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 19 December 2023 15:30:52 +0000 (0:00:00.038) 0:00:57.374 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024277", "end": "2023-12-19 15:30:52.610427", "rc": 1, "start": "2023-12-19 15:30:52.586150" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 19 December 2023 15:30:52 +0000 (0:00:00.273) 0:00:57.647 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 19 December 2023 15:30:52 +0000 (0:00:00.032) 0:00:57.680 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 19 December 2023 15:30:52 +0000 (0:00:00.023) 0:00:57.704 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 19 December 2023 15:30:52 +0000 (0:00:00.025) 0:00:57.729 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 19 December 2023 15:30:52 +0000 (0:00:00.023) 0:00:57.753 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 19 December 2023 15:30:52 +0000 (0:00:00.023) 0:00:57.776 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/run_test.yml:42 Tuesday 19 December 2023 15:30:52 +0000 (0:00:00.026) 0:00:57.803 ****** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/run_test.yml:47 Tuesday 19 December 2023 15:30:52 +0000 (0:00:00.022) 0:00:57.825 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/run_test.yml:66 Tuesday 19 December 2023 15:30:52 +0000 (0:00:00.023) 0:00:57.849 ****** included: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 19 December 2023 15:30:52 +0000 (0:00:00.076) 0:00:57.926 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.074654", "end": "2023-12-19 15:30:53.206999", "rc": 1, "start": "2023-12-19 15:30:53.132345" } STDOUT: Connection 'statebr' (ac761672-f6dc-4811-9430-869e415eb917) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tests_states.yml:103 Tuesday 19 December 2023 15:30:53 +0000 (0:00:00.328) 0:00:58.254 ****** included: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/run_test.yml:5 Tuesday 19 December 2023 15:30:53 +0000 (0:00:00.074) 0:00:58.329 ****** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/run_test.yml:9 Tuesday 19 December 2023 15:30:53 +0000 (0:00:00.037) 0:00:58.366 ****** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can take a profile down that is absent" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove_profile.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_absent.yml" } ] } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/run_test.yml:21 Tuesday 19 December 2023 15:30:53 +0000 (0:00:00.050) 0:00:58.417 ****** included: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 19 December 2023 15:30:53 +0000 (0:00:00.056) 0:00:58.473 ****** included: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 19 December 2023 15:30:53 +0000 (0:00:00.081) 0:00:58.554 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004449", "end": "2023-12-19 15:30:53.787956", "rc": 0, "start": "2023-12-19 15:30:53.783507" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 19 December 2023 15:30:53 +0000 (0:00:00.291) 0:00:58.846 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 19 December 2023 15:30:53 +0000 (0:00:00.026) 0:00:58.872 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/run_test.yml:24 Tuesday 19 December 2023 15:30:53 +0000 (0:00:00.034) 0:00:58.907 ****** included: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 19 December 2023 15:30:53 +0000 (0:00:00.051) 0:00:58.958 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 19 December 2023 15:30:54 +0000 (0:00:00.068) 0:00:59.027 ****** included: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 19 December 2023 15:30:54 +0000 (0:00:00.043) 0:00:59.070 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 19 December 2023 15:30:54 +0000 (0:00:00.030) 0:00:59.101 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 19 December 2023 15:30:54 +0000 (0:00:00.031) 0:00:59.132 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 19 December 2023 15:30:54 +0000 (0:00:00.025) 0:00:59.157 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 19 December 2023 15:30:56 +0000 (0:00:02.410) 0:01:01.567 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 19 December 2023 15:30:57 +0000 (0:00:00.981) 0:01:02.549 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 19 December 2023 15:30:57 +0000 (0:00:00.027) 0:01:02.576 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 19 December 2023 15:30:57 +0000 (0:00:00.031) 0:01:02.608 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 19 December 2023 15:30:57 +0000 (0:00:00.032) 0:01:02.641 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 19 December 2023 15:30:57 +0000 (0:00:00.048) 0:01:02.689 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 19 December 2023 15:30:57 +0000 (0:00:00.024) 0:01:02.713 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 19 December 2023 15:30:57 +0000 (0:00:00.025) 0:01:02.738 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 19 December 2023 15:30:57 +0000 (0:00:00.027) 0:01:02.766 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 19 December 2023 15:30:58 +0000 (0:00:00.647) 0:01:03.413 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 19 December 2023 15:30:58 +0000 (0:00:00.042) 0:01:03.455 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 19 December 2023 15:30:58 +0000 (0:00:00.052) 0:01:03.508 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 19 December 2023 15:30:58 +0000 (0:00:00.025) 0:01:03.533 ****** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 64dfeb14-d514-4f07-82a6-515024a7410a TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 19 December 2023 15:30:59 +0000 (0:00:00.466) 0:01:04.000 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 19 December 2023 15:30:59 +0000 (0:00:00.072) 0:01:04.072 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 64dfeb14-d514-4f07-82a6-515024a7410a" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 19 December 2023 15:30:59 +0000 (0:00:00.036) 0:01:04.109 ****** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 64dfeb14-d514-4f07-82a6-515024a7410a\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 64dfeb14-d514-4f07-82a6-515024a7410a" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 19 December 2023 15:30:59 +0000 (0:00:00.064) 0:01:04.173 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 19 December 2023 15:30:59 +0000 (0:00:00.047) 0:01:04.220 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 19 December 2023 15:30:59 +0000 (0:00:00.264) 0:01:04.485 ****** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 64dfeb14-d514-4f07-82a6-515024a7410a\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 64dfeb14-d514-4f07-82a6-515024a7410a" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 19 December 2023 15:30:59 +0000 (0:00:00.060) 0:01:04.546 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 19 December 2023 15:30:59 +0000 (0:00:00.098) 0:01:04.644 ****** included: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 19 December 2023 15:30:59 +0000 (0:00:00.085) 0:01:04.730 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 19 December 2023 15:30:59 +0000 (0:00:00.145) 0:01:04.876 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 19 December 2023 15:30:59 +0000 (0:00:00.067) 0:01:04.943 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 19 December 2023 15:31:00 +0000 (0:00:00.050) 0:01:04.994 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 19 December 2023 15:31:02 +0000 (0:00:02.583) 0:01:07.578 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 19 December 2023 15:31:03 +0000 (0:00:01.021) 0:01:08.600 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 19 December 2023 15:31:03 +0000 (0:00:00.053) 0:01:08.653 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 19 December 2023 15:31:03 +0000 (0:00:00.048) 0:01:08.702 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 19 December 2023 15:31:03 +0000 (0:00:00.026) 0:01:08.729 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 19 December 2023 15:31:03 +0000 (0:00:00.221) 0:01:08.950 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 19 December 2023 15:31:04 +0000 (0:00:00.035) 0:01:08.985 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 19 December 2023 15:31:04 +0000 (0:00:00.057) 0:01:09.042 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 19 December 2023 15:31:04 +0000 (0:00:00.070) 0:01:09.113 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 19 December 2023 15:31:04 +0000 (0:00:00.680) 0:01:09.794 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 19 December 2023 15:31:04 +0000 (0:00:00.035) 0:01:09.830 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 19 December 2023 15:31:04 +0000 (0:00:00.071) 0:01:09.901 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 19 December 2023 15:31:04 +0000 (0:00:00.061) 0:01:09.963 ****** ok: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 64dfeb14-d514-4f07-82a6-515024a7410a skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 19 December 2023 15:31:05 +0000 (0:00:00.452) 0:01:10.416 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 19 December 2023 15:31:05 +0000 (0:00:00.029) 0:01:10.445 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 64dfeb14-d514-4f07-82a6-515024a7410a skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 19 December 2023 15:31:05 +0000 (0:00:00.024) 0:01:10.470 ****** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 64dfeb14-d514-4f07-82a6-515024a7410a skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 64dfeb14-d514-4f07-82a6-515024a7410a skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 19 December 2023 15:31:05 +0000 (0:00:00.024) 0:01:10.494 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 19 December 2023 15:31:05 +0000 (0:00:00.022) 0:01:10.516 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 19 December 2023 15:31:05 +0000 (0:00:00.244) 0:01:10.761 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 19 December 2023 15:31:05 +0000 (0:00:00.040) 0:01:10.802 ****** included: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 19 December 2023 15:31:05 +0000 (0:00:00.044) 0:01:10.846 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 19 December 2023 15:31:05 +0000 (0:00:00.030) 0:01:10.877 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 19 December 2023 15:31:05 +0000 (0:00:00.024) 0:01:10.902 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 19 December 2023 15:31:05 +0000 (0:00:00.024) 0:01:10.926 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 19 December 2023 15:31:08 +0000 (0:00:02.530) 0:01:13.456 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 19 December 2023 15:31:09 +0000 (0:00:00.996) 0:01:14.453 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 19 December 2023 15:31:09 +0000 (0:00:00.053) 0:01:14.507 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 19 December 2023 15:31:09 +0000 (0:00:00.047) 0:01:14.555 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 19 December 2023 15:31:09 +0000 (0:00:00.041) 0:01:14.596 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 19 December 2023 15:31:09 +0000 (0:00:00.073) 0:01:14.670 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 19 December 2023 15:31:09 +0000 (0:00:00.042) 0:01:14.713 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 19 December 2023 15:31:09 +0000 (0:00:00.043) 0:01:14.756 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 19 December 2023 15:31:09 +0000 (0:00:00.042) 0:01:14.799 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 19 December 2023 15:31:10 +0000 (0:00:00.670) 0:01:15.469 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 19 December 2023 15:31:10 +0000 (0:00:00.031) 0:01:15.500 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 19 December 2023 15:31:10 +0000 (0:00:00.049) 0:01:15.549 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 19 December 2023 15:31:10 +0000 (0:00:00.042) 0:01:15.592 ****** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 19 December 2023 15:31:11 +0000 (0:00:00.454) 0:01:16.047 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 19 December 2023 15:31:11 +0000 (0:00:00.022) 0:01:16.070 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 19 December 2023 15:31:11 +0000 (0:00:00.024) 0:01:16.095 ****** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 19 December 2023 15:31:11 +0000 (0:00:00.023) 0:01:16.118 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 19 December 2023 15:31:11 +0000 (0:00:00.023) 0:01:16.142 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/run_test.yml:30 Tuesday 19 December 2023 15:31:11 +0000 (0:00:00.216) 0:01:16.358 ****** included: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 19 December 2023 15:31:11 +0000 (0:00:00.043) 0:01:16.401 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 19 December 2023 15:31:11 +0000 (0:00:00.042) 0:01:16.444 ****** included: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 19 December 2023 15:31:11 +0000 (0:00:00.081) 0:01:16.525 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 19 December 2023 15:31:11 +0000 (0:00:00.031) 0:01:16.557 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 19 December 2023 15:31:11 +0000 (0:00:00.025) 0:01:16.583 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 19 December 2023 15:31:11 +0000 (0:00:00.027) 0:01:16.610 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 19 December 2023 15:31:14 +0000 (0:00:02.453) 0:01:19.064 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 19 December 2023 15:31:15 +0000 (0:00:00.968) 0:01:20.032 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 19 December 2023 15:31:15 +0000 (0:00:00.023) 0:01:20.055 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 19 December 2023 15:31:15 +0000 (0:00:00.022) 0:01:20.077 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 19 December 2023 15:31:15 +0000 (0:00:00.022) 0:01:20.100 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 19 December 2023 15:31:15 +0000 (0:00:00.044) 0:01:20.144 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 19 December 2023 15:31:15 +0000 (0:00:00.024) 0:01:20.168 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 19 December 2023 15:31:15 +0000 (0:00:00.025) 0:01:20.193 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 19 December 2023 15:31:15 +0000 (0:00:00.036) 0:01:20.229 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 19 December 2023 15:31:15 +0000 (0:00:00.636) 0:01:20.866 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 19 December 2023 15:31:15 +0000 (0:00:00.027) 0:01:20.894 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 19 December 2023 15:31:15 +0000 (0:00:00.026) 0:01:20.920 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 19 December 2023 15:31:15 +0000 (0:00:00.023) 0:01:20.944 ****** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 19 December 2023 15:31:16 +0000 (0:00:00.486) 0:01:21.431 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 19 December 2023 15:31:16 +0000 (0:00:00.025) 0:01:21.457 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 19 December 2023 15:31:16 +0000 (0:00:00.029) 0:01:21.486 ****** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete\n", "stderr_lines": [ "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 19 December 2023 15:31:16 +0000 (0:00:00.027) 0:01:21.514 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 19 December 2023 15:31:16 +0000 (0:00:00.034) 0:01:21.548 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/run_test.yml:36 Tuesday 19 December 2023 15:31:16 +0000 (0:00:00.241) 0:01:21.790 ****** included: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 19 December 2023 15:31:16 +0000 (0:00:00.047) 0:01:21.838 ****** included: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 19 December 2023 15:31:16 +0000 (0:00:00.043) 0:01:21.881 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 19 December 2023 15:31:16 +0000 (0:00:00.055) 0:01:21.937 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 19 December 2023 15:31:17 +0000 (0:00:00.236) 0:01:22.173 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 19 December 2023 15:31:17 +0000 (0:00:00.030) 0:01:22.204 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023597", "end": "2023-12-19 15:31:17.442936", "rc": 1, "start": "2023-12-19 15:31:17.419339" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 19 December 2023 15:31:17 +0000 (0:00:00.257) 0:01:22.461 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 19 December 2023 15:31:17 +0000 (0:00:00.026) 0:01:22.488 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 19 December 2023 15:31:17 +0000 (0:00:00.028) 0:01:22.517 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 19 December 2023 15:31:17 +0000 (0:00:00.025) 0:01:22.542 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 19 December 2023 15:31:17 +0000 (0:00:00.024) 0:01:22.567 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 19 December 2023 15:31:17 +0000 (0:00:00.026) 0:01:22.593 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/run_test.yml:42 Tuesday 19 December 2023 15:31:17 +0000 (0:00:00.029) 0:01:22.623 ****** included: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 19 December 2023 15:31:17 +0000 (0:00:00.060) 0:01:22.684 ****** included: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 19 December 2023 15:31:17 +0000 (0:00:00.052) 0:01:22.736 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 19 December 2023 15:31:18 +0000 (0:00:00.287) 0:01:23.024 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/run_test.yml:47 Tuesday 19 December 2023 15:31:18 +0000 (0:00:00.029) 0:01:23.053 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/run_test.yml:66 Tuesday 19 December 2023 15:31:18 +0000 (0:00:00.027) 0:01:23.080 ****** included: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 19 December 2023 15:31:18 +0000 (0:00:00.048) 0:01:23.129 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.046910", "end": "2023-12-19 15:31:18.387456", "rc": 1, "start": "2023-12-19 15:31:18.340546" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tests_states.yml:126 Tuesday 19 December 2023 15:31:18 +0000 (0:00:00.283) 0:01:23.413 ****** included: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I will not get an error when I try to remove an absent profile] **** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/run_test.yml:5 Tuesday 19 December 2023 15:31:18 +0000 (0:00:00.050) 0:01:23.463 ****** ok: [sut] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/run_test.yml:9 Tuesday 19 December 2023 15:31:18 +0000 (0:00:00.037) 0:01:23.500 ****** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I will not get an error when I try to remove an absent profile" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove+down_profile.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_absent.yml" } ] } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/run_test.yml:21 Tuesday 19 December 2023 15:31:18 +0000 (0:00:00.047) 0:01:23.548 ****** included: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 19 December 2023 15:31:18 +0000 (0:00:00.038) 0:01:23.587 ****** included: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 19 December 2023 15:31:18 +0000 (0:00:00.047) 0:01:23.634 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.005941", "end": "2023-12-19 15:31:19.875384", "rc": 0, "start": "2023-12-19 15:31:18.869443" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 19 December 2023 15:31:19 +0000 (0:00:01.260) 0:01:24.894 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 19 December 2023 15:31:19 +0000 (0:00:00.030) 0:01:24.925 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/run_test.yml:24 Tuesday 19 December 2023 15:31:19 +0000 (0:00:00.023) 0:01:24.949 ****** included: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 19 December 2023 15:31:20 +0000 (0:00:00.048) 0:01:24.998 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 19 December 2023 15:31:20 +0000 (0:00:00.040) 0:01:25.038 ****** included: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 19 December 2023 15:31:20 +0000 (0:00:00.043) 0:01:25.082 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 19 December 2023 15:31:20 +0000 (0:00:00.031) 0:01:25.113 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 19 December 2023 15:31:20 +0000 (0:00:00.024) 0:01:25.137 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 19 December 2023 15:31:20 +0000 (0:00:00.031) 0:01:25.169 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 19 December 2023 15:31:22 +0000 (0:00:02.503) 0:01:27.672 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 19 December 2023 15:31:23 +0000 (0:00:00.975) 0:01:28.647 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 19 December 2023 15:31:23 +0000 (0:00:00.029) 0:01:28.676 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 19 December 2023 15:31:23 +0000 (0:00:00.031) 0:01:28.708 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 19 December 2023 15:31:23 +0000 (0:00:00.028) 0:01:28.736 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 19 December 2023 15:31:23 +0000 (0:00:00.047) 0:01:28.784 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 19 December 2023 15:31:23 +0000 (0:00:00.032) 0:01:28.816 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 19 December 2023 15:31:23 +0000 (0:00:00.025) 0:01:28.841 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 19 December 2023 15:31:23 +0000 (0:00:00.026) 0:01:28.868 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 19 December 2023 15:31:24 +0000 (0:00:00.610) 0:01:29.479 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 19 December 2023 15:31:24 +0000 (0:00:00.028) 0:01:29.507 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 19 December 2023 15:31:24 +0000 (0:00:00.028) 0:01:29.536 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 19 December 2023 15:31:24 +0000 (0:00:00.028) 0:01:29.564 ****** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ad615c2d-1a83-43b2-9b0c-6120a474298a TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 19 December 2023 15:31:25 +0000 (0:00:00.445) 0:01:30.010 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 19 December 2023 15:31:25 +0000 (0:00:00.053) 0:01:30.064 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ad615c2d-1a83-43b2-9b0c-6120a474298a" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 19 December 2023 15:31:25 +0000 (0:00:00.025) 0:01:30.089 ****** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ad615c2d-1a83-43b2-9b0c-6120a474298a\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ad615c2d-1a83-43b2-9b0c-6120a474298a" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 19 December 2023 15:31:25 +0000 (0:00:00.027) 0:01:30.116 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 19 December 2023 15:31:25 +0000 (0:00:00.024) 0:01:30.140 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 19 December 2023 15:31:25 +0000 (0:00:00.232) 0:01:30.372 ****** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ad615c2d-1a83-43b2-9b0c-6120a474298a\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ad615c2d-1a83-43b2-9b0c-6120a474298a" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 19 December 2023 15:31:25 +0000 (0:00:00.025) 0:01:30.397 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 19 December 2023 15:31:25 +0000 (0:00:00.038) 0:01:30.436 ****** included: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 19 December 2023 15:31:25 +0000 (0:00:00.043) 0:01:30.480 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 19 December 2023 15:31:25 +0000 (0:00:00.029) 0:01:30.509 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 19 December 2023 15:31:25 +0000 (0:00:00.022) 0:01:30.532 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 19 December 2023 15:31:25 +0000 (0:00:00.021) 0:01:30.553 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 19 December 2023 15:31:27 +0000 (0:00:02.414) 0:01:32.967 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 19 December 2023 15:31:28 +0000 (0:00:00.958) 0:01:33.926 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 19 December 2023 15:31:28 +0000 (0:00:00.026) 0:01:33.952 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 19 December 2023 15:31:28 +0000 (0:00:00.024) 0:01:33.977 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 19 December 2023 15:31:29 +0000 (0:00:00.023) 0:01:34.000 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 19 December 2023 15:31:29 +0000 (0:00:00.046) 0:01:34.047 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 19 December 2023 15:31:29 +0000 (0:00:00.069) 0:01:34.117 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 19 December 2023 15:31:29 +0000 (0:00:00.024) 0:01:34.142 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 19 December 2023 15:31:29 +0000 (0:00:00.029) 0:01:34.171 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 19 December 2023 15:31:29 +0000 (0:00:00.596) 0:01:34.768 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 19 December 2023 15:31:29 +0000 (0:00:00.028) 0:01:34.796 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 19 December 2023 15:31:29 +0000 (0:00:00.027) 0:01:34.823 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 19 December 2023 15:31:29 +0000 (0:00:00.025) 0:01:34.849 ****** ok: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, ad615c2d-1a83-43b2-9b0c-6120a474298a skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 19 December 2023 15:31:30 +0000 (0:00:00.403) 0:01:35.252 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 19 December 2023 15:31:30 +0000 (0:00:00.028) 0:01:35.280 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, ad615c2d-1a83-43b2-9b0c-6120a474298a skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 19 December 2023 15:31:30 +0000 (0:00:00.025) 0:01:35.306 ****** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, ad615c2d-1a83-43b2-9b0c-6120a474298a skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, ad615c2d-1a83-43b2-9b0c-6120a474298a skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 19 December 2023 15:31:30 +0000 (0:00:00.025) 0:01:35.332 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 19 December 2023 15:31:30 +0000 (0:00:00.026) 0:01:35.358 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 19 December 2023 15:31:30 +0000 (0:00:00.260) 0:01:35.619 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 19 December 2023 15:31:30 +0000 (0:00:00.038) 0:01:35.658 ****** included: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 19 December 2023 15:31:30 +0000 (0:00:00.044) 0:01:35.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-ansible-lint-test-2.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 19 December 2023 15:31:30 +0000 (0:00:00.035) 0:01:35.738 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 19 December 2023 15:31:30 +0000 (0:00:00.024) 0:01:35.763 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 19 December 2023 15:31:30 +0000 (0:00:00.028) 0:01:35.791 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 19 December 2023 15:31:33 +0000 (0:00:02.476) 0:01:38.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 : Print network provider] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 19 December 2023 15:31:34 +0000 (0:00:01.090) 0:01:39.357 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 19 December 2023 15:31:34 +0000 (0:00:00.040) 0:01:39.398 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 19 December 2023 15:31:34 +0000 (0:00:00.041) 0:01:39.439 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 19 December 2023 15:31:34 +0000 (0:00:00.052) 0:01:39.492 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 19 December 2023 15:31:34 +0000 (0:00:00.047) 0:01:39.540 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 19 December 2023 15:31:34 +0000 (0:00:00.057) 0:01:39.598 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 19 December 2023 15:31:34 +0000 (0:00:00.056) 0:01:39.654 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 19 December 2023 15:31:34 +0000 (0:00:00.052) 0:01:39.706 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 19 December 2023 15:31:35 +0000 (0:00:00.615) 0:01:40.322 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 19 December 2023 15:31:35 +0000 (0:00:00.049) 0:01:40.372 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 19 December 2023 15:31:35 +0000 (0:00:00.026) 0:01:40.398 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 19 December 2023 15:31:35 +0000 (0:00:00.073) 0:01:40.471 ****** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 19 December 2023 15:31:35 +0000 (0:00:00.496) 0:01:40.967 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 19 December 2023 15:31:36 +0000 (0:00:00.025) 0:01:40.992 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 19 December 2023 15:31:36 +0000 (0:00:00.057) 0:01:41.050 ****** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 19 December 2023 15:31:36 +0000 (0:00:00.056) 0:01:41.106 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 19 December 2023 15:31:36 +0000 (0:00:00.032) 0:01:41.138 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/run_test.yml:30 Tuesday 19 December 2023 15:31:36 +0000 (0:00:00.226) 0:01:41.365 ****** included: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 19 December 2023 15:31:36 +0000 (0:00:00.042) 0:01:41.408 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 19 December 2023 15:31:36 +0000 (0:00:00.039) 0:01:41.447 ****** included: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 19 December 2023 15:31:36 +0000 (0:00:00.043) 0:01:41.491 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 19 December 2023 15:31:36 +0000 (0:00:00.029) 0:01:41.521 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 19 December 2023 15:31:36 +0000 (0:00:00.071) 0:01:41.592 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 19 December 2023 15:31:36 +0000 (0:00:00.044) 0:01:41.637 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 19 December 2023 15:31:39 +0000 (0:00:02.459) 0:01:44.097 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 19 December 2023 15:31:40 +0000 (0:00:00.996) 0:01:45.093 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 19 December 2023 15:31:40 +0000 (0:00:00.023) 0:01:45.117 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 19 December 2023 15:31:40 +0000 (0:00:00.024) 0:01:45.142 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 19 December 2023 15:31:40 +0000 (0:00:00.024) 0:01:45.167 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 19 December 2023 15:31:40 +0000 (0:00:00.056) 0:01:45.223 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 19 December 2023 15:31:40 +0000 (0:00:00.025) 0:01:45.249 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 19 December 2023 15:31:40 +0000 (0:00:00.025) 0:01:45.274 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 19 December 2023 15:31:40 +0000 (0:00:00.059) 0:01:45.334 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 19 December 2023 15:31:40 +0000 (0:00:00.640) 0:01:45.974 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 19 December 2023 15:31:41 +0000 (0:00:00.033) 0:01:46.008 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 19 December 2023 15:31:41 +0000 (0:00:00.023) 0:01:46.032 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 19 December 2023 15:31:41 +0000 (0:00:00.039) 0:01:46.071 ****** ok: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 19 December 2023 15:31:41 +0000 (0:00:00.524) 0:01:46.595 ****** 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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 19 December 2023 15:31:41 +0000 (0:00:00.049) 0:01:46.644 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 19 December 2023 15:31:41 +0000 (0:00:00.028) 0:01:46.673 ****** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete\n", "stderr_lines": [ "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 19 December 2023 15:31:41 +0000 (0:00:00.026) 0:01:46.699 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 19 December 2023 15:31:41 +0000 (0:00:00.029) 0:01:46.728 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/run_test.yml:36 Tuesday 19 December 2023 15:31:41 +0000 (0:00:00.249) 0:01:46.978 ****** included: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 19 December 2023 15:31:42 +0000 (0:00:00.080) 0:01:47.058 ****** included: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 19 December 2023 15:31:42 +0000 (0:00:00.076) 0:01:47.134 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 19 December 2023 15:31:42 +0000 (0:00:00.043) 0:01:47.178 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 19 December 2023 15:31:42 +0000 (0:00:00.230) 0:01:47.409 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 19 December 2023 15:31:42 +0000 (0:00:00.035) 0:01:47.444 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023121", "end": "2023-12-19 15:31:42.699793", "rc": 1, "start": "2023-12-19 15:31:42.676672" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 19 December 2023 15:31:42 +0000 (0:00:00.282) 0:01:47.727 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 19 December 2023 15:31:42 +0000 (0:00:00.025) 0:01:47.752 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 19 December 2023 15:31:42 +0000 (0:00:00.140) 0:01:47.892 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 19 December 2023 15:31:42 +0000 (0:00:00.044) 0:01:47.937 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 19 December 2023 15:31:42 +0000 (0:00:00.032) 0:01:47.970 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 19 December 2023 15:31:43 +0000 (0:00:00.034) 0:01:48.004 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Tuesday 19 December 2023 15:31:43 +0000 (0:00:00.033) 0:01:48.038 ****** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.367342", "end": "2023-12-19 15:31:43.616494", "rc": 0, "start": "2023-12-19 15:31:43.249152" } STDOUT: NetworkManager-1.42.8-1.fc38 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Tuesday 19 December 2023 15:31:43 +0000 (0:00:00.597) 0:01:48.635 ****** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.42.8-1.fc38" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Tuesday 19 December 2023 15:31:43 +0000 (0:00:00.023) 0:01:48.658 ****** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.42.8-1.fc38" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/run_test.yml:42 Tuesday 19 December 2023 15:31:43 +0000 (0:00:00.023) 0:01:48.682 ****** included: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 19 December 2023 15:31:43 +0000 (0:00:00.048) 0:01:48.730 ****** included: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 19 December 2023 15:31:43 +0000 (0:00:00.043) 0:01:48.774 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 19 December 2023 15:31:44 +0000 (0:00:00.231) 0:01:49.005 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I will not get an error when I try to remove an absent profile'] *** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/run_test.yml:47 Tuesday 19 December 2023 15:31:44 +0000 (0:00:00.038) 0:01:49.044 ****** ok: [sut] => {} MSG: +++++ Success in test 'I will not get an error when I try to remove an absent profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/run_test.yml:66 Tuesday 19 December 2023 15:31:44 +0000 (0:00:00.034) 0:01:49.079 ****** included: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 19 December 2023 15:31:44 +0000 (0:00:00.074) 0:01:49.153 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.046250", "end": "2023-12-19 15:31:44.409804", "rc": 1, "start": "2023-12-19 15:31:44.363554" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=316 changed=10 unreachable=0 failed=0 skipped=252 rescued=0 ignored=11 Tuesday 19 December 2023 15:31:44 +0000 (0:00:00.287) 0:01:49.441 ****** =============================================================================== linux-system-roles.network : Enable and start NetworkManager ------------ 3.29s /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Check which services are running ----------- 2.64s /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.63s /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.59s /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.58s /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 2.54s /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Check which services are running ----------- 2.54s /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Enable and start NetworkManager ------------ 2.53s /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Check which services are running ----------- 2.53s /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.52s /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.50s /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.50s /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.46s /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/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.16wndh1hfr/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.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.41s /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.41s /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Enable and start NetworkManager ------------ 1.89s /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Configure networking connection profiles --- 1.70s /WORKDIR/git-ansible-lint-test-2.16wndh1hfr/tests/roles/linux-system-roles.network/tasks/main.yml:122 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the yum, dnf or zypper module rather than running 'rpm'. If you need to use command because yum, dnf or zypper is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ---^---^---^---^---^---