# 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.162dkx_n8d/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.162dkx_n8d/tests/tests_states_nm.yml:6 Wednesday 27 December 2023 17:52:59 +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.162dkx_n8d/tests/tests_states_nm.yml:9 Wednesday 27 December 2023 17:52:59 +0000 (0:00:00.680) 0:00:00.692 **** included: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/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.162dkx_n8d/tests/tasks/el_repo_setup.yml:3 Wednesday 27 December 2023 17:52:59 +0000 (0:00:00.021) 0:00:00.714 **** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/tasks/el_repo_setup.yml:19 Wednesday 27 December 2023 17:53:00 +0000 (0:00:00.327) 0:00:01.041 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/tasks/el_repo_setup.yml:24 Wednesday 27 December 2023 17:53:00 +0000 (0:00:00.247) 0:00:01.288 **** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/tasks/el_repo_setup.yml:28 Wednesday 27 December 2023 17:53:00 +0000 (0:00:00.019) 0:00:01.308 **** 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.162dkx_n8d/tests/tasks/el_repo_setup.yml:53 Wednesday 27 December 2023 17:53:00 +0000 (0:00:00.016) 0:00:01.325 **** included: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/tasks/enable_epel.yml:8 Wednesday 27 December 2023 17:53:00 +0000 (0:00:00.039) 0:00:01.364 **** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "rc": 0 } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/tasks/enable_epel.yml:24 Wednesday 27 December 2023 17:53:00 +0000 (0:00:00.233) 0:00:01.598 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/tasks/enable_epel.yml:30 Wednesday 27 December 2023 17:53:00 +0000 (0:00:00.010) 0:00:01.609 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/tasks/enable_epel.yml:35 Wednesday 27 December 2023 17:53:00 +0000 (0:00:00.010) 0:00:01.619 **** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.247162", "end": "2023-12-27 17:53:01.140087", "rc": 0, "start": "2023-12-27 17:53:00.892925" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/tasks/enable_epel.yml:40 Wednesday 27 December 2023 17:53:01 +0000 (0:00:00.432) 0:00:02.051 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/tests_states_nm.yml:11 Wednesday 27 December 2023 17:53:01 +0000 (0:00:00.009) 0:00:02.061 **** 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.162dkx_n8d/tests/playbooks/tests_states.yml:3 Wednesday 27 December 2023 17:53:01 +0000 (0:00:00.009) 0:00:02.070 **** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tests_states.yml:11 Wednesday 27 December 2023 17:53:01 +0000 (0:00:00.559) 0:00:02.629 **** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tests_states.yml:22 Wednesday 27 December 2023 17:53:01 +0000 (0:00:00.009) 0:00:02.639 **** included: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/run_test.yml:5 Wednesday 27 December 2023 17:53:01 +0000 (0:00:00.014) 0:00:02.653 **** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/run_test.yml:9 Wednesday 27 December 2023 17:53:01 +0000 (0:00:00.010) 0:00:02.664 **** 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.162dkx_n8d/tests/playbooks/tasks/run_test.yml:21 Wednesday 27 December 2023 17:53:01 +0000 (0:00:00.031) 0:00:02.695 **** included: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 27 December 2023 17:53:01 +0000 (0:00:00.012) 0:00:02.707 **** included: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 27 December 2023 17:53:01 +0000 (0:00:00.011) 0:00:02.719 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003406", "end": "2023-12-27 17:53:01.994383", "rc": 0, "start": "2023-12-27 17:53:01.990977" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 27 December 2023 17:53:02 +0000 (0:00:00.187) 0:00:02.907 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 27 December 2023 17:53:02 +0000 (0:00:00.011) 0:00:02.919 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/run_test.yml:24 Wednesday 27 December 2023 17:53:02 +0000 (0:00:00.010) 0:00:02.929 **** included: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 27 December 2023 17:53:02 +0000 (0:00:00.019) 0:00:02.948 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008230", "end": "2023-12-27 17:53:02.230406", "rc": 1, "start": "2023-12-27 17:53:02.222176" } 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.162dkx_n8d/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 27 December 2023 17:53:02 +0000 (0:00:00.192) 0:00:03.140 **** included: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 27 December 2023 17:53:02 +0000 (0:00:00.013) 0:00:03.154 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 27 December 2023 17:53:02 +0000 (0:00:00.181) 0:00:03.335 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/run_test.yml:30 Wednesday 27 December 2023 17:53:02 +0000 (0:00:00.012) 0:00:03.347 **** included: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 27 December 2023 17:53:02 +0000 (0:00:00.016) 0:00:03.364 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 27 December 2023 17:53:02 +0000 (0:00:00.031) 0:00:03.396 **** included: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 27 December 2023 17:53:02 +0000 (0:00:00.067) 0:00:03.463 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 27 December 2023 17:53:02 +0000 (0:00:00.011) 0:00:03.474 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 27 December 2023 17:53:02 +0000 (0:00:00.009) 0:00:03.484 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 27 December 2023 17:53:02 +0000 (0:00:00.010) 0:00:03.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 : Check which packages are installed] ********* task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 27 December 2023 17:53:04 +0000 (0:00:01.615) 0:00:05.110 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 27 December 2023 17:53:05 +0000 (0:00:01.437) 0:00:06.547 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 27 December 2023 17:53:05 +0000 (0:00:00.022) 0:00:06.569 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 27 December 2023 17:53:05 +0000 (0:00:00.020) 0:00:06.590 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 27 December 2023 17:53:05 +0000 (0:00:00.021) 0:00:06.612 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 27 December 2023 17:53:05 +0000 (0:00:00.043) 0:00:06.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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 27 December 2023 17:53:05 +0000 (0:00:00.020) 0:00:06.676 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 27 December 2023 17:53:05 +0000 (0:00:00.020) 0:00:06.697 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 27 December 2023 17:53:05 +0000 (0:00:00.023) 0:00:06.721 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 27 December 2023 17:53:06 +0000 (0:00:00.464) 0:00:07.185 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 27 December 2023 17:53:06 +0000 (0:00:00.027) 0:00:07.213 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 27 December 2023 17:53:06 +0000 (0:00:00.022) 0:00:07.236 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 27 December 2023 17:53:06 +0000 (0:00:00.021) 0:00:07.257 **** 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, e984b88a-77e0-4a1f-bbd0-b10718db4090 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 27 December 2023 17:53:06 +0000 (0:00:00.508) 0:00:07.766 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 27 December 2023 17:53:06 +0000 (0:00:00.022) 0:00:07.789 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e984b88a-77e0-4a1f-bbd0-b10718db4090" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 27 December 2023 17:53:06 +0000 (0:00:00.021) 0:00:07.811 **** 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, e984b88a-77e0-4a1f-bbd0-b10718db4090\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e984b88a-77e0-4a1f-bbd0-b10718db4090" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 27 December 2023 17:53:06 +0000 (0:00:00.022) 0:00:07.833 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 27 December 2023 17:53:06 +0000 (0:00:00.020) 0:00:07.853 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 27 December 2023 17:53:07 +0000 (0:00:00.236) 0:00:08.090 **** 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, e984b88a-77e0-4a1f-bbd0-b10718db4090\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e984b88a-77e0-4a1f-bbd0-b10718db4090" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/run_test.yml:36 Wednesday 27 December 2023 17:53:07 +0000 (0:00:00.022) 0:00:08.112 **** included: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/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.162dkx_n8d/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 27 December 2023 17:53:07 +0000 (0:00:00.041) 0:00:08.154 **** included: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/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.162dkx_n8d/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 27 December 2023 17:53:07 +0000 (0:00:00.038) 0:00:08.192 **** 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.162dkx_n8d/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 27 December 2023 17:53:07 +0000 (0:00:00.022) 0:00:08.214 **** ok: [sut] => { "changed": false, "stat": { "atime": 1703699586.8456492, "block_size": 4096, "blocks": 8, "ctime": 1703699586.7826514, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5533379, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1703699586.7826514, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 221, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 27 December 2023 17:53:07 +0000 (0:00:00.197) 0:00:08.412 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 27 December 2023 17:53:07 +0000 (0:00:00.021) 0:00:08.434 **** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021043", "end": "2023-12-27 17:53:07.731295", "rc": 0, "start": "2023-12-27 17:53:07.710252" } STDOUT: statebr /etc/sysconfig/network-scripts/ifcfg-statebr TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 27 December 2023 17:53:07 +0000 (0:00:00.247) 0:00:08.681 **** 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.162dkx_n8d/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 27 December 2023 17:53:07 +0000 (0:00:00.026) 0:00:08.707 **** 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.162dkx_n8d/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 27 December 2023 17:53:07 +0000 (0:00:00.022) 0:00:08.730 **** 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.162dkx_n8d/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 27 December 2023 17:53:07 +0000 (0:00:00.023) 0:00:08.753 **** 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.162dkx_n8d/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 27 December 2023 17:53:07 +0000 (0:00:00.022) 0:00:08.776 **** 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.162dkx_n8d/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 27 December 2023 17:53:07 +0000 (0:00:00.022) 0:00:08.798 **** 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.162dkx_n8d/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 27 December 2023 17:53:07 +0000 (0:00:00.022) 0:00:08.821 **** 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.162dkx_n8d/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 27 December 2023 17:53:07 +0000 (0:00:00.022) 0:00:08.844 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/run_test.yml:42 Wednesday 27 December 2023 17:53:07 +0000 (0:00:00.021) 0:00:08.865 **** included: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/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.162dkx_n8d/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 27 December 2023 17:53:08 +0000 (0:00:00.042) 0:00:08.907 **** included: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 27 December 2023 17:53:08 +0000 (0:00:00.034) 0:00:08.941 **** ok: [sut] => { "changed": false, "stat": { "atime": 1703699586.7850254, "block_size": 4096, "blocks": 0, "ctime": 1703699586.7850254, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 38934, "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": 1703699586.7850254, "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.162dkx_n8d/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 27 December 2023 17:53:08 +0000 (0:00:00.195) 0:00:09.137 **** 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.162dkx_n8d/tests/playbooks/tasks/run_test.yml:47 Wednesday 27 December 2023 17:53:08 +0000 (0:00:00.023) 0:00:09.161 **** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/run_test.yml:66 Wednesday 27 December 2023 17:53:08 +0000 (0:00:00.023) 0:00:09.184 **** included: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 27 December 2023 17:53:08 +0000 (0:00:00.063) 0:00:09.248 **** 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.059012", "end": "2023-12-27 17:53:08.582031", "rc": 1, "start": "2023-12-27 17:53:08.523019" } STDOUT: Connection 'statebr' (e984b88a-77e0-4a1f-bbd0-b10718db4090) 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.162dkx_n8d/tests/playbooks/tests_states.yml:45 Wednesday 27 December 2023 17:53:08 +0000 (0:00:00.256) 0:00:09.504 **** included: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/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.162dkx_n8d/tests/playbooks/tasks/run_test.yml:5 Wednesday 27 December 2023 17:53:08 +0000 (0:00:00.036) 0:00:09.541 **** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/run_test.yml:9 Wednesday 27 December 2023 17:53:08 +0000 (0:00:00.021) 0:00:09.562 **** 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.162dkx_n8d/tests/playbooks/tasks/run_test.yml:21 Wednesday 27 December 2023 17:53:08 +0000 (0:00:00.042) 0:00:09.604 **** included: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 27 December 2023 17:53:08 +0000 (0:00:00.034) 0:00:09.639 **** included: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 27 December 2023 17:53:08 +0000 (0:00:00.033) 0:00:09.672 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003675", "end": "2023-12-27 17:53:08.949092", "rc": 0, "start": "2023-12-27 17:53:08.945417" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 27 December 2023 17:53:08 +0000 (0:00:00.199) 0:00:09.872 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 27 December 2023 17:53:08 +0000 (0:00:00.022) 0:00:09.894 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/run_test.yml:24 Wednesday 27 December 2023 17:53:09 +0000 (0:00:00.021) 0:00:09.915 **** included: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 27 December 2023 17:53:09 +0000 (0:00:00.062) 0:00:09.978 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006286", "end": "2023-12-27 17:53:09.257893", "rc": 1, "start": "2023-12-27 17:53:09.251607" } 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.162dkx_n8d/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 27 December 2023 17:53:09 +0000 (0:00:00.202) 0:00:10.180 **** included: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 27 December 2023 17:53:09 +0000 (0:00:00.034) 0:00:10.214 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 27 December 2023 17:53:09 +0000 (0:00:00.196) 0:00:10.410 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/run_test.yml:30 Wednesday 27 December 2023 17:53:09 +0000 (0:00:00.024) 0:00:10.435 **** included: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Wednesday 27 December 2023 17:53:09 +0000 (0:00:00.038) 0:00:10.473 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 27 December 2023 17:53:09 +0000 (0:00:00.040) 0:00:10.513 **** included: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 27 December 2023 17:53:09 +0000 (0:00:00.039) 0:00:10.553 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 27 December 2023 17:53:09 +0000 (0:00:00.026) 0:00:10.579 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 27 December 2023 17:53:09 +0000 (0:00:00.020) 0:00:10.599 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 27 December 2023 17:53:09 +0000 (0:00:00.043) 0:00:10.643 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 27 December 2023 17:53:11 +0000 (0:00:01.593) 0:00:12.236 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 27 December 2023 17:53:12 +0000 (0:00:01.298) 0:00:13.535 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 27 December 2023 17:53:12 +0000 (0:00:00.039) 0:00:13.575 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 27 December 2023 17:53:12 +0000 (0:00:00.021) 0:00:13.596 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 27 December 2023 17:53:12 +0000 (0:00:00.020) 0:00:13.617 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 27 December 2023 17:53:12 +0000 (0:00:00.042) 0:00:13.660 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 27 December 2023 17:53:12 +0000 (0:00:00.021) 0:00:13.682 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 27 December 2023 17:53:12 +0000 (0:00:00.022) 0:00:13.705 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 27 December 2023 17:53:12 +0000 (0:00:00.025) 0:00:13.730 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 27 December 2023 17:53:13 +0000 (0:00:00.344) 0:00:14.074 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 27 December 2023 17:53:13 +0000 (0:00:00.024) 0:00:14.099 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 27 December 2023 17:53:13 +0000 (0:00:00.020) 0:00:14.119 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 27 December 2023 17:53:13 +0000 (0:00:00.020) 0:00:14.140 **** 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, 797d5fbc-23ec-4386-9c5d-839604844dbd TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 27 December 2023 17:53:13 +0000 (0:00:00.333) 0:00:14.473 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 27 December 2023 17:53:13 +0000 (0:00:00.021) 0:00:14.495 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 797d5fbc-23ec-4386-9c5d-839604844dbd" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 27 December 2023 17:53:13 +0000 (0:00:00.026) 0:00:14.522 **** 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, 797d5fbc-23ec-4386-9c5d-839604844dbd\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 797d5fbc-23ec-4386-9c5d-839604844dbd" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 27 December 2023 17:53:13 +0000 (0:00:00.023) 0:00:14.545 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 27 December 2023 17:53:13 +0000 (0:00:00.045) 0:00:14.590 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Wednesday 27 December 2023 17:53:13 +0000 (0:00:00.189) 0:00:14.780 **** 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, 797d5fbc-23ec-4386-9c5d-839604844dbd\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 797d5fbc-23ec-4386-9c5d-839604844dbd" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/run_test.yml:36 Wednesday 27 December 2023 17:53:13 +0000 (0:00:00.024) 0:00:14.804 **** included: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/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.162dkx_n8d/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 27 December 2023 17:53:13 +0000 (0:00:00.044) 0:00:14.849 **** included: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 27 December 2023 17:53:13 +0000 (0:00:00.037) 0:00:14.887 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 27 December 2023 17:53:14 +0000 (0:00:00.193) 0:00:15.081 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 27 December 2023 17:53:14 +0000 (0:00:00.022) 0:00:15.104 **** included: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/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.162dkx_n8d/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 27 December 2023 17:53:14 +0000 (0:00:00.036) 0:00:15.140 **** 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.162dkx_n8d/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 27 December 2023 17:53:14 +0000 (0:00:00.021) 0:00:15.162 **** ok: [sut] => { "changed": false, "stat": { "atime": 1703699593.5384228, "block_size": 4096, "blocks": 8, "ctime": 1703699593.5384228, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5533379, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1703699593.5384228, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 220, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 27 December 2023 17:53:14 +0000 (0:00:00.196) 0:00:15.358 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 27 December 2023 17:53:14 +0000 (0:00:00.023) 0:00:15.382 **** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020492", "end": "2023-12-27 17:53:14.676216", "rc": 0, "start": "2023-12-27 17:53:14.655724" } STDOUT: statebr /etc/sysconfig/network-scripts/ifcfg-statebr TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 27 December 2023 17:53:14 +0000 (0:00:00.216) 0:00:15.598 **** 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.162dkx_n8d/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 27 December 2023 17:53:14 +0000 (0:00:00.024) 0:00:15.622 **** 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.162dkx_n8d/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 27 December 2023 17:53:14 +0000 (0:00:00.023) 0:00:15.646 **** 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.162dkx_n8d/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 27 December 2023 17:53:14 +0000 (0:00:00.022) 0:00:15.668 **** 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.162dkx_n8d/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 27 December 2023 17:53:14 +0000 (0:00:00.022) 0:00:15.691 **** 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.162dkx_n8d/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 27 December 2023 17:53:14 +0000 (0:00:00.023) 0:00:15.714 **** 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.162dkx_n8d/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 27 December 2023 17:53:14 +0000 (0:00:00.022) 0:00:15.736 **** 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.162dkx_n8d/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 27 December 2023 17:53:14 +0000 (0:00:00.023) 0:00:15.760 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/run_test.yml:42 Wednesday 27 December 2023 17:53:14 +0000 (0:00:00.021) 0:00:15.782 **** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/run_test.yml:47 Wednesday 27 December 2023 17:53:14 +0000 (0:00:00.020) 0:00:15.802 **** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/run_test.yml:66 Wednesday 27 December 2023 17:53:14 +0000 (0:00:00.021) 0:00:15.823 **** included: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 27 December 2023 17:53:14 +0000 (0:00:00.039) 0:00:15.863 **** 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.039441", "end": "2023-12-27 17:53:15.173206", "rc": 1, "start": "2023-12-27 17:53:15.133765" } STDOUT: Connection 'statebr' (797d5fbc-23ec-4386-9c5d-839604844dbd) 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.162dkx_n8d/tests/playbooks/tests_states.yml:65 Wednesday 27 December 2023 17:53:15 +0000 (0:00:00.231) 0:00:16.094 **** included: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/run_test.yml:5 Wednesday 27 December 2023 17:53:15 +0000 (0:00:00.061) 0:00:16.156 **** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/run_test.yml:9 Wednesday 27 December 2023 17:53:15 +0000 (0:00:00.022) 0:00:16.178 **** 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.162dkx_n8d/tests/playbooks/tasks/run_test.yml:21 Wednesday 27 December 2023 17:53:15 +0000 (0:00:00.042) 0:00:16.221 **** included: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 27 December 2023 17:53:15 +0000 (0:00:00.034) 0:00:16.256 **** included: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 27 December 2023 17:53:15 +0000 (0:00:00.033) 0:00:16.289 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003330", "end": "2023-12-27 17:53:15.564072", "rc": 0, "start": "2023-12-27 17:53:15.560742" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 27 December 2023 17:53:15 +0000 (0:00:00.197) 0:00:16.486 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 27 December 2023 17:53:15 +0000 (0:00:00.023) 0:00:16.510 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/run_test.yml:24 Wednesday 27 December 2023 17:53:15 +0000 (0:00:00.022) 0:00:16.532 **** included: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 27 December 2023 17:53:15 +0000 (0:00:00.037) 0:00:16.570 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 27 December 2023 17:53:15 +0000 (0:00:00.035) 0:00:16.605 **** included: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 27 December 2023 17:53:15 +0000 (0:00:00.062) 0:00:16.668 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 27 December 2023 17:53:15 +0000 (0:00:00.026) 0:00:16.694 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 27 December 2023 17:53:15 +0000 (0:00:00.021) 0:00:16.716 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 27 December 2023 17:53:15 +0000 (0:00:00.020) 0:00:16.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 : Check which packages are installed] ********* task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 27 December 2023 17:53:17 +0000 (0:00:01.544) 0:00:18.281 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 27 December 2023 17:53:18 +0000 (0:00:01.326) 0:00:19.608 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 27 December 2023 17:53:18 +0000 (0:00:00.022) 0:00:19.631 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 27 December 2023 17:53:18 +0000 (0:00:00.022) 0:00:19.654 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 27 December 2023 17:53:18 +0000 (0:00:00.020) 0:00:19.674 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 27 December 2023 17:53:18 +0000 (0:00:00.042) 0:00:19.717 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 27 December 2023 17:53:18 +0000 (0:00:00.022) 0:00:19.739 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 27 December 2023 17:53:18 +0000 (0:00:00.020) 0:00:19.759 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 27 December 2023 17:53:18 +0000 (0:00:00.025) 0:00:19.785 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 27 December 2023 17:53:19 +0000 (0:00:00.340) 0:00:20.126 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 27 December 2023 17:53:19 +0000 (0:00:00.024) 0:00:20.151 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 27 December 2023 17:53:19 +0000 (0:00:00.020) 0:00:20.171 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 27 December 2023 17:53:19 +0000 (0:00:00.020) 0:00:20.192 **** 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, f09f5a85-eabe-4159-9b52-8664baf38fda TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 27 December 2023 17:53:19 +0000 (0:00:00.373) 0:00:20.566 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 27 December 2023 17:53:19 +0000 (0:00:00.050) 0:00:20.616 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f09f5a85-eabe-4159-9b52-8664baf38fda" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 27 December 2023 17:53:19 +0000 (0:00:00.023) 0:00:20.640 **** 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, f09f5a85-eabe-4159-9b52-8664baf38fda\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f09f5a85-eabe-4159-9b52-8664baf38fda" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 27 December 2023 17:53:19 +0000 (0:00:00.024) 0:00:20.664 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 27 December 2023 17:53:19 +0000 (0:00:00.022) 0:00:20.687 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 27 December 2023 17:53:19 +0000 (0:00:00.198) 0:00:20.885 **** 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, f09f5a85-eabe-4159-9b52-8664baf38fda\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f09f5a85-eabe-4159-9b52-8664baf38fda" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/run_test.yml:30 Wednesday 27 December 2023 17:53:20 +0000 (0:00:00.023) 0:00:20.909 **** included: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 27 December 2023 17:53:20 +0000 (0:00:00.037) 0:00:20.947 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 27 December 2023 17:53:20 +0000 (0:00:00.039) 0:00:20.986 **** included: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 27 December 2023 17:53:20 +0000 (0:00:00.039) 0:00:21.025 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 27 December 2023 17:53:20 +0000 (0:00:00.025) 0:00:21.051 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 27 December 2023 17:53:20 +0000 (0:00:00.019) 0:00:21.071 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 27 December 2023 17:53:20 +0000 (0:00:00.020) 0:00:21.092 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 27 December 2023 17:53:21 +0000 (0:00:01.551) 0:00:22.643 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 27 December 2023 17:53:23 +0000 (0:00:01.293) 0:00:23.937 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 27 December 2023 17:53:23 +0000 (0:00:00.021) 0:00:23.959 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 27 December 2023 17:53:23 +0000 (0:00:00.039) 0:00:23.998 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 27 December 2023 17:53:23 +0000 (0:00:00.020) 0:00:24.019 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 27 December 2023 17:53:23 +0000 (0:00:00.042) 0:00:24.061 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 27 December 2023 17:53:23 +0000 (0:00:00.021) 0:00:24.082 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 27 December 2023 17:53:23 +0000 (0:00:00.021) 0:00:24.104 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 27 December 2023 17:53:23 +0000 (0:00:00.028) 0:00:24.132 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 27 December 2023 17:53:23 +0000 (0:00:00.337) 0:00:24.470 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 27 December 2023 17:53:23 +0000 (0:00:00.024) 0:00:24.495 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 27 December 2023 17:53:23 +0000 (0:00:00.021) 0:00:24.516 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 27 December 2023 17:53:23 +0000 (0:00:00.020) 0:00:24.537 **** 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, f09f5a85-eabe-4159-9b52-8664baf38fda skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 27 December 2023 17:53:23 +0000 (0:00:00.321) 0:00:24.859 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 27 December 2023 17:53:23 +0000 (0:00:00.020) 0:00:24.880 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, f09f5a85-eabe-4159-9b52-8664baf38fda skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 27 December 2023 17:53:24 +0000 (0:00:00.022) 0:00:24.903 **** 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, f09f5a85-eabe-4159-9b52-8664baf38fda skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, f09f5a85-eabe-4159-9b52-8664baf38fda skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 27 December 2023 17:53:24 +0000 (0:00:00.023) 0:00:24.927 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 27 December 2023 17:53:24 +0000 (0:00:00.053) 0:00:24.980 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/run_test.yml:36 Wednesday 27 December 2023 17:53:24 +0000 (0:00:00.190) 0:00:25.170 **** included: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/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.162dkx_n8d/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 27 December 2023 17:53:24 +0000 (0:00:00.042) 0:00:25.212 **** included: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 27 December 2023 17:53:24 +0000 (0:00:00.037) 0:00:25.250 **** ok: [sut] => { "changed": false, "stat": { "atime": 1703699599.5952418, "block_size": 4096, "blocks": 0, "ctime": 1703699599.5952418, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 39065, "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": 1703699599.5952418, "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.162dkx_n8d/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 27 December 2023 17:53:24 +0000 (0:00:00.195) 0:00:25.446 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 27 December 2023 17:53:24 +0000 (0:00:00.024) 0:00:25.470 **** included: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/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.162dkx_n8d/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 27 December 2023 17:53:24 +0000 (0:00:00.039) 0:00:25.509 **** 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.162dkx_n8d/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 27 December 2023 17:53:24 +0000 (0:00:00.021) 0:00:25.531 **** ok: [sut] => { "changed": false, "stat": { "atime": 1703699599.6532161, "block_size": 4096, "blocks": 8, "ctime": 1703699599.5942183, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5533379, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1703699599.5942183, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 221, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 27 December 2023 17:53:24 +0000 (0:00:00.192) 0:00:25.723 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 27 December 2023 17:53:24 +0000 (0:00:00.023) 0:00:25.746 **** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020463", "end": "2023-12-27 17:53:25.036705", "rc": 0, "start": "2023-12-27 17:53:25.016242" } STDOUT: statebr /etc/sysconfig/network-scripts/ifcfg-statebr TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 27 December 2023 17:53:25 +0000 (0:00:00.213) 0:00:25.959 **** 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.162dkx_n8d/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 27 December 2023 17:53:25 +0000 (0:00:00.055) 0:00:26.015 **** 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.162dkx_n8d/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 27 December 2023 17:53:25 +0000 (0:00:00.026) 0:00:26.042 **** 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.162dkx_n8d/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 27 December 2023 17:53:25 +0000 (0:00:00.024) 0:00:26.067 **** 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.162dkx_n8d/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 27 December 2023 17:53:25 +0000 (0:00:00.025) 0:00:26.092 **** 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.162dkx_n8d/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 27 December 2023 17:53:25 +0000 (0:00:00.025) 0:00:26.118 **** 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.162dkx_n8d/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 27 December 2023 17:53:25 +0000 (0:00:00.024) 0:00:26.142 **** 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.162dkx_n8d/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 27 December 2023 17:53:25 +0000 (0:00:00.025) 0:00:26.168 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/run_test.yml:42 Wednesday 27 December 2023 17:53:25 +0000 (0:00:00.022) 0:00:26.190 **** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/run_test.yml:47 Wednesday 27 December 2023 17:53:25 +0000 (0:00:00.020) 0:00:26.210 **** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/run_test.yml:66 Wednesday 27 December 2023 17:53:25 +0000 (0:00:00.022) 0:00:26.233 **** included: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 27 December 2023 17:53:25 +0000 (0:00:00.041) 0:00:26.274 **** 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.061929", "end": "2023-12-27 17:53:25.607621", "rc": 1, "start": "2023-12-27 17:53:25.545692" } STDOUT: Connection 'statebr' (f09f5a85-eabe-4159-9b52-8664baf38fda) 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.162dkx_n8d/tests/playbooks/tests_states.yml:83 Wednesday 27 December 2023 17:53:25 +0000 (0:00:00.257) 0:00:26.531 **** included: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/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.162dkx_n8d/tests/playbooks/tasks/run_test.yml:5 Wednesday 27 December 2023 17:53:25 +0000 (0:00:00.037) 0:00:26.569 **** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/run_test.yml:9 Wednesday 27 December 2023 17:53:25 +0000 (0:00:00.047) 0:00:26.617 **** 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.162dkx_n8d/tests/playbooks/tasks/run_test.yml:21 Wednesday 27 December 2023 17:53:25 +0000 (0:00:00.043) 0:00:26.660 **** included: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 27 December 2023 17:53:25 +0000 (0:00:00.036) 0:00:26.697 **** included: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 27 December 2023 17:53:25 +0000 (0:00:00.035) 0:00:26.732 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003229", "end": "2023-12-27 17:53:26.007344", "rc": 0, "start": "2023-12-27 17:53:26.004115" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 27 December 2023 17:53:26 +0000 (0:00:00.197) 0:00:26.929 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 27 December 2023 17:53:26 +0000 (0:00:00.024) 0:00:26.953 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/run_test.yml:24 Wednesday 27 December 2023 17:53:26 +0000 (0:00:00.032) 0:00:26.986 **** included: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 27 December 2023 17:53:26 +0000 (0:00:00.045) 0:00:27.031 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 27 December 2023 17:53:26 +0000 (0:00:00.041) 0:00:27.073 **** included: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 27 December 2023 17:53:26 +0000 (0:00:00.041) 0:00:27.114 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 27 December 2023 17:53:26 +0000 (0:00:00.026) 0:00:27.140 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 27 December 2023 17:53:26 +0000 (0:00:00.046) 0:00:27.186 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 27 December 2023 17:53:26 +0000 (0:00:00.022) 0:00:27.208 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 27 December 2023 17:53:27 +0000 (0:00:01.536) 0:00:28.745 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 27 December 2023 17:53:29 +0000 (0:00:01.313) 0:00:30.059 **** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 27 December 2023 17:53:29 +0000 (0:00:00.022) 0:00:30.081 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 27 December 2023 17:53:29 +0000 (0:00:00.023) 0:00:30.105 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 27 December 2023 17:53:29 +0000 (0:00:00.022) 0:00:30.127 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 27 December 2023 17:53:29 +0000 (0:00:00.044) 0:00:30.172 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 27 December 2023 17:53:29 +0000 (0:00:00.023) 0:00:30.195 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 27 December 2023 17:53:29 +0000 (0:00:00.022) 0:00:30.218 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 27 December 2023 17:53:29 +0000 (0:00:00.028) 0:00:30.246 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 27 December 2023 17:53:29 +0000 (0:00:00.342) 0:00:30.588 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 27 December 2023 17:53:29 +0000 (0:00:00.026) 0:00:30.615 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 27 December 2023 17:53:29 +0000 (0:00:00.023) 0:00:30.638 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 27 December 2023 17:53:29 +0000 (0:00:00.022) 0:00:30.661 **** 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, 7f98b359-33df-468a-8e6f-48a77d3f00aa TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 27 December 2023 17:53:30 +0000 (0:00:00.378) 0:00:31.039 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 27 December 2023 17:53:30 +0000 (0:00:00.048) 0:00:31.088 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7f98b359-33df-468a-8e6f-48a77d3f00aa" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 27 December 2023 17:53:30 +0000 (0:00:00.023) 0:00:31.112 **** 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, 7f98b359-33df-468a-8e6f-48a77d3f00aa\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7f98b359-33df-468a-8e6f-48a77d3f00aa" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 27 December 2023 17:53:30 +0000 (0:00:00.022) 0:00:31.134 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 27 December 2023 17:53:30 +0000 (0:00:00.022) 0:00:31.157 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 27 December 2023 17:53:30 +0000 (0:00:00.192) 0:00:31.350 **** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7f98b359-33df-468a-8e6f-48a77d3f00aa\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7f98b359-33df-468a-8e6f-48a77d3f00aa" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 27 December 2023 17:53:30 +0000 (0:00:00.024) 0:00:31.375 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 27 December 2023 17:53:30 +0000 (0:00:00.037) 0:00:31.412 **** included: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 27 December 2023 17:53:30 +0000 (0:00:00.042) 0:00:31.454 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 27 December 2023 17:53:30 +0000 (0:00:00.030) 0:00:31.484 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 27 December 2023 17:53:30 +0000 (0:00:00.022) 0:00:31.507 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 27 December 2023 17:53:30 +0000 (0:00:00.021) 0:00:31.529 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 27 December 2023 17:53:32 +0000 (0:00:01.533) 0:00:33.063 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 27 December 2023 17:53:33 +0000 (0:00:01.286) 0:00:34.350 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 27 December 2023 17:53:33 +0000 (0:00:00.024) 0:00:34.374 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 27 December 2023 17:53:33 +0000 (0:00:00.021) 0:00:34.396 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 27 December 2023 17:53:33 +0000 (0:00:00.020) 0:00:34.417 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 27 December 2023 17:53:33 +0000 (0:00:00.068) 0:00:34.485 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 27 December 2023 17:53:33 +0000 (0:00:00.024) 0:00:34.509 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 27 December 2023 17:53:33 +0000 (0:00:00.024) 0:00:34.533 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 27 December 2023 17:53:33 +0000 (0:00:00.026) 0:00:34.560 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 27 December 2023 17:53:34 +0000 (0:00:00.340) 0:00:34.900 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 27 December 2023 17:53:34 +0000 (0:00:00.025) 0:00:34.926 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 27 December 2023 17:53:34 +0000 (0:00:00.020) 0:00:34.947 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 27 December 2023 17:53:34 +0000 (0:00:00.023) 0:00:34.970 **** 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, 7f98b359-33df-468a-8e6f-48a77d3f00aa skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 27 December 2023 17:53:34 +0000 (0:00:00.328) 0:00:35.299 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 27 December 2023 17:53:34 +0000 (0:00:00.021) 0:00:35.321 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 7f98b359-33df-468a-8e6f-48a77d3f00aa skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 27 December 2023 17:53:34 +0000 (0:00:00.022) 0:00:35.343 **** 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, 7f98b359-33df-468a-8e6f-48a77d3f00aa skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 7f98b359-33df-468a-8e6f-48a77d3f00aa skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 27 December 2023 17:53:34 +0000 (0:00:00.022) 0:00:35.365 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 27 December 2023 17:53:34 +0000 (0:00:00.023) 0:00:35.389 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/run_test.yml:30 Wednesday 27 December 2023 17:53:34 +0000 (0:00:00.187) 0:00:35.576 **** included: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 27 December 2023 17:53:34 +0000 (0:00:00.065) 0:00:35.642 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 27 December 2023 17:53:34 +0000 (0:00:00.039) 0:00:35.682 **** included: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 27 December 2023 17:53:34 +0000 (0:00:00.040) 0:00:35.722 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 27 December 2023 17:53:34 +0000 (0:00:00.026) 0:00:35.749 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 27 December 2023 17:53:34 +0000 (0:00:00.021) 0:00:35.771 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 27 December 2023 17:53:34 +0000 (0:00:00.022) 0:00:35.793 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 27 December 2023 17:53:36 +0000 (0:00:01.543) 0:00:37.337 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 27 December 2023 17:53:37 +0000 (0:00:01.292) 0:00:38.629 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 27 December 2023 17:53:37 +0000 (0:00:00.021) 0:00:38.651 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 27 December 2023 17:53:37 +0000 (0:00:00.021) 0:00:38.673 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 27 December 2023 17:53:37 +0000 (0:00:00.021) 0:00:38.694 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 27 December 2023 17:53:37 +0000 (0:00:00.043) 0:00:38.737 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 27 December 2023 17:53:37 +0000 (0:00:00.022) 0:00:38.760 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 27 December 2023 17:53:37 +0000 (0:00:00.021) 0:00:38.781 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 27 December 2023 17:53:37 +0000 (0:00:00.024) 0:00:38.806 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 27 December 2023 17:53:38 +0000 (0:00:00.339) 0:00:39.146 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 27 December 2023 17:53:38 +0000 (0:00:00.025) 0:00:39.171 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 27 December 2023 17:53:38 +0000 (0:00:00.021) 0:00:39.192 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 27 December 2023 17:53:38 +0000 (0:00:00.021) 0:00:39.213 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 27 December 2023 17:53:38 +0000 (0:00:00.349) 0:00:39.563 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 27 December 2023 17:53:38 +0000 (0:00:00.023) 0:00:39.586 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 27 December 2023 17:53:38 +0000 (0:00:00.025) 0:00:39.611 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 27 December 2023 17:53:38 +0000 (0:00:00.024) 0:00:39.635 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 27 December 2023 17:53:38 +0000 (0:00:00.022) 0:00:39.658 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/run_test.yml:36 Wednesday 27 December 2023 17:53:38 +0000 (0:00:00.191) 0:00:39.850 **** included: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/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.162dkx_n8d/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 27 December 2023 17:53:39 +0000 (0:00:00.044) 0:00:39.894 **** included: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 27 December 2023 17:53:39 +0000 (0:00:00.064) 0:00:39.958 **** ok: [sut] => { "changed": false, "stat": { "atime": 1703699610.0645804, "block_size": 4096, "blocks": 0, "ctime": 1703699610.0645804, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 39196, "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": 1703699610.0645804, "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.162dkx_n8d/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 27 December 2023 17:53:39 +0000 (0:00:00.200) 0:00:40.158 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 27 December 2023 17:53:39 +0000 (0:00:00.023) 0:00:40.182 **** included: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/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.162dkx_n8d/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 27 December 2023 17:53:39 +0000 (0:00:00.037) 0:00:40.219 **** 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.162dkx_n8d/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 27 December 2023 17:53:39 +0000 (0:00:00.021) 0:00:40.241 **** 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.162dkx_n8d/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 27 December 2023 17:53:39 +0000 (0:00:00.196) 0:00:40.438 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 27 December 2023 17:53:39 +0000 (0:00:00.022) 0:00:40.460 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019949", "end": "2023-12-27 17:53:39.750962", "rc": 1, "start": "2023-12-27 17:53:39.731013" } 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.162dkx_n8d/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 27 December 2023 17:53:39 +0000 (0:00:00.216) 0:00:40.676 **** 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.162dkx_n8d/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 27 December 2023 17:53:39 +0000 (0:00:00.023) 0:00:40.700 **** 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.162dkx_n8d/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 27 December 2023 17:53:39 +0000 (0:00:00.024) 0:00:40.725 **** 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.162dkx_n8d/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 27 December 2023 17:53:39 +0000 (0:00:00.022) 0:00:40.748 **** 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.162dkx_n8d/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 27 December 2023 17:53:39 +0000 (0:00:00.023) 0:00:40.771 **** 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.162dkx_n8d/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 27 December 2023 17:53:39 +0000 (0:00:00.022) 0:00:40.793 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/run_test.yml:42 Wednesday 27 December 2023 17:53:39 +0000 (0:00:00.023) 0:00:40.817 **** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/run_test.yml:47 Wednesday 27 December 2023 17:53:39 +0000 (0:00:00.045) 0:00:40.862 **** 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.162dkx_n8d/tests/playbooks/tasks/run_test.yml:66 Wednesday 27 December 2023 17:53:39 +0000 (0:00:00.023) 0:00:40.886 **** included: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 27 December 2023 17:53:40 +0000 (0:00:00.040) 0:00:40.927 **** 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.070686", "end": "2023-12-27 17:53:40.276103", "rc": 1, "start": "2023-12-27 17:53:40.205417" } STDOUT: Connection 'statebr' (7f98b359-33df-468a-8e6f-48a77d3f00aa) 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.162dkx_n8d/tests/playbooks/tests_states.yml:103 Wednesday 27 December 2023 17:53:40 +0000 (0:00:00.275) 0:00:41.202 **** included: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/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.162dkx_n8d/tests/playbooks/tasks/run_test.yml:5 Wednesday 27 December 2023 17:53:40 +0000 (0:00:00.038) 0:00:41.241 **** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/run_test.yml:9 Wednesday 27 December 2023 17:53:40 +0000 (0:00:00.021) 0:00:41.263 **** 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.162dkx_n8d/tests/playbooks/tasks/run_test.yml:21 Wednesday 27 December 2023 17:53:40 +0000 (0:00:00.045) 0:00:41.309 **** included: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 27 December 2023 17:53:40 +0000 (0:00:00.036) 0:00:41.345 **** included: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 27 December 2023 17:53:40 +0000 (0:00:00.034) 0:00:41.380 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003600", "end": "2023-12-27 17:53:40.658373", "rc": 0, "start": "2023-12-27 17:53:40.654773" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 27 December 2023 17:53:40 +0000 (0:00:00.200) 0:00:41.580 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 27 December 2023 17:53:40 +0000 (0:00:00.047) 0:00:41.628 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/run_test.yml:24 Wednesday 27 December 2023 17:53:40 +0000 (0:00:00.023) 0:00:41.652 **** included: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 27 December 2023 17:53:40 +0000 (0:00:00.045) 0:00:41.697 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 27 December 2023 17:53:40 +0000 (0:00:00.041) 0:00:41.738 **** included: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 27 December 2023 17:53:40 +0000 (0:00:00.042) 0:00:41.781 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 27 December 2023 17:53:40 +0000 (0:00:00.027) 0:00:41.808 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 27 December 2023 17:53:40 +0000 (0:00:00.023) 0:00:41.831 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 27 December 2023 17:53:40 +0000 (0:00:00.023) 0:00:41.854 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 27 December 2023 17:53:42 +0000 (0:00:01.527) 0:00:43.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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 27 December 2023 17:53:43 +0000 (0:00:01.286) 0:00:44.668 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 27 December 2023 17:53:43 +0000 (0:00:00.022) 0:00:44.690 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 27 December 2023 17:53:43 +0000 (0:00:00.021) 0:00:44.711 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 27 December 2023 17:53:43 +0000 (0:00:00.020) 0:00:44.732 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 27 December 2023 17:53:43 +0000 (0:00:00.043) 0:00:44.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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 27 December 2023 17:53:43 +0000 (0:00:00.021) 0:00:44.797 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 27 December 2023 17:53:43 +0000 (0:00:00.020) 0:00:44.817 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 27 December 2023 17:53:43 +0000 (0:00:00.049) 0:00:44.867 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 27 December 2023 17:53:44 +0000 (0:00:00.345) 0:00:45.212 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 27 December 2023 17:53:44 +0000 (0:00:00.026) 0:00:45.238 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 27 December 2023 17:53:44 +0000 (0:00:00.021) 0:00:45.260 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 27 December 2023 17:53:44 +0000 (0:00:00.020) 0:00:45.280 **** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1bb2e806-95b5-4cd3-b84a-4dc17c7dbb7c TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 27 December 2023 17:53:44 +0000 (0:00:00.376) 0:00:45.657 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 27 December 2023 17:53:44 +0000 (0:00:00.021) 0:00:45.678 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1bb2e806-95b5-4cd3-b84a-4dc17c7dbb7c" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 27 December 2023 17:53:44 +0000 (0:00:00.022) 0:00:45.701 **** 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, 1bb2e806-95b5-4cd3-b84a-4dc17c7dbb7c\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1bb2e806-95b5-4cd3-b84a-4dc17c7dbb7c" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 27 December 2023 17:53:44 +0000 (0:00:00.023) 0:00:45.725 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 27 December 2023 17:53:44 +0000 (0:00:00.021) 0:00:45.746 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 27 December 2023 17:53:45 +0000 (0:00:00.190) 0:00:45.936 **** 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, 1bb2e806-95b5-4cd3-b84a-4dc17c7dbb7c\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1bb2e806-95b5-4cd3-b84a-4dc17c7dbb7c" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 27 December 2023 17:53:45 +0000 (0:00:00.023) 0:00:45.959 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 27 December 2023 17:53:45 +0000 (0:00:00.065) 0:00:46.025 **** included: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 27 December 2023 17:53:45 +0000 (0:00:00.042) 0:00:46.068 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 27 December 2023 17:53:45 +0000 (0:00:00.028) 0:00:46.096 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 27 December 2023 17:53:45 +0000 (0:00:00.022) 0:00:46.119 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 27 December 2023 17:53:45 +0000 (0:00:00.022) 0:00:46.141 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 27 December 2023 17:53:46 +0000 (0:00:01.547) 0:00:47.688 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 27 December 2023 17:53:48 +0000 (0:00:01.316) 0:00:49.005 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 27 December 2023 17:53:48 +0000 (0:00:00.022) 0:00:49.028 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 27 December 2023 17:53:48 +0000 (0:00:00.021) 0:00:49.049 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 27 December 2023 17:53:48 +0000 (0:00:00.020) 0:00:49.069 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 27 December 2023 17:53:48 +0000 (0:00:00.044) 0:00:49.113 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 27 December 2023 17:53:48 +0000 (0:00:00.023) 0:00:49.136 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 27 December 2023 17:53:48 +0000 (0:00:00.022) 0:00:49.159 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 27 December 2023 17:53:48 +0000 (0:00:00.024) 0:00:49.184 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 27 December 2023 17:53:48 +0000 (0:00:00.344) 0:00:49.528 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 27 December 2023 17:53:48 +0000 (0:00:00.024) 0:00:49.553 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 27 December 2023 17:53:48 +0000 (0:00:00.043) 0:00:49.596 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 27 December 2023 17:53:48 +0000 (0:00:00.022) 0:00:49.618 **** 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, 1bb2e806-95b5-4cd3-b84a-4dc17c7dbb7c skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 27 December 2023 17:53:49 +0000 (0:00:00.329) 0:00:49.948 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 27 December 2023 17:53:49 +0000 (0:00:00.021) 0:00:49.969 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 1bb2e806-95b5-4cd3-b84a-4dc17c7dbb7c skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 27 December 2023 17:53:49 +0000 (0:00:00.021) 0:00:49.991 **** 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, 1bb2e806-95b5-4cd3-b84a-4dc17c7dbb7c skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 1bb2e806-95b5-4cd3-b84a-4dc17c7dbb7c skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 27 December 2023 17:53:49 +0000 (0:00:00.023) 0:00:50.014 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 27 December 2023 17:53:49 +0000 (0:00:00.020) 0:00:50.035 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 27 December 2023 17:53:49 +0000 (0:00:00.190) 0:00:50.225 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 27 December 2023 17:53:49 +0000 (0:00:00.036) 0:00:50.261 **** included: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 27 December 2023 17:53:49 +0000 (0:00:00.039) 0:00:50.301 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 27 December 2023 17:53:49 +0000 (0:00:00.025) 0:00:50.327 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 27 December 2023 17:53:49 +0000 (0:00:00.020) 0:00:50.347 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 27 December 2023 17:53:49 +0000 (0:00:00.020) 0:00:50.367 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 27 December 2023 17:53:51 +0000 (0:00:01.581) 0:00:51.949 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 27 December 2023 17:53:52 +0000 (0:00:01.286) 0:00:53.236 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 27 December 2023 17:53:52 +0000 (0:00:00.040) 0:00:53.276 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 27 December 2023 17:53:52 +0000 (0:00:00.021) 0:00:53.298 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 27 December 2023 17:53:52 +0000 (0:00:00.021) 0:00:53.319 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 27 December 2023 17:53:52 +0000 (0:00:00.043) 0:00:53.362 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 27 December 2023 17:53:52 +0000 (0:00:00.020) 0:00:53.383 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 27 December 2023 17:53:52 +0000 (0:00:00.021) 0:00:53.404 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 27 December 2023 17:53:52 +0000 (0:00:00.024) 0:00:53.429 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 27 December 2023 17:53:52 +0000 (0:00:00.338) 0:00:53.767 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 27 December 2023 17:53:52 +0000 (0:00:00.025) 0:00:53.792 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 27 December 2023 17:53:52 +0000 (0:00:00.021) 0:00:53.814 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 27 December 2023 17:53:52 +0000 (0:00:00.020) 0:00:53.834 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 27 December 2023 17:53:53 +0000 (0:00:00.343) 0:00:54.178 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 27 December 2023 17:53:53 +0000 (0:00:00.022) 0:00:54.200 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 27 December 2023 17:53:53 +0000 (0:00:00.022) 0:00:54.223 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 27 December 2023 17:53:53 +0000 (0:00:00.050) 0:00:54.273 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 27 December 2023 17:53:53 +0000 (0:00:00.021) 0:00:54.295 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/run_test.yml:30 Wednesday 27 December 2023 17:53:53 +0000 (0:00:00.187) 0:00:54.482 **** included: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 27 December 2023 17:53:53 +0000 (0:00:00.040) 0:00:54.523 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 27 December 2023 17:53:53 +0000 (0:00:00.041) 0:00:54.564 **** included: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 27 December 2023 17:53:53 +0000 (0:00:00.039) 0:00:54.604 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 27 December 2023 17:53:53 +0000 (0:00:00.027) 0:00:54.631 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 27 December 2023 17:53:53 +0000 (0:00:00.020) 0:00:54.652 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 27 December 2023 17:53:53 +0000 (0:00:00.020) 0:00:54.673 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 27 December 2023 17:53:55 +0000 (0:00:01.568) 0:00:56.241 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 27 December 2023 17:53:56 +0000 (0:00:01.291) 0:00:57.532 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 27 December 2023 17:53:56 +0000 (0:00:00.023) 0:00:57.556 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 27 December 2023 17:53:56 +0000 (0:00:00.022) 0:00:57.579 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 27 December 2023 17:53:56 +0000 (0:00:00.021) 0:00:57.600 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 27 December 2023 17:53:56 +0000 (0:00:00.042) 0:00:57.643 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 27 December 2023 17:53:56 +0000 (0:00:00.047) 0:00:57.691 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 27 December 2023 17:53:56 +0000 (0:00:00.022) 0:00:57.714 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 27 December 2023 17:53:56 +0000 (0:00:00.024) 0:00:57.738 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 27 December 2023 17:53:57 +0000 (0:00:00.340) 0:00:58.079 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 27 December 2023 17:53:57 +0000 (0:00:00.025) 0:00:58.104 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 27 December 2023 17:53:57 +0000 (0:00:00.021) 0:00:58.126 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 27 December 2023 17:53:57 +0000 (0:00:00.021) 0:00:58.147 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 27 December 2023 17:53:57 +0000 (0:00:00.386) 0:00:58.533 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 27 December 2023 17:53:57 +0000 (0:00:00.021) 0:00:58.555 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 27 December 2023 17:53:57 +0000 (0:00:00.023) 0:00:58.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", "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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 27 December 2023 17:53:57 +0000 (0:00:00.022) 0:00:58.601 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 27 December 2023 17:53:57 +0000 (0:00:00.021) 0:00:58.623 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/run_test.yml:36 Wednesday 27 December 2023 17:53:57 +0000 (0:00:00.187) 0:00:58.811 **** included: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/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.162dkx_n8d/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 27 December 2023 17:53:57 +0000 (0:00:00.068) 0:00:58.879 **** included: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/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.162dkx_n8d/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 27 December 2023 17:53:58 +0000 (0:00:00.038) 0:00:58.917 **** 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.162dkx_n8d/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 27 December 2023 17:53:58 +0000 (0:00:00.022) 0:00:58.940 **** 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.162dkx_n8d/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 27 December 2023 17:53:58 +0000 (0:00:00.192) 0:00:59.132 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 27 December 2023 17:53:58 +0000 (0:00:00.020) 0:00:59.153 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019556", "end": "2023-12-27 17:53:58.444417", "rc": 1, "start": "2023-12-27 17:53:58.424861" } 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.162dkx_n8d/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 27 December 2023 17:53:58 +0000 (0:00:00.213) 0:00:59.366 **** 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.162dkx_n8d/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 27 December 2023 17:53:58 +0000 (0:00:00.021) 0:00:59.388 **** 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.162dkx_n8d/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 27 December 2023 17:53:58 +0000 (0:00:00.022) 0:00:59.410 **** 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.162dkx_n8d/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 27 December 2023 17:53:58 +0000 (0:00:00.021) 0:00:59.432 **** 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.162dkx_n8d/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 27 December 2023 17:53:58 +0000 (0:00:00.021) 0:00:59.453 **** 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.162dkx_n8d/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 27 December 2023 17:53:58 +0000 (0:00:00.021) 0:00:59.475 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/run_test.yml:42 Wednesday 27 December 2023 17:53:58 +0000 (0:00:00.022) 0:00:59.498 **** included: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/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.162dkx_n8d/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 27 December 2023 17:53:58 +0000 (0:00:00.067) 0:00:59.565 **** included: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 27 December 2023 17:53:58 +0000 (0:00:00.037) 0:00:59.602 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 27 December 2023 17:53:58 +0000 (0:00:00.194) 0:00:59.797 **** 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.162dkx_n8d/tests/playbooks/tasks/run_test.yml:47 Wednesday 27 December 2023 17:53:58 +0000 (0:00:00.026) 0:00:59.823 **** 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.162dkx_n8d/tests/playbooks/tasks/run_test.yml:66 Wednesday 27 December 2023 17:53:58 +0000 (0:00:00.026) 0:00:59.850 **** included: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 27 December 2023 17:53:58 +0000 (0:00:00.041) 0:00:59.891 **** 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.039330", "end": "2023-12-27 17:53:59.203718", "rc": 1, "start": "2023-12-27 17:53:59.164388" } 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.162dkx_n8d/tests/playbooks/tests_states.yml:126 Wednesday 27 December 2023 17:53:59 +0000 (0:00:00.234) 0:01:00.126 **** included: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/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.162dkx_n8d/tests/playbooks/tasks/run_test.yml:5 Wednesday 27 December 2023 17:53:59 +0000 (0:00:00.037) 0:01:00.164 **** 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.162dkx_n8d/tests/playbooks/tasks/run_test.yml:9 Wednesday 27 December 2023 17:53:59 +0000 (0:00:00.021) 0:01:00.185 **** 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.162dkx_n8d/tests/playbooks/tasks/run_test.yml:21 Wednesday 27 December 2023 17:53:59 +0000 (0:00:00.044) 0:01:00.229 **** included: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 27 December 2023 17:53:59 +0000 (0:00:00.035) 0:01:00.264 **** included: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 27 December 2023 17:53:59 +0000 (0:00:00.061) 0:01:00.326 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003409", "end": "2023-12-27 17:53:59.603535", "rc": 0, "start": "2023-12-27 17:53:59.600126" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 27 December 2023 17:53:59 +0000 (0:00:00.201) 0:01:00.527 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 27 December 2023 17:53:59 +0000 (0:00:00.023) 0:01:00.550 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/run_test.yml:24 Wednesday 27 December 2023 17:53:59 +0000 (0:00:00.021) 0:01:00.572 **** included: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 27 December 2023 17:53:59 +0000 (0:00:00.044) 0:01:00.616 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 27 December 2023 17:53:59 +0000 (0:00:00.037) 0:01:00.654 **** included: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 27 December 2023 17:53:59 +0000 (0:00:00.042) 0:01:00.696 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 27 December 2023 17:53:59 +0000 (0:00:00.026) 0:01:00.723 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 27 December 2023 17:53:59 +0000 (0:00:00.022) 0:01:00.746 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 27 December 2023 17:53:59 +0000 (0:00:00.022) 0:01:00.768 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 27 December 2023 17:54:01 +0000 (0:00:01.584) 0:01:02.352 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 27 December 2023 17:54:02 +0000 (0:00:01.295) 0:01:03.647 **** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 27 December 2023 17:54:02 +0000 (0:00:00.022) 0:01:03.670 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 27 December 2023 17:54:02 +0000 (0:00:00.045) 0:01:03.716 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 27 December 2023 17:54:02 +0000 (0:00:00.022) 0:01:03.738 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 27 December 2023 17:54:02 +0000 (0:00:00.044) 0:01:03.782 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 27 December 2023 17:54:02 +0000 (0:00:00.021) 0:01:03.803 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 27 December 2023 17:54:02 +0000 (0:00:00.020) 0:01:03.824 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 27 December 2023 17:54:02 +0000 (0:00:00.024) 0:01:03.848 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 27 December 2023 17:54:03 +0000 (0:00:00.343) 0:01:04.192 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 27 December 2023 17:54:03 +0000 (0:00:00.025) 0:01:04.217 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 27 December 2023 17:54:03 +0000 (0:00:00.021) 0:01:04.238 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 27 December 2023 17:54:03 +0000 (0:00:00.020) 0:01:04.259 **** 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, 423820e8-a9c5-4abc-bf56-d0e78684dcae TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 27 December 2023 17:54:03 +0000 (0:00:00.366) 0:01:04.625 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 27 December 2023 17:54:03 +0000 (0:00:00.022) 0:01:04.647 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 423820e8-a9c5-4abc-bf56-d0e78684dcae" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 27 December 2023 17:54:03 +0000 (0:00:00.022) 0:01:04.670 **** 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, 423820e8-a9c5-4abc-bf56-d0e78684dcae\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 423820e8-a9c5-4abc-bf56-d0e78684dcae" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 27 December 2023 17:54:03 +0000 (0:00:00.023) 0:01:04.693 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 27 December 2023 17:54:03 +0000 (0:00:00.046) 0:01:04.740 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 27 December 2023 17:54:04 +0000 (0:00:00.191) 0:01:04.932 **** 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, 423820e8-a9c5-4abc-bf56-d0e78684dcae\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 423820e8-a9c5-4abc-bf56-d0e78684dcae" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 27 December 2023 17:54:04 +0000 (0:00:00.023) 0:01:04.955 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 27 December 2023 17:54:04 +0000 (0:00:00.035) 0:01:04.990 **** included: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 27 December 2023 17:54:04 +0000 (0:00:00.039) 0:01:05.030 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 27 December 2023 17:54:04 +0000 (0:00:00.026) 0:01:05.057 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 27 December 2023 17:54:04 +0000 (0:00:00.021) 0:01:05.078 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 27 December 2023 17:54:04 +0000 (0:00:00.020) 0:01:05.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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 27 December 2023 17:54:05 +0000 (0:00:01.586) 0:01:06.685 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 27 December 2023 17:54:07 +0000 (0:00:01.287) 0:01:07.973 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 27 December 2023 17:54:07 +0000 (0:00:00.023) 0:01:07.996 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 27 December 2023 17:54:07 +0000 (0:00:00.021) 0:01:08.018 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 27 December 2023 17:54:07 +0000 (0:00:00.021) 0:01:08.039 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 27 December 2023 17:54:07 +0000 (0:00:00.043) 0:01:08.083 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 27 December 2023 17:54:07 +0000 (0:00:00.020) 0:01:08.104 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 27 December 2023 17:54:07 +0000 (0:00:00.021) 0:01:08.125 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 27 December 2023 17:54:07 +0000 (0:00:00.048) 0:01:08.173 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 27 December 2023 17:54:07 +0000 (0:00:00.340) 0:01:08.514 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 27 December 2023 17:54:07 +0000 (0:00:00.025) 0:01:08.539 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 27 December 2023 17:54:07 +0000 (0:00:00.021) 0:01:08.561 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 27 December 2023 17:54:07 +0000 (0:00:00.020) 0:01:08.582 **** 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, 423820e8-a9c5-4abc-bf56-d0e78684dcae skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 27 December 2023 17:54:08 +0000 (0:00:00.323) 0:01:08.906 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 27 December 2023 17:54:08 +0000 (0:00:00.021) 0:01:08.928 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 423820e8-a9c5-4abc-bf56-d0e78684dcae skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 27 December 2023 17:54:08 +0000 (0:00:00.023) 0:01:08.951 **** 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, 423820e8-a9c5-4abc-bf56-d0e78684dcae skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 423820e8-a9c5-4abc-bf56-d0e78684dcae skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 27 December 2023 17:54:08 +0000 (0:00:00.023) 0:01:08.975 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 27 December 2023 17:54:08 +0000 (0:00:00.020) 0:01:08.995 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 27 December 2023 17:54:08 +0000 (0:00:00.187) 0:01:09.182 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 27 December 2023 17:54:08 +0000 (0:00:00.035) 0:01:09.218 **** included: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 27 December 2023 17:54:08 +0000 (0:00:00.066) 0:01:09.285 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 27 December 2023 17:54:08 +0000 (0:00:00.027) 0:01:09.312 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 27 December 2023 17:54:08 +0000 (0:00:00.021) 0:01:09.334 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 27 December 2023 17:54:08 +0000 (0:00:00.020) 0:01:09.354 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 27 December 2023 17:54:10 +0000 (0:00:01.548) 0:01:10.903 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 27 December 2023 17:54:11 +0000 (0:00:01.291) 0:01:12.194 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 27 December 2023 17:54:11 +0000 (0:00:00.024) 0:01:12.219 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 27 December 2023 17:54:11 +0000 (0:00:00.023) 0:01:12.242 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 27 December 2023 17:54:11 +0000 (0:00:00.022) 0:01:12.264 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 27 December 2023 17:54:11 +0000 (0:00:00.044) 0:01:12.309 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 27 December 2023 17:54:11 +0000 (0:00:00.021) 0:01:12.331 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 27 December 2023 17:54:11 +0000 (0:00:00.020) 0:01:12.351 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 27 December 2023 17:54:11 +0000 (0:00:00.024) 0:01:12.376 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 27 December 2023 17:54:11 +0000 (0:00:00.340) 0:01:12.717 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 27 December 2023 17:54:11 +0000 (0:00:00.025) 0:01:12.742 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 27 December 2023 17:54:11 +0000 (0:00:00.021) 0:01:12.763 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 27 December 2023 17:54:11 +0000 (0:00:00.020) 0:01:12.784 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 27 December 2023 17:54:12 +0000 (0:00:00.415) 0:01:13.199 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 27 December 2023 17:54:12 +0000 (0:00:00.022) 0:01:13.221 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 27 December 2023 17:54:12 +0000 (0:00:00.022) 0:01:13.244 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 27 December 2023 17:54:12 +0000 (0:00:00.022) 0:01:13.267 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 27 December 2023 17:54:12 +0000 (0:00:00.020) 0:01:13.287 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/run_test.yml:30 Wednesday 27 December 2023 17:54:12 +0000 (0:00:00.190) 0:01:13.478 **** included: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 27 December 2023 17:54:12 +0000 (0:00:00.039) 0:01:13.518 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 27 December 2023 17:54:12 +0000 (0:00:00.036) 0:01:13.554 **** included: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 27 December 2023 17:54:12 +0000 (0:00:00.039) 0:01:13.594 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 27 December 2023 17:54:12 +0000 (0:00:00.027) 0:01:13.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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 27 December 2023 17:54:12 +0000 (0:00:00.021) 0:01:13.643 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 27 December 2023 17:54:12 +0000 (0:00:00.043) 0:01:13.687 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 27 December 2023 17:54:14 +0000 (0:00:01.556) 0:01:15.243 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 27 December 2023 17:54:15 +0000 (0:00:01.292) 0:01:16.535 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 27 December 2023 17:54:15 +0000 (0:00:00.021) 0:01:16.557 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 27 December 2023 17:54:15 +0000 (0:00:00.045) 0:01:16.602 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 27 December 2023 17:54:15 +0000 (0:00:00.022) 0:01:16.625 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 27 December 2023 17:54:15 +0000 (0:00:00.044) 0:01:16.669 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 27 December 2023 17:54:15 +0000 (0:00:00.021) 0:01:16.691 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 27 December 2023 17:54:15 +0000 (0:00:00.023) 0:01:16.715 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 27 December 2023 17:54:15 +0000 (0:00:00.026) 0:01:16.741 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 27 December 2023 17:54:16 +0000 (0:00:00.345) 0:01:17.087 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 27 December 2023 17:54:16 +0000 (0:00:00.025) 0:01:17.112 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 27 December 2023 17:54:16 +0000 (0:00:00.020) 0:01:17.133 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 27 December 2023 17:54:16 +0000 (0:00:00.021) 0:01:17.154 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 27 December 2023 17:54:16 +0000 (0:00:00.337) 0:01:17.492 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 27 December 2023 17:54:16 +0000 (0:00:00.021) 0:01:17.513 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 27 December 2023 17:54:16 +0000 (0:00:00.022) 0:01:17.535 **** 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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 27 December 2023 17:54:16 +0000 (0:00:00.022) 0:01:17.558 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 27 December 2023 17:54:16 +0000 (0:00:00.048) 0:01:17.606 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/run_test.yml:36 Wednesday 27 December 2023 17:54:16 +0000 (0:00:00.189) 0:01:17.796 **** included: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/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.162dkx_n8d/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 27 December 2023 17:54:16 +0000 (0:00:00.049) 0:01:17.846 **** included: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/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.162dkx_n8d/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 27 December 2023 17:54:16 +0000 (0:00:00.038) 0:01:17.885 **** 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.162dkx_n8d/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 27 December 2023 17:54:17 +0000 (0:00:00.021) 0:01:17.907 **** 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.162dkx_n8d/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 27 December 2023 17:54:17 +0000 (0:00:00.189) 0:01:18.096 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 27 December 2023 17:54:17 +0000 (0:00:00.020) 0:01:18.117 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018459", "end": "2023-12-27 17:54:17.406064", "rc": 1, "start": "2023-12-27 17:54:17.387605" } 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.162dkx_n8d/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 27 December 2023 17:54:17 +0000 (0:00:00.210) 0:01:18.328 **** 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.162dkx_n8d/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 27 December 2023 17:54:17 +0000 (0:00:00.024) 0:01:18.352 **** 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.162dkx_n8d/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 27 December 2023 17:54:17 +0000 (0:00:00.023) 0:01:18.376 **** 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.162dkx_n8d/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 27 December 2023 17:54:17 +0000 (0:00:00.022) 0:01:18.398 **** 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.162dkx_n8d/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 27 December 2023 17:54:17 +0000 (0:00:00.022) 0:01:18.421 **** 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.162dkx_n8d/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 27 December 2023 17:54:17 +0000 (0:00:00.050) 0:01:18.471 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Wednesday 27 December 2023 17:54:17 +0000 (0:00:00.023) 0:01:18.495 **** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.935843", "end": "2023-12-27 17:54:18.705295", "rc": 0, "start": "2023-12-27 17:54:17.769452" } STDOUT: NetworkManager-1.40.16-11.el8 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Wednesday 27 December 2023 17:54:18 +0000 (0:00:01.133) 0:01:19.628 **** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-11.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Wednesday 27 December 2023 17:54:18 +0000 (0:00:00.024) 0:01:19.653 **** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.40.16-11.el8" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/run_test.yml:42 Wednesday 27 December 2023 17:54:18 +0000 (0:00:00.029) 0:01:19.683 **** included: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/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.162dkx_n8d/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 27 December 2023 17:54:18 +0000 (0:00:00.045) 0:01:19.728 **** included: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 27 December 2023 17:54:18 +0000 (0:00:00.037) 0:01:19.765 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 27 December 2023 17:54:19 +0000 (0:00:00.196) 0:01:19.961 **** 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.162dkx_n8d/tests/playbooks/tasks/run_test.yml:47 Wednesday 27 December 2023 17:54:19 +0000 (0:00:00.025) 0:01:19.987 **** 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.162dkx_n8d/tests/playbooks/tasks/run_test.yml:66 Wednesday 27 December 2023 17:54:19 +0000 (0:00:00.021) 0:01:20.008 **** included: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 27 December 2023 17:54:19 +0000 (0:00:00.068) 0:01:20.077 **** 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.037417", "end": "2023-12-27 17:54:19.385448", "rc": 1, "start": "2023-12-27 17:54:19.348031" } 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=321 changed=10 unreachable=0 failed=0 skipped=247 rescued=0 ignored=11 Wednesday 27 December 2023 17:54:19 +0000 (0:00:00.217) 0:01:20.294 **** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 2.00s /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable and start NetworkManager ------------ 1.84s /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Check which services are running ----------- 1.62s /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.59s /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.59s /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.58s /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.58s /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.57s /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.56s /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.55s /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.55s /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.55s /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.55s /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.54s /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.54s /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.53s /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.53s /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.44s /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Enable and start NetworkManager ------------ 1.36s /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Check which packages are installed --------- 1.33s /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the dnf module rather than running 'dnf'. If you need to use command because dnf 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. [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. ---^---^---^---^---^---