# 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.16hl3k117x/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.16hl3k117x/tests/tests_states_nm.yml:6 Thursday 21 December 2023 15:54:38 +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.16hl3k117x/tests/tests_states_nm.yml:9 Thursday 21 December 2023 15:54:39 +0000 (0:00:00.800) 0:00:00.812 ***** included: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/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.16hl3k117x/tests/tasks/el_repo_setup.yml:3 Thursday 21 December 2023 15:54:39 +0000 (0:00:00.035) 0:00:00.847 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/tasks/el_repo_setup.yml:19 Thursday 21 December 2023 15:54:39 +0000 (0:00:00.360) 0:00:01.208 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/tasks/el_repo_setup.yml:24 Thursday 21 December 2023 15:54:40 +0000 (0:00:00.341) 0:00:01.550 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/tasks/el_repo_setup.yml:28 Thursday 21 December 2023 15:54:40 +0000 (0:00:00.046) 0:00:01.596 ***** 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.16hl3k117x/tests/tasks/el_repo_setup.yml:53 Thursday 21 December 2023 15:54:40 +0000 (0:00:00.039) 0:00:01.636 ***** included: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 9] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/tasks/enable_epel.yml:8 Thursday 21 December 2023 15:54:40 +0000 (0:00:00.038) 0:00:01.675 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/tasks/enable_epel.yml:24 Thursday 21 December 2023 15:54:40 +0000 (0:00:00.018) 0:00:01.693 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/tasks/enable_epel.yml:30 Thursday 21 December 2023 15:54:40 +0000 (0:00:00.021) 0:00:01.715 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/tasks/enable_epel.yml:35 Thursday 21 December 2023 15:54:40 +0000 (0:00:00.016) 0:00:01.732 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/tasks/enable_epel.yml:40 Thursday 21 December 2023 15:54:40 +0000 (0:00:00.013) 0:00:01.745 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/tests_states_nm.yml:11 Thursday 21 December 2023 15:54:40 +0000 (0:00:00.014) 0:00:01.760 ***** 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.16hl3k117x/tests/playbooks/tests_states.yml:3 Thursday 21 December 2023 15:54:40 +0000 (0:00:00.023) 0:00:01.784 ***** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tests_states.yml:11 Thursday 21 December 2023 15:54:40 +0000 (0:00:00.484) 0:00:02.268 ***** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tests_states.yml:22 Thursday 21 December 2023 15:54:40 +0000 (0:00:00.011) 0:00:02.279 ***** included: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/run_test.yml:5 Thursday 21 December 2023 15:54:40 +0000 (0:00:00.016) 0:00:02.296 ***** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/run_test.yml:9 Thursday 21 December 2023 15:54:40 +0000 (0:00:00.014) 0:00:02.310 ***** 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.16hl3k117x/tests/playbooks/tasks/run_test.yml:21 Thursday 21 December 2023 15:54:40 +0000 (0:00:00.033) 0:00:02.344 ***** included: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 15:54:40 +0000 (0:00:00.020) 0:00:02.364 ***** included: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 15:54:40 +0000 (0:00:00.013) 0:00:02.377 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002920", "end": "2023-12-21 15:54:41.153835", "rc": 0, "start": "2023-12-21 15:54:41.150915" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 15:54:41 +0000 (0:00:00.246) 0:00:02.624 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 15:54:41 +0000 (0:00:00.010) 0:00:02.634 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/run_test.yml:24 Thursday 21 December 2023 15:54:41 +0000 (0:00:00.010) 0:00:02.645 ***** included: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/delete_interface.yml:3 Thursday 21 December 2023 15:54:41 +0000 (0:00:00.019) 0:00:02.664 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006978", "end": "2023-12-21 15:54:41.377387", "rc": 1, "start": "2023-12-21 15:54:41.370409" } 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.16hl3k117x/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 21 December 2023 15:54:41 +0000 (0:00:00.181) 0:00:02.846 ***** included: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 21 December 2023 15:54:41 +0000 (0:00:00.015) 0:00:02.862 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 21 December 2023 15:54:41 +0000 (0:00:00.190) 0:00:03.053 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/run_test.yml:30 Thursday 21 December 2023 15:54:41 +0000 (0:00:00.012) 0:00:03.065 ***** included: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 21 December 2023 15:54:41 +0000 (0:00:00.020) 0:00:03.085 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 15:54:41 +0000 (0:00:00.033) 0:00:03.119 ***** included: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 15:54:41 +0000 (0:00:00.084) 0:00:03.204 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 15:54:41 +0000 (0:00:00.013) 0:00:03.217 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 15:54:41 +0000 (0:00:00.016) 0:00:03.233 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 15:54:41 +0000 (0:00:00.023) 0:00:03.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 : Check which packages are installed] ********* task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 15:54:43 +0000 (0:00:01.471) 0:00:04.728 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 15:54:44 +0000 (0:00:01.149) 0:00:05.877 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 15:54:44 +0000 (0:00:00.022) 0:00:05.900 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 15:54:44 +0000 (0:00:00.021) 0:00:05.921 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 15:54:44 +0000 (0:00:00.021) 0:00:05.942 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 15:54:44 +0000 (0:00:00.044) 0:00:05.986 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 15:54:44 +0000 (0:00:00.020) 0:00:06.007 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 15:54:44 +0000 (0:00:00.021) 0:00:06.028 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 15:54:44 +0000 (0:00:00.024) 0:00:06.052 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 15:54:45 +0000 (0:00:00.497) 0:00:06.550 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 15:54:45 +0000 (0:00:00.027) 0:00:06.577 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 15:54:45 +0000 (0:00:00.028) 0:00:06.605 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 15:54:45 +0000 (0:00:00.022) 0:00:06.628 ***** 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, 0efdb4e0-9bc7-4078-a189-a5243a3dab8d TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 15:54:45 +0000 (0:00:00.530) 0:00:07.159 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 15:54:45 +0000 (0:00:00.046) 0:00:07.206 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0efdb4e0-9bc7-4078-a189-a5243a3dab8d" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 15:54:45 +0000 (0:00:00.024) 0:00:07.230 ***** 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, 0efdb4e0-9bc7-4078-a189-a5243a3dab8d\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0efdb4e0-9bc7-4078-a189-a5243a3dab8d" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 15:54:45 +0000 (0:00:00.022) 0:00:07.252 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 15:54:45 +0000 (0:00:00.021) 0:00:07.274 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 21 December 2023 15:54:46 +0000 (0:00:00.239) 0:00:07.513 ***** 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, 0efdb4e0-9bc7-4078-a189-a5243a3dab8d\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0efdb4e0-9bc7-4078-a189-a5243a3dab8d" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/run_test.yml:36 Thursday 21 December 2023 15:54:46 +0000 (0:00:00.023) 0:00:07.536 ***** included: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/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.16hl3k117x/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 21 December 2023 15:54:46 +0000 (0:00:00.040) 0:00:07.577 ***** included: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/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.16hl3k117x/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 21 December 2023 15:54:46 +0000 (0:00:00.042) 0:00:07.619 ***** 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.16hl3k117x/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 21 December 2023 15:54:46 +0000 (0:00:00.022) 0:00:07.641 ***** 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.16hl3k117x/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 21 December 2023 15:54:46 +0000 (0:00:00.186) 0:00:07.828 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 21 December 2023 15:54:46 +0000 (0:00:00.020) 0:00:07.848 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021171", "end": "2023-12-21 15:54:46.575539", "rc": 0, "start": "2023-12-21 15:54:46.554368" } 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.16hl3k117x/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 21 December 2023 15:54:46 +0000 (0:00:00.209) 0:00:08.057 ***** 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.16hl3k117x/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 21 December 2023 15:54:46 +0000 (0:00:00.025) 0:00:08.083 ***** 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.16hl3k117x/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 21 December 2023 15:54:46 +0000 (0:00:00.052) 0:00:08.135 ***** 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.16hl3k117x/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 21 December 2023 15:54:46 +0000 (0:00:00.026) 0:00:08.162 ***** 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.16hl3k117x/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 21 December 2023 15:54:46 +0000 (0:00:00.023) 0:00:08.185 ***** 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.16hl3k117x/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 21 December 2023 15:54:46 +0000 (0:00:00.024) 0:00:08.209 ***** 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.16hl3k117x/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 21 December 2023 15:54:46 +0000 (0:00:00.024) 0:00:08.234 ***** 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.16hl3k117x/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 21 December 2023 15:54:46 +0000 (0:00:00.024) 0:00:08.259 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/run_test.yml:42 Thursday 21 December 2023 15:54:46 +0000 (0:00:00.023) 0:00:08.282 ***** included: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/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.16hl3k117x/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 21 December 2023 15:54:46 +0000 (0:00:00.045) 0:00:08.328 ***** included: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 21 December 2023 15:54:46 +0000 (0:00:00.039) 0:00:08.368 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1703174085.6184115, "block_size": 4096, "blocks": 0, "ctime": 1703174085.6184115, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 30668, "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": 1703174085.6184115, "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.16hl3k117x/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 21 December 2023 15:54:47 +0000 (0:00:00.226) 0:00:08.594 ***** 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.16hl3k117x/tests/playbooks/tasks/run_test.yml:47 Thursday 21 December 2023 15:54:47 +0000 (0:00:00.025) 0:00:08.620 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/run_test.yml:66 Thursday 21 December 2023 15:54:47 +0000 (0:00:00.021) 0:00:08.641 ***** included: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 21 December 2023 15:54:47 +0000 (0:00:00.040) 0:00:08.682 ***** 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.058629", "end": "2023-12-21 15:54:47.464472", "rc": 1, "start": "2023-12-21 15:54:47.405843" } STDOUT: Connection 'statebr' (0efdb4e0-9bc7-4078-a189-a5243a3dab8d) successfully deleted. STDERR: 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.16hl3k117x/tests/playbooks/tests_states.yml:45 Thursday 21 December 2023 15:54:47 +0000 (0:00:00.285) 0:00:08.968 ***** included: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/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.16hl3k117x/tests/playbooks/tasks/run_test.yml:5 Thursday 21 December 2023 15:54:47 +0000 (0:00:00.036) 0:00:09.004 ***** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/run_test.yml:9 Thursday 21 December 2023 15:54:47 +0000 (0:00:00.021) 0:00:09.026 ***** 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.16hl3k117x/tests/playbooks/tasks/run_test.yml:21 Thursday 21 December 2023 15:54:47 +0000 (0:00:00.042) 0:00:09.068 ***** included: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 15:54:47 +0000 (0:00:00.033) 0:00:09.101 ***** included: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 15:54:47 +0000 (0:00:00.032) 0:00:09.134 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003529", "end": "2023-12-21 15:54:47.846558", "rc": 0, "start": "2023-12-21 15:54:47.843029" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 15:54:47 +0000 (0:00:00.194) 0:00:09.328 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 15:54:47 +0000 (0:00:00.022) 0:00:09.351 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/run_test.yml:24 Thursday 21 December 2023 15:54:47 +0000 (0:00:00.021) 0:00:09.372 ***** included: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/delete_interface.yml:3 Thursday 21 December 2023 15:54:47 +0000 (0:00:00.041) 0:00:09.413 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.005627", "end": "2023-12-21 15:54:48.125999", "rc": 1, "start": "2023-12-21 15:54:48.120372" } 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.16hl3k117x/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 21 December 2023 15:54:48 +0000 (0:00:00.192) 0:00:09.606 ***** included: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 21 December 2023 15:54:48 +0000 (0:00:00.064) 0:00:09.670 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 21 December 2023 15:54:48 +0000 (0:00:00.187) 0:00:09.857 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/run_test.yml:30 Thursday 21 December 2023 15:54:48 +0000 (0:00:00.022) 0:00:09.880 ***** included: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Thursday 21 December 2023 15:54:48 +0000 (0:00:00.037) 0:00:09.918 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 15:54:48 +0000 (0:00:00.039) 0:00:09.958 ***** included: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 15:54:48 +0000 (0:00:00.040) 0:00:09.998 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 15:54:48 +0000 (0:00:00.025) 0:00:10.024 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 15:54:48 +0000 (0:00:00.020) 0:00:10.044 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 15:54:48 +0000 (0:00:00.020) 0:00:10.064 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 15:54:49 +0000 (0:00:01.376) 0:00:11.440 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 15:54:50 +0000 (0:00:00.902) 0:00:12.343 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 15:54:50 +0000 (0:00:00.034) 0:00:12.378 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 15:54:50 +0000 (0:00:00.023) 0:00:12.402 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 15:54:50 +0000 (0:00:00.023) 0:00:12.425 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 15:54:51 +0000 (0:00:00.045) 0:00:12.471 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 15:54:51 +0000 (0:00:00.024) 0:00:12.495 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 15:54:51 +0000 (0:00:00.021) 0:00:12.517 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 15:54:51 +0000 (0:00:00.028) 0:00:12.546 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 15:54:51 +0000 (0:00:00.380) 0:00:12.927 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 15:54:51 +0000 (0:00:00.026) 0:00:12.953 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 15:54:51 +0000 (0:00:00.023) 0:00:12.976 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 15:54:51 +0000 (0:00:00.034) 0:00:13.011 ***** 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, e4f69516-bd28-4c58-aab7-670db2e25037 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 15:54:51 +0000 (0:00:00.374) 0:00:13.386 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 15:54:51 +0000 (0:00:00.023) 0:00:13.410 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e4f69516-bd28-4c58-aab7-670db2e25037" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 15:54:51 +0000 (0:00:00.025) 0:00:13.435 ***** 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, e4f69516-bd28-4c58-aab7-670db2e25037\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e4f69516-bd28-4c58-aab7-670db2e25037" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 15:54:52 +0000 (0:00:00.031) 0:00:13.467 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 15:54:52 +0000 (0:00:00.025) 0:00:13.493 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Thursday 21 December 2023 15:54:52 +0000 (0:00:00.210) 0:00:13.703 ***** 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, e4f69516-bd28-4c58-aab7-670db2e25037\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e4f69516-bd28-4c58-aab7-670db2e25037" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/run_test.yml:36 Thursday 21 December 2023 15:54:52 +0000 (0:00:00.022) 0:00:13.725 ***** included: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/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.16hl3k117x/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 21 December 2023 15:54:52 +0000 (0:00:00.041) 0:00:13.767 ***** included: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 21 December 2023 15:54:52 +0000 (0:00:00.036) 0:00:13.804 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 21 December 2023 15:54:52 +0000 (0:00:00.215) 0:00:14.019 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 21 December 2023 15:54:52 +0000 (0:00:00.023) 0:00:14.043 ***** included: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/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.16hl3k117x/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 21 December 2023 15:54:52 +0000 (0:00:00.039) 0:00:14.083 ***** 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.16hl3k117x/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 21 December 2023 15:54:52 +0000 (0:00:00.021) 0:00:14.105 ***** 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.16hl3k117x/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 21 December 2023 15:54:52 +0000 (0:00:00.185) 0:00:14.290 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 21 December 2023 15:54:52 +0000 (0:00:00.022) 0:00:14.313 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020664", "end": "2023-12-21 15:54:53.039918", "rc": 0, "start": "2023-12-21 15:54:53.019254" } 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.16hl3k117x/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 21 December 2023 15:54:53 +0000 (0:00:00.208) 0:00:14.521 ***** 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.16hl3k117x/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 21 December 2023 15:54:53 +0000 (0:00:00.029) 0:00:14.551 ***** 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.16hl3k117x/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 21 December 2023 15:54:53 +0000 (0:00:00.021) 0:00:14.572 ***** 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.16hl3k117x/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 21 December 2023 15:54:53 +0000 (0:00:00.026) 0:00:14.598 ***** 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.16hl3k117x/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 21 December 2023 15:54:53 +0000 (0:00:00.021) 0:00:14.620 ***** 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.16hl3k117x/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 21 December 2023 15:54:53 +0000 (0:00:00.021) 0:00:14.642 ***** 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.16hl3k117x/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 21 December 2023 15:54:53 +0000 (0:00:00.022) 0:00:14.665 ***** 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.16hl3k117x/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 21 December 2023 15:54:53 +0000 (0:00:00.022) 0:00:14.687 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/run_test.yml:42 Thursday 21 December 2023 15:54:53 +0000 (0:00:00.021) 0:00:14.708 ***** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/run_test.yml:47 Thursday 21 December 2023 15:54:53 +0000 (0:00:00.019) 0:00:14.728 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/run_test.yml:66 Thursday 21 December 2023 15:54:53 +0000 (0:00:00.044) 0:00:14.772 ***** included: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 21 December 2023 15:54:53 +0000 (0:00:00.041) 0:00:14.814 ***** 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.041762", "end": "2023-12-21 15:54:53.562610", "rc": 1, "start": "2023-12-21 15:54:53.520848" } STDOUT: Connection 'statebr' (e4f69516-bd28-4c58-aab7-670db2e25037) successfully deleted. STDERR: 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.16hl3k117x/tests/playbooks/tests_states.yml:65 Thursday 21 December 2023 15:54:53 +0000 (0:00:00.229) 0:00:15.043 ***** included: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/run_test.yml:5 Thursday 21 December 2023 15:54:53 +0000 (0:00:00.038) 0:00:15.082 ***** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/run_test.yml:9 Thursday 21 December 2023 15:54:53 +0000 (0:00:00.022) 0:00:15.104 ***** 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.16hl3k117x/tests/playbooks/tasks/run_test.yml:21 Thursday 21 December 2023 15:54:53 +0000 (0:00:00.046) 0:00:15.150 ***** included: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 15:54:53 +0000 (0:00:00.035) 0:00:15.186 ***** included: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 15:54:53 +0000 (0:00:00.033) 0:00:15.220 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003018", "end": "2023-12-21 15:54:53.930398", "rc": 0, "start": "2023-12-21 15:54:53.927380" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 15:54:53 +0000 (0:00:00.192) 0:00:15.412 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 15:54:53 +0000 (0:00:00.022) 0:00:15.435 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/run_test.yml:24 Thursday 21 December 2023 15:54:54 +0000 (0:00:00.022) 0:00:15.458 ***** included: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 21 December 2023 15:54:54 +0000 (0:00:00.061) 0:00:15.519 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 15:54:54 +0000 (0:00:00.036) 0:00:15.556 ***** included: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 15:54:54 +0000 (0:00:00.039) 0:00:15.595 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 15:54:54 +0000 (0:00:00.025) 0:00:15.621 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 15:54:54 +0000 (0:00:00.020) 0:00:15.642 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 15:54:54 +0000 (0:00:00.021) 0:00:15.663 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 15:54:55 +0000 (0:00:01.384) 0:00:17.047 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 15:54:56 +0000 (0:00:00.940) 0:00:17.988 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 15:54:56 +0000 (0:00:00.024) 0:00:18.012 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 15:54:56 +0000 (0:00:00.021) 0:00:18.034 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 15:54:56 +0000 (0:00:00.021) 0:00:18.056 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 15:54:56 +0000 (0:00:00.043) 0:00:18.099 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 15:54:56 +0000 (0:00:00.020) 0:00:18.119 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 15:54:56 +0000 (0:00:00.021) 0:00:18.140 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 15:54:56 +0000 (0:00:00.024) 0:00:18.165 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 15:54:57 +0000 (0:00:00.353) 0:00:18.518 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 15:54:57 +0000 (0:00:00.025) 0:00:18.543 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 15:54:57 +0000 (0:00:00.021) 0:00:18.564 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 15:54:57 +0000 (0:00:00.022) 0:00:18.587 ***** 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, e421afeb-b9d3-4e1b-ac78-3514a38323a8 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 15:54:57 +0000 (0:00:00.422) 0:00:19.010 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 15:54:57 +0000 (0:00:00.022) 0:00:19.032 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e421afeb-b9d3-4e1b-ac78-3514a38323a8" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 15:54:57 +0000 (0:00:00.022) 0:00:19.054 ***** 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, e421afeb-b9d3-4e1b-ac78-3514a38323a8\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e421afeb-b9d3-4e1b-ac78-3514a38323a8" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 15:54:57 +0000 (0:00:00.022) 0:00:19.077 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 15:54:57 +0000 (0:00:00.022) 0:00:19.099 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 21 December 2023 15:54:57 +0000 (0:00:00.185) 0:00:19.285 ***** 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, e421afeb-b9d3-4e1b-ac78-3514a38323a8\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e421afeb-b9d3-4e1b-ac78-3514a38323a8" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/run_test.yml:30 Thursday 21 December 2023 15:54:57 +0000 (0:00:00.023) 0:00:19.308 ***** included: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/activate_profile.yml:3 Thursday 21 December 2023 15:54:57 +0000 (0:00:00.039) 0:00:19.347 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 15:54:57 +0000 (0:00:00.040) 0:00:19.387 ***** included: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 15:54:57 +0000 (0:00:00.038) 0:00:19.426 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 15:54:57 +0000 (0:00:00.026) 0:00:19.452 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 15:54:58 +0000 (0:00:00.022) 0:00:19.475 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 15:54:58 +0000 (0:00:00.021) 0:00:19.496 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 15:54:59 +0000 (0:00:01.378) 0:00:20.875 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 15:55:00 +0000 (0:00:00.913) 0:00:21.789 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 15:55:00 +0000 (0:00:00.027) 0:00:21.816 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 15:55:00 +0000 (0:00:00.023) 0:00:21.839 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 15:55:00 +0000 (0:00:00.022) 0:00:21.862 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 15:55:00 +0000 (0:00:00.062) 0:00:21.925 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 15:55:00 +0000 (0:00:00.081) 0:00:22.006 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 15:55:00 +0000 (0:00:00.061) 0:00:22.067 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 15:55:00 +0000 (0:00:00.050) 0:00:22.117 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 15:55:01 +0000 (0:00:00.402) 0:00:22.520 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 15:55:01 +0000 (0:00:00.026) 0:00:22.546 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 15:55:01 +0000 (0:00:00.020) 0:00:22.566 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 15:55:01 +0000 (0:00:00.020) 0:00:22.587 ***** 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, e421afeb-b9d3-4e1b-ac78-3514a38323a8 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 15:55:01 +0000 (0:00:00.336) 0:00:22.924 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 15:55:01 +0000 (0:00:00.023) 0:00:22.947 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, e421afeb-b9d3-4e1b-ac78-3514a38323a8 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 15:55:01 +0000 (0:00:00.022) 0:00:22.970 ***** 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, e421afeb-b9d3-4e1b-ac78-3514a38323a8 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, e421afeb-b9d3-4e1b-ac78-3514a38323a8 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 15:55:01 +0000 (0:00:00.023) 0:00:22.994 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 15:55:01 +0000 (0:00:00.022) 0:00:23.016 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/run_test.yml:36 Thursday 21 December 2023 15:55:01 +0000 (0:00:00.186) 0:00:23.203 ***** included: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/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.16hl3k117x/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 21 December 2023 15:55:01 +0000 (0:00:00.081) 0:00:23.284 ***** included: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 21 December 2023 15:55:01 +0000 (0:00:00.043) 0:00:23.328 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1703174097.472006, "block_size": 4096, "blocks": 0, "ctime": 1703174097.472006, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 30799, "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": 1703174097.472006, "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.16hl3k117x/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 21 December 2023 15:55:02 +0000 (0:00:00.194) 0:00:23.523 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 21 December 2023 15:55:02 +0000 (0:00:00.023) 0:00:23.546 ***** included: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/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.16hl3k117x/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 21 December 2023 15:55:02 +0000 (0:00:00.035) 0:00:23.582 ***** 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.16hl3k117x/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 21 December 2023 15:55:02 +0000 (0:00:00.021) 0:00:23.604 ***** 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.16hl3k117x/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 21 December 2023 15:55:02 +0000 (0:00:00.213) 0:00:23.818 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 21 December 2023 15:55:02 +0000 (0:00:00.032) 0:00:23.850 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021660", "end": "2023-12-21 15:55:02.609810", "rc": 0, "start": "2023-12-21 15:55:02.588150" } 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.16hl3k117x/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 21 December 2023 15:55:02 +0000 (0:00:00.241) 0:00:24.092 ***** 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.16hl3k117x/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 21 December 2023 15:55:02 +0000 (0:00:00.023) 0:00:24.116 ***** 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.16hl3k117x/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 21 December 2023 15:55:02 +0000 (0:00:00.021) 0:00:24.137 ***** 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.16hl3k117x/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 21 December 2023 15:55:02 +0000 (0:00:00.021) 0:00:24.158 ***** 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.16hl3k117x/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 21 December 2023 15:55:02 +0000 (0:00:00.021) 0:00:24.180 ***** 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.16hl3k117x/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 21 December 2023 15:55:02 +0000 (0:00:00.021) 0:00:24.201 ***** 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.16hl3k117x/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 21 December 2023 15:55:02 +0000 (0:00:00.046) 0:00:24.248 ***** 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.16hl3k117x/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 21 December 2023 15:55:02 +0000 (0:00:00.025) 0:00:24.273 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/run_test.yml:42 Thursday 21 December 2023 15:55:02 +0000 (0:00:00.023) 0:00:24.297 ***** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/run_test.yml:47 Thursday 21 December 2023 15:55:02 +0000 (0:00:00.021) 0:00:24.319 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/run_test.yml:66 Thursday 21 December 2023 15:55:02 +0000 (0:00:00.021) 0:00:24.340 ***** included: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 21 December 2023 15:55:02 +0000 (0:00:00.041) 0:00:24.382 ***** 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.066185", "end": "2023-12-21 15:55:03.157151", "rc": 1, "start": "2023-12-21 15:55:03.090966" } STDOUT: Connection 'statebr' (e421afeb-b9d3-4e1b-ac78-3514a38323a8) successfully deleted. STDERR: 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.16hl3k117x/tests/playbooks/tests_states.yml:83 Thursday 21 December 2023 15:55:03 +0000 (0:00:00.257) 0:00:24.640 ***** included: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/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.16hl3k117x/tests/playbooks/tasks/run_test.yml:5 Thursday 21 December 2023 15:55:03 +0000 (0:00:00.038) 0:00:24.678 ***** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/run_test.yml:9 Thursday 21 December 2023 15:55:03 +0000 (0:00:00.021) 0:00:24.700 ***** 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.16hl3k117x/tests/playbooks/tasks/run_test.yml:21 Thursday 21 December 2023 15:55:03 +0000 (0:00:00.041) 0:00:24.742 ***** included: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 15:55:03 +0000 (0:00:00.034) 0:00:24.776 ***** included: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 15:55:03 +0000 (0:00:00.033) 0:00:24.809 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003186", "end": "2023-12-21 15:55:03.524008", "rc": 0, "start": "2023-12-21 15:55:03.520822" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 15:55:03 +0000 (0:00:00.219) 0:00:25.029 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 15:55:03 +0000 (0:00:00.023) 0:00:25.052 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/run_test.yml:24 Thursday 21 December 2023 15:55:03 +0000 (0:00:00.021) 0:00:25.073 ***** included: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 21 December 2023 15:55:03 +0000 (0:00:00.039) 0:00:25.113 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 15:55:03 +0000 (0:00:00.036) 0:00:25.150 ***** included: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 15:55:03 +0000 (0:00:00.053) 0:00:25.203 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 15:55:03 +0000 (0:00:00.041) 0:00:25.245 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 15:55:03 +0000 (0:00:00.029) 0:00:25.274 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 15:55:03 +0000 (0:00:00.038) 0:00:25.313 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 15:55:05 +0000 (0:00:01.457) 0:00:26.771 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 15:55:06 +0000 (0:00:00.919) 0:00:27.690 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 15:55:06 +0000 (0:00:00.029) 0:00:27.720 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 15:55:06 +0000 (0:00:00.023) 0:00:27.744 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 15:55:06 +0000 (0:00:00.034) 0:00:27.778 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 15:55:06 +0000 (0:00:00.049) 0:00:27.828 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 15:55:06 +0000 (0:00:00.032) 0:00:27.861 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 15:55:06 +0000 (0:00:00.027) 0:00:27.889 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 15:55:06 +0000 (0:00:00.026) 0:00:27.915 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 15:55:06 +0000 (0:00:00.351) 0:00:28.267 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 15:55:06 +0000 (0:00:00.054) 0:00:28.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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 15:55:06 +0000 (0:00:00.023) 0:00:28.345 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 15:55:06 +0000 (0:00:00.021) 0:00:28.366 ***** 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, 7ba8e465-dca4-4ee3-89ed-d0f804ff3178 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 15:55:07 +0000 (0:00:00.427) 0:00:28.793 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 15:55:07 +0000 (0:00:00.022) 0:00:28.815 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7ba8e465-dca4-4ee3-89ed-d0f804ff3178" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 15:55:07 +0000 (0:00:00.023) 0:00:28.839 ***** 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, 7ba8e465-dca4-4ee3-89ed-d0f804ff3178\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7ba8e465-dca4-4ee3-89ed-d0f804ff3178" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 15:55:07 +0000 (0:00:00.023) 0:00:28.862 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 15:55:07 +0000 (0:00:00.022) 0:00:28.885 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 21 December 2023 15:55:07 +0000 (0:00:00.189) 0:00:29.075 ***** 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, 7ba8e465-dca4-4ee3-89ed-d0f804ff3178\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7ba8e465-dca4-4ee3-89ed-d0f804ff3178" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/activate_profile.yml:3 Thursday 21 December 2023 15:55:07 +0000 (0:00:00.024) 0:00:29.099 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 15:55:07 +0000 (0:00:00.035) 0:00:29.134 ***** included: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 15:55:07 +0000 (0:00:00.039) 0:00:29.174 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 15:55:07 +0000 (0:00:00.025) 0:00:29.200 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 15:55:07 +0000 (0:00:00.047) 0:00:29.248 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 15:55:07 +0000 (0:00:00.021) 0:00:29.269 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 15:55:09 +0000 (0:00:01.378) 0:00:30.648 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 15:55:10 +0000 (0:00:00.940) 0:00:31.589 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 15:55:10 +0000 (0:00:00.035) 0:00:31.624 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 15:55:10 +0000 (0:00:00.042) 0:00:31.667 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 15:55:10 +0000 (0:00:00.032) 0:00:31.699 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 15:55:10 +0000 (0:00:00.076) 0:00:31.776 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 15:55:10 +0000 (0:00:00.033) 0:00:31.809 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 15:55:10 +0000 (0:00:00.024) 0:00:31.834 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 15:55:10 +0000 (0:00:00.040) 0:00:31.874 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 15:55:10 +0000 (0:00:00.362) 0:00:32.236 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 15:55:10 +0000 (0:00:00.033) 0:00:32.270 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 15:55:10 +0000 (0:00:00.030) 0:00:32.301 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 15:55:10 +0000 (0:00:00.027) 0:00:32.329 ***** 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, 7ba8e465-dca4-4ee3-89ed-d0f804ff3178 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 15:55:11 +0000 (0:00:00.345) 0:00:32.674 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 15:55:11 +0000 (0:00:00.023) 0:00:32.697 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 7ba8e465-dca4-4ee3-89ed-d0f804ff3178 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 15:55:11 +0000 (0:00:00.024) 0:00:32.722 ***** 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, 7ba8e465-dca4-4ee3-89ed-d0f804ff3178 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 7ba8e465-dca4-4ee3-89ed-d0f804ff3178 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 15:55:11 +0000 (0:00:00.022) 0:00:32.744 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 15:55:11 +0000 (0:00:00.022) 0:00:32.767 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/run_test.yml:30 Thursday 21 December 2023 15:55:11 +0000 (0:00:00.198) 0:00:32.966 ***** included: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/remove_profile.yml:3 Thursday 21 December 2023 15:55:11 +0000 (0:00:00.071) 0:00:33.037 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 15:55:11 +0000 (0:00:00.049) 0:00:33.086 ***** included: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 15:55:11 +0000 (0:00:00.039) 0:00:33.126 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 15:55:11 +0000 (0:00:00.026) 0:00:33.153 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 15:55:11 +0000 (0:00:00.020) 0:00:33.173 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 15:55:11 +0000 (0:00:00.020) 0:00:33.194 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 15:55:13 +0000 (0:00:01.376) 0:00:34.570 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 15:55:14 +0000 (0:00:00.920) 0:00:35.491 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 15:55:14 +0000 (0:00:00.021) 0:00:35.513 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 15:55:14 +0000 (0:00:00.020) 0:00:35.533 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 15:55:14 +0000 (0:00:00.020) 0:00:35.554 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 15:55:14 +0000 (0:00:00.042) 0:00:35.596 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 15:55:14 +0000 (0:00:00.022) 0:00:35.619 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 15:55:14 +0000 (0:00:00.023) 0:00:35.642 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 15:55:14 +0000 (0:00:00.029) 0:00:35.671 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 15:55:14 +0000 (0:00:00.365) 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 15:55:14 +0000 (0:00:00.026) 0:00:36.063 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 15:55:14 +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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 15:55:14 +0000 (0:00:00.022) 0:00:36.107 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 15:55:15 +0000 (0:00:00.406) 0:00:36.514 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 15:55:15 +0000 (0:00:00.032) 0:00:36.546 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 15:55:15 +0000 (0:00:00.031) 0:00:36.578 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 15:55:15 +0000 (0:00:00.038) 0:00:36.616 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 15:55:15 +0000 (0:00:00.022) 0:00:36.638 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/run_test.yml:36 Thursday 21 December 2023 15:55:15 +0000 (0:00:00.187) 0:00:36.826 ***** included: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/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.16hl3k117x/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 21 December 2023 15:55:15 +0000 (0:00:00.050) 0:00:36.877 ***** included: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 21 December 2023 15:55:15 +0000 (0:00:00.037) 0:00:36.914 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1703174107.2560933, "block_size": 4096, "blocks": 0, "ctime": 1703174107.2560933, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 30930, "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": 1703174107.2560933, "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.16hl3k117x/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 21 December 2023 15:55:15 +0000 (0:00:00.193) 0:00:37.108 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 21 December 2023 15:55:15 +0000 (0:00:00.023) 0:00:37.131 ***** included: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/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.16hl3k117x/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 21 December 2023 15:55:15 +0000 (0:00:00.035) 0:00:37.167 ***** 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.16hl3k117x/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 21 December 2023 15:55:15 +0000 (0:00:00.021) 0:00:37.188 ***** 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.16hl3k117x/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 21 December 2023 15:55:15 +0000 (0:00:00.216) 0:00:37.405 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 21 December 2023 15:55:15 +0000 (0:00:00.023) 0:00:37.428 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020788", "end": "2023-12-21 15:55:16.156542", "rc": 1, "start": "2023-12-21 15:55:16.135754" } 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.16hl3k117x/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 21 December 2023 15:55:16 +0000 (0:00:00.212) 0:00:37.640 ***** 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.16hl3k117x/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 21 December 2023 15:55:16 +0000 (0:00:00.028) 0:00:37.669 ***** 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.16hl3k117x/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 21 December 2023 15:55:16 +0000 (0:00:00.026) 0:00:37.696 ***** 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.16hl3k117x/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 21 December 2023 15:55:16 +0000 (0:00:00.025) 0:00:37.721 ***** 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.16hl3k117x/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 21 December 2023 15:55:16 +0000 (0:00:00.062) 0:00:37.784 ***** 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.16hl3k117x/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 21 December 2023 15:55:16 +0000 (0:00:00.041) 0:00:37.825 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/run_test.yml:42 Thursday 21 December 2023 15:55:16 +0000 (0:00:00.035) 0:00:37.861 ***** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/run_test.yml:47 Thursday 21 December 2023 15:55:16 +0000 (0:00:00.022) 0:00:37.884 ***** 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.16hl3k117x/tests/playbooks/tasks/run_test.yml:66 Thursday 21 December 2023 15:55:16 +0000 (0:00:00.022) 0:00:37.906 ***** included: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 21 December 2023 15:55:16 +0000 (0:00:00.038) 0:00:37.945 ***** 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.065586", "end": "2023-12-21 15:55:16.717413", "rc": 1, "start": "2023-12-21 15:55:16.651827" } STDOUT: Connection 'statebr' (7ba8e465-dca4-4ee3-89ed-d0f804ff3178) successfully deleted. STDERR: 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.16hl3k117x/tests/playbooks/tests_states.yml:103 Thursday 21 December 2023 15:55:16 +0000 (0:00:00.253) 0:00:38.198 ***** included: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/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.16hl3k117x/tests/playbooks/tasks/run_test.yml:5 Thursday 21 December 2023 15:55:16 +0000 (0:00:00.037) 0:00:38.236 ***** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/run_test.yml:9 Thursday 21 December 2023 15:55:16 +0000 (0:00:00.053) 0:00:38.289 ***** 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.16hl3k117x/tests/playbooks/tasks/run_test.yml:21 Thursday 21 December 2023 15:55:16 +0000 (0:00:00.046) 0:00:38.336 ***** included: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 15:55:16 +0000 (0:00:00.034) 0:00:38.371 ***** included: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 15:55:16 +0000 (0:00:00.035) 0:00:38.407 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003382", "end": "2023-12-21 15:55:17.119977", "rc": 0, "start": "2023-12-21 15:55:17.116595" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 15:55:17 +0000 (0:00:00.197) 0:00:38.605 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 15:55:17 +0000 (0:00:00.024) 0:00:38.630 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/run_test.yml:24 Thursday 21 December 2023 15:55:17 +0000 (0:00:00.023) 0:00:38.653 ***** included: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 21 December 2023 15:55:17 +0000 (0:00:00.046) 0:00:38.700 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 15:55:17 +0000 (0:00:00.041) 0:00:38.741 ***** included: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 15:55:17 +0000 (0:00:00.043) 0:00:38.784 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 15:55:17 +0000 (0:00:00.041) 0:00:38.826 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 15:55:17 +0000 (0:00:00.058) 0:00:38.884 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 15:55:17 +0000 (0:00:00.022) 0:00:38.906 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 15:55:18 +0000 (0:00:01.386) 0:00:40.293 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 15:55:19 +0000 (0:00:00.907) 0:00:41.200 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 15:55:19 +0000 (0:00:00.028) 0:00:41.229 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 15:55:19 +0000 (0:00:00.023) 0:00:41.252 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 15:55:19 +0000 (0:00:00.054) 0:00:41.307 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 15:55:19 +0000 (0:00:00.044) 0:00:41.352 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 15:55:19 +0000 (0:00:00.021) 0:00:41.373 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 15:55:19 +0000 (0:00:00.020) 0:00:41.394 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 15:55:19 +0000 (0:00:00.025) 0:00:41.420 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 15:55:20 +0000 (0:00:00.432) 0:00:41.852 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 15:55:20 +0000 (0:00:00.027) 0:00:41.880 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 15:55:20 +0000 (0:00:00.022) 0:00:41.902 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 15:55:20 +0000 (0:00:00.022) 0:00:41.924 ***** 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, 0d412a56-e14f-4e53-af4a-34731f88568f TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 15:55:20 +0000 (0:00:00.383) 0:00:42.308 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 15:55:20 +0000 (0:00:00.021) 0:00:42.330 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0d412a56-e14f-4e53-af4a-34731f88568f" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 15:55:20 +0000 (0:00:00.029) 0:00:42.359 ***** 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, 0d412a56-e14f-4e53-af4a-34731f88568f\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0d412a56-e14f-4e53-af4a-34731f88568f" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 15:55:20 +0000 (0:00:00.026) 0:00:42.385 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 15:55:20 +0000 (0:00:00.028) 0:00:42.414 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 21 December 2023 15:55:21 +0000 (0:00:00.215) 0:00:42.629 ***** 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, 0d412a56-e14f-4e53-af4a-34731f88568f\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0d412a56-e14f-4e53-af4a-34731f88568f" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/activate_profile.yml:3 Thursday 21 December 2023 15:55:21 +0000 (0:00:00.023) 0:00:42.652 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 15:55:21 +0000 (0:00:00.036) 0:00:42.688 ***** included: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 15:55:21 +0000 (0:00:00.043) 0:00:42.732 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 15:55:21 +0000 (0:00:00.028) 0:00:42.761 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 15:55:21 +0000 (0:00:00.021) 0:00:42.782 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 15:55:21 +0000 (0:00:00.020) 0:00:42.803 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 15:55:22 +0000 (0:00:01.376) 0:00:44.180 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 15:55:23 +0000 (0:00:00.930) 0:00:45.110 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 15:55:23 +0000 (0:00:00.024) 0:00:45.134 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 15:55:23 +0000 (0:00:00.030) 0:00:45.164 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 15:55:23 +0000 (0:00:00.022) 0:00:45.187 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 15:55:23 +0000 (0:00:00.043) 0:00:45.231 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 15:55:23 +0000 (0:00:00.021) 0:00:45.252 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 15:55:23 +0000 (0:00:00.021) 0:00:45.274 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 15:55:23 +0000 (0:00:00.025) 0:00:45.299 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 15:55:24 +0000 (0:00:00.353) 0:00:45.652 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 15:55:24 +0000 (0:00:00.033) 0:00:45.686 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 15:55:24 +0000 (0:00:00.025) 0:00:45.712 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 15:55:24 +0000 (0:00:00.052) 0:00:45.764 ***** 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, 0d412a56-e14f-4e53-af4a-34731f88568f skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 15:55:24 +0000 (0:00:00.356) 0:00:46.120 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 15:55:24 +0000 (0:00:00.022) 0:00:46.142 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 0d412a56-e14f-4e53-af4a-34731f88568f skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 15:55:24 +0000 (0:00:00.022) 0:00:46.165 ***** 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, 0d412a56-e14f-4e53-af4a-34731f88568f skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 0d412a56-e14f-4e53-af4a-34731f88568f skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 15:55:24 +0000 (0:00:00.023) 0:00:46.189 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 15:55:24 +0000 (0:00:00.021) 0:00:46.211 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/remove_profile.yml:3 Thursday 21 December 2023 15:55:24 +0000 (0:00:00.186) 0:00:46.397 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 15:55:24 +0000 (0:00:00.041) 0:00:46.439 ***** included: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 15:55:25 +0000 (0:00:00.045) 0:00:46.484 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 15:55:25 +0000 (0:00:00.027) 0:00:46.511 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 15:55:25 +0000 (0:00:00.021) 0:00:46.533 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 15:55:25 +0000 (0:00:00.022) 0:00:46.555 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 15:55:26 +0000 (0:00:01.367) 0:00:47.923 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 15:55:27 +0000 (0:00:00.907) 0:00:48.830 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 15:55:27 +0000 (0:00:00.030) 0:00:48.860 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 15:55:27 +0000 (0:00:00.033) 0:00:48.893 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 15:55:27 +0000 (0:00:00.046) 0:00:48.940 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 15:55:27 +0000 (0:00:00.086) 0:00:49.026 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 15:55:27 +0000 (0:00:00.029) 0:00:49.056 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 15:55:27 +0000 (0:00:00.029) 0:00:49.085 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 15:55:27 +0000 (0:00:00.051) 0:00:49.137 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 15:55:28 +0000 (0:00:00.367) 0:00:49.504 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 15:55:28 +0000 (0:00:00.045) 0:00:49.550 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 15:55:28 +0000 (0:00:00.032) 0:00:49.582 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 15:55:28 +0000 (0:00:00.046) 0:00:49.629 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 15:55:28 +0000 (0:00:00.378) 0:00:50.008 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 15:55:28 +0000 (0:00:00.027) 0:00:50.035 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 15:55:28 +0000 (0:00:00.044) 0:00:50.080 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 15:55:28 +0000 (0:00:00.029) 0:00:50.109 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 15:55:28 +0000 (0:00:00.048) 0:00:50.158 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/run_test.yml:30 Thursday 21 December 2023 15:55:28 +0000 (0:00:00.210) 0:00:50.368 ***** included: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 21 December 2023 15:55:28 +0000 (0:00:00.040) 0:00:50.409 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 15:55:29 +0000 (0:00:00.102) 0:00:50.512 ***** included: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 15:55:29 +0000 (0:00:00.067) 0:00:50.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 : Check if system is ostree] ****************** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 15:55:29 +0000 (0:00:00.045) 0:00:50.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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 15:55:29 +0000 (0:00:00.024) 0:00:50.649 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 15:55:29 +0000 (0:00:00.027) 0:00:50.676 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 15:55:30 +0000 (0:00:01.420) 0:00:52.097 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 15:55:31 +0000 (0:00:00.958) 0:00:53.055 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 15:55:31 +0000 (0:00:00.073) 0:00:53.128 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 15:55:31 +0000 (0:00:00.054) 0:00:53.183 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 15:55:31 +0000 (0:00:00.039) 0:00:53.222 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 15:55:31 +0000 (0:00:00.061) 0:00:53.283 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 15:55:31 +0000 (0:00:00.034) 0:00:53.318 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 15:55:31 +0000 (0:00:00.041) 0:00:53.359 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 15:55:31 +0000 (0:00:00.057) 0:00:53.416 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 15:55:32 +0000 (0:00:00.373) 0:00:53.790 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 15:55:32 +0000 (0:00:00.026) 0:00:53.816 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 15:55:32 +0000 (0:00:00.031) 0:00:53.848 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 15:55:32 +0000 (0:00:00.022) 0:00:53.870 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 15:55:32 +0000 (0:00:00.537) 0:00:54.407 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 15:55:32 +0000 (0:00:00.027) 0:00:54.435 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 15:55:33 +0000 (0:00:00.036) 0:00:54.472 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 15:55:33 +0000 (0:00:00.023) 0:00:54.495 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 15:55:33 +0000 (0:00:00.050) 0:00:54.545 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/run_test.yml:36 Thursday 21 December 2023 15:55:33 +0000 (0:00:00.185) 0:00:54.731 ***** included: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/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.16hl3k117x/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 21 December 2023 15:55:33 +0000 (0:00:00.039) 0:00:54.771 ***** included: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/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.16hl3k117x/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 21 December 2023 15:55:33 +0000 (0:00:00.038) 0:00:54.810 ***** 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.16hl3k117x/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 21 December 2023 15:55:33 +0000 (0:00:00.024) 0:00:54.834 ***** 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.16hl3k117x/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 21 December 2023 15:55:33 +0000 (0:00:00.191) 0:00:55.026 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 21 December 2023 15:55:33 +0000 (0:00:00.023) 0:00:55.049 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019946", "end": "2023-12-21 15:55:33.777407", "rc": 1, "start": "2023-12-21 15:55:33.757461" } 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.16hl3k117x/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 21 December 2023 15:55:33 +0000 (0:00:00.210) 0:00:55.259 ***** 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.16hl3k117x/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 21 December 2023 15:55:33 +0000 (0:00:00.021) 0:00:55.280 ***** 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.16hl3k117x/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 21 December 2023 15:55:33 +0000 (0:00:00.021) 0:00:55.302 ***** 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.16hl3k117x/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 21 December 2023 15:55:33 +0000 (0:00:00.021) 0:00:55.324 ***** 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.16hl3k117x/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 21 December 2023 15:55:33 +0000 (0:00:00.021) 0:00:55.345 ***** 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.16hl3k117x/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 21 December 2023 15:55:33 +0000 (0:00:00.021) 0:00:55.367 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/run_test.yml:42 Thursday 21 December 2023 15:55:33 +0000 (0:00:00.022) 0:00:55.390 ***** included: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/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.16hl3k117x/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 21 December 2023 15:55:34 +0000 (0:00:00.089) 0:00:55.479 ***** included: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 21 December 2023 15:55:34 +0000 (0:00:00.036) 0:00:55.516 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 21 December 2023 15:55:34 +0000 (0:00:00.202) 0:00:55.718 ***** 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.16hl3k117x/tests/playbooks/tasks/run_test.yml:47 Thursday 21 December 2023 15:55:34 +0000 (0:00:00.038) 0:00:55.757 ***** 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.16hl3k117x/tests/playbooks/tasks/run_test.yml:66 Thursday 21 December 2023 15:55:34 +0000 (0:00:00.036) 0:00:55.794 ***** included: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 21 December 2023 15:55:34 +0000 (0:00:00.061) 0:00:55.856 ***** 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.039533", "end": "2023-12-21 15:55:34.624684", "rc": 1, "start": "2023-12-21 15:55:34.585151" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): '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.16hl3k117x/tests/playbooks/tests_states.yml:126 Thursday 21 December 2023 15:55:34 +0000 (0:00:00.254) 0:00:56.110 ***** included: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/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.16hl3k117x/tests/playbooks/tasks/run_test.yml:5 Thursday 21 December 2023 15:55:34 +0000 (0:00:00.038) 0:00:56.148 ***** 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.16hl3k117x/tests/playbooks/tasks/run_test.yml:9 Thursday 21 December 2023 15:55:34 +0000 (0:00:00.025) 0:00:56.173 ***** 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.16hl3k117x/tests/playbooks/tasks/run_test.yml:21 Thursday 21 December 2023 15:55:34 +0000 (0:00:00.058) 0:00:56.232 ***** included: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 15:55:34 +0000 (0:00:00.062) 0:00:56.294 ***** included: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 15:55:34 +0000 (0:00:00.034) 0:00:56.329 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003026", "end": "2023-12-21 15:55:35.039967", "rc": 0, "start": "2023-12-21 15:55:35.036941" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 15:55:35 +0000 (0:00:00.202) 0:00:56.532 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 15:55:35 +0000 (0:00:00.051) 0:00:56.584 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/run_test.yml:24 Thursday 21 December 2023 15:55:35 +0000 (0:00:00.035) 0:00:56.619 ***** included: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 21 December 2023 15:55:35 +0000 (0:00:00.090) 0:00:56.710 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 15:55:35 +0000 (0:00:00.058) 0:00:56.768 ***** included: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 15:55:35 +0000 (0:00:00.048) 0:00:56.816 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 15:55:35 +0000 (0:00:00.048) 0:00:56.865 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 15:55:35 +0000 (0:00:00.023) 0:00:56.888 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 15:55:35 +0000 (0:00:00.031) 0:00:56.920 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 15:55:36 +0000 (0:00:01.462) 0:00:58.382 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 15:55:37 +0000 (0:00:01.014) 0:00:59.397 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 15:55:38 +0000 (0:00:00.087) 0:00:59.485 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 15:55:38 +0000 (0:00:00.071) 0:00:59.556 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 15:55:38 +0000 (0:00:00.026) 0:00:59.583 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 15:55:38 +0000 (0:00:00.055) 0:00:59.638 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 15:55:38 +0000 (0:00:00.032) 0:00:59.671 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 15:55:38 +0000 (0:00:00.035) 0:00:59.706 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 15:55:38 +0000 (0:00:00.029) 0:00:59.736 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 15:55:38 +0000 (0:00:00.443) 0:01:00.179 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 15:55:38 +0000 (0:00:00.027) 0:01:00.207 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 15:55:38 +0000 (0:00:00.030) 0:01:00.237 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 15:55:38 +0000 (0:00:00.074) 0:01:00.311 ***** 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, 47b1f535-5abf-4e69-818b-3ff0148db776 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 15:55:39 +0000 (0:00:00.443) 0:01:00.755 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 15:55:39 +0000 (0:00:00.034) 0:01:00.790 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 47b1f535-5abf-4e69-818b-3ff0148db776" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 15:55:39 +0000 (0:00:00.045) 0:01:00.836 ***** 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, 47b1f535-5abf-4e69-818b-3ff0148db776\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 47b1f535-5abf-4e69-818b-3ff0148db776" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 15:55:39 +0000 (0:00:00.033) 0:01:00.869 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 15:55:39 +0000 (0:00:00.022) 0:01:00.891 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 21 December 2023 15:55:39 +0000 (0:00:00.186) 0:01:01.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, 47b1f535-5abf-4e69-818b-3ff0148db776\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 47b1f535-5abf-4e69-818b-3ff0148db776" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/activate_profile.yml:3 Thursday 21 December 2023 15:55:39 +0000 (0:00:00.022) 0:01:01.100 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 15:55:39 +0000 (0:00:00.038) 0:01:01.138 ***** included: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 15:55:39 +0000 (0:00:00.043) 0:01:01.182 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 15:55:39 +0000 (0:00:00.028) 0:01:01.210 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 15:55:39 +0000 (0:00:00.022) 0:01:01.232 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 15:55:39 +0000 (0:00:00.022) 0:01:01.255 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 15:55:41 +0000 (0:00:01.372) 0:01:02.627 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 15:55:42 +0000 (0:00:00.898) 0:01:03.526 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 15:55:42 +0000 (0:00:00.024) 0:01:03.551 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 15:55:42 +0000 (0:00:00.022) 0:01:03.573 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 15:55:42 +0000 (0:00:00.027) 0:01:03.601 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 15:55:42 +0000 (0:00:00.054) 0:01:03.655 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 15:55:42 +0000 (0:00:00.023) 0:01:03.678 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 15:55:42 +0000 (0:00:00.023) 0:01:03.702 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 15:55:42 +0000 (0:00:00.184) 0:01:03.887 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 15:55:42 +0000 (0:00:00.374) 0:01:04.262 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 15:55:42 +0000 (0:00:00.025) 0:01:04.287 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 15:55:42 +0000 (0:00:00.027) 0:01:04.314 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 15:55:42 +0000 (0:00:00.020) 0:01:04.334 ***** 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, 47b1f535-5abf-4e69-818b-3ff0148db776 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 15:55:43 +0000 (0:00:00.337) 0:01:04.672 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 15:55:43 +0000 (0:00:00.021) 0:01:04.694 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 47b1f535-5abf-4e69-818b-3ff0148db776 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 15:55:43 +0000 (0:00:00.023) 0:01:04.718 ***** 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, 47b1f535-5abf-4e69-818b-3ff0148db776 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 47b1f535-5abf-4e69-818b-3ff0148db776 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 15:55:43 +0000 (0:00:00.024) 0:01:04.743 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 15:55:43 +0000 (0:00:00.022) 0:01:04.765 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 21 December 2023 15:55:43 +0000 (0:00:00.193) 0:01:04.958 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 15:55:43 +0000 (0:00:00.041) 0:01:05.000 ***** included: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 15:55:43 +0000 (0:00:00.064) 0:01:05.065 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 15:55:43 +0000 (0:00:00.026) 0:01:05.092 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 15:55:43 +0000 (0:00:00.023) 0:01:05.115 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 15:55:43 +0000 (0:00:00.022) 0:01:05.137 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 15:55:45 +0000 (0:00:01.375) 0:01:06.512 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 15:55:45 +0000 (0:00:00.926) 0:01:07.439 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 15:55:46 +0000 (0:00:00.021) 0:01:07.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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 15:55:46 +0000 (0:00:00.020) 0:01:07.481 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 15:55:46 +0000 (0:00:00.042) 0:01:07.524 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 15:55:46 +0000 (0:00:00.042) 0:01:07.566 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 15:55:46 +0000 (0:00:00.021) 0:01:07.588 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 15:55:46 +0000 (0:00:00.020) 0:01:07.608 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 15:55:46 +0000 (0:00:00.024) 0:01:07.632 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 15:55:46 +0000 (0:00:00.357) 0:01:07.989 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 15:55:46 +0000 (0:00:00.029) 0:01:08.019 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 15:55:46 +0000 (0:00:00.034) 0:01:08.053 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 15:55:46 +0000 (0:00:00.032) 0:01:08.086 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 15:55:47 +0000 (0:00:00.463) 0:01:08.550 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 15:55:47 +0000 (0:00:00.028) 0:01:08.579 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 15:55:47 +0000 (0:00:00.026) 0:01:08.605 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 15:55:47 +0000 (0:00:00.025) 0:01:08.631 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 15:55:47 +0000 (0:00:00.025) 0:01:08.657 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/run_test.yml:30 Thursday 21 December 2023 15:55:47 +0000 (0:00:00.194) 0:01:08.852 ***** included: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 21 December 2023 15:55:47 +0000 (0:00:00.085) 0:01:08.937 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 15:55:47 +0000 (0:00:00.044) 0:01:08.982 ***** included: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 15:55:47 +0000 (0:00:00.041) 0:01:09.023 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 15:55:47 +0000 (0:00:00.027) 0:01:09.050 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 15:55:47 +0000 (0:00:00.022) 0:01:09.072 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 15:55:47 +0000 (0:00:00.026) 0:01:09.099 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 15:55:49 +0000 (0:00:01.395) 0:01:10.494 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 15:55:49 +0000 (0:00:00.947) 0:01:11.441 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 15:55:50 +0000 (0:00:00.034) 0:01:11.476 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 15:55:50 +0000 (0:00:00.023) 0:01:11.499 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 15:55:50 +0000 (0:00:00.023) 0:01:11.522 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 15:55:50 +0000 (0:00:00.045) 0:01:11.567 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 15:55:50 +0000 (0:00:00.021) 0:01:11.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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 15:55:50 +0000 (0:00:00.022) 0:01:11.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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 15:55:50 +0000 (0:00:00.025) 0:01:11.637 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 15:55:50 +0000 (0:00:00.345) 0:01:11.983 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 15:55:50 +0000 (0:00:00.028) 0:01:12.012 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 15:55:50 +0000 (0:00:00.040) 0:01:12.052 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 15:55:50 +0000 (0:00:00.056) 0:01:12.109 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 15:55:51 +0000 (0:00:00.436) 0:01:12.545 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 15:55:51 +0000 (0:00:00.026) 0:01:12.572 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 15:55:51 +0000 (0:00:00.024) 0:01:12.596 ***** 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.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 15:55:51 +0000 (0:00:00.023) 0:01:12.619 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 15:55:51 +0000 (0:00:00.022) 0:01:12.641 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/run_test.yml:36 Thursday 21 December 2023 15:55:51 +0000 (0:00:00.202) 0:01:12.844 ***** included: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/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.16hl3k117x/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 21 December 2023 15:55:51 +0000 (0:00:00.080) 0:01:12.925 ***** included: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/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.16hl3k117x/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 21 December 2023 15:55:51 +0000 (0:00:00.056) 0:01:12.981 ***** 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.16hl3k117x/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 21 December 2023 15:55:51 +0000 (0:00:00.022) 0:01:13.004 ***** 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.16hl3k117x/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 21 December 2023 15:55:51 +0000 (0:00:00.189) 0:01:13.194 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 21 December 2023 15:55:51 +0000 (0:00:00.022) 0:01:13.216 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020283", "end": "2023-12-21 15:55:51.944009", "rc": 1, "start": "2023-12-21 15:55:51.923726" } 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.16hl3k117x/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 21 December 2023 15:55:51 +0000 (0:00:00.217) 0:01:13.434 ***** 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.16hl3k117x/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 21 December 2023 15:55:52 +0000 (0:00:00.036) 0:01:13.471 ***** 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.16hl3k117x/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 21 December 2023 15:55:52 +0000 (0:00:00.027) 0:01:13.499 ***** 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.16hl3k117x/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 21 December 2023 15:55:52 +0000 (0:00:00.064) 0:01:13.563 ***** 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.16hl3k117x/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 21 December 2023 15:55:52 +0000 (0:00:00.030) 0:01:13.594 ***** 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.16hl3k117x/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 21 December 2023 15:55:52 +0000 (0:00:00.035) 0:01:13.629 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Thursday 21 December 2023 15:55:52 +0000 (0:00:00.025) 0:01:13.654 ***** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.552454", "end": "2023-12-21 15:55:52.914669", "rc": 0, "start": "2023-12-21 15:55:52.362215" } STDOUT: NetworkManager-1.45.7-1.el9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Thursday 21 December 2023 15:55:52 +0000 (0:00:00.747) 0:01:14.402 ***** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.45.7-1.el9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Thursday 21 December 2023 15:55:52 +0000 (0:00:00.036) 0:01:14.439 ***** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.45.7-1.el9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/run_test.yml:42 Thursday 21 December 2023 15:55:53 +0000 (0:00:00.035) 0:01:14.474 ***** included: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/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.16hl3k117x/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 21 December 2023 15:55:53 +0000 (0:00:00.067) 0:01:14.541 ***** included: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 21 December 2023 15:55:53 +0000 (0:00:00.061) 0:01:14.603 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 21 December 2023 15:55:53 +0000 (0:00:00.194) 0:01:14.798 ***** 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.16hl3k117x/tests/playbooks/tasks/run_test.yml:47 Thursday 21 December 2023 15:55:53 +0000 (0:00:00.024) 0:01:14.823 ***** 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.16hl3k117x/tests/playbooks/tasks/run_test.yml:66 Thursday 21 December 2023 15:55:53 +0000 (0:00:00.022) 0:01:14.845 ***** included: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 21 December 2023 15:55:53 +0000 (0:00:00.065) 0:01:14.911 ***** 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.038474", "end": "2023-12-21 15:55:53.656733", "rc": 1, "start": "2023-12-21 15:55:53.618259" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=316 changed=10 unreachable=0 failed=0 skipped=252 rescued=0 ignored=11 Thursday 21 December 2023 15:55:53 +0000 (0:00:00.215) 0:01:15.126 ***** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 2.21s /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable and start NetworkManager ------------ 2.08s /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Enable and start NetworkManager ------------ 1.49s /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Check which services are running ----------- 1.47s /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.46s /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.46s /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 1.44s /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Check which services are running ----------- 1.42s /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.40s /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.39s /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.38s /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.38s /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.38s /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.38s /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.38s /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.38s /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 1.38s /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Check which services are running ----------- 1.38s /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.37s /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.37s /WORKDIR/git-ansible-lint-test-2.16hl3k117x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---