# 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.16a7fiha57/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.16a7fiha57/tests/tests_states_nm.yml:6 Thursday 21 December 2023 15:52:26 +0000 (0:00:00.011) 0:00:00.011 ***** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/tests_states_nm.yml:9 Thursday 21 December 2023 15:52:27 +0000 (0:00:00.923) 0:00:00.935 ***** included: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/tasks/el_repo_setup.yml for sut TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/tasks/el_repo_setup.yml:3 Thursday 21 December 2023 15:52:27 +0000 (0:00:00.021) 0:00:00.957 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/tasks/el_repo_setup.yml:19 Thursday 21 December 2023 15:52:28 +0000 (0:00:00.520) 0:00:01.477 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/tasks/el_repo_setup.yml:24 Thursday 21 December 2023 15:52:28 +0000 (0:00:00.254) 0:00:01.732 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/tasks/el_repo_setup.yml:28 Thursday 21 December 2023 15:52:28 +0000 (0:00:00.019) 0:00:01.752 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/tasks/el_repo_setup.yml:53 Thursday 21 December 2023 15:52:28 +0000 (0:00:00.017) 0:00:01.769 ***** included: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 38] ********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/tasks/enable_epel.yml:8 Thursday 21 December 2023 15:52:28 +0000 (0:00:00.030) 0:00:01.799 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/tasks/enable_epel.yml:24 Thursday 21 December 2023 15:52:28 +0000 (0:00:00.009) 0:00:01.808 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/tasks/enable_epel.yml:30 Thursday 21 December 2023 15:52:28 +0000 (0:00:00.008) 0:00:01.817 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/tasks/enable_epel.yml:35 Thursday 21 December 2023 15:52:28 +0000 (0:00:00.008) 0:00:01.825 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/tasks/enable_epel.yml:40 Thursday 21 December 2023 15:52:28 +0000 (0:00:00.008) 0:00:01.833 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/tests_states_nm.yml:11 Thursday 21 December 2023 15:52:28 +0000 (0:00:00.008) 0:00:01.841 ***** 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.16a7fiha57/tests/playbooks/tests_states.yml:3 Thursday 21 December 2023 15:52:28 +0000 (0:00:00.010) 0:00:01.852 ***** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tests_states.yml:11 Thursday 21 December 2023 15:52:29 +0000 (0:00:00.792) 0:00:02.644 ***** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tests_states.yml:22 Thursday 21 December 2023 15:52:29 +0000 (0:00:00.009) 0:00:02.654 ***** included: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/run_test.yml:5 Thursday 21 December 2023 15:52:29 +0000 (0:00:00.015) 0:00:02.669 ***** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/run_test.yml:9 Thursday 21 December 2023 15:52:29 +0000 (0:00:00.010) 0:00:02.679 ***** 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.16a7fiha57/tests/playbooks/tasks/run_test.yml:21 Thursday 21 December 2023 15:52:29 +0000 (0:00:00.031) 0:00:02.710 ***** included: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 15:52:29 +0000 (0:00:00.013) 0:00:02.724 ***** included: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 15:52:29 +0000 (0:00:00.012) 0:00:02.736 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003706", "end": "2023-12-21 15:52:29.839729", "rc": 0, "start": "2023-12-21 15:52:29.836023" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 15:52:29 +0000 (0:00:00.266) 0:00:03.002 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 15:52:29 +0000 (0:00:00.011) 0:00:03.014 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/run_test.yml:24 Thursday 21 December 2023 15:52:29 +0000 (0:00:00.010) 0:00:03.024 ***** included: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/delete_interface.yml:3 Thursday 21 December 2023 15:52:29 +0000 (0:00:00.019) 0:00:03.044 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007919", "end": "2023-12-21 15:52:30.087449", "rc": 1, "start": "2023-12-21 15:52:30.079530" } 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.16a7fiha57/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 21 December 2023 15:52:30 +0000 (0:00:00.205) 0:00:03.249 ***** included: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 21 December 2023 15:52:30 +0000 (0:00:00.015) 0:00:03.265 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 21 December 2023 15:52:30 +0000 (0:00:00.197) 0:00:03.462 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/run_test.yml:30 Thursday 21 December 2023 15:52:30 +0000 (0:00:00.011) 0:00:03.474 ***** included: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 21 December 2023 15:52:30 +0000 (0:00:00.017) 0:00:03.491 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 15:52:30 +0000 (0:00:00.032) 0:00:03.524 ***** included: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 15:52:30 +0000 (0:00:00.066) 0:00:03.590 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 15:52:30 +0000 (0:00:00.010) 0:00:03.601 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 15:52:30 +0000 (0:00:00.009) 0:00:03.611 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 15:52:30 +0000 (0:00:00.009) 0:00:03.620 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 15:52:32 +0000 (0:00:02.305) 0:00:05.925 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 15:52:33 +0000 (0:00:01.041) 0:00:06.967 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 15:52:33 +0000 (0:00:00.022) 0:00:06.990 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 15:52:33 +0000 (0:00:00.022) 0:00:07.012 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 15:52:33 +0000 (0:00:00.021) 0:00:07.034 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 15:52:33 +0000 (0:00:00.043) 0:00:07.078 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 15:52:33 +0000 (0:00:00.021) 0:00:07.100 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 15:52:33 +0000 (0:00:00.021) 0:00:07.121 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 15:52:34 +0000 (0:00:00.025) 0:00:07.147 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 15:52:34 +0000 (0:00:00.698) 0:00:07.846 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 15:52:34 +0000 (0:00:00.027) 0:00:07.873 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 15:52:34 +0000 (0:00:00.022) 0:00:07.895 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 15:52:34 +0000 (0:00:00.025) 0:00:07.921 ***** 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, 4baf4ae4-4427-44ed-8241-e3aca1d7c250 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 15:52:35 +0000 (0:00:00.543) 0:00:08.464 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 15:52:35 +0000 (0:00:00.021) 0:00:08.486 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4baf4ae4-4427-44ed-8241-e3aca1d7c250" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 15:52:35 +0000 (0:00:00.036) 0:00:08.522 ***** 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, 4baf4ae4-4427-44ed-8241-e3aca1d7c250\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4baf4ae4-4427-44ed-8241-e3aca1d7c250" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 15:52:35 +0000 (0:00:00.036) 0:00:08.559 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 15:52:35 +0000 (0:00:00.021) 0:00:08.581 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 21 December 2023 15:52:35 +0000 (0:00:00.299) 0:00:08.880 ***** 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, 4baf4ae4-4427-44ed-8241-e3aca1d7c250\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4baf4ae4-4427-44ed-8241-e3aca1d7c250" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/run_test.yml:36 Thursday 21 December 2023 15:52:35 +0000 (0:00:00.022) 0:00:08.903 ***** included: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/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.16a7fiha57/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 21 December 2023 15:52:35 +0000 (0:00:00.064) 0:00:08.967 ***** included: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/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.16a7fiha57/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 21 December 2023 15:52:35 +0000 (0:00:00.040) 0:00:09.008 ***** 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.16a7fiha57/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 21 December 2023 15:52:35 +0000 (0:00:00.022) 0:00:09.031 ***** 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.16a7fiha57/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 21 December 2023 15:52:36 +0000 (0:00:00.207) 0:00:09.239 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 21 December 2023 15:52:36 +0000 (0:00:00.021) 0:00:09.260 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023108", "end": "2023-12-21 15:52:36.320237", "rc": 0, "start": "2023-12-21 15:52:36.297129" } 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.16a7fiha57/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 21 December 2023 15:52:36 +0000 (0:00:00.235) 0:00:09.495 ***** 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.16a7fiha57/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 21 December 2023 15:52:36 +0000 (0:00:00.024) 0:00:09.520 ***** 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.16a7fiha57/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 21 December 2023 15:52:36 +0000 (0:00:00.022) 0:00:09.542 ***** 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.16a7fiha57/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 21 December 2023 15:52:36 +0000 (0:00:00.021) 0:00:09.564 ***** 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.16a7fiha57/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 21 December 2023 15:52:36 +0000 (0:00:00.022) 0:00:09.586 ***** 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.16a7fiha57/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 21 December 2023 15:52:36 +0000 (0:00:00.022) 0:00:09.608 ***** 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.16a7fiha57/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 21 December 2023 15:52:36 +0000 (0:00:00.024) 0:00:09.633 ***** 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.16a7fiha57/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 21 December 2023 15:52:36 +0000 (0:00:00.024) 0:00:09.657 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/run_test.yml:42 Thursday 21 December 2023 15:52:36 +0000 (0:00:00.023) 0:00:09.681 ***** included: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/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.16a7fiha57/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 21 December 2023 15:52:36 +0000 (0:00:00.087) 0:00:09.768 ***** included: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 21 December 2023 15:52:36 +0000 (0:00:00.036) 0:00:09.805 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1703173955.2342007, "block_size": 4096, "blocks": 0, "ctime": 1703173955.2342007, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 37135, "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": 1703173955.2342007, "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.16a7fiha57/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 21 December 2023 15:52:36 +0000 (0:00:00.211) 0:00:10.016 ***** 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.16a7fiha57/tests/playbooks/tasks/run_test.yml:47 Thursday 21 December 2023 15:52:36 +0000 (0:00:00.024) 0:00:10.040 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/run_test.yml:66 Thursday 21 December 2023 15:52:36 +0000 (0:00:00.022) 0:00:10.062 ***** included: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 21 December 2023 15:52:36 +0000 (0:00:00.042) 0:00:10.105 ***** 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.063413", "end": "2023-12-21 15:52:37.206822", "rc": 1, "start": "2023-12-21 15:52:37.143409" } STDOUT: Connection 'statebr' (4baf4ae4-4427-44ed-8241-e3aca1d7c250) 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.16a7fiha57/tests/playbooks/tests_states.yml:45 Thursday 21 December 2023 15:52:37 +0000 (0:00:00.274) 0:00:10.380 ***** included: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/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.16a7fiha57/tests/playbooks/tasks/run_test.yml:5 Thursday 21 December 2023 15:52:37 +0000 (0:00:00.037) 0:00:10.417 ***** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/run_test.yml:9 Thursday 21 December 2023 15:52:37 +0000 (0:00:00.022) 0:00:10.440 ***** 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.16a7fiha57/tests/playbooks/tasks/run_test.yml:21 Thursday 21 December 2023 15:52:37 +0000 (0:00:00.076) 0:00:10.517 ***** included: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 15:52:37 +0000 (0:00:00.038) 0:00:10.556 ***** included: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 15:52:37 +0000 (0:00:00.037) 0:00:10.593 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004784", "end": "2023-12-21 15:52:38.635504", "rc": 0, "start": "2023-12-21 15:52:37.630720" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 15:52:38 +0000 (0:00:01.216) 0:00:11.810 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 15:52:38 +0000 (0:00:00.023) 0:00:11.834 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/run_test.yml:24 Thursday 21 December 2023 15:52:38 +0000 (0:00:00.022) 0:00:11.856 ***** included: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/delete_interface.yml:3 Thursday 21 December 2023 15:52:38 +0000 (0:00:00.040) 0:00:11.897 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006738", "end": "2023-12-21 15:52:38.938763", "rc": 1, "start": "2023-12-21 15:52:38.932025" } 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.16a7fiha57/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 21 December 2023 15:52:38 +0000 (0:00:00.215) 0:00:12.112 ***** included: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 21 December 2023 15:52:39 +0000 (0:00:00.059) 0:00:12.172 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 21 December 2023 15:52:39 +0000 (0:00:00.211) 0:00:12.383 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/run_test.yml:30 Thursday 21 December 2023 15:52:39 +0000 (0:00:00.024) 0:00:12.408 ***** included: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Thursday 21 December 2023 15:52:39 +0000 (0:00:00.042) 0:00:12.450 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 15:52:39 +0000 (0:00:00.042) 0:00:12.493 ***** included: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 15:52:39 +0000 (0:00:00.042) 0:00:12.536 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 15:52:39 +0000 (0:00:00.028) 0:00:12.565 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 15:52:39 +0000 (0:00:00.022) 0:00:12.587 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 15:52:39 +0000 (0:00:00.022) 0:00:12.609 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 15:52:41 +0000 (0:00:02.216) 0:00:14.826 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 15:52:42 +0000 (0:00:00.917) 0:00:15.743 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 15:52:42 +0000 (0:00:00.022) 0:00:15.766 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 15:52:42 +0000 (0:00:00.047) 0:00:15.813 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 15:52:42 +0000 (0:00:00.028) 0:00:15.842 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 15:52:42 +0000 (0:00:00.044) 0:00:15.887 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 15:52:42 +0000 (0:00:00.021) 0:00:15.908 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 15:52:42 +0000 (0:00:00.021) 0:00:15.930 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 15:52:42 +0000 (0:00:00.023) 0:00:15.954 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 15:52:43 +0000 (0:00:00.562) 0:00:16.516 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 15:52:43 +0000 (0:00:00.025) 0:00:16.541 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 15:52:43 +0000 (0:00:00.021) 0:00:16.562 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 15:52:43 +0000 (0:00:00.021) 0:00:16.584 ***** 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, efc3283e-d6fc-4df8-a99e-2f974e1981bb TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 15:52:43 +0000 (0:00:00.375) 0:00:16.959 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 15:52:43 +0000 (0:00:00.021) 0:00:16.981 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, efc3283e-d6fc-4df8-a99e-2f974e1981bb" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 15:52:43 +0000 (0:00:00.045) 0:00:17.026 ***** 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, efc3283e-d6fc-4df8-a99e-2f974e1981bb\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, efc3283e-d6fc-4df8-a99e-2f974e1981bb" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 15:52:43 +0000 (0:00:00.023) 0:00:17.049 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 15:52:43 +0000 (0:00:00.021) 0:00:17.071 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Thursday 21 December 2023 15:52:44 +0000 (0:00:00.204) 0:00:17.275 ***** 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, efc3283e-d6fc-4df8-a99e-2f974e1981bb\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, efc3283e-d6fc-4df8-a99e-2f974e1981bb" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/run_test.yml:36 Thursday 21 December 2023 15:52:44 +0000 (0:00:00.024) 0:00:17.300 ***** included: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/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.16a7fiha57/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 21 December 2023 15:52:44 +0000 (0:00:00.043) 0:00:17.343 ***** included: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 21 December 2023 15:52:44 +0000 (0:00:00.035) 0:00:17.379 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 21 December 2023 15:52:44 +0000 (0:00:00.209) 0:00:17.588 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 21 December 2023 15:52:44 +0000 (0:00:00.023) 0:00:17.611 ***** included: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/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.16a7fiha57/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 21 December 2023 15:52:44 +0000 (0:00:00.037) 0:00:17.649 ***** 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.16a7fiha57/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 21 December 2023 15:52:44 +0000 (0:00:00.022) 0:00:17.672 ***** 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.16a7fiha57/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 21 December 2023 15:52:44 +0000 (0:00:00.236) 0:00:17.909 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 21 December 2023 15:52:44 +0000 (0:00:00.021) 0:00:17.930 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022150", "end": "2023-12-21 15:52:44.989116", "rc": 0, "start": "2023-12-21 15:52:44.966966" } 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.16a7fiha57/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 21 December 2023 15:52:45 +0000 (0:00:00.232) 0:00:18.163 ***** 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.16a7fiha57/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 21 December 2023 15:52:45 +0000 (0:00:00.024) 0:00:18.187 ***** 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.16a7fiha57/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 21 December 2023 15:52:45 +0000 (0:00:00.022) 0:00:18.210 ***** 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.16a7fiha57/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 21 December 2023 15:52:45 +0000 (0:00:00.023) 0:00:18.234 ***** 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.16a7fiha57/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 21 December 2023 15:52:45 +0000 (0:00:00.024) 0:00:18.258 ***** 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.16a7fiha57/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 21 December 2023 15:52:45 +0000 (0:00:00.025) 0:00:18.283 ***** 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.16a7fiha57/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 21 December 2023 15:52:45 +0000 (0:00:00.025) 0:00:18.309 ***** 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.16a7fiha57/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 21 December 2023 15:52:45 +0000 (0:00:00.024) 0:00:18.334 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/run_test.yml:42 Thursday 21 December 2023 15:52:45 +0000 (0:00:00.023) 0:00:18.358 ***** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/run_test.yml:47 Thursday 21 December 2023 15:52:45 +0000 (0:00:00.021) 0:00:18.380 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/run_test.yml:66 Thursday 21 December 2023 15:52:45 +0000 (0:00:00.022) 0:00:18.403 ***** included: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 21 December 2023 15:52:45 +0000 (0:00:00.041) 0:00:18.444 ***** 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.043186", "end": "2023-12-21 15:52:45.524396", "rc": 1, "start": "2023-12-21 15:52:45.481210" } STDOUT: Connection 'statebr' (efc3283e-d6fc-4df8-a99e-2f974e1981bb) 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.16a7fiha57/tests/playbooks/tests_states.yml:65 Thursday 21 December 2023 15:52:45 +0000 (0:00:00.274) 0:00:18.719 ***** included: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/run_test.yml:5 Thursday 21 December 2023 15:52:45 +0000 (0:00:00.039) 0:00:18.758 ***** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/run_test.yml:9 Thursday 21 December 2023 15:52:45 +0000 (0:00:00.022) 0:00:18.781 ***** 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.16a7fiha57/tests/playbooks/tasks/run_test.yml:21 Thursday 21 December 2023 15:52:45 +0000 (0:00:00.042) 0:00:18.824 ***** included: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 15:52:45 +0000 (0:00:00.035) 0:00:18.860 ***** included: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 15:52:45 +0000 (0:00:00.034) 0:00:18.894 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004781", "end": "2023-12-21 15:52:46.936487", "rc": 0, "start": "2023-12-21 15:52:45.931706" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 15:52:46 +0000 (0:00:01.215) 0:00:20.110 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 15:52:46 +0000 (0:00:00.023) 0:00:20.134 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/run_test.yml:24 Thursday 21 December 2023 15:52:47 +0000 (0:00:00.045) 0:00:20.179 ***** included: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 21 December 2023 15:52:47 +0000 (0:00:00.039) 0:00:20.219 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 15:52:47 +0000 (0:00:00.037) 0:00:20.257 ***** included: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 15:52:47 +0000 (0:00:00.040) 0:00:20.297 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 15:52:47 +0000 (0:00:00.027) 0:00:20.324 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 15:52:47 +0000 (0:00:00.020) 0:00:20.345 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 15:52:47 +0000 (0:00:00.021) 0:00:20.366 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 15:52:49 +0000 (0:00:02.219) 0:00:22.586 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 15:52:50 +0000 (0:00:00.912) 0:00:23.498 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 15:52:50 +0000 (0:00:00.022) 0:00:23.521 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 15:52:50 +0000 (0:00:00.022) 0:00:23.543 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 15:52:50 +0000 (0:00:00.021) 0:00:23.565 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 15:52:50 +0000 (0:00:00.043) 0:00:23.609 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 15:52:50 +0000 (0:00:00.020) 0:00:23.629 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 15:52:50 +0000 (0:00:00.040) 0:00:23.670 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 15:52:50 +0000 (0:00:00.025) 0:00:23.696 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 15:52:51 +0000 (0:00:00.568) 0:00:24.264 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 15:52:51 +0000 (0:00:00.026) 0:00:24.290 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 15:52:51 +0000 (0:00:00.020) 0:00:24.311 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 15:52:51 +0000 (0:00:00.021) 0:00:24.333 ***** 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, 437c05f0-6c7a-4a79-b54e-5d7c230e8a71 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 15:52:51 +0000 (0:00:00.427) 0:00:24.760 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 15:52:51 +0000 (0:00:00.021) 0:00:24.781 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 437c05f0-6c7a-4a79-b54e-5d7c230e8a71" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 15:52:51 +0000 (0:00:00.023) 0:00:24.805 ***** 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, 437c05f0-6c7a-4a79-b54e-5d7c230e8a71\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 437c05f0-6c7a-4a79-b54e-5d7c230e8a71" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 15:52:51 +0000 (0:00:00.023) 0:00:24.828 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 15:52:51 +0000 (0:00:00.020) 0:00:24.849 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 21 December 2023 15:52:51 +0000 (0:00:00.227) 0:00:25.077 ***** 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, 437c05f0-6c7a-4a79-b54e-5d7c230e8a71\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 437c05f0-6c7a-4a79-b54e-5d7c230e8a71" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/run_test.yml:30 Thursday 21 December 2023 15:52:51 +0000 (0:00:00.023) 0:00:25.101 ***** included: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/activate_profile.yml:3 Thursday 21 December 2023 15:52:51 +0000 (0:00:00.039) 0:00:25.141 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 15:52:52 +0000 (0:00:00.040) 0:00:25.181 ***** included: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 15:52:52 +0000 (0:00:00.041) 0:00:25.222 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 15:52:52 +0000 (0:00:00.026) 0:00:25.249 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 15:52:52 +0000 (0:00:00.023) 0:00:25.272 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 15:52:52 +0000 (0:00:00.023) 0:00:25.295 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 15:52:54 +0000 (0:00:02.222) 0:00:27.518 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 15:52:55 +0000 (0:00:00.920) 0:00:28.438 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 15:52:55 +0000 (0:00:00.022) 0:00:28.461 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 15:52:55 +0000 (0:00:00.021) 0:00:28.483 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 15:52:55 +0000 (0:00:00.021) 0:00:28.505 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 15:52:55 +0000 (0:00:00.043) 0:00:28.548 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 15:52:55 +0000 (0:00:00.041) 0:00:28.589 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 15:52:55 +0000 (0:00:00.022) 0:00:28.612 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 15:52:55 +0000 (0:00:00.024) 0:00:28.636 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 15:52:56 +0000 (0:00:00.558) 0:00:29.195 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 15:52:56 +0000 (0:00:00.026) 0:00:29.221 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 15:52:56 +0000 (0:00:00.021) 0:00:29.243 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 15:52:56 +0000 (0:00:00.020) 0:00:29.263 ***** 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, 437c05f0-6c7a-4a79-b54e-5d7c230e8a71 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 15:52:56 +0000 (0:00:00.369) 0:00:29.633 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 15:52:56 +0000 (0:00:00.021) 0:00:29.655 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 437c05f0-6c7a-4a79-b54e-5d7c230e8a71 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 15:52:56 +0000 (0:00:00.022) 0:00:29.677 ***** 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, 437c05f0-6c7a-4a79-b54e-5d7c230e8a71 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 437c05f0-6c7a-4a79-b54e-5d7c230e8a71 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 15:52:56 +0000 (0:00:00.022) 0:00:29.699 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 15:52:56 +0000 (0:00:00.021) 0:00:29.721 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/run_test.yml:36 Thursday 21 December 2023 15:52:56 +0000 (0:00:00.227) 0:00:29.948 ***** included: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/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.16a7fiha57/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 21 December 2023 15:52:56 +0000 (0:00:00.044) 0:00:29.993 ***** included: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 21 December 2023 15:52:56 +0000 (0:00:00.038) 0:00:30.032 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1703173971.5262187, "block_size": 4096, "blocks": 0, "ctime": 1703173971.5262187, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 37266, "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": 1703173971.5262187, "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.16a7fiha57/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 21 December 2023 15:52:57 +0000 (0:00:00.211) 0:00:30.243 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 21 December 2023 15:52:57 +0000 (0:00:00.024) 0:00:30.267 ***** included: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/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.16a7fiha57/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 21 December 2023 15:52:57 +0000 (0:00:00.037) 0:00:30.305 ***** 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.16a7fiha57/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 21 December 2023 15:52:57 +0000 (0:00:00.022) 0:00:30.327 ***** 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.16a7fiha57/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 21 December 2023 15:52:57 +0000 (0:00:00.207) 0:00:30.535 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 21 December 2023 15:52:57 +0000 (0:00:00.021) 0:00:30.557 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022547", "end": "2023-12-21 15:52:57.618070", "rc": 0, "start": "2023-12-21 15:52:57.595523" } 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.16a7fiha57/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 21 December 2023 15:52:57 +0000 (0:00:00.236) 0:00:30.793 ***** 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.16a7fiha57/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 21 December 2023 15:52:57 +0000 (0:00:00.025) 0:00:30.818 ***** 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.16a7fiha57/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 21 December 2023 15:52:57 +0000 (0:00:00.046) 0:00:30.864 ***** 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.16a7fiha57/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 21 December 2023 15:52:57 +0000 (0:00:00.023) 0:00:30.887 ***** 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.16a7fiha57/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 21 December 2023 15:52:57 +0000 (0:00:00.022) 0:00:30.910 ***** 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.16a7fiha57/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 21 December 2023 15:52:57 +0000 (0:00:00.021) 0:00:30.932 ***** 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.16a7fiha57/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 21 December 2023 15:52:57 +0000 (0:00:00.024) 0:00:30.956 ***** 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.16a7fiha57/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 21 December 2023 15:52:57 +0000 (0:00:00.024) 0:00:30.981 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/run_test.yml:42 Thursday 21 December 2023 15:52:57 +0000 (0:00:00.023) 0:00:31.005 ***** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/run_test.yml:47 Thursday 21 December 2023 15:52:57 +0000 (0:00:00.021) 0:00:31.026 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/run_test.yml:66 Thursday 21 December 2023 15:52:57 +0000 (0:00:00.023) 0:00:31.050 ***** included: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 21 December 2023 15:52:57 +0000 (0:00:00.041) 0:00:31.092 ***** 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.071520", "end": "2023-12-21 15:52:58.201418", "rc": 1, "start": "2023-12-21 15:52:58.129898" } STDOUT: Connection 'statebr' (437c05f0-6c7a-4a79-b54e-5d7c230e8a71) 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.16a7fiha57/tests/playbooks/tests_states.yml:83 Thursday 21 December 2023 15:52:58 +0000 (0:00:00.282) 0:00:31.374 ***** included: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/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.16a7fiha57/tests/playbooks/tasks/run_test.yml:5 Thursday 21 December 2023 15:52:58 +0000 (0:00:00.039) 0:00:31.413 ***** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/run_test.yml:9 Thursday 21 December 2023 15:52:58 +0000 (0:00:00.023) 0:00:31.437 ***** 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.16a7fiha57/tests/playbooks/tasks/run_test.yml:21 Thursday 21 December 2023 15:52:58 +0000 (0:00:00.093) 0:00:31.530 ***** included: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 15:52:58 +0000 (0:00:00.037) 0:00:31.568 ***** included: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 15:52:58 +0000 (0:00:00.035) 0:00:31.604 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003875", "end": "2023-12-21 15:52:58.643515", "rc": 0, "start": "2023-12-21 15:52:58.639640" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 15:52:58 +0000 (0:00:00.214) 0:00:31.819 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 15:52:58 +0000 (0:00:00.023) 0:00:31.843 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/run_test.yml:24 Thursday 21 December 2023 15:52:58 +0000 (0:00:00.022) 0:00:31.865 ***** included: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 21 December 2023 15:52:58 +0000 (0:00:00.041) 0:00:31.906 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 15:52:58 +0000 (0:00:00.036) 0:00:31.943 ***** included: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 15:52:58 +0000 (0:00:00.039) 0:00:31.983 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 15:52:58 +0000 (0:00:00.050) 0:00:32.034 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 15:52:58 +0000 (0:00:00.022) 0:00:32.056 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 15:52:58 +0000 (0:00:00.022) 0:00:32.079 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 15:53:01 +0000 (0:00:02.251) 0:00:34.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.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 15:53:02 +0000 (0:00:00.965) 0:00:35.297 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 15:53:02 +0000 (0:00:00.023) 0:00:35.320 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 15:53:02 +0000 (0:00:00.021) 0:00:35.341 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 15:53:02 +0000 (0:00:00.021) 0:00:35.363 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 15:53:02 +0000 (0:00:00.044) 0:00:35.407 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 15:53:02 +0000 (0:00:00.021) 0:00:35.429 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 15:53:02 +0000 (0:00:00.021) 0:00:35.451 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 15:53:02 +0000 (0:00:00.026) 0:00:35.477 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 15:53:02 +0000 (0:00:00.560) 0:00:36.037 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 15:53:02 +0000 (0:00:00.026) 0:00:36.064 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 15:53:02 +0000 (0:00:00.021) 0:00:36.085 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 15:53:02 +0000 (0:00:00.022) 0:00:36.108 ***** 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, 180b7c47-be08-4462-a1f4-aa418f811c52 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 15:53:03 +0000 (0:00:00.475) 0:00:36.583 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 15:53:03 +0000 (0:00:00.022) 0:00:36.606 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 180b7c47-be08-4462-a1f4-aa418f811c52" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 15:53:03 +0000 (0:00:00.023) 0:00:36.630 ***** 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, 180b7c47-be08-4462-a1f4-aa418f811c52\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 180b7c47-be08-4462-a1f4-aa418f811c52" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 15:53:03 +0000 (0:00:00.023) 0:00:36.654 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 15:53:03 +0000 (0:00:00.020) 0:00:36.675 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 21 December 2023 15:53:03 +0000 (0:00:00.206) 0:00:36.881 ***** 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, 180b7c47-be08-4462-a1f4-aa418f811c52\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 180b7c47-be08-4462-a1f4-aa418f811c52" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/activate_profile.yml:3 Thursday 21 December 2023 15:53:03 +0000 (0:00:00.024) 0:00:36.905 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 15:53:03 +0000 (0:00:00.037) 0:00:36.942 ***** included: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 15:53:03 +0000 (0:00:00.042) 0:00:36.985 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 15:53:03 +0000 (0:00:00.029) 0:00:37.014 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 15:53:03 +0000 (0:00:00.022) 0:00:37.036 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 15:53:03 +0000 (0:00:00.021) 0:00:37.058 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 15:53:06 +0000 (0:00:02.203) 0:00:39.262 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 15:53:07 +0000 (0:00:00.916) 0:00:40.178 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 15:53:07 +0000 (0:00:00.023) 0:00:40.202 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 15:53:07 +0000 (0:00:00.047) 0:00:40.249 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 15:53:07 +0000 (0:00:00.027) 0:00:40.277 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 15:53:07 +0000 (0:00:00.049) 0:00:40.327 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 15:53:07 +0000 (0:00:00.023) 0:00:40.350 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 15:53:07 +0000 (0:00:00.024) 0:00:40.374 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 15:53:07 +0000 (0:00:00.026) 0:00:40.400 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 15:53:07 +0000 (0:00:00.563) 0:00:40.964 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 15:53:07 +0000 (0:00:00.026) 0:00:40.990 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 15:53:07 +0000 (0:00:00.023) 0:00:41.013 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 15:53:07 +0000 (0:00:00.021) 0:00:41.035 ***** 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, 180b7c47-be08-4462-a1f4-aa418f811c52 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 15:53:08 +0000 (0:00:00.371) 0:00:41.406 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 15:53:08 +0000 (0:00:00.022) 0:00:41.429 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 180b7c47-be08-4462-a1f4-aa418f811c52 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 15:53:08 +0000 (0:00:00.046) 0:00:41.476 ***** 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, 180b7c47-be08-4462-a1f4-aa418f811c52 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 180b7c47-be08-4462-a1f4-aa418f811c52 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 15:53:08 +0000 (0:00:00.024) 0:00:41.500 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 15:53:08 +0000 (0:00:00.022) 0:00:41.523 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/run_test.yml:30 Thursday 21 December 2023 15:53:08 +0000 (0:00:00.209) 0:00:41.732 ***** included: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/remove_profile.yml:3 Thursday 21 December 2023 15:53:08 +0000 (0:00:00.041) 0:00:41.774 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 15:53:08 +0000 (0:00:00.040) 0:00:41.814 ***** included: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 15:53:08 +0000 (0:00:00.043) 0:00:41.858 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 15:53:08 +0000 (0:00:00.027) 0:00:41.886 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 15:53:08 +0000 (0:00:00.021) 0:00:41.907 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 15:53:08 +0000 (0:00:00.021) 0:00:41.929 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 15:53:11 +0000 (0:00:02.213) 0:00:44.143 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 15:53:11 +0000 (0:00:00.916) 0:00:45.059 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 15:53:11 +0000 (0:00:00.022) 0:00:45.082 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 15:53:11 +0000 (0:00:00.040) 0:00:45.123 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 15:53:12 +0000 (0:00:00.021) 0:00:45.144 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 15:53:12 +0000 (0:00:00.044) 0:00:45.189 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 15:53:12 +0000 (0:00:00.021) 0:00:45.211 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 15:53:12 +0000 (0:00:00.021) 0:00:45.232 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 15:53:12 +0000 (0:00:00.024) 0:00:45.256 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 15:53:12 +0000 (0:00:00.559) 0:00:45.816 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 15:53:12 +0000 (0:00:00.026) 0:00:45.843 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 15:53:12 +0000 (0:00:00.022) 0:00:45.865 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 15:53:12 +0000 (0:00:00.022) 0:00:45.887 ***** 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.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 15:53:13 +0000 (0:00:00.398) 0:00:46.286 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 15:53:13 +0000 (0:00:00.021) 0:00:46.308 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 15:53:13 +0000 (0:00:00.022) 0:00:46.330 ***** 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.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 15:53:13 +0000 (0:00:00.045) 0:00:46.375 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 15:53:13 +0000 (0:00:00.023) 0:00:46.399 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/run_test.yml:36 Thursday 21 December 2023 15:53:13 +0000 (0:00:00.208) 0:00:46.607 ***** included: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/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.16a7fiha57/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 21 December 2023 15:53:13 +0000 (0:00:00.045) 0:00:46.652 ***** included: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 21 December 2023 15:53:13 +0000 (0:00:00.038) 0:00:46.691 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1703173983.3320138, "block_size": 4096, "blocks": 0, "ctime": 1703173983.3320138, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 37397, "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": 1703173983.3320138, "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.16a7fiha57/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 21 December 2023 15:53:13 +0000 (0:00:00.211) 0:00:46.902 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 21 December 2023 15:53:13 +0000 (0:00:00.025) 0:00:46.928 ***** included: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/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.16a7fiha57/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 21 December 2023 15:53:13 +0000 (0:00:00.037) 0:00:46.966 ***** 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.16a7fiha57/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 21 December 2023 15:53:13 +0000 (0:00:00.023) 0:00:46.989 ***** 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.16a7fiha57/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 21 December 2023 15:53:14 +0000 (0:00:00.210) 0:00:47.200 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 21 December 2023 15:53:14 +0000 (0:00:00.025) 0:00:47.225 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022893", "end": "2023-12-21 15:53:14.285301", "rc": 1, "start": "2023-12-21 15:53:14.262408" } 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.16a7fiha57/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 21 December 2023 15:53:14 +0000 (0:00:00.232) 0:00:47.458 ***** 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.16a7fiha57/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 21 December 2023 15:53:14 +0000 (0:00:00.024) 0:00:47.483 ***** 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.16a7fiha57/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 21 December 2023 15:53:14 +0000 (0:00:00.022) 0:00:47.506 ***** 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.16a7fiha57/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 21 December 2023 15:53:14 +0000 (0:00:00.023) 0:00:47.529 ***** 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.16a7fiha57/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 21 December 2023 15:53:14 +0000 (0:00:00.022) 0:00:47.551 ***** 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.16a7fiha57/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 21 December 2023 15:53:14 +0000 (0:00:00.025) 0:00:47.576 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/run_test.yml:42 Thursday 21 December 2023 15:53:14 +0000 (0:00:00.026) 0:00:47.602 ***** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/run_test.yml:47 Thursday 21 December 2023 15:53:14 +0000 (0:00:00.020) 0:00:47.623 ***** 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.16a7fiha57/tests/playbooks/tasks/run_test.yml:66 Thursday 21 December 2023 15:53:14 +0000 (0:00:00.022) 0:00:47.646 ***** included: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 21 December 2023 15:53:14 +0000 (0:00:00.043) 0:00:47.690 ***** ok: [sut] => { "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.070416", "end": "2023-12-21 15:53:14.797221", "rc": 0, "start": "2023-12-21 15:53:14.726805" } STDOUT: Connection 'statebr' (180b7c47-be08-4462-a1f4-aa418f811c52) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tests_states.yml:103 Thursday 21 December 2023 15:53:14 +0000 (0:00:00.291) 0:00:47.982 ***** included: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/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.16a7fiha57/tests/playbooks/tasks/run_test.yml:5 Thursday 21 December 2023 15:53:14 +0000 (0:00:00.037) 0:00:48.019 ***** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/run_test.yml:9 Thursday 21 December 2023 15:53:14 +0000 (0:00:00.046) 0:00:48.065 ***** 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.16a7fiha57/tests/playbooks/tasks/run_test.yml:21 Thursday 21 December 2023 15:53:14 +0000 (0:00:00.045) 0:00:48.110 ***** included: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 15:53:15 +0000 (0:00:00.035) 0:00:48.146 ***** included: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 15:53:15 +0000 (0:00:00.034) 0:00:48.181 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004806", "end": "2023-12-21 15:53:16.222350", "rc": 0, "start": "2023-12-21 15:53:15.217544" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 15:53:16 +0000 (0:00:01.216) 0:00:49.397 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 15:53:16 +0000 (0:00:00.024) 0:00:49.422 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/run_test.yml:24 Thursday 21 December 2023 15:53:16 +0000 (0:00:00.023) 0:00:49.446 ***** included: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 21 December 2023 15:53:16 +0000 (0:00:00.046) 0:00:49.492 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 15:53:16 +0000 (0:00:00.061) 0:00:49.554 ***** included: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 15:53:16 +0000 (0:00:00.042) 0:00:49.596 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 15:53:16 +0000 (0:00:00.027) 0:00:49.624 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 15:53:16 +0000 (0:00:00.021) 0:00:49.646 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 15:53:16 +0000 (0:00:00.021) 0:00:49.667 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 15:53:18 +0000 (0:00:02.233) 0:00:51.901 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 15:53:19 +0000 (0:00:00.910) 0:00:52.812 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 15:53:19 +0000 (0:00:00.022) 0:00:52.834 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 15:53:19 +0000 (0:00:00.021) 0:00:52.855 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 15:53:19 +0000 (0:00:00.021) 0:00:52.877 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 15:53:19 +0000 (0:00:00.043) 0:00:52.920 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 15:53:19 +0000 (0:00:00.021) 0:00:52.942 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 15:53:19 +0000 (0:00:00.023) 0:00:52.965 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 15:53:19 +0000 (0:00:00.029) 0:00:52.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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 15:53:20 +0000 (0:00:00.558) 0:00:53.553 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 15:53:20 +0000 (0:00:00.025) 0:00:53.579 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 15:53:20 +0000 (0:00:00.021) 0:00:53.600 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 15:53:20 +0000 (0:00:00.021) 0:00:53.621 ***** 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, b8bf2be2-2b0a-47d6-b96f-e14f2aff52fd TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 15:53:20 +0000 (0:00:00.420) 0:00:54.042 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 15:53:20 +0000 (0:00:00.023) 0:00:54.065 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b8bf2be2-2b0a-47d6-b96f-e14f2aff52fd" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 15:53:20 +0000 (0:00:00.026) 0:00:54.091 ***** 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, b8bf2be2-2b0a-47d6-b96f-e14f2aff52fd\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b8bf2be2-2b0a-47d6-b96f-e14f2aff52fd" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 15:53:20 +0000 (0:00:00.028) 0:00:54.120 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 15:53:21 +0000 (0:00:00.023) 0:00:54.144 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 21 December 2023 15:53:21 +0000 (0:00:00.206) 0:00:54.350 ***** 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, b8bf2be2-2b0a-47d6-b96f-e14f2aff52fd\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b8bf2be2-2b0a-47d6-b96f-e14f2aff52fd" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/activate_profile.yml:3 Thursday 21 December 2023 15:53:21 +0000 (0:00:00.024) 0:00:54.374 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 15:53:21 +0000 (0:00:00.038) 0:00:54.412 ***** included: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 15:53:21 +0000 (0:00:00.064) 0:00:54.477 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 15:53:21 +0000 (0:00:00.027) 0:00:54.504 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 15:53:21 +0000 (0:00:00.021) 0:00:54.525 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 15:53:21 +0000 (0:00:00.021) 0:00:54.547 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 15:53:23 +0000 (0:00:02.220) 0:00:56.768 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 15:53:24 +0000 (0:00:00.930) 0:00:57.698 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 15:53:24 +0000 (0:00:00.023) 0:00:57.722 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 15:53:24 +0000 (0:00:00.021) 0:00:57.743 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 15:53:24 +0000 (0:00:00.021) 0:00:57.764 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 15:53:24 +0000 (0:00:00.043) 0:00:57.807 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 15:53:24 +0000 (0:00:00.021) 0:00:57.829 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 15:53:24 +0000 (0:00:00.021) 0:00:57.850 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 15:53:24 +0000 (0:00:00.031) 0:00:57.882 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 15:53:25 +0000 (0:00:00.588) 0:00:58.471 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 15:53:25 +0000 (0:00:00.026) 0:00:58.497 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 15:53:25 +0000 (0:00:00.021) 0:00:58.519 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 15:53:25 +0000 (0:00:00.021) 0:00:58.540 ***** 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, b8bf2be2-2b0a-47d6-b96f-e14f2aff52fd skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 15:53:25 +0000 (0:00:00.370) 0:00:58.911 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 15:53:25 +0000 (0:00:00.021) 0:00:58.933 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b8bf2be2-2b0a-47d6-b96f-e14f2aff52fd skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 15:53:25 +0000 (0:00:00.022) 0:00:58.955 ***** 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, b8bf2be2-2b0a-47d6-b96f-e14f2aff52fd skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b8bf2be2-2b0a-47d6-b96f-e14f2aff52fd skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 15:53:25 +0000 (0:00:00.023) 0:00:58.979 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 15:53:25 +0000 (0:00:00.020) 0:00:59.000 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/remove_profile.yml:3 Thursday 21 December 2023 15:53:26 +0000 (0:00:00.205) 0:00:59.206 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 15:53:26 +0000 (0:00:00.038) 0:00:59.244 ***** included: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 15:53:26 +0000 (0:00:00.041) 0:00:59.286 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 15:53:26 +0000 (0:00:00.052) 0:00:59.338 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 15:53:26 +0000 (0:00:00.023) 0:00:59.361 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 15:53:26 +0000 (0:00:00.020) 0:00:59.382 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 15:53:28 +0000 (0:00:02.224) 0:01:01.607 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 15:53:29 +0000 (0:00:00.950) 0:01:02.557 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 15:53:29 +0000 (0:00:00.023) 0:01:02.581 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 15:53:29 +0000 (0:00:00.021) 0:01:02.602 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 15:53:29 +0000 (0:00:00.021) 0:01:02.624 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 15:53:29 +0000 (0:00:00.045) 0:01:02.669 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 15:53:29 +0000 (0:00:00.022) 0:01:02.691 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 15:53:29 +0000 (0:00:00.020) 0:01:02.712 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 15:53:29 +0000 (0:00:00.025) 0:01:02.738 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 15:53:30 +0000 (0:00:00.558) 0:01:03.296 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 15:53:30 +0000 (0:00:00.025) 0:01:03.322 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 15:53:30 +0000 (0:00:00.021) 0:01:03.343 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 15:53:30 +0000 (0:00:00.023) 0:01:03.366 ***** 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.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 15:53:30 +0000 (0:00:00.427) 0:01:03.794 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 15:53:30 +0000 (0:00:00.021) 0:01:03.816 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 15:53:30 +0000 (0:00:00.021) 0:01:03.838 ***** 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.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 15:53:30 +0000 (0:00:00.022) 0:01:03.861 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 15:53:30 +0000 (0:00:00.021) 0:01:03.883 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/run_test.yml:30 Thursday 21 December 2023 15:53:30 +0000 (0:00:00.207) 0:01:04.090 ***** included: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 21 December 2023 15:53:30 +0000 (0:00:00.041) 0:01:04.131 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 15:53:31 +0000 (0:00:00.040) 0:01:04.172 ***** included: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 15:53:31 +0000 (0:00:00.040) 0:01:04.213 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 15:53:31 +0000 (0:00:00.027) 0:01:04.241 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 15:53:31 +0000 (0:00:00.023) 0:01:04.264 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 15:53:31 +0000 (0:00:00.051) 0:01:04.316 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 15:53:33 +0000 (0:00:02.243) 0:01:06.560 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 15:53:34 +0000 (0:00:00.909) 0:01:07.469 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 15:53:34 +0000 (0:00:00.043) 0:01:07.512 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 15:53:34 +0000 (0:00:00.021) 0:01:07.534 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 15:53:34 +0000 (0:00:00.021) 0:01:07.556 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 15:53:34 +0000 (0:00:00.043) 0:01:07.600 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 15:53:34 +0000 (0:00:00.023) 0:01:07.623 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 15:53:34 +0000 (0:00:00.022) 0:01:07.645 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 15:53:34 +0000 (0:00:00.026) 0:01:07.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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 15:53:35 +0000 (0:00:00.560) 0:01:08.232 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 15:53:35 +0000 (0:00:00.026) 0:01:08.259 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 15:53:35 +0000 (0:00:00.022) 0:01:08.281 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 15:53:35 +0000 (0:00:00.022) 0:01:08.304 ***** 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.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 15:53:35 +0000 (0:00:00.462) 0:01:08.767 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 15:53:35 +0000 (0:00:00.023) 0:01:08.790 ***** 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.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 15:53:35 +0000 (0:00:00.048) 0:01:08.839 ***** 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.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 15:53:35 +0000 (0:00:00.024) 0:01:08.864 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 15:53:35 +0000 (0:00:00.021) 0:01:08.885 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/run_test.yml:36 Thursday 21 December 2023 15:53:35 +0000 (0:00:00.205) 0:01:09.091 ***** included: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/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.16a7fiha57/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 21 December 2023 15:53:35 +0000 (0:00:00.040) 0:01:09.132 ***** included: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/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.16a7fiha57/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 21 December 2023 15:53:36 +0000 (0:00:00.037) 0:01:09.170 ***** 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.16a7fiha57/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 21 December 2023 15:53:36 +0000 (0:00:00.021) 0:01:09.191 ***** 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.16a7fiha57/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 21 December 2023 15:53:36 +0000 (0:00:00.208) 0:01:09.400 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 21 December 2023 15:53:36 +0000 (0:00:00.021) 0:01:09.422 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021726", "end": "2023-12-21 15:53:36.480915", "rc": 1, "start": "2023-12-21 15:53:36.459189" } 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.16a7fiha57/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 21 December 2023 15:53:36 +0000 (0:00:00.232) 0:01:09.654 ***** 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.16a7fiha57/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 21 December 2023 15:53:36 +0000 (0:00:00.022) 0:01:09.677 ***** 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.16a7fiha57/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 21 December 2023 15:53:36 +0000 (0:00:00.022) 0:01:09.700 ***** 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.16a7fiha57/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 21 December 2023 15:53:36 +0000 (0:00:00.071) 0:01:09.771 ***** 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.16a7fiha57/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 21 December 2023 15:53:36 +0000 (0:00:00.023) 0:01:09.794 ***** 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.16a7fiha57/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 21 December 2023 15:53:36 +0000 (0:00:00.022) 0:01:09.817 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/run_test.yml:42 Thursday 21 December 2023 15:53:36 +0000 (0:00:00.023) 0:01:09.840 ***** included: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/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.16a7fiha57/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 21 December 2023 15:53:36 +0000 (0:00:00.043) 0:01:09.883 ***** included: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 21 December 2023 15:53:36 +0000 (0:00:00.036) 0:01:09.919 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 21 December 2023 15:53:36 +0000 (0:00:00.210) 0:01:10.130 ***** 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.16a7fiha57/tests/playbooks/tasks/run_test.yml:47 Thursday 21 December 2023 15:53:37 +0000 (0:00:00.025) 0:01:10.155 ***** 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.16a7fiha57/tests/playbooks/tasks/run_test.yml:66 Thursday 21 December 2023 15:53:37 +0000 (0:00:00.022) 0:01:10.178 ***** included: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 21 December 2023 15:53:37 +0000 (0:00:00.039) 0:01:10.218 ***** 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.042224", "end": "2023-12-21 15:53:37.300000", "rc": 1, "start": "2023-12-21 15:53:37.257776" } 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.16a7fiha57/tests/playbooks/tests_states.yml:126 Thursday 21 December 2023 15:53:37 +0000 (0:00:00.254) 0:01:10.472 ***** included: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/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.16a7fiha57/tests/playbooks/tasks/run_test.yml:5 Thursday 21 December 2023 15:53:37 +0000 (0:00:00.065) 0:01:10.538 ***** 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.16a7fiha57/tests/playbooks/tasks/run_test.yml:9 Thursday 21 December 2023 15:53:37 +0000 (0:00:00.024) 0:01:10.562 ***** 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.16a7fiha57/tests/playbooks/tasks/run_test.yml:21 Thursday 21 December 2023 15:53:37 +0000 (0:00:00.047) 0:01:10.609 ***** included: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 15:53:37 +0000 (0:00:00.039) 0:01:10.649 ***** included: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 15:53:37 +0000 (0:00:00.037) 0:01:10.687 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003617", "end": "2023-12-21 15:53:37.730235", "rc": 0, "start": "2023-12-21 15:53:37.726618" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 15:53:37 +0000 (0:00:00.218) 0:01:10.905 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 15:53:37 +0000 (0:00:00.024) 0:01:10.929 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/run_test.yml:24 Thursday 21 December 2023 15:53:37 +0000 (0:00:00.022) 0:01:10.951 ***** included: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 21 December 2023 15:53:37 +0000 (0:00:00.045) 0:01:10.996 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 15:53:37 +0000 (0:00:00.036) 0:01:11.033 ***** included: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 15:53:37 +0000 (0:00:00.065) 0:01:11.098 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 15:53:37 +0000 (0:00:00.026) 0:01:11.125 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 15:53:38 +0000 (0:00:00.021) 0:01:11.147 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 15:53:38 +0000 (0:00:00.022) 0:01:11.170 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 15:53:40 +0000 (0:00:02.236) 0:01:13.406 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 15:53:41 +0000 (0:00:00.940) 0:01:14.347 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 15:53:41 +0000 (0:00:00.023) 0:01:14.370 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 15:53:41 +0000 (0:00:00.022) 0:01:14.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.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 15:53:41 +0000 (0:00:00.021) 0:01:14.414 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 15:53:41 +0000 (0:00:00.043) 0:01:14.457 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 15:53:41 +0000 (0:00:00.020) 0:01:14.478 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 15:53:41 +0000 (0:00:00.021) 0:01:14.499 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 15:53:41 +0000 (0:00:00.024) 0:01:14.524 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 15:53:41 +0000 (0:00:00.591) 0:01:15.116 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 15:53:42 +0000 (0:00:00.025) 0:01:15.142 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 15:53:42 +0000 (0:00:00.021) 0:01:15.163 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 15:53:42 +0000 (0:00:00.021) 0:01:15.185 ***** 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, 984fac15-088b-452f-87e3-8469b057d352 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 15:53:42 +0000 (0:00:00.422) 0:01:15.607 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 15:53:42 +0000 (0:00:00.021) 0:01:15.629 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 984fac15-088b-452f-87e3-8469b057d352" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 15:53:42 +0000 (0:00:00.022) 0:01:15.651 ***** 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, 984fac15-088b-452f-87e3-8469b057d352\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 984fac15-088b-452f-87e3-8469b057d352" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 15:53:42 +0000 (0:00:00.022) 0:01:15.674 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 15:53:42 +0000 (0:00:00.020) 0:01:15.695 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 21 December 2023 15:53:42 +0000 (0:00:00.204) 0:01:15.900 ***** 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, 984fac15-088b-452f-87e3-8469b057d352\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 984fac15-088b-452f-87e3-8469b057d352" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/activate_profile.yml:3 Thursday 21 December 2023 15:53:42 +0000 (0:00:00.023) 0:01:15.923 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 15:53:42 +0000 (0:00:00.037) 0:01:15.961 ***** included: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 15:53:42 +0000 (0:00:00.067) 0:01:16.029 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 15:53:42 +0000 (0:00:00.028) 0:01:16.057 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 15:53:42 +0000 (0:00:00.021) 0:01:16.079 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 15:53:42 +0000 (0:00:00.021) 0:01:16.100 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 15:53:45 +0000 (0:00:02.209) 0:01:18.310 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 15:53:46 +0000 (0:00:00.927) 0:01:19.238 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 15:53:46 +0000 (0:00:00.023) 0:01:19.261 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 15:53:46 +0000 (0:00:00.020) 0:01:19.282 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 15:53:46 +0000 (0:00:00.021) 0:01:19.304 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 15:53:46 +0000 (0:00:00.043) 0:01:19.347 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 15:53:46 +0000 (0:00:00.021) 0:01:19.369 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 15:53:46 +0000 (0:00:00.021) 0:01:19.390 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 15:53:46 +0000 (0:00:00.025) 0:01:19.415 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 15:53:46 +0000 (0:00:00.560) 0:01:19.976 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 15:53:46 +0000 (0:00:00.049) 0:01:20.025 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 15:53:46 +0000 (0:00:00.021) 0:01:20.047 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 15:53:46 +0000 (0:00:00.021) 0:01:20.069 ***** 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, 984fac15-088b-452f-87e3-8469b057d352 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 15:53:47 +0000 (0:00:00.370) 0:01:20.440 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 15:53:47 +0000 (0:00:00.021) 0:01:20.461 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 984fac15-088b-452f-87e3-8469b057d352 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 15:53:47 +0000 (0:00:00.022) 0:01:20.484 ***** 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, 984fac15-088b-452f-87e3-8469b057d352 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 984fac15-088b-452f-87e3-8469b057d352 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 15:53:47 +0000 (0:00:00.022) 0:01:20.507 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 15:53:47 +0000 (0:00:00.021) 0:01:20.528 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 21 December 2023 15:53:47 +0000 (0:00:00.209) 0:01:20.738 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 15:53:47 +0000 (0:00:00.038) 0:01:20.777 ***** included: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 15:53:47 +0000 (0:00:00.040) 0:01:20.817 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 15:53:47 +0000 (0:00:00.027) 0:01:20.844 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 15:53:47 +0000 (0:00:00.048) 0:01:20.893 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 15:53:47 +0000 (0:00:00.023) 0:01:20.916 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 15:53:50 +0000 (0:00:02.231) 0:01:23.148 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 15:53:50 +0000 (0:00:00.917) 0:01:24.065 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 15:53:50 +0000 (0:00:00.042) 0:01:24.108 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 15:53:50 +0000 (0:00:00.022) 0:01:24.130 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 15:53:51 +0000 (0:00:00.021) 0:01:24.151 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 15:53:51 +0000 (0:00:00.044) 0:01:24.196 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 15:53:51 +0000 (0:00:00.021) 0:01:24.218 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 15:53:51 +0000 (0:00:00.021) 0:01:24.239 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 15:53:51 +0000 (0:00:00.024) 0:01:24.264 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 15:53:51 +0000 (0:00:00.561) 0:01:24.825 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 15:53:51 +0000 (0:00:00.026) 0:01:24.852 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 15:53:51 +0000 (0:00:00.021) 0:01:24.873 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 15:53:51 +0000 (0:00:00.020) 0:01:24.894 ***** 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.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 15:53:52 +0000 (0:00:00.457) 0:01:25.352 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 15:53:52 +0000 (0:00:00.045) 0:01:25.397 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 15:53:52 +0000 (0:00:00.023) 0:01:25.421 ***** 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.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 15:53:52 +0000 (0:00:00.022) 0:01:25.444 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 15:53:52 +0000 (0:00:00.021) 0:01:25.465 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/run_test.yml:30 Thursday 21 December 2023 15:53:52 +0000 (0:00:00.209) 0:01:25.675 ***** included: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 21 December 2023 15:53:52 +0000 (0:00:00.041) 0:01:25.716 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 15:53:52 +0000 (0:00:00.036) 0:01:25.753 ***** included: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 15:53:52 +0000 (0:00:00.040) 0:01:25.794 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 15:53:52 +0000 (0:00:00.027) 0:01:25.821 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 15:53:52 +0000 (0:00:00.021) 0:01:25.843 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 15:53:52 +0000 (0:00:00.020) 0:01:25.864 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 15:53:54 +0000 (0:00:02.216) 0:01:28.080 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 15:53:55 +0000 (0:00:00.914) 0:01:28.994 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 15:53:55 +0000 (0:00:00.040) 0:01:29.035 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 15:53:55 +0000 (0:00:00.021) 0:01:29.056 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 15:53:55 +0000 (0:00:00.021) 0:01:29.078 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 15:53:55 +0000 (0:00:00.043) 0:01:29.121 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 15:53:56 +0000 (0:00:00.021) 0:01:29.143 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 15:53:56 +0000 (0:00:00.021) 0:01:29.164 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 15:53:56 +0000 (0:00:00.024) 0:01:29.189 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 15:53:56 +0000 (0:00:00.558) 0:01:29.747 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 15:53:56 +0000 (0:00:00.026) 0:01:29.774 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 15:53:56 +0000 (0:00:00.020) 0:01:29.795 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 15:53:56 +0000 (0:00:00.021) 0:01:29.816 ***** 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.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 15:53:57 +0000 (0:00:00.391) 0:01:30.208 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 15:53:57 +0000 (0:00:00.021) 0:01:30.229 ***** 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.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 15:53:57 +0000 (0:00:00.049) 0:01:30.279 ***** 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.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 15:53:57 +0000 (0:00:00.024) 0:01:30.303 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 15:53:57 +0000 (0:00:00.021) 0:01:30.325 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/run_test.yml:36 Thursday 21 December 2023 15:53:57 +0000 (0:00:00.207) 0:01:30.532 ***** included: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/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.16a7fiha57/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 21 December 2023 15:53:57 +0000 (0:00:00.044) 0:01:30.576 ***** included: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/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.16a7fiha57/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 21 December 2023 15:53:57 +0000 (0:00:00.037) 0:01:30.614 ***** 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.16a7fiha57/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 21 December 2023 15:53:57 +0000 (0:00:00.023) 0:01:30.637 ***** 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.16a7fiha57/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 21 December 2023 15:53:57 +0000 (0:00:00.208) 0:01:30.846 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 21 December 2023 15:53:57 +0000 (0:00:00.022) 0:01:30.868 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021850", "end": "2023-12-21 15:53:57.927261", "rc": 1, "start": "2023-12-21 15:53:57.905411" } 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.16a7fiha57/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 21 December 2023 15:53:57 +0000 (0:00:00.232) 0:01:31.101 ***** 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.16a7fiha57/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 21 December 2023 15:53:57 +0000 (0:00:00.023) 0:01:31.125 ***** 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.16a7fiha57/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 21 December 2023 15:53:58 +0000 (0:00:00.021) 0:01:31.147 ***** 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.16a7fiha57/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 21 December 2023 15:53:58 +0000 (0:00:00.047) 0:01:31.194 ***** 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.16a7fiha57/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 21 December 2023 15:53:58 +0000 (0:00:00.023) 0:01:31.217 ***** 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.16a7fiha57/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 21 December 2023 15:53:58 +0000 (0:00:00.022) 0:01:31.240 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Thursday 21 December 2023 15:53:58 +0000 (0:00:00.022) 0:01:31.263 ***** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.362982", "end": "2023-12-21 15:53:58.665583", "rc": 0, "start": "2023-12-21 15:53:58.302601" } STDOUT: NetworkManager-1.42.8-1.fc38 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Thursday 21 December 2023 15:53:58 +0000 (0:00:00.577) 0:01:31.841 ***** 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.16a7fiha57/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Thursday 21 December 2023 15:53:58 +0000 (0:00:00.022) 0:01:31.863 ***** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.42.8-1.fc38" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/run_test.yml:42 Thursday 21 December 2023 15:53:58 +0000 (0:00:00.022) 0:01:31.886 ***** included: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/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.16a7fiha57/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 21 December 2023 15:53:58 +0000 (0:00:00.043) 0:01:31.930 ***** included: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 21 December 2023 15:53:58 +0000 (0:00:00.036) 0:01:31.967 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 21 December 2023 15:53:59 +0000 (0:00:00.211) 0:01:32.178 ***** 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.16a7fiha57/tests/playbooks/tasks/run_test.yml:47 Thursday 21 December 2023 15:53:59 +0000 (0:00:00.024) 0:01:32.203 ***** 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.16a7fiha57/tests/playbooks/tasks/run_test.yml:66 Thursday 21 December 2023 15:53:59 +0000 (0:00:00.049) 0:01:32.253 ***** included: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 21 December 2023 15:53:59 +0000 (0:00:00.043) 0:01:32.296 ***** 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.042538", "end": "2023-12-21 15:53:59.377645", "rc": 1, "start": "2023-12-21 15:53:59.335107" } 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=10 Thursday 21 December 2023 15:53:59 +0000 (0:00:00.241) 0:01:32.537 ***** =============================================================================== linux-system-roles.network : Enable and start NetworkManager ------------ 2.98s /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Check which services are running ----------- 2.31s /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 2.29s /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable and start NetworkManager ------------ 2.27s /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Check which services are running ----------- 2.25s /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.24s /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.24s /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.23s /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.23s /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.22s /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.22s /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.22s /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.22s /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.22s /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.22s /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.21s /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.21s /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.20s /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Enable and start NetworkManager ------------ 1.68s /WORKDIR/git-ansible-lint-test-2.16a7fiha57/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Configure networking connection profiles --- 1.48s /WORKDIR/git-ansible-lint-test-2.16a7fiha57/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. ---^---^---^---^---^---