# 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.16e4hzv5jb/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.16e4hzv5jb/tests/tests_states_nm.yml:6 Monday 25 December 2023 22:01:55 +0000 (0:00:00.016) 0:00:00.016 ******* ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/tests_states_nm.yml:9 Monday 25 December 2023 22:01:56 +0000 (0:00:00.850) 0:00:00.866 ******* included: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/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.16e4hzv5jb/tests/tasks/el_repo_setup.yml:3 Monday 25 December 2023 22:01:56 +0000 (0:00:00.028) 0:00:00.895 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/tasks/el_repo_setup.yml:19 Monday 25 December 2023 22:01:56 +0000 (0:00:00.393) 0:00:01.288 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/tasks/el_repo_setup.yml:24 Monday 25 December 2023 22:01:56 +0000 (0:00:00.248) 0:00:01.537 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/tasks/el_repo_setup.yml:28 Monday 25 December 2023 22:01:56 +0000 (0:00:00.020) 0:00:01.557 ******* 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.16e4hzv5jb/tests/tasks/el_repo_setup.yml:53 Monday 25 December 2023 22:01:56 +0000 (0:00:00.018) 0:00:01.576 ******* included: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 9] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/tasks/enable_epel.yml:8 Monday 25 December 2023 22:01:56 +0000 (0:00:00.055) 0:00:01.632 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/tasks/enable_epel.yml:24 Monday 25 December 2023 22:01:56 +0000 (0:00:00.016) 0:00:01.649 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/tasks/enable_epel.yml:30 Monday 25 December 2023 22:01:57 +0000 (0:00:00.019) 0:00:01.668 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/tasks/enable_epel.yml:35 Monday 25 December 2023 22:01:57 +0000 (0:00:00.011) 0:00:01.680 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/tasks/enable_epel.yml:40 Monday 25 December 2023 22:01:57 +0000 (0:00:00.010) 0:00:01.691 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/tests_states_nm.yml:11 Monday 25 December 2023 22:01:57 +0000 (0:00:00.022) 0:00:01.713 ******* 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.16e4hzv5jb/tests/playbooks/tests_states.yml:3 Monday 25 December 2023 22:01:57 +0000 (0:00:00.020) 0:00:01.734 ******* ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tests_states.yml:11 Monday 25 December 2023 22:01:57 +0000 (0:00:00.524) 0:00:02.258 ******* ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tests_states.yml:22 Monday 25 December 2023 22:01:57 +0000 (0:00:00.010) 0:00:02.269 ******* included: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/run_test.yml:5 Monday 25 December 2023 22:01:57 +0000 (0:00:00.015) 0:00:02.285 ******* ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/run_test.yml:9 Monday 25 December 2023 22:01:57 +0000 (0:00:00.010) 0:00:02.296 ******* 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.16e4hzv5jb/tests/playbooks/tasks/run_test.yml:21 Monday 25 December 2023 22:01:57 +0000 (0:00:00.032) 0:00:02.328 ******* included: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/show_interfaces.yml:3 Monday 25 December 2023 22:01:57 +0000 (0:00:00.014) 0:00:02.342 ******* included: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 25 December 2023 22:01:57 +0000 (0:00:00.013) 0:00:02.356 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003258", "end": "2023-12-25 22:01:57.916973", "rc": 0, "start": "2023-12-25 22:01:57.913715" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 25 December 2023 22:01:57 +0000 (0:00:00.240) 0:00:02.597 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/show_interfaces.yml:5 Monday 25 December 2023 22:01:57 +0000 (0:00:00.011) 0:00:02.609 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/run_test.yml:24 Monday 25 December 2023 22:01:57 +0000 (0:00:00.010) 0:00:02.619 ******* included: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/delete_interface.yml:3 Monday 25 December 2023 22:01:57 +0000 (0:00:00.029) 0:00:02.649 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007289", "end": "2023-12-25 22:01:58.163873", "rc": 1, "start": "2023-12-25 22:01:58.156584" } 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.16e4hzv5jb/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 25 December 2023 22:01:58 +0000 (0:00:00.193) 0:00:02.843 ******* included: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 25 December 2023 22:01:58 +0000 (0:00:00.014) 0:00:02.857 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 25 December 2023 22:01:58 +0000 (0:00:00.181) 0:00:03.039 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/run_test.yml:30 Monday 25 December 2023 22:01:58 +0000 (0:00:00.012) 0:00:03.051 ******* included: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 25 December 2023 22:01:58 +0000 (0:00:00.019) 0:00:03.070 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 25 December 2023 22:01:58 +0000 (0:00:00.036) 0:00:03.107 ******* included: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 25 December 2023 22:01:58 +0000 (0:00:00.072) 0:00:03.179 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 25 December 2023 22:01:58 +0000 (0:00:00.033) 0:00:03.213 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 25 December 2023 22:01:58 +0000 (0:00:00.012) 0:00:03.225 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 25 December 2023 22:01:58 +0000 (0:00:00.010) 0:00:03.235 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 25 December 2023 22:02:00 +0000 (0:00:01.478) 0:00:04.714 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 25 December 2023 22:02:01 +0000 (0:00:01.120) 0:00:05.834 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 25 December 2023 22:02:01 +0000 (0:00:00.024) 0:00:05.859 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 25 December 2023 22:02:01 +0000 (0:00:00.025) 0:00:05.884 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 25 December 2023 22:02:01 +0000 (0:00:00.030) 0:00:05.914 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 25 December 2023 22:02:01 +0000 (0:00:00.063) 0:00:05.978 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 25 December 2023 22:02:01 +0000 (0:00:00.045) 0:00:06.023 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 25 December 2023 22:02:01 +0000 (0:00:00.028) 0:00:06.051 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 25 December 2023 22:02:01 +0000 (0:00:00.029) 0:00:06.081 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 25 December 2023 22:02:01 +0000 (0:00:00.542) 0:00:06.624 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 25 December 2023 22:02:02 +0000 (0:00:00.050) 0:00:06.674 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 25 December 2023 22:02:02 +0000 (0:00:00.023) 0:00:06.697 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 25 December 2023 22:02:02 +0000 (0:00:00.042) 0:00:06.740 ******* 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, e77a6bb8-70c0-4300-8192-20eaa86b62bd TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 25 December 2023 22:02:02 +0000 (0:00:00.574) 0:00:07.314 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 25 December 2023 22:02:02 +0000 (0:00:00.020) 0:00:07.335 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e77a6bb8-70c0-4300-8192-20eaa86b62bd" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 25 December 2023 22:02:02 +0000 (0:00:00.022) 0:00:07.358 ******* 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, e77a6bb8-70c0-4300-8192-20eaa86b62bd\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e77a6bb8-70c0-4300-8192-20eaa86b62bd" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 25 December 2023 22:02:02 +0000 (0:00:00.043) 0:00:07.401 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 25 December 2023 22:02:02 +0000 (0:00:00.025) 0:00:07.427 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 25 December 2023 22:02:03 +0000 (0:00:00.253) 0:00:07.680 ******* 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, e77a6bb8-70c0-4300-8192-20eaa86b62bd\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e77a6bb8-70c0-4300-8192-20eaa86b62bd" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/run_test.yml:36 Monday 25 December 2023 22:02:03 +0000 (0:00:00.040) 0:00:07.720 ******* included: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/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.16e4hzv5jb/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 25 December 2023 22:02:03 +0000 (0:00:00.059) 0:00:07.779 ******* included: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/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.16e4hzv5jb/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 25 December 2023 22:02:03 +0000 (0:00:00.059) 0:00:07.839 ******* 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.16e4hzv5jb/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 25 December 2023 22:02:03 +0000 (0:00:00.046) 0:00:07.886 ******* 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.16e4hzv5jb/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 25 December 2023 22:02:03 +0000 (0:00:00.197) 0:00:08.083 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 25 December 2023 22:02:03 +0000 (0:00:00.021) 0:00:08.105 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021376", "end": "2023-12-25 22:02:03.627856", "rc": 0, "start": "2023-12-25 22:02:03.606480" } STDOUT: statebr /etc/NetworkManager/system-connections/statebr.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 25 December 2023 22:02:03 +0000 (0:00:00.215) 0:00:08.321 ******* 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.16e4hzv5jb/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 25 December 2023 22:02:03 +0000 (0:00:00.029) 0:00:08.351 ******* 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.16e4hzv5jb/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 25 December 2023 22:02:03 +0000 (0:00:00.023) 0:00:08.374 ******* 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.16e4hzv5jb/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 25 December 2023 22:02:03 +0000 (0:00:00.022) 0:00:08.397 ******* 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.16e4hzv5jb/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 25 December 2023 22:02:03 +0000 (0:00:00.079) 0:00:08.477 ******* 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.16e4hzv5jb/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 25 December 2023 22:02:03 +0000 (0:00:00.024) 0:00:08.501 ******* 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.16e4hzv5jb/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 25 December 2023 22:02:03 +0000 (0:00:00.046) 0:00:08.548 ******* 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.16e4hzv5jb/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 25 December 2023 22:02:03 +0000 (0:00:00.027) 0:00:08.575 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/run_test.yml:42 Monday 25 December 2023 22:02:03 +0000 (0:00:00.035) 0:00:08.611 ******* included: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/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.16e4hzv5jb/tests/playbooks/tasks/assert_device_present.yml:3 Monday 25 December 2023 22:02:03 +0000 (0:00:00.051) 0:00:08.662 ******* included: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 25 December 2023 22:02:04 +0000 (0:00:00.035) 0:00:08.698 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1703541722.5625572, "block_size": 4096, "blocks": 0, "ctime": 1703541722.5625572, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 32511, "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": 1703541722.5625572, "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.16e4hzv5jb/tests/playbooks/tasks/assert_device_present.yml:5 Monday 25 December 2023 22:02:04 +0000 (0:00:00.212) 0:00:08.910 ******* 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.16e4hzv5jb/tests/playbooks/tasks/run_test.yml:47 Monday 25 December 2023 22:02:04 +0000 (0:00:00.030) 0:00:08.941 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/run_test.yml:66 Monday 25 December 2023 22:02:04 +0000 (0:00:00.038) 0:00:08.979 ******* included: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 25 December 2023 22:02:04 +0000 (0:00:00.064) 0:00:09.044 ******* 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.063753", "end": "2023-12-25 22:02:04.609524", "rc": 1, "start": "2023-12-25 22:02:04.545771" } STDOUT: Connection 'statebr' (e77a6bb8-70c0-4300-8192-20eaa86b62bd) 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.16e4hzv5jb/tests/playbooks/tests_states.yml:45 Monday 25 December 2023 22:02:04 +0000 (0:00:00.264) 0:00:09.309 ******* included: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/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.16e4hzv5jb/tests/playbooks/tasks/run_test.yml:5 Monday 25 December 2023 22:02:04 +0000 (0:00:00.072) 0:00:09.381 ******* ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/run_test.yml:9 Monday 25 December 2023 22:02:04 +0000 (0:00:00.029) 0:00:09.411 ******* 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.16e4hzv5jb/tests/playbooks/tasks/run_test.yml:21 Monday 25 December 2023 22:02:04 +0000 (0:00:00.056) 0:00:09.468 ******* included: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/show_interfaces.yml:3 Monday 25 December 2023 22:02:04 +0000 (0:00:00.042) 0:00:09.510 ******* included: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 25 December 2023 22:02:04 +0000 (0:00:00.064) 0:00:09.574 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003157", "end": "2023-12-25 22:02:05.105534", "rc": 0, "start": "2023-12-25 22:02:05.102377" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 25 December 2023 22:02:05 +0000 (0:00:00.221) 0:00:09.796 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/show_interfaces.yml:5 Monday 25 December 2023 22:02:05 +0000 (0:00:00.032) 0:00:09.829 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/run_test.yml:24 Monday 25 December 2023 22:02:05 +0000 (0:00:00.024) 0:00:09.853 ******* included: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/delete_interface.yml:3 Monday 25 December 2023 22:02:05 +0000 (0:00:00.041) 0:00:09.895 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.005854", "end": "2023-12-25 22:02:05.416934", "rc": 1, "start": "2023-12-25 22:02:05.411080" } 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.16e4hzv5jb/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 25 December 2023 22:02:05 +0000 (0:00:00.211) 0:00:10.106 ******* included: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 25 December 2023 22:02:05 +0000 (0:00:00.037) 0:00:10.143 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 25 December 2023 22:02:05 +0000 (0:00:00.239) 0:00:10.383 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/run_test.yml:30 Monday 25 December 2023 22:02:05 +0000 (0:00:00.092) 0:00:10.475 ******* included: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Monday 25 December 2023 22:02:05 +0000 (0:00:00.066) 0:00:10.542 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 25 December 2023 22:02:05 +0000 (0:00:00.074) 0:00:10.616 ******* included: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 25 December 2023 22:02:06 +0000 (0:00:00.055) 0:00:10.672 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 25 December 2023 22:02:06 +0000 (0:00:00.044) 0:00:10.716 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 25 December 2023 22:02:06 +0000 (0:00:00.022) 0:00:10.739 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 25 December 2023 22:02:06 +0000 (0:00:00.022) 0:00:10.761 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 25 December 2023 22:02:07 +0000 (0:00:01.468) 0:00:12.230 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 25 December 2023 22:02:08 +0000 (0:00:00.986) 0:00:13.216 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 25 December 2023 22:02:08 +0000 (0:00:00.088) 0:00:13.305 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 25 December 2023 22:02:08 +0000 (0:00:00.060) 0:00:13.365 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 25 December 2023 22:02:08 +0000 (0:00:00.025) 0:00:13.390 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 25 December 2023 22:02:08 +0000 (0:00:00.064) 0:00:13.455 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 25 December 2023 22:02:08 +0000 (0:00:00.068) 0:00:13.523 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 25 December 2023 22:02:08 +0000 (0:00:00.082) 0:00:13.606 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 25 December 2023 22:02:09 +0000 (0:00:00.093) 0:00:13.700 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 25 December 2023 22:02:09 +0000 (0:00:00.389) 0:00:14.089 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 25 December 2023 22:02:09 +0000 (0:00:00.027) 0:00:14.117 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 25 December 2023 22:02:09 +0000 (0:00:00.021) 0:00:14.139 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 25 December 2023 22:02:09 +0000 (0:00:00.029) 0:00:14.169 ******* 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, 8b50862c-2146-4ab2-b5b0-532fa69c9ba9 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 25 December 2023 22:02:09 +0000 (0:00:00.405) 0:00:14.574 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 25 December 2023 22:02:09 +0000 (0:00:00.059) 0:00:14.634 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8b50862c-2146-4ab2-b5b0-532fa69c9ba9" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 25 December 2023 22:02:09 +0000 (0:00:00.023) 0:00:14.657 ******* 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, 8b50862c-2146-4ab2-b5b0-532fa69c9ba9\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8b50862c-2146-4ab2-b5b0-532fa69c9ba9" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 25 December 2023 22:02:10 +0000 (0:00:00.023) 0:00:14.680 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 25 December 2023 22:02:10 +0000 (0:00:00.020) 0:00:14.701 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Monday 25 December 2023 22:02:10 +0000 (0:00:00.188) 0:00:14.889 ******* 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, 8b50862c-2146-4ab2-b5b0-532fa69c9ba9\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8b50862c-2146-4ab2-b5b0-532fa69c9ba9" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/run_test.yml:36 Monday 25 December 2023 22:02:10 +0000 (0:00:00.022) 0:00:14.912 ******* included: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/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.16e4hzv5jb/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 25 December 2023 22:02:10 +0000 (0:00:00.042) 0:00:14.954 ******* included: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 25 December 2023 22:02:10 +0000 (0:00:00.033) 0:00:14.987 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 25 December 2023 22:02:10 +0000 (0:00:00.190) 0:00:15.178 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 25 December 2023 22:02:10 +0000 (0:00:00.023) 0:00:15.201 ******* included: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/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.16e4hzv5jb/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 25 December 2023 22:02:10 +0000 (0:00:00.035) 0:00:15.237 ******* 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.16e4hzv5jb/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 25 December 2023 22:02:10 +0000 (0:00:00.021) 0:00:15.258 ******* 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.16e4hzv5jb/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 25 December 2023 22:02:10 +0000 (0:00:00.193) 0:00:15.452 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 25 December 2023 22:02:10 +0000 (0:00:00.049) 0:00:15.501 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021947", "end": "2023-12-25 22:02:11.028230", "rc": 0, "start": "2023-12-25 22:02:11.006283" } STDOUT: statebr /etc/NetworkManager/system-connections/statebr.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 25 December 2023 22:02:11 +0000 (0:00:00.219) 0:00:15.720 ******* 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.16e4hzv5jb/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 25 December 2023 22:02:11 +0000 (0:00:00.025) 0:00:15.746 ******* 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.16e4hzv5jb/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 25 December 2023 22:02:11 +0000 (0:00:00.022) 0:00:15.768 ******* 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.16e4hzv5jb/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 25 December 2023 22:02:11 +0000 (0:00:00.022) 0:00:15.791 ******* 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.16e4hzv5jb/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 25 December 2023 22:02:11 +0000 (0:00:00.022) 0:00:15.813 ******* 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.16e4hzv5jb/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 25 December 2023 22:02:11 +0000 (0:00:00.024) 0:00:15.838 ******* 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.16e4hzv5jb/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 25 December 2023 22:02:11 +0000 (0:00:00.024) 0:00:15.863 ******* 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.16e4hzv5jb/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 25 December 2023 22:02:11 +0000 (0:00:00.023) 0:00:15.886 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/run_test.yml:42 Monday 25 December 2023 22:02:11 +0000 (0:00:00.023) 0:00:15.910 ******* TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/run_test.yml:47 Monday 25 December 2023 22:02:11 +0000 (0:00:00.020) 0:00:15.930 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/run_test.yml:66 Monday 25 December 2023 22:02:11 +0000 (0:00:00.026) 0:00:15.956 ******* included: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 25 December 2023 22:02:11 +0000 (0:00:00.053) 0:00:16.010 ******* 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.041187", "end": "2023-12-25 22:02:11.553519", "rc": 1, "start": "2023-12-25 22:02:11.512332" } STDOUT: Connection 'statebr' (8b50862c-2146-4ab2-b5b0-532fa69c9ba9) 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.16e4hzv5jb/tests/playbooks/tests_states.yml:65 Monday 25 December 2023 22:02:11 +0000 (0:00:00.233) 0:00:16.244 ******* included: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/run_test.yml:5 Monday 25 December 2023 22:02:11 +0000 (0:00:00.064) 0:00:16.308 ******* ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/run_test.yml:9 Monday 25 December 2023 22:02:11 +0000 (0:00:00.023) 0:00:16.331 ******* 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.16e4hzv5jb/tests/playbooks/tasks/run_test.yml:21 Monday 25 December 2023 22:02:11 +0000 (0:00:00.063) 0:00:16.395 ******* included: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/show_interfaces.yml:3 Monday 25 December 2023 22:02:11 +0000 (0:00:00.048) 0:00:16.444 ******* included: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 25 December 2023 22:02:11 +0000 (0:00:00.039) 0:00:16.484 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003153", "end": "2023-12-25 22:02:11.987308", "rc": 0, "start": "2023-12-25 22:02:11.984155" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 25 December 2023 22:02:12 +0000 (0:00:00.199) 0:00:16.683 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/show_interfaces.yml:5 Monday 25 December 2023 22:02:12 +0000 (0:00:00.027) 0:00:16.711 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/run_test.yml:24 Monday 25 December 2023 22:02:12 +0000 (0:00:00.031) 0:00:16.742 ******* included: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 25 December 2023 22:02:12 +0000 (0:00:00.051) 0:00:16.794 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 25 December 2023 22:02:12 +0000 (0:00:00.039) 0:00:16.833 ******* included: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 25 December 2023 22:02:12 +0000 (0:00:00.041) 0:00:16.875 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 25 December 2023 22:02:12 +0000 (0:00:00.027) 0:00:16.902 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 25 December 2023 22:02:12 +0000 (0:00:00.052) 0:00:16.955 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 25 December 2023 22:02:12 +0000 (0:00:00.027) 0:00:16.982 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 25 December 2023 22:02:13 +0000 (0:00:01.427) 0:00:18.410 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 25 December 2023 22:02:14 +0000 (0:00:00.920) 0:00:19.331 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 25 December 2023 22:02:14 +0000 (0:00:00.028) 0:00:19.360 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 25 December 2023 22:02:14 +0000 (0:00:00.030) 0:00:19.390 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 25 December 2023 22:02:14 +0000 (0:00:00.064) 0:00:19.455 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 25 December 2023 22:02:14 +0000 (0:00:00.079) 0:00:19.534 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 25 December 2023 22:02:14 +0000 (0:00:00.084) 0:00:19.619 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 25 December 2023 22:02:14 +0000 (0:00:00.040) 0:00:19.660 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 25 December 2023 22:02:15 +0000 (0:00:00.049) 0:00:19.709 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 25 December 2023 22:02:15 +0000 (0:00:00.403) 0:00:20.112 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 25 December 2023 22:02:15 +0000 (0:00:00.036) 0:00:20.149 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 25 December 2023 22:02:15 +0000 (0:00:00.027) 0:00:20.176 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 25 December 2023 22:02:15 +0000 (0:00:00.029) 0:00:20.205 ******* 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, ab3654c6-959b-44b0-8a6e-ea6148a6def2 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 25 December 2023 22:02:15 +0000 (0:00:00.427) 0:00:20.632 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 25 December 2023 22:02:15 +0000 (0:00:00.023) 0:00:20.655 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ab3654c6-959b-44b0-8a6e-ea6148a6def2" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 25 December 2023 22:02:16 +0000 (0:00:00.062) 0:00:20.718 ******* 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, ab3654c6-959b-44b0-8a6e-ea6148a6def2\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ab3654c6-959b-44b0-8a6e-ea6148a6def2" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 25 December 2023 22:02:16 +0000 (0:00:00.025) 0:00:20.743 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 25 December 2023 22:02:16 +0000 (0:00:00.021) 0:00:20.764 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 25 December 2023 22:02:16 +0000 (0:00:00.192) 0:00:20.956 ******* 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, ab3654c6-959b-44b0-8a6e-ea6148a6def2\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ab3654c6-959b-44b0-8a6e-ea6148a6def2" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/run_test.yml:30 Monday 25 December 2023 22:02:16 +0000 (0:00:00.023) 0:00:20.979 ******* included: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/activate_profile.yml:3 Monday 25 December 2023 22:02:16 +0000 (0:00:00.086) 0:00:21.065 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 25 December 2023 22:02:16 +0000 (0:00:00.053) 0:00:21.119 ******* included: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 25 December 2023 22:02:16 +0000 (0:00:00.052) 0:00:21.172 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 25 December 2023 22:02:16 +0000 (0:00:00.029) 0:00:21.201 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 25 December 2023 22:02:16 +0000 (0:00:00.024) 0:00:21.226 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 25 December 2023 22:02:16 +0000 (0:00:00.023) 0:00:21.249 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 25 December 2023 22:02:18 +0000 (0:00:01.417) 0:00:22.667 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 25 December 2023 22:02:18 +0000 (0:00:00.955) 0:00:23.622 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 25 December 2023 22:02:18 +0000 (0:00:00.023) 0:00:23.645 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 25 December 2023 22:02:19 +0000 (0:00:00.024) 0:00:23.670 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 25 December 2023 22:02:19 +0000 (0:00:00.022) 0:00:23.692 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 25 December 2023 22:02:19 +0000 (0:00:00.043) 0:00:23.736 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 25 December 2023 22:02:19 +0000 (0:00:00.029) 0:00:23.765 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 25 December 2023 22:02:19 +0000 (0:00:00.020) 0:00:23.786 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 25 December 2023 22:02:19 +0000 (0:00:00.027) 0:00:23.813 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 25 December 2023 22:02:19 +0000 (0:00:00.358) 0:00:24.171 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 25 December 2023 22:02:19 +0000 (0:00:00.026) 0:00:24.197 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 25 December 2023 22:02:19 +0000 (0:00:00.023) 0:00:24.220 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 25 December 2023 22:02:19 +0000 (0:00:00.031) 0:00:24.252 ******* 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, ab3654c6-959b-44b0-8a6e-ea6148a6def2 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 25 December 2023 22:02:19 +0000 (0:00:00.374) 0:00:24.626 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 25 December 2023 22:02:19 +0000 (0:00:00.022) 0:00:24.649 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, ab3654c6-959b-44b0-8a6e-ea6148a6def2 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 25 December 2023 22:02:20 +0000 (0:00:00.033) 0:00:24.682 ******* 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, ab3654c6-959b-44b0-8a6e-ea6148a6def2 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, ab3654c6-959b-44b0-8a6e-ea6148a6def2 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 25 December 2023 22:02:20 +0000 (0:00:00.023) 0:00:24.706 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 25 December 2023 22:02:20 +0000 (0:00:00.022) 0:00:24.728 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/run_test.yml:36 Monday 25 December 2023 22:02:20 +0000 (0:00:00.192) 0:00:24.921 ******* included: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/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.16e4hzv5jb/tests/playbooks/tasks/assert_device_present.yml:3 Monday 25 December 2023 22:02:20 +0000 (0:00:00.054) 0:00:24.976 ******* included: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 25 December 2023 22:02:20 +0000 (0:00:00.035) 0:00:25.012 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1703541735.8654668, "block_size": 4096, "blocks": 0, "ctime": 1703541735.8654668, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 32642, "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": 1703541735.8654668, "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.16e4hzv5jb/tests/playbooks/tasks/assert_device_present.yml:5 Monday 25 December 2023 22:02:20 +0000 (0:00:00.198) 0:00:25.210 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 25 December 2023 22:02:20 +0000 (0:00:00.032) 0:00:25.243 ******* included: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/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.16e4hzv5jb/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 25 December 2023 22:02:20 +0000 (0:00:00.052) 0:00:25.295 ******* 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.16e4hzv5jb/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 25 December 2023 22:02:20 +0000 (0:00:00.024) 0:00:25.319 ******* 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.16e4hzv5jb/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 25 December 2023 22:02:20 +0000 (0:00:00.215) 0:00:25.535 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 25 December 2023 22:02:20 +0000 (0:00:00.020) 0:00:25.556 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021613", "end": "2023-12-25 22:02:21.077465", "rc": 0, "start": "2023-12-25 22:02:21.055852" } STDOUT: statebr /etc/NetworkManager/system-connections/statebr.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 25 December 2023 22:02:21 +0000 (0:00:00.226) 0:00:25.783 ******* 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.16e4hzv5jb/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 25 December 2023 22:02:21 +0000 (0:00:00.046) 0:00:25.830 ******* 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.16e4hzv5jb/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 25 December 2023 22:02:21 +0000 (0:00:00.035) 0:00:25.865 ******* 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.16e4hzv5jb/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 25 December 2023 22:02:21 +0000 (0:00:00.022) 0:00:25.888 ******* 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.16e4hzv5jb/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 25 December 2023 22:02:21 +0000 (0:00:00.024) 0:00:25.913 ******* 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.16e4hzv5jb/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 25 December 2023 22:02:21 +0000 (0:00:00.023) 0:00:25.936 ******* 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.16e4hzv5jb/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 25 December 2023 22:02:21 +0000 (0:00:00.024) 0:00:25.960 ******* 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.16e4hzv5jb/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 25 December 2023 22:02:21 +0000 (0:00:00.026) 0:00:25.986 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/run_test.yml:42 Monday 25 December 2023 22:02:21 +0000 (0:00:00.021) 0:00:26.008 ******* TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/run_test.yml:47 Monday 25 December 2023 22:02:21 +0000 (0:00:00.020) 0:00:26.028 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/run_test.yml:66 Monday 25 December 2023 22:02:21 +0000 (0:00:00.022) 0:00:26.051 ******* included: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 25 December 2023 22:02:21 +0000 (0:00:00.044) 0:00:26.095 ******* 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.066553", "end": "2023-12-25 22:02:21.673749", "rc": 1, "start": "2023-12-25 22:02:21.607196" } STDOUT: Connection 'statebr' (ab3654c6-959b-44b0-8a6e-ea6148a6def2) 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.16e4hzv5jb/tests/playbooks/tests_states.yml:83 Monday 25 December 2023 22:02:21 +0000 (0:00:00.271) 0:00:26.366 ******* included: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/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.16e4hzv5jb/tests/playbooks/tasks/run_test.yml:5 Monday 25 December 2023 22:02:21 +0000 (0:00:00.069) 0:00:26.436 ******* ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/run_test.yml:9 Monday 25 December 2023 22:02:21 +0000 (0:00:00.030) 0:00:26.466 ******* 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.16e4hzv5jb/tests/playbooks/tasks/run_test.yml:21 Monday 25 December 2023 22:02:21 +0000 (0:00:00.066) 0:00:26.532 ******* included: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/show_interfaces.yml:3 Monday 25 December 2023 22:02:21 +0000 (0:00:00.041) 0:00:26.574 ******* included: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 25 December 2023 22:02:21 +0000 (0:00:00.058) 0:00:26.632 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004398", "end": "2023-12-25 22:02:23.156507", "rc": 0, "start": "2023-12-25 22:02:22.152109" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 25 December 2023 22:02:23 +0000 (0:00:01.217) 0:00:27.849 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/show_interfaces.yml:5 Monday 25 December 2023 22:02:23 +0000 (0:00:00.033) 0:00:27.882 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/run_test.yml:24 Monday 25 December 2023 22:02:23 +0000 (0:00:00.070) 0:00:27.952 ******* included: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 25 December 2023 22:02:23 +0000 (0:00:00.064) 0:00:28.017 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 25 December 2023 22:02:23 +0000 (0:00:00.066) 0:00:28.083 ******* included: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 25 December 2023 22:02:23 +0000 (0:00:00.055) 0:00:28.138 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 25 December 2023 22:02:23 +0000 (0:00:00.034) 0:00:28.173 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 25 December 2023 22:02:23 +0000 (0:00:00.033) 0:00:28.206 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 25 December 2023 22:02:23 +0000 (0:00:00.022) 0:00:28.229 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 25 December 2023 22:02:24 +0000 (0:00:01.389) 0:00:29.618 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 25 December 2023 22:02:25 +0000 (0:00:00.943) 0:00:30.562 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 25 December 2023 22:02:25 +0000 (0:00:00.022) 0:00:30.585 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 25 December 2023 22:02:25 +0000 (0:00:00.021) 0:00:30.607 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 25 December 2023 22:02:25 +0000 (0:00:00.022) 0:00:30.629 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 25 December 2023 22:02:26 +0000 (0:00:00.043) 0:00:30.672 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 25 December 2023 22:02:26 +0000 (0:00:00.035) 0:00:30.708 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 25 December 2023 22:02:26 +0000 (0:00:00.048) 0:00:30.756 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 25 December 2023 22:02:26 +0000 (0:00:00.036) 0:00:30.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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 25 December 2023 22:02:26 +0000 (0:00:00.392) 0:00:31.186 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 25 December 2023 22:02:26 +0000 (0:00:00.027) 0:00:31.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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 25 December 2023 22:02:26 +0000 (0:00:00.021) 0:00:31.235 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 25 December 2023 22:02:26 +0000 (0:00:00.022) 0:00:31.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, b9c1453e-1f84-4e32-8c06-398c4a7f1115 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 25 December 2023 22:02:26 +0000 (0:00:00.403) 0:00:31.661 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 25 December 2023 22:02:27 +0000 (0:00:00.021) 0:00:31.682 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b9c1453e-1f84-4e32-8c06-398c4a7f1115" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 25 December 2023 22:02:27 +0000 (0:00:00.024) 0:00:31.707 ******* 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, b9c1453e-1f84-4e32-8c06-398c4a7f1115\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b9c1453e-1f84-4e32-8c06-398c4a7f1115" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 25 December 2023 22:02:27 +0000 (0:00:00.058) 0:00:31.765 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 25 December 2023 22:02:27 +0000 (0:00:00.022) 0:00:31.787 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 25 December 2023 22:02:27 +0000 (0:00:00.189) 0:00:31.977 ******* 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, b9c1453e-1f84-4e32-8c06-398c4a7f1115\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b9c1453e-1f84-4e32-8c06-398c4a7f1115" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/activate_profile.yml:3 Monday 25 December 2023 22:02:27 +0000 (0:00:00.023) 0:00:32.000 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 25 December 2023 22:02:27 +0000 (0:00:00.036) 0:00:32.036 ******* included: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 25 December 2023 22:02:27 +0000 (0:00:00.041) 0:00:32.078 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 25 December 2023 22:02:27 +0000 (0:00:00.027) 0:00:32.105 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 25 December 2023 22:02:27 +0000 (0:00:00.023) 0:00:32.128 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 25 December 2023 22:02:27 +0000 (0:00:00.021) 0:00:32.149 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 25 December 2023 22:02:28 +0000 (0:00:01.455) 0:00:33.604 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 25 December 2023 22:02:29 +0000 (0:00:00.939) 0:00:34.544 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 25 December 2023 22:02:29 +0000 (0:00:00.024) 0:00:34.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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 25 December 2023 22:02:29 +0000 (0:00:00.022) 0:00:34.591 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 25 December 2023 22:02:29 +0000 (0:00:00.027) 0:00:34.619 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 25 December 2023 22:02:30 +0000 (0:00:00.061) 0:00:34.680 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 25 December 2023 22:02:30 +0000 (0:00:00.027) 0:00:34.707 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 25 December 2023 22:02:30 +0000 (0:00:00.028) 0:00:34.735 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 25 December 2023 22:02:30 +0000 (0:00:00.028) 0:00:34.764 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 25 December 2023 22:02:30 +0000 (0:00:00.394) 0:00:35.159 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 25 December 2023 22:02:30 +0000 (0:00:00.027) 0:00:35.186 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 25 December 2023 22:02:30 +0000 (0:00:00.061) 0:00:35.247 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 25 December 2023 22:02:30 +0000 (0:00:00.022) 0:00:35.269 ******* 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, b9c1453e-1f84-4e32-8c06-398c4a7f1115 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 25 December 2023 22:02:30 +0000 (0:00:00.353) 0:00:35.623 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 25 December 2023 22:02:30 +0000 (0:00:00.022) 0:00:35.645 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b9c1453e-1f84-4e32-8c06-398c4a7f1115 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 25 December 2023 22:02:31 +0000 (0:00:00.030) 0:00:35.675 ******* 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, b9c1453e-1f84-4e32-8c06-398c4a7f1115 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b9c1453e-1f84-4e32-8c06-398c4a7f1115 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 25 December 2023 22:02:31 +0000 (0:00:00.041) 0:00:35.717 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 25 December 2023 22:02:31 +0000 (0:00:00.024) 0:00:35.742 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/run_test.yml:30 Monday 25 December 2023 22:02:31 +0000 (0:00:00.214) 0:00:35.956 ******* included: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/remove_profile.yml:3 Monday 25 December 2023 22:02:31 +0000 (0:00:00.064) 0:00:36.021 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 25 December 2023 22:02:31 +0000 (0:00:00.071) 0:00:36.093 ******* included: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 25 December 2023 22:02:31 +0000 (0:00:00.102) 0:00:36.195 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 25 December 2023 22:02:31 +0000 (0:00:00.069) 0:00:36.265 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 25 December 2023 22:02:31 +0000 (0:00:00.024) 0:00:36.290 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 25 December 2023 22:02:31 +0000 (0:00:00.110) 0:00:36.400 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 25 December 2023 22:02:33 +0000 (0:00:01.438) 0:00:37.838 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 25 December 2023 22:02:34 +0000 (0:00:00.919) 0:00:38.757 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 25 December 2023 22:02:34 +0000 (0:00:00.025) 0:00:38.783 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 25 December 2023 22:02:34 +0000 (0:00:00.023) 0:00:38.807 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 25 December 2023 22:02:34 +0000 (0:00:00.022) 0:00:38.829 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 25 December 2023 22:02:34 +0000 (0:00:00.046) 0:00:38.875 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 25 December 2023 22:02:34 +0000 (0:00:00.047) 0:00:38.923 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 25 December 2023 22:02:34 +0000 (0:00:00.029) 0:00:38.953 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 25 December 2023 22:02:34 +0000 (0:00:00.025) 0:00:38.978 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 25 December 2023 22:02:34 +0000 (0:00:00.378) 0:00:39.357 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 25 December 2023 22:02:34 +0000 (0:00:00.033) 0:00:39.391 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 25 December 2023 22:02:34 +0000 (0:00:00.025) 0:00:39.416 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 25 December 2023 22:02:34 +0000 (0:00:00.029) 0:00:39.446 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 25 December 2023 22:02:35 +0000 (0:00:00.414) 0:00:39.860 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 25 December 2023 22:02:35 +0000 (0:00:00.029) 0:00:39.890 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 25 December 2023 22:02:35 +0000 (0:00:00.030) 0:00:39.921 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 25 December 2023 22:02:35 +0000 (0:00:00.024) 0:00:39.946 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 25 December 2023 22:02:35 +0000 (0:00:00.026) 0:00:39.972 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/run_test.yml:36 Monday 25 December 2023 22:02:35 +0000 (0:00:00.191) 0:00:40.164 ******* included: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/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.16e4hzv5jb/tests/playbooks/tasks/assert_device_present.yml:3 Monday 25 December 2023 22:02:35 +0000 (0:00:00.042) 0:00:40.207 ******* included: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 25 December 2023 22:02:35 +0000 (0:00:00.061) 0:00:40.268 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1703541746.9193673, "block_size": 4096, "blocks": 0, "ctime": 1703541746.9193673, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 32773, "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": 1703541746.9193673, "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.16e4hzv5jb/tests/playbooks/tasks/assert_device_present.yml:5 Monday 25 December 2023 22:02:35 +0000 (0:00:00.198) 0:00:40.467 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/assert_profile_absent.yml:3 Monday 25 December 2023 22:02:35 +0000 (0:00:00.025) 0:00:40.492 ******* included: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/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.16e4hzv5jb/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 25 December 2023 22:02:35 +0000 (0:00:00.045) 0:00:40.537 ******* 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.16e4hzv5jb/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 25 December 2023 22:02:35 +0000 (0:00:00.026) 0:00:40.564 ******* 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.16e4hzv5jb/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 25 December 2023 22:02:36 +0000 (0:00:00.236) 0:00:40.800 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 25 December 2023 22:02:36 +0000 (0:00:00.046) 0:00:40.848 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021431", "end": "2023-12-25 22:02:36.387903", "rc": 1, "start": "2023-12-25 22:02:36.366472" } 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.16e4hzv5jb/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 25 December 2023 22:02:36 +0000 (0:00:00.230) 0:00:41.078 ******* 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.16e4hzv5jb/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 25 December 2023 22:02:36 +0000 (0:00:00.025) 0:00:41.104 ******* 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.16e4hzv5jb/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 25 December 2023 22:02:36 +0000 (0:00:00.021) 0:00:41.126 ******* 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.16e4hzv5jb/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 25 December 2023 22:02:36 +0000 (0:00:00.023) 0:00:41.149 ******* 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.16e4hzv5jb/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 25 December 2023 22:02:36 +0000 (0:00:00.024) 0:00:41.174 ******* 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.16e4hzv5jb/tests/playbooks/tasks/assert_profile_absent.yml:5 Monday 25 December 2023 22:02:36 +0000 (0:00:00.028) 0:00:41.202 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/run_test.yml:42 Monday 25 December 2023 22:02:36 +0000 (0:00:00.026) 0:00:41.229 ******* TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/run_test.yml:47 Monday 25 December 2023 22:02:36 +0000 (0:00:00.048) 0:00:41.277 ******* 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.16e4hzv5jb/tests/playbooks/tasks/run_test.yml:66 Monday 25 December 2023 22:02:36 +0000 (0:00:00.065) 0:00:41.343 ******* included: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 25 December 2023 22:02:36 +0000 (0:00:00.041) 0:00:41.384 ******* 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.065285", "end": "2023-12-25 22:02:36.954983", "rc": 1, "start": "2023-12-25 22:02:36.889698" } STDOUT: Connection 'statebr' (b9c1453e-1f84-4e32-8c06-398c4a7f1115) 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.16e4hzv5jb/tests/playbooks/tests_states.yml:103 Monday 25 December 2023 22:02:36 +0000 (0:00:00.262) 0:00:41.646 ******* included: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/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.16e4hzv5jb/tests/playbooks/tasks/run_test.yml:5 Monday 25 December 2023 22:02:37 +0000 (0:00:00.042) 0:00:41.688 ******* ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/run_test.yml:9 Monday 25 December 2023 22:02:37 +0000 (0:00:00.021) 0:00:41.710 ******* 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.16e4hzv5jb/tests/playbooks/tasks/run_test.yml:21 Monday 25 December 2023 22:02:37 +0000 (0:00:00.044) 0:00:41.755 ******* included: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/show_interfaces.yml:3 Monday 25 December 2023 22:02:37 +0000 (0:00:00.036) 0:00:41.791 ******* included: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 25 December 2023 22:02:37 +0000 (0:00:00.037) 0:00:41.828 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003436", "end": "2023-12-25 22:02:37.338697", "rc": 0, "start": "2023-12-25 22:02:37.335261" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 25 December 2023 22:02:37 +0000 (0:00:00.200) 0:00:42.029 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/show_interfaces.yml:5 Monday 25 December 2023 22:02:37 +0000 (0:00:00.058) 0:00:42.087 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/run_test.yml:24 Monday 25 December 2023 22:02:37 +0000 (0:00:00.048) 0:00:42.135 ******* included: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 25 December 2023 22:02:37 +0000 (0:00:00.097) 0:00:42.232 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 25 December 2023 22:02:37 +0000 (0:00:00.040) 0:00:42.273 ******* included: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 25 December 2023 22:02:37 +0000 (0:00:00.042) 0:00:42.316 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 25 December 2023 22:02:37 +0000 (0:00:00.028) 0:00:42.344 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 25 December 2023 22:02:37 +0000 (0:00:00.033) 0:00:42.377 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 25 December 2023 22:02:37 +0000 (0:00:00.044) 0:00:42.421 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 25 December 2023 22:02:39 +0000 (0:00:01.399) 0:00:43.820 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 25 December 2023 22:02:40 +0000 (0:00:00.951) 0:00:44.771 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 25 December 2023 22:02:40 +0000 (0:00:00.023) 0:00:44.795 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 25 December 2023 22:02:40 +0000 (0:00:00.022) 0:00:44.817 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 25 December 2023 22:02:40 +0000 (0:00:00.037) 0:00:44.855 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 25 December 2023 22:02:40 +0000 (0:00:00.067) 0:00:44.923 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 25 December 2023 22:02:40 +0000 (0:00:00.029) 0:00:44.952 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 25 December 2023 22:02:40 +0000 (0:00:00.028) 0:00:44.981 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 25 December 2023 22:02:40 +0000 (0:00:00.035) 0:00:45.016 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 25 December 2023 22:02:40 +0000 (0:00:00.353) 0:00:45.370 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 25 December 2023 22:02:40 +0000 (0:00:00.028) 0:00:45.399 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 25 December 2023 22:02:40 +0000 (0:00:00.020) 0:00:45.419 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 25 December 2023 22:02:40 +0000 (0:00:00.021) 0:00:45.441 ******* 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, bcc34941-f6c7-4563-84fd-c353031ef086 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 25 December 2023 22:02:41 +0000 (0:00:00.441) 0:00:45.882 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 25 December 2023 22:02:41 +0000 (0:00:00.031) 0:00:45.914 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, bcc34941-f6c7-4563-84fd-c353031ef086" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 25 December 2023 22:02:41 +0000 (0:00:00.029) 0:00:45.943 ******* 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, bcc34941-f6c7-4563-84fd-c353031ef086\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, bcc34941-f6c7-4563-84fd-c353031ef086" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 25 December 2023 22:02:41 +0000 (0:00:00.074) 0:00:46.017 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 25 December 2023 22:02:41 +0000 (0:00:00.022) 0:00:46.040 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 25 December 2023 22:02:41 +0000 (0:00:00.207) 0:00:46.247 ******* 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, bcc34941-f6c7-4563-84fd-c353031ef086\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, bcc34941-f6c7-4563-84fd-c353031ef086" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/activate_profile.yml:3 Monday 25 December 2023 22:02:41 +0000 (0:00:00.042) 0:00:46.290 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 25 December 2023 22:02:41 +0000 (0:00:00.048) 0:00:46.338 ******* included: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 25 December 2023 22:02:41 +0000 (0:00:00.066) 0:00:46.404 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 25 December 2023 22:02:41 +0000 (0:00:00.026) 0:00:46.431 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 25 December 2023 22:02:41 +0000 (0:00:00.021) 0:00:46.452 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 25 December 2023 22:02:41 +0000 (0:00:00.021) 0:00:46.474 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 25 December 2023 22:02:43 +0000 (0:00:01.451) 0:00:47.925 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 25 December 2023 22:02:44 +0000 (0:00:00.915) 0:00:48.840 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 25 December 2023 22:02:44 +0000 (0:00:00.023) 0:00:48.864 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 25 December 2023 22:02:44 +0000 (0:00:00.047) 0:00:48.911 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 25 December 2023 22:02:44 +0000 (0:00:00.028) 0:00:48.940 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 25 December 2023 22:02:44 +0000 (0:00:00.059) 0:00:49.000 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 25 December 2023 22:02:44 +0000 (0:00:00.025) 0:00:49.025 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 25 December 2023 22:02:44 +0000 (0:00:00.022) 0:00:49.047 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 25 December 2023 22:02:44 +0000 (0:00:00.030) 0:00:49.077 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 25 December 2023 22:02:44 +0000 (0:00:00.394) 0:00:49.472 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 25 December 2023 22:02:44 +0000 (0:00:00.027) 0:00:49.499 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 25 December 2023 22:02:44 +0000 (0:00:00.063) 0:00:49.563 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 25 December 2023 22:02:44 +0000 (0:00:00.059) 0:00:49.622 ******* 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, bcc34941-f6c7-4563-84fd-c353031ef086 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 25 December 2023 22:02:45 +0000 (0:00:00.352) 0:00:49.975 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 25 December 2023 22:02:45 +0000 (0:00:00.020) 0:00:49.996 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, bcc34941-f6c7-4563-84fd-c353031ef086 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 25 December 2023 22:02:45 +0000 (0:00:00.023) 0:00:50.019 ******* 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, bcc34941-f6c7-4563-84fd-c353031ef086 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, bcc34941-f6c7-4563-84fd-c353031ef086 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 25 December 2023 22:02:45 +0000 (0:00:00.022) 0:00:50.042 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 25 December 2023 22:02:45 +0000 (0:00:00.020) 0:00:50.062 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/remove_profile.yml:3 Monday 25 December 2023 22:02:45 +0000 (0:00:00.187) 0:00:50.250 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 25 December 2023 22:02:45 +0000 (0:00:00.039) 0:00:50.290 ******* included: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 25 December 2023 22:02:45 +0000 (0:00:00.041) 0:00:50.331 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 25 December 2023 22:02:45 +0000 (0:00:00.027) 0:00:50.359 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 25 December 2023 22:02:45 +0000 (0:00:00.022) 0:00:50.381 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 25 December 2023 22:02:45 +0000 (0:00:00.020) 0:00:50.401 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 25 December 2023 22:02:47 +0000 (0:00:01.410) 0:00:51.812 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 25 December 2023 22:02:48 +0000 (0:00:01.027) 0:00:52.840 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 25 December 2023 22:02:48 +0000 (0:00:00.043) 0:00:52.883 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 25 December 2023 22:02:48 +0000 (0:00:00.035) 0:00:52.918 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 25 December 2023 22:02:48 +0000 (0:00:00.023) 0:00:52.941 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 25 December 2023 22:02:48 +0000 (0:00:00.069) 0:00:53.010 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 25 December 2023 22:02:48 +0000 (0:00:00.040) 0:00:53.051 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 25 December 2023 22:02:48 +0000 (0:00:00.021) 0:00:53.073 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 25 December 2023 22:02:48 +0000 (0:00:00.040) 0:00:53.113 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 25 December 2023 22:02:48 +0000 (0:00:00.404) 0:00:53.517 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 25 December 2023 22:02:48 +0000 (0:00:00.040) 0:00:53.558 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 25 December 2023 22:02:48 +0000 (0:00:00.020) 0:00:53.579 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 25 December 2023 22:02:48 +0000 (0:00:00.021) 0:00:53.600 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 25 December 2023 22:02:49 +0000 (0:00:00.394) 0:00:53.994 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 25 December 2023 22:02:49 +0000 (0:00:00.035) 0:00:54.030 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 25 December 2023 22:02:49 +0000 (0:00:00.038) 0:00:54.068 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 25 December 2023 22:02:49 +0000 (0:00:00.026) 0:00:54.094 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 25 December 2023 22:02:49 +0000 (0:00:00.029) 0:00:54.123 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/run_test.yml:30 Monday 25 December 2023 22:02:49 +0000 (0:00:00.189) 0:00:54.313 ******* included: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/remove+down_profile.yml:3 Monday 25 December 2023 22:02:49 +0000 (0:00:00.050) 0:00:54.363 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 25 December 2023 22:02:49 +0000 (0:00:00.050) 0:00:54.413 ******* included: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 25 December 2023 22:02:49 +0000 (0:00:00.069) 0:00:54.483 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 25 December 2023 22:02:49 +0000 (0:00:00.028) 0:00:54.511 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 25 December 2023 22:02:49 +0000 (0:00:00.021) 0:00:54.533 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 25 December 2023 22:02:49 +0000 (0:00:00.021) 0:00:54.554 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 25 December 2023 22:02:51 +0000 (0:00:01.414) 0:00:55.968 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 25 December 2023 22:02:52 +0000 (0:00:00.917) 0:00:56.886 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 25 December 2023 22:02:52 +0000 (0:00:00.053) 0:00:56.940 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 25 December 2023 22:02:52 +0000 (0:00:00.030) 0:00:56.970 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 25 December 2023 22:02:52 +0000 (0:00:00.023) 0:00:56.994 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 25 December 2023 22:02:52 +0000 (0:00:00.054) 0:00:57.048 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 25 December 2023 22:02:52 +0000 (0:00:00.021) 0:00:57.069 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 25 December 2023 22:02:52 +0000 (0:00:00.024) 0:00:57.093 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 25 December 2023 22:02:52 +0000 (0:00:00.033) 0:00:57.126 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 25 December 2023 22:02:52 +0000 (0:00:00.362) 0:00:57.489 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 25 December 2023 22:02:52 +0000 (0:00:00.031) 0:00:57.521 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 25 December 2023 22:02:52 +0000 (0:00:00.022) 0:00:57.544 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 25 December 2023 22:02:52 +0000 (0:00:00.022) 0:00:57.566 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 25 December 2023 22:02:53 +0000 (0:00:00.430) 0:00:57.997 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 25 December 2023 22:02:53 +0000 (0:00:00.022) 0:00:58.019 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 25 December 2023 22:02:53 +0000 (0:00:00.025) 0:00:58.044 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 25 December 2023 22:02:53 +0000 (0:00:00.026) 0:00:58.071 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 25 December 2023 22:02:53 +0000 (0:00:00.063) 0:00:58.134 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/run_test.yml:36 Monday 25 December 2023 22:02:53 +0000 (0:00:00.191) 0:00:58.325 ******* included: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/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.16e4hzv5jb/tests/playbooks/tasks/assert_profile_absent.yml:3 Monday 25 December 2023 22:02:53 +0000 (0:00:00.039) 0:00:58.365 ******* included: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/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.16e4hzv5jb/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 25 December 2023 22:02:53 +0000 (0:00:00.037) 0:00:58.403 ******* 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.16e4hzv5jb/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 25 December 2023 22:02:53 +0000 (0:00:00.022) 0:00:58.425 ******* 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.16e4hzv5jb/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 25 December 2023 22:02:53 +0000 (0:00:00.195) 0:00:58.620 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 25 December 2023 22:02:53 +0000 (0:00:00.033) 0:00:58.653 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020986", "end": "2023-12-25 22:02:54.201786", "rc": 1, "start": "2023-12-25 22:02:54.180800" } 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.16e4hzv5jb/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 25 December 2023 22:02:54 +0000 (0:00:00.239) 0:00:58.893 ******* 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.16e4hzv5jb/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 25 December 2023 22:02:54 +0000 (0:00:00.022) 0:00:58.916 ******* 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.16e4hzv5jb/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 25 December 2023 22:02:54 +0000 (0:00:00.022) 0:00:58.938 ******* 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.16e4hzv5jb/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 25 December 2023 22:02:54 +0000 (0:00:00.023) 0:00:58.961 ******* 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.16e4hzv5jb/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 25 December 2023 22:02:54 +0000 (0:00:00.022) 0:00:58.984 ******* 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.16e4hzv5jb/tests/playbooks/tasks/assert_profile_absent.yml:5 Monday 25 December 2023 22:02:54 +0000 (0:00:00.024) 0:00:59.008 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/run_test.yml:42 Monday 25 December 2023 22:02:54 +0000 (0:00:00.026) 0:00:59.034 ******* included: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/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.16e4hzv5jb/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 25 December 2023 22:02:54 +0000 (0:00:00.071) 0:00:59.106 ******* included: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 25 December 2023 22:02:54 +0000 (0:00:00.038) 0:00:59.145 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 25 December 2023 22:02:54 +0000 (0:00:00.201) 0:00:59.346 ******* 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.16e4hzv5jb/tests/playbooks/tasks/run_test.yml:47 Monday 25 December 2023 22:02:54 +0000 (0:00:00.036) 0:00:59.382 ******* 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.16e4hzv5jb/tests/playbooks/tasks/run_test.yml:66 Monday 25 December 2023 22:02:54 +0000 (0:00:00.024) 0:00:59.407 ******* included: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 25 December 2023 22:02:54 +0000 (0:00:00.043) 0:00:59.450 ******* 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.039337", "end": "2023-12-25 22:02:55.012378", "rc": 1, "start": "2023-12-25 22:02:54.973041" } 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.16e4hzv5jb/tests/playbooks/tests_states.yml:126 Monday 25 December 2023 22:02:55 +0000 (0:00:00.258) 0:00:59.708 ******* included: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/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.16e4hzv5jb/tests/playbooks/tasks/run_test.yml:5 Monday 25 December 2023 22:02:55 +0000 (0:00:00.043) 0:00:59.752 ******* 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.16e4hzv5jb/tests/playbooks/tasks/run_test.yml:9 Monday 25 December 2023 22:02:55 +0000 (0:00:00.030) 0:00:59.783 ******* 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.16e4hzv5jb/tests/playbooks/tasks/run_test.yml:21 Monday 25 December 2023 22:02:55 +0000 (0:00:00.050) 0:00:59.833 ******* included: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/show_interfaces.yml:3 Monday 25 December 2023 22:02:55 +0000 (0:00:00.041) 0:00:59.875 ******* included: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 25 December 2023 22:02:55 +0000 (0:00:00.068) 0:00:59.944 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003102", "end": "2023-12-25 22:02:55.458327", "rc": 0, "start": "2023-12-25 22:02:55.455225" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 25 December 2023 22:02:55 +0000 (0:00:00.205) 0:01:00.150 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/show_interfaces.yml:5 Monday 25 December 2023 22:02:55 +0000 (0:00:00.023) 0:01:00.174 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/run_test.yml:24 Monday 25 December 2023 22:02:55 +0000 (0:00:00.022) 0:01:00.196 ******* included: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 25 December 2023 22:02:55 +0000 (0:00:00.043) 0:01:00.240 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 25 December 2023 22:02:55 +0000 (0:00:00.036) 0:01:00.277 ******* included: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 25 December 2023 22:02:55 +0000 (0:00:00.041) 0:01:00.318 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 25 December 2023 22:02:55 +0000 (0:00:00.026) 0:01:00.345 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 25 December 2023 22:02:55 +0000 (0:00:00.030) 0:01:00.375 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 25 December 2023 22:02:55 +0000 (0:00:00.036) 0:01:00.412 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 25 December 2023 22:02:57 +0000 (0:00:01.401) 0:01:01.813 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 25 December 2023 22:02:58 +0000 (0:00:00.916) 0:01:02.729 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 25 December 2023 22:02:58 +0000 (0:00:00.024) 0:01:02.753 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 25 December 2023 22:02:58 +0000 (0:00:00.021) 0:01:02.775 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 25 December 2023 22:02:58 +0000 (0:00:00.023) 0:01:02.798 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 25 December 2023 22:02:58 +0000 (0:00:00.045) 0:01:02.844 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 25 December 2023 22:02:58 +0000 (0:00:00.037) 0:01:02.882 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 25 December 2023 22:02:58 +0000 (0:00:00.022) 0:01:02.904 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 25 December 2023 22:02:58 +0000 (0:00:00.027) 0:01:02.932 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 25 December 2023 22:02:58 +0000 (0:00:00.372) 0:01:03.305 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 25 December 2023 22:02:58 +0000 (0:00:00.028) 0:01:03.333 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 25 December 2023 22:02:58 +0000 (0:00:00.029) 0:01:03.363 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 25 December 2023 22:02:58 +0000 (0:00:00.060) 0:01:03.424 ******* 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, d331a400-f48a-468d-8f9a-c92f31c04425 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 25 December 2023 22:02:59 +0000 (0:00:00.398) 0:01:03.822 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 25 December 2023 22:02:59 +0000 (0:00:00.023) 0:01:03.845 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d331a400-f48a-468d-8f9a-c92f31c04425" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 25 December 2023 22:02:59 +0000 (0:00:00.023) 0:01:03.869 ******* 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, d331a400-f48a-468d-8f9a-c92f31c04425\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d331a400-f48a-468d-8f9a-c92f31c04425" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 25 December 2023 22:02:59 +0000 (0:00:00.024) 0:01:03.894 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 25 December 2023 22:02:59 +0000 (0:00:00.023) 0:01:03.917 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 25 December 2023 22:02:59 +0000 (0:00:00.201) 0:01:04.118 ******* 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, d331a400-f48a-468d-8f9a-c92f31c04425\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d331a400-f48a-468d-8f9a-c92f31c04425" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/activate_profile.yml:3 Monday 25 December 2023 22:02:59 +0000 (0:00:00.023) 0:01:04.142 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 25 December 2023 22:02:59 +0000 (0:00:00.038) 0:01:04.180 ******* included: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 25 December 2023 22:02:59 +0000 (0:00:00.050) 0:01:04.231 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 25 December 2023 22:02:59 +0000 (0:00:00.070) 0:01:04.301 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 25 December 2023 22:02:59 +0000 (0:00:00.022) 0:01:04.324 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 25 December 2023 22:02:59 +0000 (0:00:00.027) 0:01:04.351 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 25 December 2023 22:03:01 +0000 (0:00:01.399) 0:01:05.750 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 25 December 2023 22:03:02 +0000 (0:00:00.927) 0:01:06.678 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 25 December 2023 22:03:02 +0000 (0:00:00.050) 0:01:06.728 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 25 December 2023 22:03:02 +0000 (0:00:00.025) 0:01:06.753 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 25 December 2023 22:03:02 +0000 (0:00:00.024) 0:01:06.778 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 25 December 2023 22:03:02 +0000 (0:00:00.043) 0:01:06.822 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 25 December 2023 22:03:02 +0000 (0:00:00.028) 0:01:06.850 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 25 December 2023 22:03:02 +0000 (0:00:00.024) 0:01:06.875 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 25 December 2023 22:03:02 +0000 (0:00:00.024) 0:01:06.899 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 25 December 2023 22:03:02 +0000 (0:00:00.354) 0:01:07.254 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 25 December 2023 22:03:02 +0000 (0:00:00.026) 0:01:07.280 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 25 December 2023 22:03:02 +0000 (0:00:00.022) 0:01:07.303 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 25 December 2023 22:03:02 +0000 (0:00:00.023) 0:01:07.326 ******* 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, d331a400-f48a-468d-8f9a-c92f31c04425 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 25 December 2023 22:03:03 +0000 (0:00:00.356) 0:01:07.682 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 25 December 2023 22:03:03 +0000 (0:00:00.023) 0:01:07.706 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, d331a400-f48a-468d-8f9a-c92f31c04425 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 25 December 2023 22:03:03 +0000 (0:00:00.037) 0:01:07.743 ******* 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, d331a400-f48a-468d-8f9a-c92f31c04425 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, d331a400-f48a-468d-8f9a-c92f31c04425 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 25 December 2023 22:03:03 +0000 (0:00:00.040) 0:01:07.784 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 25 December 2023 22:03:03 +0000 (0:00:00.049) 0:01:07.834 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/remove+down_profile.yml:3 Monday 25 December 2023 22:03:03 +0000 (0:00:00.187) 0:01:08.021 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 25 December 2023 22:03:03 +0000 (0:00:00.036) 0:01:08.057 ******* included: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 25 December 2023 22:03:03 +0000 (0:00:00.040) 0:01:08.098 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 25 December 2023 22:03:03 +0000 (0:00:00.027) 0:01:08.126 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 25 December 2023 22:03:03 +0000 (0:00:00.020) 0:01:08.146 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 25 December 2023 22:03:03 +0000 (0:00:00.020) 0:01:08.167 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 25 December 2023 22:03:04 +0000 (0:00:01.390) 0:01:09.557 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 25 December 2023 22:03:05 +0000 (0:00:00.951) 0:01:10.508 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 25 December 2023 22:03:05 +0000 (0:00:00.035) 0:01:10.544 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 25 December 2023 22:03:05 +0000 (0:00:00.021) 0:01:10.565 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 25 December 2023 22:03:05 +0000 (0:00:00.030) 0:01:10.596 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 25 December 2023 22:03:05 +0000 (0:00:00.045) 0:01:10.642 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 25 December 2023 22:03:06 +0000 (0:00:00.031) 0:01:10.673 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 25 December 2023 22:03:06 +0000 (0:00:00.023) 0:01:10.696 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 25 December 2023 22:03:06 +0000 (0:00:00.026) 0:01:10.723 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 25 December 2023 22:03:06 +0000 (0:00:00.355) 0:01:11.078 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 25 December 2023 22:03:06 +0000 (0:00:00.025) 0:01:11.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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 25 December 2023 22:03:06 +0000 (0:00:00.021) 0:01:11.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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 25 December 2023 22:03:06 +0000 (0:00:00.020) 0:01:11.146 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 25 December 2023 22:03:06 +0000 (0:00:00.452) 0:01:11.599 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 25 December 2023 22:03:06 +0000 (0:00:00.035) 0:01:11.634 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 25 December 2023 22:03:07 +0000 (0:00:00.040) 0:01:11.674 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 25 December 2023 22:03:07 +0000 (0:00:00.025) 0:01:11.700 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 25 December 2023 22:03:07 +0000 (0:00:00.024) 0:01:11.725 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/run_test.yml:30 Monday 25 December 2023 22:03:07 +0000 (0:00:00.190) 0:01:11.915 ******* included: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/remove+down_profile.yml:3 Monday 25 December 2023 22:03:07 +0000 (0:00:00.038) 0:01:11.954 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 25 December 2023 22:03:07 +0000 (0:00:00.034) 0:01:11.988 ******* included: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 25 December 2023 22:03:07 +0000 (0:00:00.039) 0:01:12.028 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 25 December 2023 22:03:07 +0000 (0:00:00.027) 0:01:12.055 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 25 December 2023 22:03:07 +0000 (0:00:00.023) 0:01:12.079 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 25 December 2023 22:03:07 +0000 (0:00:00.020) 0:01:12.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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 25 December 2023 22:03:08 +0000 (0:00:01.409) 0:01:13.509 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 25 December 2023 22:03:09 +0000 (0:00:00.929) 0:01:14.438 ******* ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 25 December 2023 22:03:09 +0000 (0:00:00.036) 0:01:14.474 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 25 December 2023 22:03:09 +0000 (0:00:00.025) 0:01:14.500 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 25 December 2023 22:03:09 +0000 (0:00:00.044) 0:01:14.545 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 25 December 2023 22:03:09 +0000 (0:00:00.061) 0:01:14.607 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 25 December 2023 22:03:09 +0000 (0:00:00.055) 0:01:14.662 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 25 December 2023 22:03:10 +0000 (0:00:00.023) 0:01:14.685 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 25 December 2023 22:03:10 +0000 (0:00:00.024) 0:01:14.710 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 25 December 2023 22:03:10 +0000 (0:00:00.371) 0:01:15.081 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 25 December 2023 22:03:10 +0000 (0:00:00.027) 0:01:15.109 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 25 December 2023 22:03:10 +0000 (0:00:00.034) 0:01:15.143 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 25 December 2023 22:03:10 +0000 (0:00:00.033) 0:01:15.177 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 25 December 2023 22:03:10 +0000 (0:00:00.382) 0:01:15.559 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 25 December 2023 22:03:10 +0000 (0:00:00.038) 0:01:15.597 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 25 December 2023 22:03:10 +0000 (0:00:00.022) 0:01:15.620 ******* 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.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 25 December 2023 22:03:10 +0000 (0:00:00.025) 0:01:15.645 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 25 December 2023 22:03:11 +0000 (0:00:00.023) 0:01:15.668 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/run_test.yml:36 Monday 25 December 2023 22:03:11 +0000 (0:00:00.215) 0:01:15.884 ******* included: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/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.16e4hzv5jb/tests/playbooks/tasks/assert_profile_absent.yml:3 Monday 25 December 2023 22:03:11 +0000 (0:00:00.105) 0:01:15.989 ******* included: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/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.16e4hzv5jb/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 25 December 2023 22:03:11 +0000 (0:00:00.056) 0:01:16.046 ******* 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.16e4hzv5jb/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 25 December 2023 22:03:11 +0000 (0:00:00.023) 0:01:16.070 ******* 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.16e4hzv5jb/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 25 December 2023 22:03:11 +0000 (0:00:00.192) 0:01:16.262 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 25 December 2023 22:03:11 +0000 (0:00:00.022) 0:01:16.285 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020744", "end": "2023-12-25 22:03:11.808390", "rc": 1, "start": "2023-12-25 22:03:11.787646" } 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.16e4hzv5jb/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 25 December 2023 22:03:11 +0000 (0:00:00.214) 0:01:16.499 ******* 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.16e4hzv5jb/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 25 December 2023 22:03:11 +0000 (0:00:00.022) 0:01:16.522 ******* 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.16e4hzv5jb/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 25 December 2023 22:03:11 +0000 (0:00:00.021) 0:01:16.543 ******* 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.16e4hzv5jb/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 25 December 2023 22:03:11 +0000 (0:00:00.022) 0:01:16.566 ******* 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.16e4hzv5jb/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 25 December 2023 22:03:11 +0000 (0:00:00.023) 0:01:16.589 ******* 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.16e4hzv5jb/tests/playbooks/tasks/assert_profile_absent.yml:5 Monday 25 December 2023 22:03:11 +0000 (0:00:00.025) 0:01:16.615 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Monday 25 December 2023 22:03:11 +0000 (0:00:00.024) 0:01:16.639 ******* ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.558557", "end": "2023-12-25 22:03:12.702138", "rc": 0, "start": "2023-12-25 22:03:12.143581" } STDOUT: NetworkManager-1.45.7-1.el9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Monday 25 December 2023 22:03:12 +0000 (0:00:00.754) 0:01:17.394 ******* ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.45.7-1.el9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Monday 25 December 2023 22:03:12 +0000 (0:00:00.051) 0:01:17.445 ******* ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.45.7-1.el9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/run_test.yml:42 Monday 25 December 2023 22:03:12 +0000 (0:00:00.023) 0:01:17.469 ******* included: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/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.16e4hzv5jb/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 25 December 2023 22:03:12 +0000 (0:00:00.046) 0:01:17.515 ******* included: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 25 December 2023 22:03:12 +0000 (0:00:00.036) 0:01:17.551 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 25 December 2023 22:03:13 +0000 (0:00:00.207) 0:01:17.758 ******* 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.16e4hzv5jb/tests/playbooks/tasks/run_test.yml:47 Monday 25 December 2023 22:03:13 +0000 (0:00:00.025) 0:01:17.784 ******* 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.16e4hzv5jb/tests/playbooks/tasks/run_test.yml:66 Monday 25 December 2023 22:03:13 +0000 (0:00:00.030) 0:01:17.814 ******* included: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 25 December 2023 22:03:13 +0000 (0:00:00.046) 0:01:17.860 ******* 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.041480", "end": "2023-12-25 22:03:13.403151", "rc": 1, "start": "2023-12-25 22:03:13.361671" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=316 changed=10 unreachable=0 failed=0 skipped=252 rescued=0 ignored=11 Monday 25 December 2023 22:03:13 +0000 (0:00:00.235) 0:01:18.096 ******* =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 2.25s /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable and start NetworkManager ------------ 2.06s /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Enable and start NetworkManager ------------ 1.50s /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Check which services are running ----------- 1.48s /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.47s /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.46s /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.45s /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.44s /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 1.44s /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Check which services are running ----------- 1.43s /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.42s /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.41s /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.41s /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.41s /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.40s /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.40s /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.40s /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.39s /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.39s /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 1.26s /WORKDIR/git-ansible-lint-test-2.16e4hzv5jb/tests/roles/linux-system-roles.network/tasks/main.yml:122 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the yum, dnf or zypper module rather than running 'rpm'. If you need to use command because yum, dnf or zypper is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ---^---^---^---^---^---