# 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.16ofbpd5cb/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.16ofbpd5cb/tests/tests_states_nm.yml:5 Thursday 14 December 2023 17:32:23 +0000 (0:00:00.012) 0:00:00.012 ***** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/tests_states_nm.yml:9 Thursday 14 December 2023 17:32:23 +0000 (0:00:00.646) 0:00:00.658 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/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.16ofbpd5cb/tests/tasks/el_repo_setup.yml:3 Thursday 14 December 2023 17:32:23 +0000 (0:00:00.021) 0:00:00.680 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/tasks/el_repo_setup.yml:19 Thursday 14 December 2023 17:32:24 +0000 (0:00:00.320) 0:00:01.000 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/tasks/el_repo_setup.yml:24 Thursday 14 December 2023 17:32:24 +0000 (0:00:00.245) 0:00:01.246 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/tasks/el_repo_setup.yml:28 Thursday 14 December 2023 17:32:24 +0000 (0:00:00.019) 0:00:01.265 ***** 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.16ofbpd5cb/tests/tasks/el_repo_setup.yml:53 Thursday 14 December 2023 17:32:24 +0000 (0:00:00.039) 0:00:01.304 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 9] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/tasks/enable_epel.yml:8 Thursday 14 December 2023 17:32:24 +0000 (0:00:00.041) 0:00:01.346 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/tasks/enable_epel.yml:24 Thursday 14 December 2023 17:32:24 +0000 (0:00:00.010) 0:00:01.357 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/tasks/enable_epel.yml:30 Thursday 14 December 2023 17:32:24 +0000 (0:00:00.009) 0:00:01.367 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/tasks/enable_epel.yml:35 Thursday 14 December 2023 17:32:24 +0000 (0:00:00.009) 0:00:01.376 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/tasks/enable_epel.yml:40 Thursday 14 December 2023 17:32:24 +0000 (0:00:00.009) 0:00:01.385 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/tests_states_nm.yml:11 Thursday 14 December 2023 17:32:24 +0000 (0:00:00.009) 0:00:01.395 ***** 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.16ofbpd5cb/tests/playbooks/tests_states.yml:3 Thursday 14 December 2023 17:32:24 +0000 (0:00:00.010) 0:00:01.405 ***** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tests_states.yml:11 Thursday 14 December 2023 17:32:25 +0000 (0:00:00.512) 0:00:01.918 ***** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tests_states.yml:22 Thursday 14 December 2023 17:32:25 +0000 (0:00:00.012) 0:00:01.931 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/run_test.yml:5 Thursday 14 December 2023 17:32:25 +0000 (0:00:00.016) 0:00:01.947 ***** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/run_test.yml:9 Thursday 14 December 2023 17:32:25 +0000 (0:00:00.010) 0:00:01.958 ***** 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.16ofbpd5cb/tests/playbooks/tasks/run_test.yml:21 Thursday 14 December 2023 17:32:25 +0000 (0:00:00.032) 0:00:01.990 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 14 December 2023 17:32:25 +0000 (0:00:00.013) 0:00:02.003 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 14 December 2023 17:32:25 +0000 (0:00:00.011) 0:00:02.015 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003276", "end": "2023-12-14 12:32:25.487741", "rc": 0, "start": "2023-12-14 12:32:25.484465" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 14 December 2023 17:32:25 +0000 (0:00:00.227) 0:00:02.242 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 14 December 2023 17:32:25 +0000 (0:00:00.012) 0:00:02.254 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/run_test.yml:24 Thursday 14 December 2023 17:32:25 +0000 (0:00:00.010) 0:00:02.264 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/delete_interface.yml:3 Thursday 14 December 2023 17:32:25 +0000 (0:00:00.019) 0:00:02.284 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007466", "end": "2023-12-14 12:32:25.714768", "rc": 1, "start": "2023-12-14 12:32:25.707302" } 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.16ofbpd5cb/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 14 December 2023 17:32:25 +0000 (0:00:00.184) 0:00:02.469 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 14 December 2023 17:32:25 +0000 (0:00:00.014) 0:00:02.484 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 14 December 2023 17:32:25 +0000 (0:00:00.180) 0:00:02.664 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/run_test.yml:30 Thursday 14 December 2023 17:32:25 +0000 (0:00:00.012) 0:00:02.676 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 14 December 2023 17:32:25 +0000 (0:00:00.016) 0:00:02.692 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 14 December 2023 17:32:25 +0000 (0:00:00.030) 0:00:02.723 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 14 December 2023 17:32:26 +0000 (0:00:00.068) 0:00:02.792 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 14 December 2023 17:32:26 +0000 (0:00:00.011) 0:00:02.803 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 14 December 2023 17:32:26 +0000 (0:00:00.009) 0:00:02.813 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 14 December 2023 17:32:26 +0000 (0:00:00.010) 0:00:02.824 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 14 December 2023 17:32:27 +0000 (0:00:01.496) 0:00:04.320 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 14 December 2023 17:32:28 +0000 (0:00:01.099) 0:00:05.419 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 14 December 2023 17:32:28 +0000 (0:00:00.034) 0:00:05.454 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 14 December 2023 17:32:28 +0000 (0:00:00.023) 0:00:05.477 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 14 December 2023 17:32:28 +0000 (0:00:00.023) 0:00:05.500 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 14 December 2023 17:32:28 +0000 (0:00:00.054) 0:00:05.555 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 14 December 2023 17:32:28 +0000 (0:00:00.024) 0:00:05.579 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 14 December 2023 17:32:28 +0000 (0:00:00.026) 0:00:05.605 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 14 December 2023 17:32:28 +0000 (0:00:00.032) 0:00:05.638 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 14 December 2023 17:32:29 +0000 (0:00:00.511) 0:00:06.149 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 14 December 2023 17:32:29 +0000 (0:00:00.023) 0:00:06.173 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 14 December 2023 17:32:29 +0000 (0:00:00.019) 0:00:06.193 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 14 December 2023 17:32:29 +0000 (0:00:00.019) 0:00:06.213 ***** 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, f744db40-5338-4163-a54d-2ac435ca224d TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 14 December 2023 17:32:29 +0000 (0:00:00.503) 0:00:06.717 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 14 December 2023 17:32:30 +0000 (0:00:00.021) 0:00:06.738 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f744db40-5338-4163-a54d-2ac435ca224d" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 14 December 2023 17:32:30 +0000 (0:00:00.041) 0:00:06.780 ***** 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, f744db40-5338-4163-a54d-2ac435ca224d\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f744db40-5338-4163-a54d-2ac435ca224d" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 14 December 2023 17:32:30 +0000 (0:00:00.022) 0:00:06.802 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 14 December 2023 17:32:30 +0000 (0:00:00.021) 0:00:06.823 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 14 December 2023 17:32:30 +0000 (0:00:00.238) 0:00:07.062 ***** 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, f744db40-5338-4163-a54d-2ac435ca224d\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f744db40-5338-4163-a54d-2ac435ca224d" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/run_test.yml:36 Thursday 14 December 2023 17:32:30 +0000 (0:00:00.035) 0:00:07.098 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/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.16ofbpd5cb/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 14 December 2023 17:32:30 +0000 (0:00:00.059) 0:00:07.158 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/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.16ofbpd5cb/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 14 December 2023 17:32:30 +0000 (0:00:00.039) 0:00:07.197 ***** 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.16ofbpd5cb/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 14 December 2023 17:32:30 +0000 (0:00:00.021) 0:00:07.219 ***** 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.16ofbpd5cb/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 14 December 2023 17:32:30 +0000 (0:00:00.190) 0:00:07.409 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 14 December 2023 17:32:30 +0000 (0:00:00.022) 0:00:07.431 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021957", "end": "2023-12-14 12:32:30.882570", "rc": 0, "start": "2023-12-14 12:32:30.860613" } 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.16ofbpd5cb/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 14 December 2023 17:32:30 +0000 (0:00:00.216) 0:00:07.648 ***** 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.16ofbpd5cb/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 14 December 2023 17:32:30 +0000 (0:00:00.032) 0:00:07.681 ***** 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.16ofbpd5cb/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 14 December 2023 17:32:30 +0000 (0:00:00.022) 0:00:07.703 ***** 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.16ofbpd5cb/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 14 December 2023 17:32:31 +0000 (0:00:00.035) 0:00:07.739 ***** 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.16ofbpd5cb/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 14 December 2023 17:32:31 +0000 (0:00:00.045) 0:00:07.784 ***** 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.16ofbpd5cb/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 14 December 2023 17:32:31 +0000 (0:00:00.025) 0:00:07.809 ***** 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.16ofbpd5cb/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 14 December 2023 17:32:31 +0000 (0:00:00.023) 0:00:07.833 ***** 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.16ofbpd5cb/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 14 December 2023 17:32:31 +0000 (0:00:00.023) 0:00:07.857 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/run_test.yml:42 Thursday 14 December 2023 17:32:31 +0000 (0:00:00.021) 0:00:07.878 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/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.16ofbpd5cb/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 14 December 2023 17:32:31 +0000 (0:00:00.043) 0:00:07.922 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 14 December 2023 17:32:31 +0000 (0:00:00.037) 0:00:07.959 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1702575149.8902478, "block_size": 4096, "blocks": 0, "ctime": 1702575149.8902478, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 30118, "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": 1702575149.8902478, "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.16ofbpd5cb/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 14 December 2023 17:32:31 +0000 (0:00:00.192) 0:00:08.152 ***** 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.16ofbpd5cb/tests/playbooks/tasks/run_test.yml:47 Thursday 14 December 2023 17:32:31 +0000 (0:00:00.043) 0:00:08.196 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/run_test.yml:66 Thursday 14 December 2023 17:32:31 +0000 (0:00:00.027) 0:00:08.224 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 14 December 2023 17:32:31 +0000 (0:00:00.042) 0:00:08.266 ***** 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.064780", "end": "2023-12-14 12:32:31.755860", "rc": 1, "start": "2023-12-14 12:32:31.691080" } STDOUT: Connection 'statebr' (f744db40-5338-4163-a54d-2ac435ca224d) 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.16ofbpd5cb/tests/playbooks/tests_states.yml:45 Thursday 14 December 2023 17:32:31 +0000 (0:00:00.254) 0:00:08.521 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/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.16ofbpd5cb/tests/playbooks/tasks/run_test.yml:5 Thursday 14 December 2023 17:32:31 +0000 (0:00:00.058) 0:00:08.579 ***** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/run_test.yml:9 Thursday 14 December 2023 17:32:31 +0000 (0:00:00.021) 0:00:08.601 ***** 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.16ofbpd5cb/tests/playbooks/tasks/run_test.yml:21 Thursday 14 December 2023 17:32:31 +0000 (0:00:00.046) 0:00:08.648 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 14 December 2023 17:32:31 +0000 (0:00:00.054) 0:00:08.703 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 14 December 2023 17:32:32 +0000 (0:00:00.034) 0:00:08.737 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003340", "end": "2023-12-14 12:32:32.166466", "rc": 0, "start": "2023-12-14 12:32:32.163126" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 14 December 2023 17:32:32 +0000 (0:00:00.202) 0:00:08.940 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 14 December 2023 17:32:32 +0000 (0:00:00.035) 0:00:08.975 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/run_test.yml:24 Thursday 14 December 2023 17:32:32 +0000 (0:00:00.041) 0:00:09.016 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/delete_interface.yml:3 Thursday 14 December 2023 17:32:32 +0000 (0:00:00.045) 0:00:09.062 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006030", "end": "2023-12-14 12:32:32.496695", "rc": 1, "start": "2023-12-14 12:32:32.490665" } 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.16ofbpd5cb/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 14 December 2023 17:32:32 +0000 (0:00:00.198) 0:00:09.260 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 14 December 2023 17:32:32 +0000 (0:00:00.034) 0:00:09.295 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 14 December 2023 17:32:32 +0000 (0:00:00.189) 0:00:09.485 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/run_test.yml:30 Thursday 14 December 2023 17:32:32 +0000 (0:00:00.061) 0:00:09.546 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Thursday 14 December 2023 17:32:32 +0000 (0:00:00.040) 0:00:09.586 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 14 December 2023 17:32:32 +0000 (0:00:00.074) 0:00:09.661 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 14 December 2023 17:32:32 +0000 (0:00:00.043) 0:00:09.704 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 14 December 2023 17:32:32 +0000 (0:00:00.029) 0:00:09.734 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 14 December 2023 17:32:33 +0000 (0:00:00.020) 0:00:09.754 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 14 December 2023 17:32:33 +0000 (0:00:00.023) 0:00:09.778 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 14 December 2023 17:32:34 +0000 (0:00:01.441) 0:00:11.220 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 14 December 2023 17:32:35 +0000 (0:00:01.004) 0:00:12.224 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 14 December 2023 17:32:35 +0000 (0:00:00.029) 0:00:12.253 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 14 December 2023 17:32:35 +0000 (0:00:00.021) 0:00:12.274 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 14 December 2023 17:32:35 +0000 (0:00:00.020) 0:00:12.295 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 14 December 2023 17:32:35 +0000 (0:00:00.054) 0:00:12.350 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 14 December 2023 17:32:35 +0000 (0:00:00.025) 0:00:12.375 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 14 December 2023 17:32:35 +0000 (0:00:00.023) 0:00:12.398 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 14 December 2023 17:32:35 +0000 (0:00:00.060) 0:00:12.459 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 14 December 2023 17:32:36 +0000 (0:00:00.383) 0:00:12.843 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 14 December 2023 17:32:36 +0000 (0:00:00.043) 0:00:12.886 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 14 December 2023 17:32:36 +0000 (0:00:00.029) 0:00:12.916 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 14 December 2023 17:32:36 +0000 (0:00:00.058) 0:00:12.974 ***** 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, 9331ac72-206b-47cb-b47c-98e2d63da530 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 14 December 2023 17:32:36 +0000 (0:00:00.422) 0:00:13.397 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 14 December 2023 17:32:36 +0000 (0:00:00.041) 0:00:13.438 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9331ac72-206b-47cb-b47c-98e2d63da530" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 14 December 2023 17:32:36 +0000 (0:00:00.023) 0:00:13.461 ***** 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, 9331ac72-206b-47cb-b47c-98e2d63da530\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9331ac72-206b-47cb-b47c-98e2d63da530" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 14 December 2023 17:32:36 +0000 (0:00:00.028) 0:00:13.490 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 14 December 2023 17:32:36 +0000 (0:00:00.026) 0:00:13.516 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Thursday 14 December 2023 17:32:36 +0000 (0:00:00.188) 0:00:13.705 ***** 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, 9331ac72-206b-47cb-b47c-98e2d63da530\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9331ac72-206b-47cb-b47c-98e2d63da530" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/run_test.yml:36 Thursday 14 December 2023 17:32:36 +0000 (0:00:00.023) 0:00:13.728 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/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.16ofbpd5cb/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 14 December 2023 17:32:37 +0000 (0:00:00.055) 0:00:13.783 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 14 December 2023 17:32:37 +0000 (0:00:00.054) 0:00:13.838 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 14 December 2023 17:32:37 +0000 (0:00:00.194) 0:00:14.032 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 14 December 2023 17:32:37 +0000 (0:00:00.023) 0:00:14.055 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/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.16ofbpd5cb/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 14 December 2023 17:32:37 +0000 (0:00:00.036) 0:00:14.092 ***** 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.16ofbpd5cb/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 14 December 2023 17:32:37 +0000 (0:00:00.021) 0:00:14.114 ***** 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.16ofbpd5cb/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 14 December 2023 17:32:37 +0000 (0:00:00.200) 0:00:14.315 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 14 December 2023 17:32:37 +0000 (0:00:00.061) 0:00:14.376 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021112", "end": "2023-12-14 12:32:37.823004", "rc": 0, "start": "2023-12-14 12:32:37.801892" } 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.16ofbpd5cb/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 14 December 2023 17:32:37 +0000 (0:00:00.220) 0:00:14.597 ***** 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.16ofbpd5cb/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 14 December 2023 17:32:37 +0000 (0:00:00.024) 0:00:14.621 ***** 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.16ofbpd5cb/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 14 December 2023 17:32:37 +0000 (0:00:00.021) 0:00:14.643 ***** 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.16ofbpd5cb/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 14 December 2023 17:32:37 +0000 (0:00:00.022) 0:00:14.665 ***** 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.16ofbpd5cb/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 14 December 2023 17:32:37 +0000 (0:00:00.023) 0:00:14.689 ***** 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.16ofbpd5cb/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 14 December 2023 17:32:37 +0000 (0:00:00.023) 0:00:14.712 ***** 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.16ofbpd5cb/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 14 December 2023 17:32:38 +0000 (0:00:00.024) 0:00:14.737 ***** 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.16ofbpd5cb/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 14 December 2023 17:32:38 +0000 (0:00:00.023) 0:00:14.760 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/run_test.yml:42 Thursday 14 December 2023 17:32:38 +0000 (0:00:00.022) 0:00:14.783 ***** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/run_test.yml:47 Thursday 14 December 2023 17:32:38 +0000 (0:00:00.020) 0:00:14.804 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/run_test.yml:66 Thursday 14 December 2023 17:32:38 +0000 (0:00:00.022) 0:00:14.826 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 14 December 2023 17:32:38 +0000 (0:00:00.041) 0:00:14.868 ***** 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.041934", "end": "2023-12-14 12:32:38.336528", "rc": 1, "start": "2023-12-14 12:32:38.294594" } STDOUT: Connection 'statebr' (9331ac72-206b-47cb-b47c-98e2d63da530) 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.16ofbpd5cb/tests/playbooks/tests_states.yml:65 Thursday 14 December 2023 17:32:38 +0000 (0:00:00.232) 0:00:15.101 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/run_test.yml:5 Thursday 14 December 2023 17:32:38 +0000 (0:00:00.063) 0:00:15.164 ***** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/run_test.yml:9 Thursday 14 December 2023 17:32:38 +0000 (0:00:00.022) 0:00:15.187 ***** 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.16ofbpd5cb/tests/playbooks/tasks/run_test.yml:21 Thursday 14 December 2023 17:32:38 +0000 (0:00:00.048) 0:00:15.235 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 14 December 2023 17:32:38 +0000 (0:00:00.041) 0:00:15.277 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 14 December 2023 17:32:38 +0000 (0:00:00.060) 0:00:15.338 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003266", "end": "2023-12-14 12:32:38.765766", "rc": 0, "start": "2023-12-14 12:32:38.762500" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 14 December 2023 17:32:38 +0000 (0:00:00.193) 0:00:15.532 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 14 December 2023 17:32:38 +0000 (0:00:00.023) 0:00:15.555 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/run_test.yml:24 Thursday 14 December 2023 17:32:38 +0000 (0:00:00.029) 0:00:15.585 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 14 December 2023 17:32:38 +0000 (0:00:00.036) 0:00:15.621 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 14 December 2023 17:32:38 +0000 (0:00:00.036) 0:00:15.657 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 14 December 2023 17:32:38 +0000 (0:00:00.038) 0:00:15.696 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 14 December 2023 17:32:38 +0000 (0:00:00.026) 0:00:15.722 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 14 December 2023 17:32:39 +0000 (0:00:00.054) 0:00:15.777 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 14 December 2023 17:32:39 +0000 (0:00:00.024) 0:00:15.801 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 14 December 2023 17:32:40 +0000 (0:00:01.424) 0:00:17.225 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 14 December 2023 17:32:41 +0000 (0:00:00.907) 0:00:18.132 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 14 December 2023 17:32:41 +0000 (0:00:00.022) 0:00:18.155 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 14 December 2023 17:32:41 +0000 (0:00:00.022) 0:00:18.177 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 14 December 2023 17:32:41 +0000 (0:00:00.052) 0:00:18.230 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 14 December 2023 17:32:41 +0000 (0:00:00.046) 0:00:18.277 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 14 December 2023 17:32:41 +0000 (0:00:00.037) 0:00:18.314 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 14 December 2023 17:32:41 +0000 (0:00:00.020) 0:00:18.335 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 14 December 2023 17:32:41 +0000 (0:00:00.023) 0:00:18.359 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 14 December 2023 17:32:41 +0000 (0:00:00.356) 0:00:18.715 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 14 December 2023 17:32:42 +0000 (0:00:00.049) 0:00:18.764 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 14 December 2023 17:32:42 +0000 (0:00:00.025) 0:00:18.789 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 14 December 2023 17:32:42 +0000 (0:00:00.034) 0:00:18.824 ***** 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, 458c1b2e-9c16-4999-9d46-fa007ce3bada TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 14 December 2023 17:32:42 +0000 (0:00:00.408) 0:00:19.232 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 14 December 2023 17:32:42 +0000 (0:00:00.020) 0:00:19.253 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 458c1b2e-9c16-4999-9d46-fa007ce3bada" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 14 December 2023 17:32:42 +0000 (0:00:00.021) 0:00:19.274 ***** 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, 458c1b2e-9c16-4999-9d46-fa007ce3bada\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 458c1b2e-9c16-4999-9d46-fa007ce3bada" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 14 December 2023 17:32:42 +0000 (0:00:00.022) 0:00:19.296 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 14 December 2023 17:32:42 +0000 (0:00:00.026) 0:00:19.322 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 14 December 2023 17:32:42 +0000 (0:00:00.187) 0:00:19.510 ***** 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, 458c1b2e-9c16-4999-9d46-fa007ce3bada\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 458c1b2e-9c16-4999-9d46-fa007ce3bada" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/run_test.yml:30 Thursday 14 December 2023 17:32:42 +0000 (0:00:00.041) 0:00:19.552 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/activate_profile.yml:3 Thursday 14 December 2023 17:32:42 +0000 (0:00:00.095) 0:00:19.648 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 14 December 2023 17:32:42 +0000 (0:00:00.052) 0:00:19.700 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 14 December 2023 17:32:43 +0000 (0:00:00.040) 0:00:19.740 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 14 December 2023 17:32:43 +0000 (0:00:00.026) 0:00:19.767 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 14 December 2023 17:32:43 +0000 (0:00:00.020) 0:00:19.788 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 14 December 2023 17:32:43 +0000 (0:00:00.019) 0:00:19.807 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 14 December 2023 17:32:44 +0000 (0:00:01.422) 0:00:21.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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 14 December 2023 17:32:45 +0000 (0:00:00.929) 0:00:22.159 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 14 December 2023 17:32:45 +0000 (0:00:00.021) 0:00:22.181 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 14 December 2023 17:32:45 +0000 (0:00:00.020) 0:00:22.201 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 14 December 2023 17:32:45 +0000 (0:00:00.021) 0:00:22.222 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 14 December 2023 17:32:45 +0000 (0:00:00.042) 0:00:22.265 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 14 December 2023 17:32:45 +0000 (0:00:00.019) 0:00:22.284 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 14 December 2023 17:32:45 +0000 (0:00:00.020) 0:00:22.305 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 14 December 2023 17:32:45 +0000 (0:00:00.023) 0:00:22.328 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 14 December 2023 17:32:45 +0000 (0:00:00.348) 0:00:22.677 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 14 December 2023 17:32:45 +0000 (0:00:00.024) 0:00:22.702 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 14 December 2023 17:32:45 +0000 (0:00:00.019) 0:00:22.722 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 14 December 2023 17:32:46 +0000 (0:00:00.020) 0:00:22.742 ***** 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, 458c1b2e-9c16-4999-9d46-fa007ce3bada skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 14 December 2023 17:32:46 +0000 (0:00:00.427) 0:00:23.169 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 14 December 2023 17:32:46 +0000 (0:00:00.070) 0:00:23.239 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 458c1b2e-9c16-4999-9d46-fa007ce3bada skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 14 December 2023 17:32:46 +0000 (0:00:00.027) 0:00:23.267 ***** 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, 458c1b2e-9c16-4999-9d46-fa007ce3bada skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 458c1b2e-9c16-4999-9d46-fa007ce3bada skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 14 December 2023 17:32:46 +0000 (0:00:00.025) 0:00:23.292 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 14 December 2023 17:32:46 +0000 (0:00:00.031) 0:00:23.324 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/run_test.yml:36 Thursday 14 December 2023 17:32:46 +0000 (0:00:00.200) 0:00:23.524 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/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.16ofbpd5cb/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 14 December 2023 17:32:46 +0000 (0:00:00.042) 0:00:23.566 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 14 December 2023 17:32:46 +0000 (0:00:00.035) 0:00:23.602 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1702575162.4077291, "block_size": 4096, "blocks": 0, "ctime": 1702575162.4077291, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 30249, "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": 1702575162.4077291, "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.16ofbpd5cb/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 14 December 2023 17:32:47 +0000 (0:00:00.206) 0:00:23.809 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 14 December 2023 17:32:47 +0000 (0:00:00.032) 0:00:23.841 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/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.16ofbpd5cb/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 14 December 2023 17:32:47 +0000 (0:00:00.051) 0:00:23.892 ***** 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.16ofbpd5cb/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 14 December 2023 17:32:47 +0000 (0:00:00.034) 0:00:23.927 ***** 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.16ofbpd5cb/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 14 December 2023 17:32:47 +0000 (0:00:00.224) 0:00:24.151 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 14 December 2023 17:32:47 +0000 (0:00:00.020) 0:00:24.171 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021695", "end": "2023-12-14 12:32:47.618798", "rc": 0, "start": "2023-12-14 12:32:47.597103" } 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.16ofbpd5cb/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 14 December 2023 17:32:47 +0000 (0:00:00.213) 0:00:24.384 ***** 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.16ofbpd5cb/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 14 December 2023 17:32:47 +0000 (0:00:00.025) 0:00:24.410 ***** 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.16ofbpd5cb/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 14 December 2023 17:32:47 +0000 (0:00:00.022) 0:00:24.432 ***** 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.16ofbpd5cb/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 14 December 2023 17:32:47 +0000 (0:00:00.021) 0:00:24.454 ***** 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.16ofbpd5cb/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 14 December 2023 17:32:47 +0000 (0:00:00.024) 0:00:24.478 ***** 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.16ofbpd5cb/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 14 December 2023 17:32:47 +0000 (0:00:00.050) 0:00:24.529 ***** 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.16ofbpd5cb/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 14 December 2023 17:32:47 +0000 (0:00:00.032) 0:00:24.562 ***** 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.16ofbpd5cb/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 14 December 2023 17:32:47 +0000 (0:00:00.034) 0:00:24.596 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/run_test.yml:42 Thursday 14 December 2023 17:32:47 +0000 (0:00:00.040) 0:00:24.637 ***** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/run_test.yml:47 Thursday 14 December 2023 17:32:47 +0000 (0:00:00.021) 0:00:24.659 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/run_test.yml:66 Thursday 14 December 2023 17:32:47 +0000 (0:00:00.025) 0:00:24.684 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 14 December 2023 17:32:47 +0000 (0:00:00.045) 0:00:24.729 ***** 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.067396", "end": "2023-12-14 12:32:48.222231", "rc": 1, "start": "2023-12-14 12:32:48.154835" } STDOUT: Connection 'statebr' (458c1b2e-9c16-4999-9d46-fa007ce3bada) 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.16ofbpd5cb/tests/playbooks/tests_states.yml:83 Thursday 14 December 2023 17:32:48 +0000 (0:00:00.286) 0:00:25.015 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/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.16ofbpd5cb/tests/playbooks/tasks/run_test.yml:5 Thursday 14 December 2023 17:32:48 +0000 (0:00:00.071) 0:00:25.087 ***** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/run_test.yml:9 Thursday 14 December 2023 17:32:48 +0000 (0:00:00.026) 0:00:25.113 ***** 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.16ofbpd5cb/tests/playbooks/tasks/run_test.yml:21 Thursday 14 December 2023 17:32:48 +0000 (0:00:00.042) 0:00:25.156 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 14 December 2023 17:32:48 +0000 (0:00:00.034) 0:00:25.190 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 14 December 2023 17:32:48 +0000 (0:00:00.049) 0:00:25.240 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003241", "end": "2023-12-14 12:32:48.690296", "rc": 0, "start": "2023-12-14 12:32:48.687055" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 14 December 2023 17:32:48 +0000 (0:00:00.224) 0:00:25.465 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 14 December 2023 17:32:48 +0000 (0:00:00.028) 0:00:25.494 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/run_test.yml:24 Thursday 14 December 2023 17:32:48 +0000 (0:00:00.048) 0:00:25.542 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 14 December 2023 17:32:48 +0000 (0:00:00.049) 0:00:25.592 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 14 December 2023 17:32:48 +0000 (0:00:00.058) 0:00:25.651 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 14 December 2023 17:32:48 +0000 (0:00:00.040) 0:00:25.692 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 14 December 2023 17:32:49 +0000 (0:00:00.065) 0:00:25.757 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 14 December 2023 17:32:49 +0000 (0:00:00.021) 0:00:25.779 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 14 December 2023 17:32:49 +0000 (0:00:00.021) 0:00:25.800 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 14 December 2023 17:32:50 +0000 (0:00:01.414) 0:00:27.215 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 14 December 2023 17:32:51 +0000 (0:00:00.909) 0:00:28.124 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 14 December 2023 17:32:51 +0000 (0:00:00.023) 0:00:28.147 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 14 December 2023 17:32:51 +0000 (0:00:00.020) 0:00:28.168 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 14 December 2023 17:32:51 +0000 (0:00:00.040) 0:00:28.208 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 14 December 2023 17:32:51 +0000 (0:00:00.044) 0:00:28.252 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 14 December 2023 17:32:51 +0000 (0:00:00.021) 0:00:28.274 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 14 December 2023 17:32:51 +0000 (0:00:00.021) 0:00:28.296 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 14 December 2023 17:32:51 +0000 (0:00:00.024) 0:00:28.321 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 14 December 2023 17:32:51 +0000 (0:00:00.350) 0:00:28.672 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 14 December 2023 17:32:51 +0000 (0:00:00.031) 0:00:28.703 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 14 December 2023 17:32:51 +0000 (0:00:00.022) 0:00:28.726 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 14 December 2023 17:32:52 +0000 (0:00:00.025) 0:00:28.752 ***** 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, ed1622bb-ada6-443d-9ec1-5d388b010c14 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 14 December 2023 17:32:52 +0000 (0:00:00.390) 0:00:29.142 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 14 December 2023 17:32:52 +0000 (0:00:00.022) 0:00:29.165 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ed1622bb-ada6-443d-9ec1-5d388b010c14" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 14 December 2023 17:32:52 +0000 (0:00:00.023) 0:00:29.189 ***** 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, ed1622bb-ada6-443d-9ec1-5d388b010c14\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ed1622bb-ada6-443d-9ec1-5d388b010c14" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 14 December 2023 17:32:52 +0000 (0:00:00.022) 0:00:29.211 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 14 December 2023 17:32:52 +0000 (0:00:00.022) 0:00:29.233 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 14 December 2023 17:32:52 +0000 (0:00:00.211) 0:00:29.445 ***** 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, ed1622bb-ada6-443d-9ec1-5d388b010c14\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ed1622bb-ada6-443d-9ec1-5d388b010c14" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/activate_profile.yml:3 Thursday 14 December 2023 17:32:52 +0000 (0:00:00.022) 0:00:29.467 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 14 December 2023 17:32:52 +0000 (0:00:00.035) 0:00:29.502 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 14 December 2023 17:32:52 +0000 (0:00:00.040) 0:00:29.542 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 14 December 2023 17:32:52 +0000 (0:00:00.031) 0:00:29.574 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 14 December 2023 17:32:52 +0000 (0:00:00.020) 0:00:29.595 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 14 December 2023 17:32:52 +0000 (0:00:00.022) 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 : Check which packages are installed] ********* task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 14 December 2023 17:32:54 +0000 (0:00:01.439) 0:00:31.057 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 14 December 2023 17:32:55 +0000 (0:00:00.966) 0:00:32.023 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 14 December 2023 17:32:55 +0000 (0:00:00.043) 0:00:32.067 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 14 December 2023 17:32:55 +0000 (0:00:00.027) 0:00:32.095 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 14 December 2023 17:32:55 +0000 (0:00:00.040) 0:00:32.135 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 14 December 2023 17:32:55 +0000 (0:00:00.049) 0:00:32.185 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 14 December 2023 17:32:55 +0000 (0:00:00.031) 0:00:32.216 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 14 December 2023 17:32:55 +0000 (0:00:00.024) 0:00:32.241 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 14 December 2023 17:32:55 +0000 (0:00:00.024) 0:00:32.266 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 14 December 2023 17:32:55 +0000 (0:00:00.350) 0:00:32.616 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 14 December 2023 17:32:55 +0000 (0:00:00.033) 0:00:32.649 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 14 December 2023 17:32:55 +0000 (0:00:00.033) 0:00:32.682 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 14 December 2023 17:32:55 +0000 (0:00:00.026) 0:00:32.709 ***** 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, ed1622bb-ada6-443d-9ec1-5d388b010c14 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 14 December 2023 17:32:56 +0000 (0:00:00.382) 0:00:33.091 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 14 December 2023 17:32:56 +0000 (0:00:00.035) 0:00:33.126 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, ed1622bb-ada6-443d-9ec1-5d388b010c14 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 14 December 2023 17:32:56 +0000 (0:00:00.035) 0:00:33.162 ***** 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, ed1622bb-ada6-443d-9ec1-5d388b010c14 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, ed1622bb-ada6-443d-9ec1-5d388b010c14 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 14 December 2023 17:32:56 +0000 (0:00:00.040) 0:00:33.202 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 14 December 2023 17:32:56 +0000 (0:00:00.031) 0:00:33.234 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/run_test.yml:30 Thursday 14 December 2023 17:32:56 +0000 (0:00:00.188) 0:00:33.423 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/remove_profile.yml:3 Thursday 14 December 2023 17:32:56 +0000 (0:00:00.040) 0:00:33.464 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 14 December 2023 17:32:56 +0000 (0:00:00.039) 0:00:33.503 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 14 December 2023 17:32:56 +0000 (0:00:00.040) 0:00:33.544 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 14 December 2023 17:32:56 +0000 (0:00:00.026) 0:00:33.570 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 14 December 2023 17:32:56 +0000 (0:00:00.021) 0:00:33.591 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 14 December 2023 17:32:56 +0000 (0:00:00.020) 0:00:33.612 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 14 December 2023 17:32:58 +0000 (0:00:01.402) 0:00:35.014 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 14 December 2023 17:32:59 +0000 (0:00:00.929) 0:00:35.943 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 14 December 2023 17:32:59 +0000 (0:00:00.033) 0:00:35.977 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 14 December 2023 17:32:59 +0000 (0:00:00.032) 0:00:36.009 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 14 December 2023 17:32:59 +0000 (0:00:00.034) 0:00:36.043 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 14 December 2023 17:32:59 +0000 (0:00:00.067) 0:00:36.111 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 14 December 2023 17:32:59 +0000 (0:00:00.034) 0:00:36.145 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 14 December 2023 17:32:59 +0000 (0:00:00.023) 0:00:36.169 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 14 December 2023 17:32:59 +0000 (0:00:00.069) 0:00:36.238 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 14 December 2023 17:32:59 +0000 (0:00:00.365) 0:00:36.604 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 14 December 2023 17:32:59 +0000 (0:00:00.027) 0:00:36.631 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 14 December 2023 17:32:59 +0000 (0:00:00.026) 0:00:36.658 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 14 December 2023 17:32:59 +0000 (0:00:00.027) 0:00:36.686 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 14 December 2023 17:33:00 +0000 (0:00:00.401) 0:00:37.087 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 14 December 2023 17:33:00 +0000 (0:00:00.048) 0:00:37.136 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 14 December 2023 17:33:00 +0000 (0:00:00.035) 0:00:37.172 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 14 December 2023 17:33:00 +0000 (0:00:00.029) 0:00:37.202 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 14 December 2023 17:33:00 +0000 (0:00:00.028) 0:00:37.230 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/run_test.yml:36 Thursday 14 December 2023 17:33:00 +0000 (0:00:00.207) 0:00:37.437 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/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.16ofbpd5cb/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 14 December 2023 17:33:00 +0000 (0:00:00.052) 0:00:37.489 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 14 December 2023 17:33:00 +0000 (0:00:00.036) 0:00:37.526 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1702575172.3262813, "block_size": 4096, "blocks": 0, "ctime": 1702575172.3262813, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 30380, "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": 1702575172.3262813, "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.16ofbpd5cb/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 14 December 2023 17:33:00 +0000 (0:00:00.199) 0:00:37.726 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 14 December 2023 17:33:01 +0000 (0:00:00.024) 0:00:37.750 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/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.16ofbpd5cb/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 14 December 2023 17:33:01 +0000 (0:00:00.036) 0:00:37.787 ***** 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.16ofbpd5cb/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 14 December 2023 17:33:01 +0000 (0:00:00.023) 0:00:37.811 ***** 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.16ofbpd5cb/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 14 December 2023 17:33:01 +0000 (0:00:00.193) 0:00:38.004 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 14 December 2023 17:33:01 +0000 (0:00:00.021) 0:00:38.026 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021836", "end": "2023-12-14 12:33:01.475523", "rc": 1, "start": "2023-12-14 12:33:01.453687" } 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.16ofbpd5cb/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 14 December 2023 17:33:01 +0000 (0:00:00.230) 0:00:38.257 ***** 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.16ofbpd5cb/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 14 December 2023 17:33:01 +0000 (0:00:00.042) 0:00:38.299 ***** 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.16ofbpd5cb/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 14 December 2023 17:33:01 +0000 (0:00:00.038) 0:00:38.338 ***** 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.16ofbpd5cb/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 14 December 2023 17:33:01 +0000 (0:00:00.029) 0:00:38.368 ***** 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.16ofbpd5cb/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 14 December 2023 17:33:01 +0000 (0:00:00.040) 0:00:38.408 ***** 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.16ofbpd5cb/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 14 December 2023 17:33:01 +0000 (0:00:00.045) 0:00:38.454 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/run_test.yml:42 Thursday 14 December 2023 17:33:01 +0000 (0:00:00.023) 0:00:38.477 ***** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/run_test.yml:47 Thursday 14 December 2023 17:33:01 +0000 (0:00:00.019) 0:00:38.497 ***** 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.16ofbpd5cb/tests/playbooks/tasks/run_test.yml:66 Thursday 14 December 2023 17:33:01 +0000 (0:00:00.022) 0:00:38.519 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 14 December 2023 17:33:01 +0000 (0:00:00.068) 0:00:38.588 ***** 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.062940", "end": "2023-12-14 12:33:02.076420", "rc": 1, "start": "2023-12-14 12:33:02.013480" } STDOUT: Connection 'statebr' (ed1622bb-ada6-443d-9ec1-5d388b010c14) 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.16ofbpd5cb/tests/playbooks/tests_states.yml:103 Thursday 14 December 2023 17:33:02 +0000 (0:00:00.254) 0:00:38.842 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/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.16ofbpd5cb/tests/playbooks/tasks/run_test.yml:5 Thursday 14 December 2023 17:33:02 +0000 (0:00:00.035) 0:00:38.878 ***** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/run_test.yml:9 Thursday 14 December 2023 17:33:02 +0000 (0:00:00.021) 0:00:38.899 ***** 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.16ofbpd5cb/tests/playbooks/tasks/run_test.yml:21 Thursday 14 December 2023 17:33:02 +0000 (0:00:00.042) 0:00:38.942 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 14 December 2023 17:33:02 +0000 (0:00:00.035) 0:00:38.977 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 14 December 2023 17:33:02 +0000 (0:00:00.036) 0:00:39.014 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003357", "end": "2023-12-14 12:33:02.475216", "rc": 0, "start": "2023-12-14 12:33:02.471859" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 14 December 2023 17:33:02 +0000 (0:00:00.227) 0:00:39.241 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 14 December 2023 17:33:02 +0000 (0:00:00.021) 0:00:39.262 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/run_test.yml:24 Thursday 14 December 2023 17:33:02 +0000 (0:00:00.021) 0:00:39.283 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 14 December 2023 17:33:02 +0000 (0:00:00.043) 0:00:39.326 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 14 December 2023 17:33:02 +0000 (0:00:00.068) 0:00:39.395 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 14 December 2023 17:33:02 +0000 (0:00:00.045) 0:00:39.440 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 14 December 2023 17:33:02 +0000 (0:00:00.031) 0:00:39.471 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 14 December 2023 17:33:02 +0000 (0:00:00.042) 0:00:39.514 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 14 December 2023 17:33:02 +0000 (0:00:00.044) 0:00:39.559 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 14 December 2023 17:33:04 +0000 (0:00:01.423) 0:00:40.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 : Print network provider] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 14 December 2023 17:33:05 +0000 (0:00:01.007) 0:00:41.990 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 14 December 2023 17:33:05 +0000 (0:00:00.061) 0:00:42.051 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 14 December 2023 17:33:05 +0000 (0:00:00.025) 0:00:42.077 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 14 December 2023 17:33:05 +0000 (0:00:00.022) 0:00:42.099 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 14 December 2023 17:33:05 +0000 (0:00:00.058) 0:00:42.157 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 14 December 2023 17:33:05 +0000 (0:00:00.028) 0:00:42.186 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 14 December 2023 17:33:05 +0000 (0:00:00.033) 0:00:42.219 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 14 December 2023 17:33:05 +0000 (0:00:00.041) 0:00:42.261 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 14 December 2023 17:33:05 +0000 (0:00:00.414) 0:00:42.676 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 14 December 2023 17:33:05 +0000 (0:00:00.043) 0:00:42.720 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 14 December 2023 17:33:06 +0000 (0:00:00.040) 0:00:42.761 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 14 December 2023 17:33:06 +0000 (0:00:00.031) 0:00:42.792 ***** 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, af3ad4d9-ede5-41e2-bc31-96cab50e72c0 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 14 December 2023 17:33:06 +0000 (0:00:00.448) 0:00:43.240 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 14 December 2023 17:33:06 +0000 (0:00:00.032) 0:00:43.273 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, af3ad4d9-ede5-41e2-bc31-96cab50e72c0" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 14 December 2023 17:33:06 +0000 (0:00:00.085) 0:00:43.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, af3ad4d9-ede5-41e2-bc31-96cab50e72c0\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, af3ad4d9-ede5-41e2-bc31-96cab50e72c0" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 14 December 2023 17:33:06 +0000 (0:00:00.039) 0:00:43.398 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 14 December 2023 17:33:06 +0000 (0:00:00.038) 0:00:43.437 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 14 December 2023 17:33:06 +0000 (0:00:00.204) 0:00:43.641 ***** 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, af3ad4d9-ede5-41e2-bc31-96cab50e72c0\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, af3ad4d9-ede5-41e2-bc31-96cab50e72c0" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/activate_profile.yml:3 Thursday 14 December 2023 17:33:06 +0000 (0:00:00.034) 0:00:43.676 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 14 December 2023 17:33:06 +0000 (0:00:00.049) 0:00:43.725 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 14 December 2023 17:33:07 +0000 (0:00:00.067) 0:00:43.793 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 14 December 2023 17:33:07 +0000 (0:00:00.047) 0:00:43.840 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 14 December 2023 17:33:07 +0000 (0:00:00.035) 0:00:43.875 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 14 December 2023 17:33:07 +0000 (0:00:00.025) 0:00:43.901 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 14 December 2023 17:33:08 +0000 (0:00:01.459) 0:00:45.360 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 14 December 2023 17:33:09 +0000 (0:00:00.943) 0:00:46.304 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 14 December 2023 17:33:09 +0000 (0:00:00.022) 0:00:46.327 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 14 December 2023 17:33:09 +0000 (0:00:00.023) 0:00:46.351 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 14 December 2023 17:33:09 +0000 (0:00:00.022) 0:00:46.373 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 14 December 2023 17:33:09 +0000 (0:00:00.050) 0:00:46.424 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 14 December 2023 17:33:09 +0000 (0:00:00.028) 0:00:46.453 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 14 December 2023 17:33:09 +0000 (0:00:00.035) 0:00:46.489 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 14 December 2023 17:33:09 +0000 (0:00:00.040) 0:00:46.529 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 14 December 2023 17:33:10 +0000 (0:00:00.355) 0:00:46.885 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 14 December 2023 17:33:10 +0000 (0:00:00.033) 0:00:46.918 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 14 December 2023 17:33:10 +0000 (0:00:00.035) 0:00:46.954 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 14 December 2023 17:33:10 +0000 (0:00:00.040) 0:00:46.995 ***** 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, af3ad4d9-ede5-41e2-bc31-96cab50e72c0 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 14 December 2023 17:33:10 +0000 (0:00:00.391) 0:00:47.386 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 14 December 2023 17:33:10 +0000 (0:00:00.026) 0:00:47.413 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, af3ad4d9-ede5-41e2-bc31-96cab50e72c0 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 14 December 2023 17:33:10 +0000 (0:00:00.027) 0:00:47.440 ***** 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, af3ad4d9-ede5-41e2-bc31-96cab50e72c0 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, af3ad4d9-ede5-41e2-bc31-96cab50e72c0 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 14 December 2023 17:33:10 +0000 (0:00:00.024) 0:00:47.464 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 14 December 2023 17:33:10 +0000 (0:00:00.027) 0:00:47.491 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/remove_profile.yml:3 Thursday 14 December 2023 17:33:10 +0000 (0:00:00.190) 0:00:47.682 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 14 December 2023 17:33:10 +0000 (0:00:00.040) 0:00:47.723 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 14 December 2023 17:33:11 +0000 (0:00:00.050) 0:00:47.773 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 14 December 2023 17:33:11 +0000 (0:00:00.028) 0:00:47.802 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 14 December 2023 17:33:11 +0000 (0:00:00.024) 0:00:47.826 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 14 December 2023 17:33:11 +0000 (0:00:00.030) 0:00:47.856 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 14 December 2023 17:33:12 +0000 (0:00:01.450) 0:00:49.307 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 14 December 2023 17:33:13 +0000 (0:00:00.963) 0:00:50.271 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 14 December 2023 17:33:13 +0000 (0:00:00.058) 0:00:50.329 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 14 December 2023 17:33:13 +0000 (0:00:00.052) 0:00:50.381 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 14 December 2023 17:33:13 +0000 (0:00:00.028) 0:00:50.410 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 14 December 2023 17:33:13 +0000 (0:00:00.045) 0:00:50.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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 14 December 2023 17:33:13 +0000 (0:00:00.024) 0:00:50.479 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 14 December 2023 17:33:13 +0000 (0:00:00.023) 0:00:50.503 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 14 December 2023 17:33:13 +0000 (0:00:00.027) 0:00:50.530 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 14 December 2023 17:33:14 +0000 (0:00:00.376) 0:00:50.907 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 14 December 2023 17:33:14 +0000 (0:00:00.030) 0:00:50.937 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 14 December 2023 17:33:14 +0000 (0:00:00.022) 0:00:50.960 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 14 December 2023 17:33:14 +0000 (0:00:00.025) 0:00:50.985 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 14 December 2023 17:33:14 +0000 (0:00:00.391) 0:00:51.377 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 14 December 2023 17:33:14 +0000 (0:00:00.022) 0:00:51.399 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 14 December 2023 17:33:14 +0000 (0:00:00.022) 0:00:51.422 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 14 December 2023 17:33:14 +0000 (0:00:00.023) 0:00:51.445 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 14 December 2023 17:33:14 +0000 (0:00:00.027) 0:00:51.473 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/run_test.yml:30 Thursday 14 December 2023 17:33:14 +0000 (0:00:00.197) 0:00:51.670 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 14 December 2023 17:33:14 +0000 (0:00:00.045) 0:00:51.716 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 14 December 2023 17:33:15 +0000 (0:00:00.047) 0:00:51.763 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 14 December 2023 17:33:15 +0000 (0:00:00.090) 0:00:51.853 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 14 December 2023 17:33:15 +0000 (0:00:00.031) 0:00:51.885 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 14 December 2023 17:33:15 +0000 (0:00:00.024) 0:00:51.910 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 14 December 2023 17:33:15 +0000 (0:00:00.021) 0:00:51.931 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 14 December 2023 17:33:16 +0000 (0:00:01.441) 0:00:53.372 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 14 December 2023 17:33:17 +0000 (0:00:00.951) 0:00:54.324 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 14 December 2023 17:33:17 +0000 (0:00:00.022) 0:00:54.347 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 14 December 2023 17:33:17 +0000 (0:00:00.066) 0:00:54.413 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 14 December 2023 17:33:17 +0000 (0:00:00.027) 0:00:54.440 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 14 December 2023 17:33:17 +0000 (0:00:00.045) 0:00:54.486 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 14 December 2023 17:33:17 +0000 (0:00:00.021) 0:00:54.508 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 14 December 2023 17:33:17 +0000 (0:00:00.021) 0:00:54.529 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 14 December 2023 17:33:17 +0000 (0:00:00.025) 0:00:54.555 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 14 December 2023 17:33:18 +0000 (0:00:00.355) 0:00:54.910 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 14 December 2023 17:33:18 +0000 (0:00:00.027) 0:00:54.938 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 14 December 2023 17:33:18 +0000 (0:00:00.023) 0:00:54.962 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 14 December 2023 17:33:18 +0000 (0:00:00.021) 0:00:54.983 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 14 December 2023 17:33:18 +0000 (0:00:00.427) 0:00:55.410 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 14 December 2023 17:33:18 +0000 (0:00:00.019) 0:00:55.430 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 14 December 2023 17:33:18 +0000 (0:00:00.021) 0:00:55.452 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 14 December 2023 17:33:18 +0000 (0:00:00.023) 0:00:55.476 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 14 December 2023 17:33:18 +0000 (0:00:00.020) 0:00:55.496 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/run_test.yml:36 Thursday 14 December 2023 17:33:18 +0000 (0:00:00.196) 0:00:55.693 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/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.16ofbpd5cb/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 14 December 2023 17:33:18 +0000 (0:00:00.042) 0:00:55.735 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/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.16ofbpd5cb/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 14 December 2023 17:33:19 +0000 (0:00:00.038) 0:00:55.773 ***** 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.16ofbpd5cb/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 14 December 2023 17:33:19 +0000 (0:00:00.022) 0:00:55.795 ***** 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.16ofbpd5cb/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 14 December 2023 17:33:19 +0000 (0:00:00.204) 0:00:55.999 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 14 December 2023 17:33:19 +0000 (0:00:00.028) 0:00:56.027 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020629", "end": "2023-12-14 12:33:19.510258", "rc": 1, "start": "2023-12-14 12:33:19.489629" } 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.16ofbpd5cb/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 14 December 2023 17:33:19 +0000 (0:00:00.248) 0:00:56.275 ***** 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.16ofbpd5cb/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 14 December 2023 17:33:19 +0000 (0:00:00.023) 0:00:56.299 ***** 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.16ofbpd5cb/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 14 December 2023 17:33:19 +0000 (0:00:00.025) 0:00:56.324 ***** 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.16ofbpd5cb/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 14 December 2023 17:33:19 +0000 (0:00:00.028) 0:00:56.353 ***** 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.16ofbpd5cb/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 14 December 2023 17:33:19 +0000 (0:00:00.034) 0:00:56.388 ***** 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.16ofbpd5cb/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 14 December 2023 17:33:19 +0000 (0:00:00.024) 0:00:56.412 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/run_test.yml:42 Thursday 14 December 2023 17:33:19 +0000 (0:00:00.028) 0:00:56.441 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/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.16ofbpd5cb/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 14 December 2023 17:33:19 +0000 (0:00:00.081) 0:00:56.522 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 14 December 2023 17:33:19 +0000 (0:00:00.045) 0:00:56.568 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 14 December 2023 17:33:20 +0000 (0:00:00.204) 0:00:56.773 ***** 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.16ofbpd5cb/tests/playbooks/tasks/run_test.yml:47 Thursday 14 December 2023 17:33:20 +0000 (0:00:00.035) 0:00:56.808 ***** 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.16ofbpd5cb/tests/playbooks/tasks/run_test.yml:66 Thursday 14 December 2023 17:33:20 +0000 (0:00:00.022) 0:00:56.831 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 14 December 2023 17:33:20 +0000 (0:00:00.053) 0:00:56.884 ***** 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.041912", "end": "2023-12-14 12:33:20.357889", "rc": 1, "start": "2023-12-14 12:33:20.315977" } 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.16ofbpd5cb/tests/playbooks/tests_states.yml:126 Thursday 14 December 2023 17:33:20 +0000 (0:00:00.240) 0:00:57.125 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/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.16ofbpd5cb/tests/playbooks/tasks/run_test.yml:5 Thursday 14 December 2023 17:33:20 +0000 (0:00:00.047) 0:00:57.173 ***** 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.16ofbpd5cb/tests/playbooks/tasks/run_test.yml:9 Thursday 14 December 2023 17:33:20 +0000 (0:00:00.035) 0:00:57.208 ***** 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.16ofbpd5cb/tests/playbooks/tasks/run_test.yml:21 Thursday 14 December 2023 17:33:20 +0000 (0:00:00.049) 0:00:57.258 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 14 December 2023 17:33:20 +0000 (0:00:00.038) 0:00:57.296 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 14 December 2023 17:33:20 +0000 (0:00:00.059) 0:00:57.356 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003240", "end": "2023-12-14 12:33:20.786136", "rc": 0, "start": "2023-12-14 12:33:20.782896" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 14 December 2023 17:33:20 +0000 (0:00:00.195) 0:00:57.552 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 14 December 2023 17:33:20 +0000 (0:00:00.026) 0:00:57.579 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/run_test.yml:24 Thursday 14 December 2023 17:33:20 +0000 (0:00:00.035) 0:00:57.614 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 14 December 2023 17:33:20 +0000 (0:00:00.068) 0:00:57.683 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 14 December 2023 17:33:21 +0000 (0:00:00.054) 0:00:57.738 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 14 December 2023 17:33:21 +0000 (0:00:00.044) 0:00:57.782 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 14 December 2023 17:33:21 +0000 (0:00:00.027) 0:00:57.810 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 14 December 2023 17:33:21 +0000 (0:00:00.020) 0:00:57.830 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 14 December 2023 17:33:21 +0000 (0:00:00.020) 0:00:57.851 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 14 December 2023 17:33:22 +0000 (0:00:01.444) 0:00:59.295 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 14 December 2023 17:33:23 +0000 (0:00:00.915) 0:01:00.211 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 14 December 2023 17:33:23 +0000 (0:00:00.059) 0:01:00.270 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 14 December 2023 17:33:23 +0000 (0:00:00.054) 0:01:00.325 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 14 December 2023 17:33:23 +0000 (0:00:00.054) 0:01:00.380 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 14 December 2023 17:33:23 +0000 (0:00:00.100) 0:01:00.480 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 14 December 2023 17:33:23 +0000 (0:00:00.059) 0:01:00.539 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 14 December 2023 17:33:23 +0000 (0:00:00.052) 0:01:00.592 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 14 December 2023 17:33:23 +0000 (0:00:00.075) 0:01:00.668 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 14 December 2023 17:33:24 +0000 (0:00:00.418) 0:01:01.087 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 14 December 2023 17:33:24 +0000 (0:00:00.031) 0:01:01.118 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 14 December 2023 17:33:24 +0000 (0:00:00.037) 0:01:01.156 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 14 December 2023 17:33:24 +0000 (0:00:00.047) 0:01:01.203 ***** 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, 4b1f4419-37cf-4668-8d63-2092eb91c860 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 14 December 2023 17:33:24 +0000 (0:00:00.423) 0:01:01.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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 14 December 2023 17:33:24 +0000 (0:00:00.024) 0:01:01.651 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4b1f4419-37cf-4668-8d63-2092eb91c860" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 14 December 2023 17:33:24 +0000 (0:00:00.025) 0:01:01.677 ***** 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, 4b1f4419-37cf-4668-8d63-2092eb91c860\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4b1f4419-37cf-4668-8d63-2092eb91c860" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 14 December 2023 17:33:24 +0000 (0:00:00.050) 0:01:01.727 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 14 December 2023 17:33:25 +0000 (0:00:00.037) 0:01:01.765 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 14 December 2023 17:33:25 +0000 (0:00:00.236) 0:01:02.001 ***** 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, 4b1f4419-37cf-4668-8d63-2092eb91c860\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4b1f4419-37cf-4668-8d63-2092eb91c860" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/activate_profile.yml:3 Thursday 14 December 2023 17:33:25 +0000 (0:00:00.039) 0:01:02.040 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 14 December 2023 17:33:25 +0000 (0:00:00.036) 0:01:02.077 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 14 December 2023 17:33:25 +0000 (0:00:00.043) 0:01:02.121 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 14 December 2023 17:33:25 +0000 (0:00:00.051) 0:01:02.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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 14 December 2023 17:33:25 +0000 (0:00:00.025) 0:01:02.198 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 14 December 2023 17:33:25 +0000 (0:00:00.062) 0:01:02.261 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 14 December 2023 17:33:26 +0000 (0:00:01.471) 0:01:03.732 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 14 December 2023 17:33:27 +0000 (0:00:00.960) 0:01:04.693 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 14 December 2023 17:33:28 +0000 (0:00:00.053) 0:01:04.747 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 14 December 2023 17:33:28 +0000 (0:00:00.029) 0:01:04.777 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 14 December 2023 17:33:28 +0000 (0:00:00.029) 0:01:04.807 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 14 December 2023 17:33:28 +0000 (0:00:00.047) 0:01:04.854 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 14 December 2023 17:33:28 +0000 (0:00:00.038) 0:01:04.892 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 14 December 2023 17:33:28 +0000 (0:00:00.063) 0:01:04.956 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 14 December 2023 17:33:28 +0000 (0:00:00.038) 0:01:04.995 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 14 December 2023 17:33:28 +0000 (0:00:00.349) 0:01:05.344 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 14 December 2023 17:33:28 +0000 (0:00:00.027) 0:01:05.372 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 14 December 2023 17:33:28 +0000 (0:00:00.024) 0:01:05.396 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 14 December 2023 17:33:28 +0000 (0:00:00.022) 0:01:05.419 ***** 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, 4b1f4419-37cf-4668-8d63-2092eb91c860 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 14 December 2023 17:33:29 +0000 (0:00:00.351) 0:01:05.770 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 14 December 2023 17:33:29 +0000 (0:00:00.028) 0:01:05.799 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 4b1f4419-37cf-4668-8d63-2092eb91c860 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 14 December 2023 17:33:29 +0000 (0:00:00.033) 0:01:05.832 ***** 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, 4b1f4419-37cf-4668-8d63-2092eb91c860 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 4b1f4419-37cf-4668-8d63-2092eb91c860 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 14 December 2023 17:33:29 +0000 (0:00:00.035) 0:01:05.867 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 14 December 2023 17:33:29 +0000 (0:00:00.045) 0:01:05.913 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 14 December 2023 17:33:29 +0000 (0:00:00.191) 0:01:06.104 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 14 December 2023 17:33:29 +0000 (0:00:00.035) 0:01:06.139 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 14 December 2023 17:33:29 +0000 (0:00:00.068) 0:01:06.208 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 14 December 2023 17:33:29 +0000 (0:00:00.026) 0:01:06.235 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 14 December 2023 17:33:29 +0000 (0:00:00.020) 0:01:06.255 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 14 December 2023 17:33:29 +0000 (0:00:00.022) 0:01:06.278 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 14 December 2023 17:33:30 +0000 (0:00:01.422) 0:01:07.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 : Print network provider] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 14 December 2023 17:33:31 +0000 (0:00:00.988) 0:01:08.688 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 14 December 2023 17:33:32 +0000 (0:00:00.065) 0:01:08.754 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 14 December 2023 17:33:32 +0000 (0:00:00.023) 0:01:08.778 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 14 December 2023 17:33:32 +0000 (0:00:00.023) 0:01:08.801 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 14 December 2023 17:33:32 +0000 (0:00:00.047) 0:01:08.848 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 14 December 2023 17:33:32 +0000 (0:00:00.030) 0:01:08.879 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 14 December 2023 17:33:32 +0000 (0:00:00.037) 0:01:08.916 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 14 December 2023 17:33:32 +0000 (0:00:00.053) 0:01:08.969 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 14 December 2023 17:33:32 +0000 (0:00:00.364) 0:01:09.334 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 14 December 2023 17:33:32 +0000 (0:00:00.025) 0:01:09.359 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 14 December 2023 17:33:32 +0000 (0:00:00.023) 0:01:09.382 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 14 December 2023 17:33:32 +0000 (0:00:00.023) 0:01:09.406 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 14 December 2023 17:33:33 +0000 (0:00:00.420) 0:01:09.827 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 14 December 2023 17:33:33 +0000 (0:00:00.022) 0:01:09.849 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 14 December 2023 17:33:33 +0000 (0:00:00.022) 0:01:09.871 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 14 December 2023 17:33:33 +0000 (0:00:00.023) 0:01:09.894 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 14 December 2023 17:33:33 +0000 (0:00:00.021) 0:01:09.915 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/run_test.yml:30 Thursday 14 December 2023 17:33:33 +0000 (0:00:00.210) 0:01:10.126 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 14 December 2023 17:33:33 +0000 (0:00:00.055) 0:01:10.181 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 14 December 2023 17:33:33 +0000 (0:00:00.048) 0:01:10.230 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 14 December 2023 17:33:33 +0000 (0:00:00.055) 0:01:10.285 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 14 December 2023 17:33:33 +0000 (0:00:00.051) 0:01:10.336 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 14 December 2023 17:33:33 +0000 (0:00:00.031) 0:01:10.368 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 14 December 2023 17:33:33 +0000 (0:00:00.050) 0:01:10.418 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 14 December 2023 17:33:35 +0000 (0:00:01.444) 0:01:11.863 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 14 December 2023 17:33:36 +0000 (0:00:00.937) 0:01:12.800 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 14 December 2023 17:33:36 +0000 (0:00:00.022) 0:01:12.822 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 14 December 2023 17:33:36 +0000 (0:00:00.020) 0:01:12.842 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 14 December 2023 17:33:36 +0000 (0:00:00.020) 0:01:12.863 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 14 December 2023 17:33:36 +0000 (0:00:00.043) 0:01:12.907 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 14 December 2023 17:33:36 +0000 (0:00:00.020) 0:01:12.927 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 14 December 2023 17:33:36 +0000 (0:00:00.022) 0:01:12.950 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 14 December 2023 17:33:36 +0000 (0:00:00.025) 0:01:12.975 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 14 December 2023 17:33:36 +0000 (0:00:00.350) 0:01:13.326 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 14 December 2023 17:33:36 +0000 (0:00:00.025) 0:01:13.351 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 14 December 2023 17:33:36 +0000 (0:00:00.021) 0:01:13.373 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 14 December 2023 17:33:36 +0000 (0:00:00.060) 0:01:13.433 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 14 December 2023 17:33:37 +0000 (0:00:00.363) 0:01:13.796 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 14 December 2023 17:33:37 +0000 (0:00:00.021) 0:01:13.818 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 14 December 2023 17:33:37 +0000 (0:00:00.022) 0:01:13.840 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 14 December 2023 17:33:37 +0000 (0:00:00.023) 0:01:13.864 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 14 December 2023 17:33:37 +0000 (0:00:00.031) 0:01:13.895 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/run_test.yml:36 Thursday 14 December 2023 17:33:37 +0000 (0:00:00.188) 0:01:14.083 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/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.16ofbpd5cb/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 14 December 2023 17:33:37 +0000 (0:00:00.047) 0:01:14.131 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/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.16ofbpd5cb/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 14 December 2023 17:33:37 +0000 (0:00:00.045) 0:01:14.177 ***** 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.16ofbpd5cb/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 14 December 2023 17:33:37 +0000 (0:00:00.024) 0:01:14.201 ***** 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.16ofbpd5cb/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 14 December 2023 17:33:37 +0000 (0:00:00.207) 0:01:14.408 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 14 December 2023 17:33:37 +0000 (0:00:00.027) 0:01:14.435 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021216", "end": "2023-12-14 12:33:37.893090", "rc": 1, "start": "2023-12-14 12:33:37.871874" } 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.16ofbpd5cb/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 14 December 2023 17:33:37 +0000 (0:00:00.240) 0:01:14.677 ***** 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.16ofbpd5cb/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 14 December 2023 17:33:37 +0000 (0:00:00.025) 0:01:14.702 ***** 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.16ofbpd5cb/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 14 December 2023 17:33:38 +0000 (0:00:00.077) 0:01:14.780 ***** 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.16ofbpd5cb/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 14 December 2023 17:33:38 +0000 (0:00:00.044) 0:01:14.825 ***** 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.16ofbpd5cb/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 14 December 2023 17:33:38 +0000 (0:00:00.040) 0:01:14.865 ***** 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.16ofbpd5cb/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 14 December 2023 17:33:38 +0000 (0:00:00.025) 0:01:14.891 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Thursday 14 December 2023 17:33:38 +0000 (0:00:00.025) 0:01:14.917 ***** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.561697", "end": "2023-12-14 12:33:38.916040", "rc": 0, "start": "2023-12-14 12:33:38.354343" } STDOUT: NetworkManager-1.45.7-1.el9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Thursday 14 December 2023 17:33:38 +0000 (0:00:00.772) 0:01:15.689 ***** 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.16ofbpd5cb/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Thursday 14 December 2023 17:33:38 +0000 (0:00:00.033) 0:01:15.723 ***** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.45.7-1.el9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/run_test.yml:42 Thursday 14 December 2023 17:33:39 +0000 (0:00:00.037) 0:01:15.761 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/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.16ofbpd5cb/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 14 December 2023 17:33:39 +0000 (0:00:00.055) 0:01:15.816 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 14 December 2023 17:33:39 +0000 (0:00:00.037) 0:01:15.854 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 14 December 2023 17:33:39 +0000 (0:00:00.195) 0:01:16.049 ***** 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.16ofbpd5cb/tests/playbooks/tasks/run_test.yml:47 Thursday 14 December 2023 17:33:39 +0000 (0:00:00.027) 0:01:16.077 ***** 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.16ofbpd5cb/tests/playbooks/tasks/run_test.yml:66 Thursday 14 December 2023 17:33:39 +0000 (0:00:00.025) 0:01:16.103 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 14 December 2023 17:33:39 +0000 (0:00:00.105) 0:01:16.208 ***** 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.040555", "end": "2023-12-14 12:33:39.677873", "rc": 1, "start": "2023-12-14 12:33:39.637318" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=316 changed=10 unreachable=0 failed=0 skipped=252 rescued=0 ignored=11 Thursday 14 December 2023 17:33:39 +0000 (0:00:00.229) 0:01:16.437 ***** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 2.17s /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable and start NetworkManager ------------ 2.05s /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Configure networking connection profiles --- 1.55s /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Check which services are running ----------- 1.50s /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/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.16ofbpd5cb/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.16ofbpd5cb/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.16ofbpd5cb/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.16ofbpd5cb/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.16ofbpd5cb/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.16ofbpd5cb/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.16ofbpd5cb/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.16ofbpd5cb/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.16ofbpd5cb/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.16ofbpd5cb/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.16ofbpd5cb/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.16ofbpd5cb/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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Enable and start NetworkManager ------------ 1.40s /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Check which services are running ----------- 1.40s /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 1.21s /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/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. ---^---^---^---^---^---