# 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.16k9210qw6/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.16k9210qw6/tests/tests_states_nm.yml:6 Monday 25 December 2023 21:52:43 +0000 (0:00:00.016) 0:00:00.016 ******* ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/tests_states_nm.yml:9 Monday 25 December 2023 21:52:44 +0000 (0:00:00.940) 0:00:00.957 ******* included: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/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.16k9210qw6/tests/tasks/el_repo_setup.yml:3 Monday 25 December 2023 21:52:44 +0000 (0:00:00.022) 0:00:00.979 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/tasks/el_repo_setup.yml:19 Monday 25 December 2023 21:52:44 +0000 (0:00:00.525) 0:00:01.505 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/tasks/el_repo_setup.yml:24 Monday 25 December 2023 21:52:45 +0000 (0:00:00.264) 0:00:01.769 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/tasks/el_repo_setup.yml:28 Monday 25 December 2023 21:52:45 +0000 (0:00:00.027) 0:00:01.796 ******* 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.16k9210qw6/tests/tasks/el_repo_setup.yml:53 Monday 25 December 2023 21:52:45 +0000 (0:00:00.040) 0:00:01.837 ******* included: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 38] ********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/tasks/enable_epel.yml:8 Monday 25 December 2023 21:52:45 +0000 (0:00:00.071) 0:00:01.908 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/tasks/enable_epel.yml:24 Monday 25 December 2023 21:52:45 +0000 (0:00:00.015) 0:00:01.923 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/tasks/enable_epel.yml:30 Monday 25 December 2023 21:52:45 +0000 (0:00:00.011) 0:00:01.934 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/tasks/enable_epel.yml:35 Monday 25 December 2023 21:52:45 +0000 (0:00:00.013) 0:00:01.947 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/tasks/enable_epel.yml:40 Monday 25 December 2023 21:52:45 +0000 (0:00:00.013) 0:00:01.961 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/tests_states_nm.yml:11 Monday 25 December 2023 21:52:45 +0000 (0:00:00.013) 0:00:01.975 ******* 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.16k9210qw6/tests/playbooks/tests_states.yml:3 Monday 25 December 2023 21:52:45 +0000 (0:00:00.009) 0:00:01.985 ******* ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tests_states.yml:11 Monday 25 December 2023 21:52:46 +0000 (0:00:00.772) 0:00:02.758 ******* ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tests_states.yml:22 Monday 25 December 2023 21:52:46 +0000 (0:00:00.015) 0:00:02.773 ******* included: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/run_test.yml:5 Monday 25 December 2023 21:52:46 +0000 (0:00:00.042) 0:00:02.816 ******* ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/run_test.yml:9 Monday 25 December 2023 21:52:46 +0000 (0:00:00.012) 0:00:02.828 ******* 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.16k9210qw6/tests/playbooks/tasks/run_test.yml:21 Monday 25 December 2023 21:52:46 +0000 (0:00:00.032) 0:00:02.860 ******* included: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/show_interfaces.yml:3 Monday 25 December 2023 21:52:46 +0000 (0:00:00.013) 0:00:02.873 ******* included: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 25 December 2023 21:52:46 +0000 (0:00:00.012) 0:00:02.886 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003535", "end": "2023-12-25 21:52:46.563335", "rc": 0, "start": "2023-12-25 21:52:46.559800" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 25 December 2023 21:52:46 +0000 (0:00:00.257) 0:00:03.143 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/show_interfaces.yml:5 Monday 25 December 2023 21:52:46 +0000 (0:00:00.012) 0:00:03.156 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/run_test.yml:24 Monday 25 December 2023 21:52:46 +0000 (0:00:00.010) 0:00:03.167 ******* included: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/delete_interface.yml:3 Monday 25 December 2023 21:52:46 +0000 (0:00:00.021) 0:00:03.189 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007761", "end": "2023-12-25 21:52:46.812996", "rc": 1, "start": "2023-12-25 21:52:46.805235" } 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.16k9210qw6/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 25 December 2023 21:52:46 +0000 (0:00:00.203) 0:00:03.392 ******* included: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 25 December 2023 21:52:46 +0000 (0:00:00.015) 0:00:03.408 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 25 December 2023 21:52:47 +0000 (0:00:00.198) 0:00:03.607 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/run_test.yml:30 Monday 25 December 2023 21:52:47 +0000 (0:00:00.014) 0:00:03.622 ******* included: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 25 December 2023 21:52:47 +0000 (0:00:00.018) 0:00:03.640 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 25 December 2023 21:52:47 +0000 (0:00:00.033) 0:00:03.674 ******* included: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 25 December 2023 21:52:47 +0000 (0:00:00.068) 0:00:03.743 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 25 December 2023 21:52:47 +0000 (0:00:00.012) 0:00:03.755 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 25 December 2023 21:52:47 +0000 (0:00:00.011) 0:00:03.766 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 25 December 2023 21:52:47 +0000 (0:00:00.009) 0:00:03.775 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 25 December 2023 21:52:49 +0000 (0:00:02.293) 0:00:06.069 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 25 December 2023 21:52:50 +0000 (0:00:01.090) 0:00:07.160 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 25 December 2023 21:52:50 +0000 (0:00:00.024) 0:00:07.185 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 25 December 2023 21:52:50 +0000 (0:00:00.021) 0:00:07.206 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 25 December 2023 21:52:50 +0000 (0:00:00.021) 0:00:07.228 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 25 December 2023 21:52:50 +0000 (0:00:00.045) 0:00:07.273 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 25 December 2023 21:52:50 +0000 (0:00:00.023) 0:00:07.297 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 25 December 2023 21:52:50 +0000 (0:00:00.024) 0:00:07.321 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 25 December 2023 21:52:50 +0000 (0:00:00.026) 0:00:07.347 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 25 December 2023 21:52:51 +0000 (0:00:00.692) 0:00:08.040 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 25 December 2023 21:52:51 +0000 (0:00:00.026) 0:00:08.066 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 25 December 2023 21:52:51 +0000 (0:00:00.022) 0:00:08.089 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 25 December 2023 21:52:51 +0000 (0:00:00.024) 0:00:08.113 ******* 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, ee72f00d-41c1-4937-978a-3ccd46969357 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 25 December 2023 21:52:52 +0000 (0:00:00.597) 0:00:08.711 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 25 December 2023 21:52:52 +0000 (0:00:00.081) 0:00:08.793 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ee72f00d-41c1-4937-978a-3ccd46969357" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 25 December 2023 21:52:52 +0000 (0:00:00.049) 0:00:08.843 ******* 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, ee72f00d-41c1-4937-978a-3ccd46969357\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ee72f00d-41c1-4937-978a-3ccd46969357" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 25 December 2023 21:52:52 +0000 (0:00:00.083) 0:00:08.926 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 25 December 2023 21:52:52 +0000 (0:00:00.081) 0:00:09.008 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 25 December 2023 21:52:52 +0000 (0:00:00.331) 0:00:09.339 ******* 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, ee72f00d-41c1-4937-978a-3ccd46969357\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ee72f00d-41c1-4937-978a-3ccd46969357" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/run_test.yml:36 Monday 25 December 2023 21:52:52 +0000 (0:00:00.064) 0:00:09.404 ******* included: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/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.16k9210qw6/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 25 December 2023 21:52:52 +0000 (0:00:00.118) 0:00:09.523 ******* included: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/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.16k9210qw6/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 25 December 2023 21:52:53 +0000 (0:00:00.048) 0:00:09.572 ******* 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.16k9210qw6/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 25 December 2023 21:52:53 +0000 (0:00:00.052) 0:00:09.625 ******* 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.16k9210qw6/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 25 December 2023 21:52:53 +0000 (0:00:00.239) 0:00:09.864 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 25 December 2023 21:52:53 +0000 (0:00:00.060) 0:00:09.925 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023034", "end": "2023-12-25 21:52:53.678574", "rc": 0, "start": "2023-12-25 21:52:53.655540" } 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.16k9210qw6/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 25 December 2023 21:52:53 +0000 (0:00:00.388) 0:00:10.313 ******* 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.16k9210qw6/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 25 December 2023 21:52:53 +0000 (0:00:00.061) 0:00:10.375 ******* 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.16k9210qw6/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 25 December 2023 21:52:53 +0000 (0:00:00.026) 0:00:10.401 ******* 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.16k9210qw6/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 25 December 2023 21:52:53 +0000 (0:00:00.028) 0:00:10.430 ******* 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.16k9210qw6/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 25 December 2023 21:52:53 +0000 (0:00:00.035) 0:00:10.465 ******* 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.16k9210qw6/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 25 December 2023 21:52:53 +0000 (0:00:00.030) 0:00:10.496 ******* 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.16k9210qw6/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 25 December 2023 21:52:53 +0000 (0:00:00.025) 0:00:10.521 ******* 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.16k9210qw6/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 25 December 2023 21:52:53 +0000 (0:00:00.025) 0:00:10.547 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/run_test.yml:42 Monday 25 December 2023 21:52:54 +0000 (0:00:00.023) 0:00:10.570 ******* included: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/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.16k9210qw6/tests/playbooks/tasks/assert_device_present.yml:3 Monday 25 December 2023 21:52:54 +0000 (0:00:00.045) 0:00:10.616 ******* included: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 25 December 2023 21:52:54 +0000 (0:00:00.039) 0:00:10.656 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1703541172.0369847, "block_size": 4096, "blocks": 0, "ctime": 1703541172.0369847, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 36914, "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": 1703541172.0369847, "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.16k9210qw6/tests/playbooks/tasks/assert_device_present.yml:5 Monday 25 December 2023 21:52:54 +0000 (0:00:00.209) 0:00:10.865 ******* 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.16k9210qw6/tests/playbooks/tasks/run_test.yml:47 Monday 25 December 2023 21:52:54 +0000 (0:00:00.025) 0:00:10.891 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/run_test.yml:66 Monday 25 December 2023 21:52:54 +0000 (0:00:00.045) 0:00:10.936 ******* included: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 25 December 2023 21:52:54 +0000 (0:00:00.044) 0:00:10.980 ******* 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.065905", "end": "2023-12-25 21:52:54.676396", "rc": 1, "start": "2023-12-25 21:52:54.610491" } STDOUT: Connection 'statebr' (ee72f00d-41c1-4937-978a-3ccd46969357) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tests_states.yml:45 Monday 25 December 2023 21:52:54 +0000 (0:00:00.287) 0:00:11.268 ******* included: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/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.16k9210qw6/tests/playbooks/tasks/run_test.yml:5 Monday 25 December 2023 21:52:54 +0000 (0:00:00.038) 0:00:11.307 ******* ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/run_test.yml:9 Monday 25 December 2023 21:52:54 +0000 (0:00:00.022) 0:00:11.329 ******* 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.16k9210qw6/tests/playbooks/tasks/run_test.yml:21 Monday 25 December 2023 21:52:54 +0000 (0:00:00.046) 0:00:11.376 ******* included: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/show_interfaces.yml:3 Monday 25 December 2023 21:52:54 +0000 (0:00:00.038) 0:00:11.415 ******* included: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 25 December 2023 21:52:54 +0000 (0:00:00.052) 0:00:11.467 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003524", "end": "2023-12-25 21:52:55.087642", "rc": 0, "start": "2023-12-25 21:52:55.084118" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 25 December 2023 21:52:55 +0000 (0:00:00.214) 0:00:11.681 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/show_interfaces.yml:5 Monday 25 December 2023 21:52:55 +0000 (0:00:00.027) 0:00:11.709 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/run_test.yml:24 Monday 25 December 2023 21:52:55 +0000 (0:00:00.054) 0:00:11.763 ******* included: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/delete_interface.yml:3 Monday 25 December 2023 21:52:55 +0000 (0:00:00.056) 0:00:11.820 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006578", "end": "2023-12-25 21:52:55.452678", "rc": 1, "start": "2023-12-25 21:52:55.446100" } 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.16k9210qw6/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 25 December 2023 21:52:55 +0000 (0:00:00.227) 0:00:12.048 ******* included: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 25 December 2023 21:52:55 +0000 (0:00:00.062) 0:00:12.110 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 25 December 2023 21:52:55 +0000 (0:00:00.262) 0:00:12.372 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/run_test.yml:30 Monday 25 December 2023 21:52:55 +0000 (0:00:00.028) 0:00:12.401 ******* included: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Monday 25 December 2023 21:52:55 +0000 (0:00:00.041) 0:00:12.443 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 25 December 2023 21:52:55 +0000 (0:00:00.061) 0:00:12.505 ******* included: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 25 December 2023 21:52:56 +0000 (0:00:00.060) 0:00:12.565 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 25 December 2023 21:52:56 +0000 (0:00:00.063) 0:00:12.628 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 25 December 2023 21:52:56 +0000 (0:00:00.035) 0:00:12.664 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 25 December 2023 21:52:56 +0000 (0:00:00.028) 0:00:12.693 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 25 December 2023 21:52:58 +0000 (0:00:02.227) 0:00:14.920 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 25 December 2023 21:52:59 +0000 (0:00:00.925) 0:00:15.846 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 25 December 2023 21:52:59 +0000 (0:00:00.063) 0:00:15.910 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 25 December 2023 21:52:59 +0000 (0:00:00.064) 0:00:15.974 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 25 December 2023 21:52:59 +0000 (0:00:00.043) 0:00:16.018 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 25 December 2023 21:52:59 +0000 (0:00:00.057) 0:00:16.075 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 25 December 2023 21:52:59 +0000 (0:00:00.057) 0:00:16.133 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 25 December 2023 21:52:59 +0000 (0:00:00.054) 0:00:16.187 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 25 December 2023 21:52:59 +0000 (0:00:00.059) 0:00:16.246 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 25 December 2023 21:53:00 +0000 (0:00:00.610) 0:00:16.857 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 25 December 2023 21:53:00 +0000 (0:00:00.055) 0:00:16.912 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 25 December 2023 21:53:00 +0000 (0:00:00.046) 0:00:16.958 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 25 December 2023 21:53:00 +0000 (0:00:00.035) 0:00:16.994 ******* 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, 1ed2c4c8-e3e2-492f-b24f-1a6a320581a0 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 25 December 2023 21:53:00 +0000 (0:00:00.425) 0:00:17.420 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 25 December 2023 21:53:00 +0000 (0:00:00.038) 0:00:17.458 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1ed2c4c8-e3e2-492f-b24f-1a6a320581a0" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 25 December 2023 21:53:00 +0000 (0:00:00.075) 0:00:17.533 ******* 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, 1ed2c4c8-e3e2-492f-b24f-1a6a320581a0\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1ed2c4c8-e3e2-492f-b24f-1a6a320581a0" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 25 December 2023 21:53:01 +0000 (0:00:00.034) 0:00:17.568 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 25 December 2023 21:53:01 +0000 (0:00:00.025) 0:00:17.593 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Monday 25 December 2023 21:53:01 +0000 (0:00:00.207) 0:00:17.800 ******* 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, 1ed2c4c8-e3e2-492f-b24f-1a6a320581a0\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1ed2c4c8-e3e2-492f-b24f-1a6a320581a0" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/run_test.yml:36 Monday 25 December 2023 21:53:01 +0000 (0:00:00.032) 0:00:17.833 ******* included: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/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.16k9210qw6/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 25 December 2023 21:53:01 +0000 (0:00:00.048) 0:00:17.881 ******* included: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 25 December 2023 21:53:01 +0000 (0:00:00.046) 0:00:17.927 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 25 December 2023 21:53:01 +0000 (0:00:00.247) 0:00:18.174 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 25 December 2023 21:53:01 +0000 (0:00:00.029) 0:00:18.203 ******* included: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/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.16k9210qw6/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 25 December 2023 21:53:01 +0000 (0:00:00.057) 0:00:18.261 ******* 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.16k9210qw6/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 25 December 2023 21:53:01 +0000 (0:00:00.040) 0:00:18.302 ******* 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.16k9210qw6/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 25 December 2023 21:53:02 +0000 (0:00:00.273) 0:00:18.576 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 25 December 2023 21:53:02 +0000 (0:00:00.046) 0:00:18.623 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022086", "end": "2023-12-25 21:53:02.295635", "rc": 0, "start": "2023-12-25 21:53:02.273549" } 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.16k9210qw6/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 25 December 2023 21:53:02 +0000 (0:00:00.265) 0:00:18.888 ******* 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.16k9210qw6/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 25 December 2023 21:53:02 +0000 (0:00:00.025) 0:00:18.913 ******* 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.16k9210qw6/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 25 December 2023 21:53:02 +0000 (0:00:00.026) 0:00:18.940 ******* 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.16k9210qw6/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 25 December 2023 21:53:02 +0000 (0:00:00.036) 0:00:18.977 ******* 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.16k9210qw6/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 25 December 2023 21:53:02 +0000 (0:00:00.026) 0:00:19.003 ******* 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.16k9210qw6/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 25 December 2023 21:53:02 +0000 (0:00:00.031) 0:00:19.035 ******* 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.16k9210qw6/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 25 December 2023 21:53:02 +0000 (0:00:00.025) 0:00:19.060 ******* 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.16k9210qw6/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 25 December 2023 21:53:02 +0000 (0:00:00.024) 0:00:19.085 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/run_test.yml:42 Monday 25 December 2023 21:53:02 +0000 (0:00:00.022) 0:00:19.108 ******* TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/run_test.yml:47 Monday 25 December 2023 21:53:02 +0000 (0:00:00.021) 0:00:19.129 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/run_test.yml:66 Monday 25 December 2023 21:53:02 +0000 (0:00:00.022) 0:00:19.152 ******* included: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 25 December 2023 21:53:02 +0000 (0:00:00.043) 0:00:19.195 ******* 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.043164", "end": "2023-12-25 21:53:02.857029", "rc": 1, "start": "2023-12-25 21:53:02.813865" } STDOUT: Connection 'statebr' (1ed2c4c8-e3e2-492f-b24f-1a6a320581a0) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tests_states.yml:65 Monday 25 December 2023 21:53:02 +0000 (0:00:00.284) 0:00:19.480 ******* included: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/run_test.yml:5 Monday 25 December 2023 21:53:02 +0000 (0:00:00.059) 0:00:19.539 ******* ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/run_test.yml:9 Monday 25 December 2023 21:53:03 +0000 (0:00:00.031) 0:00:19.570 ******* 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.16k9210qw6/tests/playbooks/tasks/run_test.yml:21 Monday 25 December 2023 21:53:03 +0000 (0:00:00.050) 0:00:19.621 ******* included: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/show_interfaces.yml:3 Monday 25 December 2023 21:53:03 +0000 (0:00:00.037) 0:00:19.659 ******* included: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 25 December 2023 21:53:03 +0000 (0:00:00.035) 0:00:19.695 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003523", "end": "2023-12-25 21:53:03.313291", "rc": 0, "start": "2023-12-25 21:53:03.309768" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 25 December 2023 21:53:03 +0000 (0:00:00.211) 0:00:19.906 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/show_interfaces.yml:5 Monday 25 December 2023 21:53:03 +0000 (0:00:00.024) 0:00:19.931 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/run_test.yml:24 Monday 25 December 2023 21:53:03 +0000 (0:00:00.022) 0:00:19.954 ******* included: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 25 December 2023 21:53:03 +0000 (0:00:00.041) 0:00:19.995 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 25 December 2023 21:53:03 +0000 (0:00:00.062) 0:00:20.058 ******* included: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 25 December 2023 21:53:03 +0000 (0:00:00.042) 0:00:20.100 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 25 December 2023 21:53:03 +0000 (0:00:00.028) 0:00:20.129 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 25 December 2023 21:53:03 +0000 (0:00:00.023) 0:00:20.152 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 25 December 2023 21:53:03 +0000 (0:00:00.024) 0:00:20.176 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 25 December 2023 21:53:05 +0000 (0:00:02.205) 0:00:22.382 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 25 December 2023 21:53:06 +0000 (0:00:00.952) 0:00:23.335 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 25 December 2023 21:53:06 +0000 (0:00:00.024) 0:00:23.359 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 25 December 2023 21:53:06 +0000 (0:00:00.023) 0:00:23.382 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 25 December 2023 21:53:06 +0000 (0:00:00.025) 0:00:23.408 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 25 December 2023 21:53:06 +0000 (0:00:00.053) 0:00:23.461 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 25 December 2023 21:53:06 +0000 (0:00:00.027) 0:00:23.489 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 25 December 2023 21:53:06 +0000 (0:00:00.024) 0:00:23.514 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 25 December 2023 21:53:06 +0000 (0:00:00.028) 0:00:23.542 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 25 December 2023 21:53:07 +0000 (0:00:00.554) 0:00:24.097 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 25 December 2023 21:53:07 +0000 (0:00:00.072) 0:00:24.169 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 25 December 2023 21:53:07 +0000 (0:00:00.039) 0:00:24.209 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 25 December 2023 21:53:07 +0000 (0:00:00.038) 0:00:24.247 ******* 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, fd157cc8-fe7a-41cd-a358-cee909664706 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 25 December 2023 21:53:08 +0000 (0:00:00.446) 0:00:24.694 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 25 December 2023 21:53:08 +0000 (0:00:00.024) 0:00:24.719 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fd157cc8-fe7a-41cd-a358-cee909664706" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 25 December 2023 21:53:08 +0000 (0:00:00.058) 0:00:24.777 ******* 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, fd157cc8-fe7a-41cd-a358-cee909664706\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fd157cc8-fe7a-41cd-a358-cee909664706" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 25 December 2023 21:53:08 +0000 (0:00:00.075) 0:00:24.853 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 25 December 2023 21:53:08 +0000 (0:00:00.062) 0:00:24.915 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 25 December 2023 21:53:08 +0000 (0:00:00.236) 0:00:25.151 ******* 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, fd157cc8-fe7a-41cd-a358-cee909664706\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fd157cc8-fe7a-41cd-a358-cee909664706" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/run_test.yml:30 Monday 25 December 2023 21:53:08 +0000 (0:00:00.049) 0:00:25.201 ******* included: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/activate_profile.yml:3 Monday 25 December 2023 21:53:08 +0000 (0:00:00.055) 0:00:25.256 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 25 December 2023 21:53:08 +0000 (0:00:00.061) 0:00:25.318 ******* included: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 25 December 2023 21:53:08 +0000 (0:00:00.091) 0:00:25.409 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 25 December 2023 21:53:08 +0000 (0:00:00.030) 0:00:25.440 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 25 December 2023 21:53:08 +0000 (0:00:00.033) 0:00:25.473 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 25 December 2023 21:53:08 +0000 (0:00:00.073) 0:00:25.547 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 25 December 2023 21:53:12 +0000 (0:00:03.269) 0:00:28.816 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 25 December 2023 21:53:13 +0000 (0:00:00.922) 0:00:29.738 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 25 December 2023 21:53:13 +0000 (0:00:00.044) 0:00:29.782 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 25 December 2023 21:53:13 +0000 (0:00:00.054) 0:00:29.837 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 25 December 2023 21:53:13 +0000 (0:00:00.029) 0:00:29.867 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 25 December 2023 21:53:13 +0000 (0:00:00.055) 0:00:29.923 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 25 December 2023 21:53:13 +0000 (0:00:00.055) 0:00:29.978 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 25 December 2023 21:53:13 +0000 (0:00:00.033) 0:00:30.011 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 25 December 2023 21:53:13 +0000 (0:00:00.035) 0:00:30.046 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 25 December 2023 21:53:14 +0000 (0:00:00.582) 0:00:30.629 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 25 December 2023 21:53:14 +0000 (0:00:00.090) 0:00:30.719 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 25 December 2023 21:53:14 +0000 (0:00:00.037) 0:00:30.756 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 25 December 2023 21:53:14 +0000 (0:00:00.035) 0:00:30.792 ******* 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, fd157cc8-fe7a-41cd-a358-cee909664706 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 25 December 2023 21:53:14 +0000 (0:00:00.494) 0:00:31.286 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 25 December 2023 21:53:14 +0000 (0:00:00.024) 0:00:31.311 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, fd157cc8-fe7a-41cd-a358-cee909664706 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 25 December 2023 21:53:14 +0000 (0:00:00.025) 0:00:31.336 ******* 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, fd157cc8-fe7a-41cd-a358-cee909664706 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, fd157cc8-fe7a-41cd-a358-cee909664706 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 25 December 2023 21:53:14 +0000 (0:00:00.025) 0:00:31.362 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 25 December 2023 21:53:14 +0000 (0:00:00.033) 0:00:31.396 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/run_test.yml:36 Monday 25 December 2023 21:53:15 +0000 (0:00:00.217) 0:00:31.613 ******* included: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/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.16k9210qw6/tests/playbooks/tasks/assert_device_present.yml:3 Monday 25 December 2023 21:53:15 +0000 (0:00:00.068) 0:00:31.682 ******* included: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 25 December 2023 21:53:15 +0000 (0:00:00.042) 0:00:31.724 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1703541188.0445051, "block_size": 4096, "blocks": 0, "ctime": 1703541188.0445051, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 37045, "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": 1703541188.0445051, "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.16k9210qw6/tests/playbooks/tasks/assert_device_present.yml:5 Monday 25 December 2023 21:53:15 +0000 (0:00:00.241) 0:00:31.965 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 25 December 2023 21:53:15 +0000 (0:00:00.051) 0:00:32.017 ******* included: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/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.16k9210qw6/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 25 December 2023 21:53:15 +0000 (0:00:00.046) 0:00:32.064 ******* 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.16k9210qw6/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 25 December 2023 21:53:15 +0000 (0:00:00.025) 0:00:32.089 ******* 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.16k9210qw6/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 25 December 2023 21:53:15 +0000 (0:00:00.210) 0:00:32.299 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 25 December 2023 21:53:15 +0000 (0:00:00.024) 0:00:32.324 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022492", "end": "2023-12-25 21:53:15.961714", "rc": 0, "start": "2023-12-25 21:53:15.939222" } 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.16k9210qw6/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 25 December 2023 21:53:15 +0000 (0:00:00.231) 0:00:32.555 ******* 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.16k9210qw6/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 25 December 2023 21:53:16 +0000 (0:00:00.026) 0:00:32.581 ******* 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.16k9210qw6/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 25 December 2023 21:53:16 +0000 (0:00:00.023) 0:00:32.604 ******* 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.16k9210qw6/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 25 December 2023 21:53:16 +0000 (0:00:00.024) 0:00:32.629 ******* 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.16k9210qw6/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 25 December 2023 21:53:16 +0000 (0:00:00.024) 0:00:32.653 ******* 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.16k9210qw6/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 25 December 2023 21:53:16 +0000 (0:00:00.027) 0:00:32.680 ******* 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.16k9210qw6/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 25 December 2023 21:53:16 +0000 (0:00:00.107) 0:00:32.787 ******* 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.16k9210qw6/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 25 December 2023 21:53:16 +0000 (0:00:00.058) 0:00:32.846 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/run_test.yml:42 Monday 25 December 2023 21:53:16 +0000 (0:00:00.033) 0:00:32.879 ******* TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/run_test.yml:47 Monday 25 December 2023 21:53:16 +0000 (0:00:00.052) 0:00:32.932 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/run_test.yml:66 Monday 25 December 2023 21:53:16 +0000 (0:00:00.052) 0:00:32.984 ******* included: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 25 December 2023 21:53:16 +0000 (0:00:00.100) 0:00:33.085 ******* 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.071676", "end": "2023-12-25 21:53:16.814420", "rc": 1, "start": "2023-12-25 21:53:16.742744" } STDOUT: Connection 'statebr' (fd157cc8-fe7a-41cd-a358-cee909664706) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tests_states.yml:83 Monday 25 December 2023 21:53:16 +0000 (0:00:00.330) 0:00:33.416 ******* included: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/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.16k9210qw6/tests/playbooks/tasks/run_test.yml:5 Monday 25 December 2023 21:53:16 +0000 (0:00:00.052) 0:00:33.468 ******* ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/run_test.yml:9 Monday 25 December 2023 21:53:16 +0000 (0:00:00.031) 0:00:33.499 ******* 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.16k9210qw6/tests/playbooks/tasks/run_test.yml:21 Monday 25 December 2023 21:53:17 +0000 (0:00:00.093) 0:00:33.593 ******* included: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/show_interfaces.yml:3 Monday 25 December 2023 21:53:17 +0000 (0:00:00.094) 0:00:33.688 ******* included: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 25 December 2023 21:53:17 +0000 (0:00:00.078) 0:00:33.766 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003717", "end": "2023-12-25 21:53:17.396032", "rc": 0, "start": "2023-12-25 21:53:17.392315" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 25 December 2023 21:53:17 +0000 (0:00:00.266) 0:00:34.033 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/show_interfaces.yml:5 Monday 25 December 2023 21:53:17 +0000 (0:00:00.024) 0:00:34.058 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/run_test.yml:24 Monday 25 December 2023 21:53:17 +0000 (0:00:00.026) 0:00:34.085 ******* included: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 25 December 2023 21:53:17 +0000 (0:00:00.081) 0:00:34.167 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 25 December 2023 21:53:17 +0000 (0:00:00.044) 0:00:34.212 ******* included: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 25 December 2023 21:53:17 +0000 (0:00:00.132) 0:00:34.344 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 25 December 2023 21:53:17 +0000 (0:00:00.069) 0:00:34.413 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 25 December 2023 21:53:17 +0000 (0:00:00.068) 0:00:34.482 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 25 December 2023 21:53:18 +0000 (0:00:00.080) 0:00:34.562 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 25 December 2023 21:53:20 +0000 (0:00:02.218) 0:00:36.781 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 25 December 2023 21:53:21 +0000 (0:00:00.927) 0:00:37.708 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 25 December 2023 21:53:21 +0000 (0:00:00.031) 0:00:37.739 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 25 December 2023 21:53:21 +0000 (0:00:00.076) 0:00:37.815 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 25 December 2023 21:53:21 +0000 (0:00:00.034) 0:00:37.850 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 25 December 2023 21:53:21 +0000 (0:00:00.072) 0:00:37.923 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 25 December 2023 21:53:21 +0000 (0:00:00.050) 0:00:37.973 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 25 December 2023 21:53:21 +0000 (0:00:00.038) 0:00:38.012 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 25 December 2023 21:53:21 +0000 (0:00:00.102) 0:00:38.115 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 25 December 2023 21:53:22 +0000 (0:00:00.576) 0:00:38.692 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 25 December 2023 21:53:22 +0000 (0:00:00.034) 0:00:38.726 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 25 December 2023 21:53:22 +0000 (0:00:00.028) 0:00:38.755 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 25 December 2023 21:53:22 +0000 (0:00:00.031) 0:00:38.786 ******* 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, a7f7e25f-6817-4aa1-92f9-f706dd9eb470 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 25 December 2023 21:53:22 +0000 (0:00:00.414) 0:00:39.200 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 25 December 2023 21:53:22 +0000 (0:00:00.023) 0:00:39.224 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a7f7e25f-6817-4aa1-92f9-f706dd9eb470" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 25 December 2023 21:53:22 +0000 (0:00:00.024) 0:00:39.249 ******* 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, a7f7e25f-6817-4aa1-92f9-f706dd9eb470\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a7f7e25f-6817-4aa1-92f9-f706dd9eb470" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 25 December 2023 21:53:22 +0000 (0:00:00.023) 0:00:39.273 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 25 December 2023 21:53:22 +0000 (0:00:00.025) 0:00:39.299 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 25 December 2023 21:53:22 +0000 (0:00:00.218) 0:00:39.518 ******* 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, a7f7e25f-6817-4aa1-92f9-f706dd9eb470\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a7f7e25f-6817-4aa1-92f9-f706dd9eb470" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/activate_profile.yml:3 Monday 25 December 2023 21:53:22 +0000 (0:00:00.029) 0:00:39.547 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 25 December 2023 21:53:23 +0000 (0:00:00.038) 0:00:39.586 ******* included: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 25 December 2023 21:53:23 +0000 (0:00:00.073) 0:00:39.659 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 25 December 2023 21:53:23 +0000 (0:00:00.029) 0:00:39.689 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 25 December 2023 21:53:23 +0000 (0:00:00.023) 0:00:39.712 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 25 December 2023 21:53:23 +0000 (0:00:00.023) 0:00:39.736 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 25 December 2023 21:53:25 +0000 (0:00:02.201) 0:00:41.938 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 25 December 2023 21:53:26 +0000 (0:00:00.992) 0:00:42.930 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 25 December 2023 21:53:26 +0000 (0:00:00.042) 0:00:42.973 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 25 December 2023 21:53:26 +0000 (0:00:00.033) 0:00:43.007 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 25 December 2023 21:53:26 +0000 (0:00:00.025) 0:00:43.032 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 25 December 2023 21:53:26 +0000 (0:00:00.045) 0:00:43.078 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 25 December 2023 21:53:26 +0000 (0:00:00.023) 0:00:43.101 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 25 December 2023 21:53:26 +0000 (0:00:00.023) 0:00:43.125 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 25 December 2023 21:53:26 +0000 (0:00:00.026) 0:00:43.151 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 25 December 2023 21:53:27 +0000 (0:00:00.577) 0:00:43.728 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 25 December 2023 21:53:27 +0000 (0:00:00.049) 0:00:43.778 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 25 December 2023 21:53:27 +0000 (0:00:00.089) 0:00:43.867 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 25 December 2023 21:53:27 +0000 (0:00:00.033) 0:00:43.900 ******* 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, a7f7e25f-6817-4aa1-92f9-f706dd9eb470 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 25 December 2023 21:53:27 +0000 (0:00:00.402) 0:00:44.303 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 25 December 2023 21:53:27 +0000 (0:00:00.035) 0:00:44.339 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, a7f7e25f-6817-4aa1-92f9-f706dd9eb470 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 25 December 2023 21:53:27 +0000 (0:00:00.026) 0:00:44.365 ******* 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, a7f7e25f-6817-4aa1-92f9-f706dd9eb470 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, a7f7e25f-6817-4aa1-92f9-f706dd9eb470 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 25 December 2023 21:53:27 +0000 (0:00:00.026) 0:00:44.392 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 25 December 2023 21:53:27 +0000 (0:00:00.024) 0:00:44.417 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/run_test.yml:30 Monday 25 December 2023 21:53:28 +0000 (0:00:00.222) 0:00:44.639 ******* included: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/remove_profile.yml:3 Monday 25 December 2023 21:53:28 +0000 (0:00:00.079) 0:00:44.719 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 25 December 2023 21:53:28 +0000 (0:00:00.082) 0:00:44.801 ******* included: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 25 December 2023 21:53:28 +0000 (0:00:00.052) 0:00:44.854 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 25 December 2023 21:53:28 +0000 (0:00:00.059) 0:00:44.914 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 25 December 2023 21:53:28 +0000 (0:00:00.026) 0:00:44.940 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 25 December 2023 21:53:28 +0000 (0:00:00.023) 0:00:44.964 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 25 December 2023 21:53:30 +0000 (0:00:02.230) 0:00:47.195 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 25 December 2023 21:53:31 +0000 (0:00:01.027) 0:00:48.222 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 25 December 2023 21:53:31 +0000 (0:00:00.038) 0:00:48.260 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 25 December 2023 21:53:31 +0000 (0:00:00.023) 0:00:48.284 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 25 December 2023 21:53:31 +0000 (0:00:00.025) 0:00:48.310 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 25 December 2023 21:53:31 +0000 (0:00:00.050) 0:00:48.361 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 25 December 2023 21:53:31 +0000 (0:00:00.023) 0:00:48.384 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 25 December 2023 21:53:31 +0000 (0:00:00.027) 0:00:48.412 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 25 December 2023 21:53:31 +0000 (0:00:00.032) 0:00:48.445 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 25 December 2023 21:53:32 +0000 (0:00:00.640) 0:00:49.085 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 25 December 2023 21:53:32 +0000 (0:00:00.084) 0:00:49.170 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 25 December 2023 21:53:32 +0000 (0:00:00.053) 0:00:49.223 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 25 December 2023 21:53:32 +0000 (0:00:00.057) 0:00:49.281 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 25 December 2023 21:53:33 +0000 (0:00:00.469) 0:00:49.750 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 25 December 2023 21:53:33 +0000 (0:00:00.152) 0:00:49.903 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 25 December 2023 21:53:33 +0000 (0:00:00.040) 0:00:49.943 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 25 December 2023 21:53:33 +0000 (0:00:00.037) 0:00:49.981 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 25 December 2023 21:53:33 +0000 (0:00:00.064) 0:00:50.046 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/run_test.yml:36 Monday 25 December 2023 21:53:33 +0000 (0:00:00.280) 0:00:50.326 ******* included: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/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.16k9210qw6/tests/playbooks/tasks/assert_device_present.yml:3 Monday 25 December 2023 21:53:33 +0000 (0:00:00.072) 0:00:50.398 ******* included: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 25 December 2023 21:53:33 +0000 (0:00:00.040) 0:00:50.439 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1703541202.5573602, "block_size": 4096, "blocks": 0, "ctime": 1703541202.5573602, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 37176, "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": 1703541202.5573602, "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.16k9210qw6/tests/playbooks/tasks/assert_device_present.yml:5 Monday 25 December 2023 21:53:34 +0000 (0:00:00.246) 0:00:50.686 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/assert_profile_absent.yml:3 Monday 25 December 2023 21:53:34 +0000 (0:00:00.033) 0:00:50.719 ******* included: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/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.16k9210qw6/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 25 December 2023 21:53:34 +0000 (0:00:00.048) 0:00:50.767 ******* 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.16k9210qw6/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 25 December 2023 21:53:34 +0000 (0:00:00.042) 0:00:50.810 ******* 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.16k9210qw6/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 25 December 2023 21:53:34 +0000 (0:00:00.262) 0:00:51.072 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 25 December 2023 21:53:34 +0000 (0:00:00.031) 0:00:51.103 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022556", "end": "2023-12-25 21:53:34.787380", "rc": 1, "start": "2023-12-25 21:53:34.764824" } 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.16k9210qw6/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 25 December 2023 21:53:34 +0000 (0:00:00.282) 0:00:51.386 ******* 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.16k9210qw6/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 25 December 2023 21:53:34 +0000 (0:00:00.026) 0:00:51.412 ******* 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.16k9210qw6/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 25 December 2023 21:53:34 +0000 (0:00:00.026) 0:00:51.438 ******* 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.16k9210qw6/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 25 December 2023 21:53:34 +0000 (0:00:00.029) 0:00:51.467 ******* 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.16k9210qw6/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 25 December 2023 21:53:34 +0000 (0:00:00.039) 0:00:51.507 ******* 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.16k9210qw6/tests/playbooks/tasks/assert_profile_absent.yml:5 Monday 25 December 2023 21:53:34 +0000 (0:00:00.028) 0:00:51.535 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/run_test.yml:42 Monday 25 December 2023 21:53:35 +0000 (0:00:00.048) 0:00:51.584 ******* TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/run_test.yml:47 Monday 25 December 2023 21:53:35 +0000 (0:00:00.041) 0:00:51.625 ******* 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.16k9210qw6/tests/playbooks/tasks/run_test.yml:66 Monday 25 December 2023 21:53:35 +0000 (0:00:00.054) 0:00:51.679 ******* included: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 25 December 2023 21:53:35 +0000 (0:00:00.092) 0:00:51.772 ******* 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.069156", "end": "2023-12-25 21:53:35.473715", "rc": 1, "start": "2023-12-25 21:53:35.404559" } STDOUT: Connection 'statebr' (a7f7e25f-6817-4aa1-92f9-f706dd9eb470) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tests_states.yml:103 Monday 25 December 2023 21:53:35 +0000 (0:00:00.307) 0:00:52.080 ******* included: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/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.16k9210qw6/tests/playbooks/tasks/run_test.yml:5 Monday 25 December 2023 21:53:35 +0000 (0:00:00.069) 0:00:52.149 ******* ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/run_test.yml:9 Monday 25 December 2023 21:53:35 +0000 (0:00:00.032) 0:00:52.182 ******* 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.16k9210qw6/tests/playbooks/tasks/run_test.yml:21 Monday 25 December 2023 21:53:35 +0000 (0:00:00.064) 0:00:52.246 ******* included: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/show_interfaces.yml:3 Monday 25 December 2023 21:53:35 +0000 (0:00:00.047) 0:00:52.294 ******* included: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 25 December 2023 21:53:35 +0000 (0:00:00.060) 0:00:52.355 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004828", "end": "2023-12-25 21:53:36.985511", "rc": 0, "start": "2023-12-25 21:53:35.980683" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 25 December 2023 21:53:37 +0000 (0:00:01.224) 0:00:53.579 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/show_interfaces.yml:5 Monday 25 December 2023 21:53:37 +0000 (0:00:00.024) 0:00:53.604 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/run_test.yml:24 Monday 25 December 2023 21:53:37 +0000 (0:00:00.025) 0:00:53.629 ******* included: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 25 December 2023 21:53:37 +0000 (0:00:00.048) 0:00:53.678 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 25 December 2023 21:53:37 +0000 (0:00:00.076) 0:00:53.755 ******* included: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 25 December 2023 21:53:37 +0000 (0:00:00.049) 0:00:53.805 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 25 December 2023 21:53:37 +0000 (0:00:00.031) 0:00:53.836 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 25 December 2023 21:53:37 +0000 (0:00:00.024) 0:00:53.860 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 25 December 2023 21:53:37 +0000 (0:00:00.024) 0:00:53.884 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 25 December 2023 21:53:39 +0000 (0:00:02.190) 0:00:56.075 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 25 December 2023 21:53:40 +0000 (0:00:00.956) 0:00:57.031 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 25 December 2023 21:53:40 +0000 (0:00:00.027) 0:00:57.058 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 25 December 2023 21:53:40 +0000 (0:00:00.028) 0:00:57.087 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 25 December 2023 21:53:40 +0000 (0:00:00.026) 0:00:57.113 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 25 December 2023 21:53:40 +0000 (0:00:00.048) 0:00:57.162 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 25 December 2023 21:53:40 +0000 (0:00:00.024) 0:00:57.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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 25 December 2023 21:53:40 +0000 (0:00:00.023) 0:00:57.210 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 25 December 2023 21:53:40 +0000 (0:00:00.030) 0:00:57.240 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 25 December 2023 21:53:41 +0000 (0:00:00.551) 0:00:57.791 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 25 December 2023 21:53:41 +0000 (0:00:00.065) 0:00:57.857 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 25 December 2023 21:53:41 +0000 (0:00:00.025) 0:00:57.882 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 25 December 2023 21:53:41 +0000 (0:00:00.022) 0:00:57.905 ******* 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, 9ec0f3dd-2e7d-464c-af06-a1a1ab3d03c1 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 25 December 2023 21:53:41 +0000 (0:00:00.423) 0:00:58.328 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 25 December 2023 21:53:41 +0000 (0:00:00.022) 0:00:58.351 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9ec0f3dd-2e7d-464c-af06-a1a1ab3d03c1" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 25 December 2023 21:53:41 +0000 (0:00:00.023) 0:00:58.375 ******* 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, 9ec0f3dd-2e7d-464c-af06-a1a1ab3d03c1\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9ec0f3dd-2e7d-464c-af06-a1a1ab3d03c1" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 25 December 2023 21:53:41 +0000 (0:00:00.023) 0:00:58.398 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 25 December 2023 21:53:41 +0000 (0:00:00.021) 0:00:58.420 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 25 December 2023 21:53:42 +0000 (0:00:00.202) 0:00:58.622 ******* 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, 9ec0f3dd-2e7d-464c-af06-a1a1ab3d03c1\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9ec0f3dd-2e7d-464c-af06-a1a1ab3d03c1" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/activate_profile.yml:3 Monday 25 December 2023 21:53:42 +0000 (0:00:00.026) 0:00:58.648 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 25 December 2023 21:53:42 +0000 (0:00:00.039) 0:00:58.687 ******* included: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 25 December 2023 21:53:42 +0000 (0:00:00.042) 0:00:58.730 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 25 December 2023 21:53:42 +0000 (0:00:00.067) 0:00:58.798 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 25 December 2023 21:53:42 +0000 (0:00:00.029) 0:00:58.827 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 25 December 2023 21:53:42 +0000 (0:00:00.023) 0:00:58.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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 25 December 2023 21:53:44 +0000 (0:00:02.263) 0:01:01.114 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 25 December 2023 21:53:45 +0000 (0:00:00.983) 0:01:02.097 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 25 December 2023 21:53:45 +0000 (0:00:00.024) 0:01:02.122 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 25 December 2023 21:53:45 +0000 (0:00:00.025) 0:01:02.147 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 25 December 2023 21:53:45 +0000 (0:00:00.024) 0:01:02.172 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 25 December 2023 21:53:45 +0000 (0:00:00.048) 0:01:02.220 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 25 December 2023 21:53:45 +0000 (0:00:00.038) 0:01:02.259 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 25 December 2023 21:53:45 +0000 (0:00:00.036) 0:01:02.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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 25 December 2023 21:53:45 +0000 (0:00:00.028) 0:01:02.324 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 25 December 2023 21:53:46 +0000 (0:00:00.597) 0:01:02.922 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 25 December 2023 21:53:46 +0000 (0:00:00.054) 0:01:02.977 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 25 December 2023 21:53:46 +0000 (0:00:00.027) 0:01:03.004 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 25 December 2023 21:53:46 +0000 (0:00:00.069) 0:01:03.074 ******* 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, 9ec0f3dd-2e7d-464c-af06-a1a1ab3d03c1 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 25 December 2023 21:53:46 +0000 (0:00:00.410) 0:01:03.484 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 25 December 2023 21:53:46 +0000 (0:00:00.050) 0:01:03.535 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 9ec0f3dd-2e7d-464c-af06-a1a1ab3d03c1 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 25 December 2023 21:53:47 +0000 (0:00:00.086) 0:01:03.621 ******* 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, 9ec0f3dd-2e7d-464c-af06-a1a1ab3d03c1 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 9ec0f3dd-2e7d-464c-af06-a1a1ab3d03c1 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 25 December 2023 21:53:47 +0000 (0:00:00.035) 0:01:03.657 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 25 December 2023 21:53:47 +0000 (0:00:00.061) 0:01:03.718 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/remove_profile.yml:3 Monday 25 December 2023 21:53:47 +0000 (0:00:00.286) 0:01:04.005 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 25 December 2023 21:53:47 +0000 (0:00:00.054) 0:01:04.060 ******* included: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 25 December 2023 21:53:47 +0000 (0:00:00.075) 0:01:04.135 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 25 December 2023 21:53:47 +0000 (0:00:00.087) 0:01:04.223 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 25 December 2023 21:53:47 +0000 (0:00:00.045) 0:01:04.269 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 25 December 2023 21:53:47 +0000 (0:00:00.034) 0:01:04.303 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 25 December 2023 21:53:50 +0000 (0:00:02.299) 0:01:06.603 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 25 December 2023 21:53:51 +0000 (0:00:00.988) 0:01:07.591 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 25 December 2023 21:53:51 +0000 (0:00:00.035) 0:01:07.627 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 25 December 2023 21:53:51 +0000 (0:00:00.040) 0:01:07.668 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 25 December 2023 21:53:51 +0000 (0:00:00.031) 0:01:07.699 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 25 December 2023 21:53:51 +0000 (0:00:00.061) 0:01:07.760 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 25 December 2023 21:53:51 +0000 (0:00:00.081) 0:01:07.842 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 25 December 2023 21:53:51 +0000 (0:00:00.045) 0:01:07.887 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 25 December 2023 21:53:51 +0000 (0:00:00.061) 0:01:07.948 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 25 December 2023 21:53:51 +0000 (0:00:00.570) 0:01:08.519 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 25 December 2023 21:53:52 +0000 (0:00:00.053) 0:01:08.573 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 25 December 2023 21:53:52 +0000 (0:00:00.023) 0:01:08.596 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 25 December 2023 21:53:52 +0000 (0:00:00.021) 0:01:08.618 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 25 December 2023 21:53:52 +0000 (0:00:00.405) 0:01:09.023 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 25 December 2023 21:53:52 +0000 (0:00:00.025) 0:01:09.048 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 25 December 2023 21:53:52 +0000 (0:00:00.022) 0:01:09.071 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 25 December 2023 21:53:52 +0000 (0:00:00.024) 0:01:09.096 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 25 December 2023 21:53:52 +0000 (0:00:00.022) 0:01:09.118 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/run_test.yml:30 Monday 25 December 2023 21:53:52 +0000 (0:00:00.207) 0:01:09.325 ******* included: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/remove+down_profile.yml:3 Monday 25 December 2023 21:53:52 +0000 (0:00:00.045) 0:01:09.371 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 25 December 2023 21:53:52 +0000 (0:00:00.043) 0:01:09.414 ******* included: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 25 December 2023 21:53:52 +0000 (0:00:00.091) 0:01:09.506 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 25 December 2023 21:53:53 +0000 (0:00:00.087) 0:01:09.593 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 25 December 2023 21:53:53 +0000 (0:00:00.029) 0:01:09.623 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 25 December 2023 21:53:53 +0000 (0:00:00.023) 0:01:09.646 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 25 December 2023 21:53:55 +0000 (0:00:02.219) 0:01:11.865 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 25 December 2023 21:53:56 +0000 (0:00:01.108) 0:01:12.974 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 25 December 2023 21:53:56 +0000 (0:00:00.025) 0:01:12.999 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 25 December 2023 21:53:56 +0000 (0:00:00.021) 0:01:13.021 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 25 December 2023 21:53:56 +0000 (0:00:00.021) 0:01:13.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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 25 December 2023 21:53:56 +0000 (0:00:00.051) 0:01:13.094 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 25 December 2023 21:53:56 +0000 (0:00:00.024) 0:01:13.118 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 25 December 2023 21:53:56 +0000 (0:00:00.044) 0:01:13.163 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 25 December 2023 21:53:56 +0000 (0:00:00.039) 0:01:13.203 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 25 December 2023 21:53:57 +0000 (0:00:00.567) 0:01:13.771 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 25 December 2023 21:53:57 +0000 (0:00:00.043) 0:01:13.814 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 25 December 2023 21:53:57 +0000 (0:00:00.029) 0:01:13.843 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 25 December 2023 21:53:57 +0000 (0:00:00.025) 0:01:13.868 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 25 December 2023 21:53:57 +0000 (0:00:00.567) 0:01:14.436 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 25 December 2023 21:53:57 +0000 (0:00:00.025) 0:01:14.462 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 25 December 2023 21:53:57 +0000 (0:00:00.024) 0:01:14.487 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 25 December 2023 21:53:57 +0000 (0:00:00.029) 0:01:14.517 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 25 December 2023 21:53:57 +0000 (0:00:00.026) 0:01:14.543 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/run_test.yml:36 Monday 25 December 2023 21:53:58 +0000 (0:00:00.213) 0:01:14.756 ******* included: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/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.16k9210qw6/tests/playbooks/tasks/assert_profile_absent.yml:3 Monday 25 December 2023 21:53:58 +0000 (0:00:00.055) 0:01:14.812 ******* included: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/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.16k9210qw6/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 25 December 2023 21:53:58 +0000 (0:00:00.068) 0:01:14.880 ******* 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.16k9210qw6/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 25 December 2023 21:53:58 +0000 (0:00:00.026) 0:01:14.907 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 25 December 2023 21:53:58 +0000 (0:00:00.233) 0:01:15.140 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 25 December 2023 21:53:58 +0000 (0:00:00.035) 0:01:15.176 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021386", "end": "2023-12-25 21:53:58.847230", "rc": 1, "start": "2023-12-25 21:53:58.825844" } 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.16k9210qw6/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 25 December 2023 21:53:58 +0000 (0:00:00.264) 0:01:15.441 ******* 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.16k9210qw6/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 25 December 2023 21:53:58 +0000 (0:00:00.062) 0:01:15.503 ******* 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.16k9210qw6/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 25 December 2023 21:53:58 +0000 (0:00:00.025) 0:01:15.529 ******* 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.16k9210qw6/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 25 December 2023 21:53:58 +0000 (0:00:00.025) 0:01:15.554 ******* 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.16k9210qw6/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 25 December 2023 21:53:59 +0000 (0:00:00.025) 0:01:15.580 ******* 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.16k9210qw6/tests/playbooks/tasks/assert_profile_absent.yml:5 Monday 25 December 2023 21:53:59 +0000 (0:00:00.027) 0:01:15.607 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/run_test.yml:42 Monday 25 December 2023 21:53:59 +0000 (0:00:00.029) 0:01:15.636 ******* included: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/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.16k9210qw6/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 25 December 2023 21:53:59 +0000 (0:00:00.045) 0:01:15.682 ******* included: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 25 December 2023 21:53:59 +0000 (0:00:00.040) 0:01:15.722 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 25 December 2023 21:53:59 +0000 (0:00:00.217) 0:01:15.940 ******* 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.16k9210qw6/tests/playbooks/tasks/run_test.yml:47 Monday 25 December 2023 21:53:59 +0000 (0:00:00.025) 0:01:15.966 ******* 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.16k9210qw6/tests/playbooks/tasks/run_test.yml:66 Monday 25 December 2023 21:53:59 +0000 (0:00:00.025) 0:01:15.991 ******* included: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 25 December 2023 21:53:59 +0000 (0:00:00.045) 0:01:16.036 ******* 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.041215", "end": "2023-12-25 21:53:59.694668", "rc": 1, "start": "2023-12-25 21:53:59.653453" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tests_states.yml:126 Monday 25 December 2023 21:53:59 +0000 (0:00:00.256) 0:01:16.293 ******* included: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/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.16k9210qw6/tests/playbooks/tasks/run_test.yml:5 Monday 25 December 2023 21:53:59 +0000 (0:00:00.069) 0:01:16.362 ******* 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.16k9210qw6/tests/playbooks/tasks/run_test.yml:9 Monday 25 December 2023 21:53:59 +0000 (0:00:00.037) 0:01:16.400 ******* 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.16k9210qw6/tests/playbooks/tasks/run_test.yml:21 Monday 25 December 2023 21:53:59 +0000 (0:00:00.065) 0:01:16.465 ******* included: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/show_interfaces.yml:3 Monday 25 December 2023 21:54:00 +0000 (0:00:00.094) 0:01:16.559 ******* included: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 25 December 2023 21:54:00 +0000 (0:00:00.057) 0:01:16.617 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003643", "end": "2023-12-25 21:54:00.266930", "rc": 0, "start": "2023-12-25 21:54:00.263287" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 25 December 2023 21:54:00 +0000 (0:00:00.278) 0:01:16.895 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/show_interfaces.yml:5 Monday 25 December 2023 21:54:00 +0000 (0:00:00.032) 0:01:16.928 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/run_test.yml:24 Monday 25 December 2023 21:54:00 +0000 (0:00:00.053) 0:01:16.981 ******* included: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 25 December 2023 21:54:00 +0000 (0:00:00.057) 0:01:17.038 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 25 December 2023 21:54:00 +0000 (0:00:00.182) 0:01:17.221 ******* included: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 25 December 2023 21:54:00 +0000 (0:00:00.082) 0:01:17.303 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 25 December 2023 21:54:00 +0000 (0:00:00.049) 0:01:17.353 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 25 December 2023 21:54:00 +0000 (0:00:00.043) 0:01:17.397 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 25 December 2023 21:54:00 +0000 (0:00:00.027) 0:01:17.424 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 25 December 2023 21:54:03 +0000 (0:00:02.233) 0:01:19.658 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 25 December 2023 21:54:04 +0000 (0:00:01.023) 0:01:20.682 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 25 December 2023 21:54:04 +0000 (0:00:00.027) 0:01:20.710 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 25 December 2023 21:54:04 +0000 (0:00:00.024) 0:01:20.735 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 25 December 2023 21:54:04 +0000 (0:00:00.028) 0:01:20.763 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 25 December 2023 21:54:04 +0000 (0:00:00.053) 0:01:20.817 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 25 December 2023 21:54:04 +0000 (0:00:00.025) 0:01:20.842 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 25 December 2023 21:54:04 +0000 (0:00:00.043) 0:01:20.886 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 25 December 2023 21:54:04 +0000 (0:00:00.070) 0:01:20.956 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 25 December 2023 21:54:05 +0000 (0:00:00.607) 0:01:21.564 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 25 December 2023 21:54:05 +0000 (0:00:00.026) 0:01:21.590 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 25 December 2023 21:54:05 +0000 (0:00:00.022) 0:01:21.612 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 25 December 2023 21:54:05 +0000 (0:00:00.023) 0:01:21.635 ******* 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, ed77dfed-2111-487e-aa60-351e0ba365fb TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 25 December 2023 21:54:05 +0000 (0:00:00.457) 0:01:22.093 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 25 December 2023 21:54:05 +0000 (0:00:00.031) 0:01:22.125 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ed77dfed-2111-487e-aa60-351e0ba365fb" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 25 December 2023 21:54:05 +0000 (0:00:00.051) 0:01:22.177 ******* 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, ed77dfed-2111-487e-aa60-351e0ba365fb\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ed77dfed-2111-487e-aa60-351e0ba365fb" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 25 December 2023 21:54:05 +0000 (0:00:00.027) 0:01:22.204 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 25 December 2023 21:54:05 +0000 (0:00:00.067) 0:01:22.272 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 25 December 2023 21:54:05 +0000 (0:00:00.228) 0:01:22.501 ******* 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, ed77dfed-2111-487e-aa60-351e0ba365fb\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ed77dfed-2111-487e-aa60-351e0ba365fb" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/activate_profile.yml:3 Monday 25 December 2023 21:54:05 +0000 (0:00:00.024) 0:01:22.525 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 25 December 2023 21:54:06 +0000 (0:00:00.040) 0:01:22.565 ******* included: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 25 December 2023 21:54:06 +0000 (0:00:00.050) 0:01:22.616 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 25 December 2023 21:54:06 +0000 (0:00:00.034) 0:01:22.651 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 25 December 2023 21:54:06 +0000 (0:00:00.023) 0:01:22.674 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 25 December 2023 21:54:06 +0000 (0:00:00.021) 0:01:22.696 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 25 December 2023 21:54:08 +0000 (0:00:02.240) 0:01:24.937 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 25 December 2023 21:54:09 +0000 (0:00:00.907) 0:01:25.844 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 25 December 2023 21:54:09 +0000 (0:00:00.056) 0:01:25.901 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 25 December 2023 21:54:09 +0000 (0:00:00.027) 0:01:25.929 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 25 December 2023 21:54:09 +0000 (0:00:00.031) 0:01:25.960 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 25 December 2023 21:54:09 +0000 (0:00:00.059) 0:01:26.019 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 25 December 2023 21:54:09 +0000 (0:00:00.034) 0:01:26.053 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 25 December 2023 21:54:09 +0000 (0:00:00.025) 0:01:26.079 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 25 December 2023 21:54:09 +0000 (0:00:00.028) 0:01:26.107 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 25 December 2023 21:54:10 +0000 (0:00:00.583) 0:01:26.691 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 25 December 2023 21:54:10 +0000 (0:00:00.048) 0:01:26.739 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 25 December 2023 21:54:10 +0000 (0:00:00.024) 0:01:26.764 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 25 December 2023 21:54:10 +0000 (0:00:00.037) 0:01:26.801 ******* 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, ed77dfed-2111-487e-aa60-351e0ba365fb skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 25 December 2023 21:54:10 +0000 (0:00:00.428) 0:01:27.229 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 25 December 2023 21:54:10 +0000 (0:00:00.022) 0:01:27.252 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, ed77dfed-2111-487e-aa60-351e0ba365fb skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 25 December 2023 21:54:10 +0000 (0:00:00.026) 0:01:27.278 ******* 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, ed77dfed-2111-487e-aa60-351e0ba365fb skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, ed77dfed-2111-487e-aa60-351e0ba365fb skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 25 December 2023 21:54:10 +0000 (0:00:00.083) 0:01:27.362 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 25 December 2023 21:54:10 +0000 (0:00:00.036) 0:01:27.399 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/remove+down_profile.yml:3 Monday 25 December 2023 21:54:11 +0000 (0:00:00.231) 0:01:27.630 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 25 December 2023 21:54:11 +0000 (0:00:00.040) 0:01:27.670 ******* included: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 25 December 2023 21:54:11 +0000 (0:00:00.044) 0:01:27.715 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 25 December 2023 21:54:11 +0000 (0:00:00.028) 0:01:27.743 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 25 December 2023 21:54:11 +0000 (0:00:00.034) 0:01:27.778 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 25 December 2023 21:54:11 +0000 (0:00:00.034) 0:01:27.813 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 25 December 2023 21:54:13 +0000 (0:00:02.182) 0:01:29.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 : Print network provider] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 25 December 2023 21:54:14 +0000 (0:00:00.928) 0:01:30.924 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 25 December 2023 21:54:14 +0000 (0:00:00.025) 0:01:30.949 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 25 December 2023 21:54:14 +0000 (0:00:00.024) 0:01:30.973 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 25 December 2023 21:54:14 +0000 (0:00:00.023) 0:01:30.997 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 25 December 2023 21:54:14 +0000 (0:00:00.044) 0:01:31.041 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 25 December 2023 21:54:14 +0000 (0:00:00.023) 0:01:31.064 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 25 December 2023 21:54:14 +0000 (0:00:00.022) 0:01:31.086 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 25 December 2023 21:54:14 +0000 (0:00:00.025) 0:01:31.112 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 25 December 2023 21:54:15 +0000 (0:00:00.556) 0:01:31.668 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 25 December 2023 21:54:15 +0000 (0:00:00.032) 0:01:31.701 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 25 December 2023 21:54:15 +0000 (0:00:00.026) 0:01:31.727 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 25 December 2023 21:54:15 +0000 (0:00:00.022) 0:01:31.750 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 25 December 2023 21:54:15 +0000 (0:00:00.499) 0:01:32.249 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 25 December 2023 21:54:15 +0000 (0:00:00.040) 0:01:32.289 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 25 December 2023 21:54:15 +0000 (0:00:00.026) 0:01:32.316 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 25 December 2023 21:54:15 +0000 (0:00:00.028) 0:01:32.344 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 25 December 2023 21:54:15 +0000 (0:00:00.025) 0:01:32.370 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/run_test.yml:30 Monday 25 December 2023 21:54:16 +0000 (0:00:00.248) 0:01:32.618 ******* included: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/remove+down_profile.yml:3 Monday 25 December 2023 21:54:16 +0000 (0:00:00.061) 0:01:32.680 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 25 December 2023 21:54:16 +0000 (0:00:00.079) 0:01:32.759 ******* included: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 25 December 2023 21:54:16 +0000 (0:00:00.044) 0:01:32.803 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 25 December 2023 21:54:16 +0000 (0:00:00.028) 0:01:32.832 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 25 December 2023 21:54:16 +0000 (0:00:00.023) 0:01:32.856 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 25 December 2023 21:54:16 +0000 (0:00:00.022) 0:01:32.879 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 25 December 2023 21:54:18 +0000 (0:00:02.213) 0:01:35.092 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 25 December 2023 21:54:19 +0000 (0:00:00.965) 0:01:36.058 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 25 December 2023 21:54:19 +0000 (0:00:00.047) 0:01:36.106 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 25 December 2023 21:54:19 +0000 (0:00:00.081) 0:01:36.188 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 25 December 2023 21:54:19 +0000 (0:00:00.037) 0:01:36.225 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 25 December 2023 21:54:19 +0000 (0:00:00.061) 0:01:36.287 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 25 December 2023 21:54:19 +0000 (0:00:00.039) 0:01:36.327 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 25 December 2023 21:54:19 +0000 (0:00:00.033) 0:01:36.360 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 25 December 2023 21:54:19 +0000 (0:00:00.043) 0:01:36.404 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 25 December 2023 21:54:20 +0000 (0:00:00.558) 0:01:36.962 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 25 December 2023 21:54:20 +0000 (0:00:00.046) 0:01:37.008 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 25 December 2023 21:54:20 +0000 (0:00:00.091) 0:01:37.100 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 25 December 2023 21:54:20 +0000 (0:00:00.043) 0:01:37.144 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 25 December 2023 21:54:20 +0000 (0:00:00.398) 0:01:37.543 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 25 December 2023 21:54:21 +0000 (0:00:00.023) 0:01:37.566 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 25 December 2023 21:54:21 +0000 (0:00:00.024) 0:01:37.591 ******* 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.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 25 December 2023 21:54:21 +0000 (0:00:00.023) 0:01:37.615 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 25 December 2023 21:54:21 +0000 (0:00:00.022) 0:01:37.637 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/run_test.yml:36 Monday 25 December 2023 21:54:21 +0000 (0:00:00.203) 0:01:37.840 ******* included: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/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.16k9210qw6/tests/playbooks/tasks/assert_profile_absent.yml:3 Monday 25 December 2023 21:54:21 +0000 (0:00:00.045) 0:01:37.886 ******* included: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/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.16k9210qw6/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 25 December 2023 21:54:21 +0000 (0:00:00.039) 0:01:37.925 ******* 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.16k9210qw6/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 25 December 2023 21:54:21 +0000 (0:00:00.022) 0:01:37.948 ******* 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.16k9210qw6/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 25 December 2023 21:54:21 +0000 (0:00:00.240) 0:01:38.188 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 25 December 2023 21:54:21 +0000 (0:00:00.028) 0:01:38.217 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021472", "end": "2023-12-25 21:54:21.865739", "rc": 1, "start": "2023-12-25 21:54:21.844267" } 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.16k9210qw6/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 25 December 2023 21:54:21 +0000 (0:00:00.243) 0:01:38.461 ******* 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.16k9210qw6/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 25 December 2023 21:54:21 +0000 (0:00:00.024) 0:01:38.485 ******* 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.16k9210qw6/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 25 December 2023 21:54:21 +0000 (0:00:00.037) 0:01:38.523 ******* 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.16k9210qw6/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 25 December 2023 21:54:21 +0000 (0:00:00.034) 0:01:38.557 ******* 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.16k9210qw6/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 25 December 2023 21:54:22 +0000 (0:00:00.026) 0:01:38.584 ******* 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.16k9210qw6/tests/playbooks/tasks/assert_profile_absent.yml:5 Monday 25 December 2023 21:54:22 +0000 (0:00:00.028) 0:01:38.613 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Monday 25 December 2023 21:54:22 +0000 (0:00:00.041) 0:01:38.654 ******* ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.361467", "end": "2023-12-25 21:54:22.637784", "rc": 0, "start": "2023-12-25 21:54:22.276317" } STDOUT: NetworkManager-1.42.8-1.fc38 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Monday 25 December 2023 21:54:22 +0000 (0:00:00.590) 0:01:39.244 ******* ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.42.8-1.fc38" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Monday 25 December 2023 21:54:22 +0000 (0:00:00.047) 0:01:39.292 ******* ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.42.8-1.fc38" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/run_test.yml:42 Monday 25 December 2023 21:54:22 +0000 (0:00:00.042) 0:01:39.334 ******* included: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/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.16k9210qw6/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 25 December 2023 21:54:22 +0000 (0:00:00.072) 0:01:39.407 ******* included: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 25 December 2023 21:54:22 +0000 (0:00:00.038) 0:01:39.445 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 25 December 2023 21:54:23 +0000 (0:00:00.208) 0:01:39.653 ******* 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.16k9210qw6/tests/playbooks/tasks/run_test.yml:47 Monday 25 December 2023 21:54:23 +0000 (0:00:00.029) 0:01:39.683 ******* 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.16k9210qw6/tests/playbooks/tasks/run_test.yml:66 Monday 25 December 2023 21:54:23 +0000 (0:00:00.047) 0:01:39.731 ******* included: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 25 December 2023 21:54:23 +0000 (0:00:00.053) 0:01:39.784 ******* 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.042743", "end": "2023-12-25 21:54:23.445234", "rc": 1, "start": "2023-12-25 21:54:23.402491" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=316 changed=10 unreachable=0 failed=0 skipped=252 rescued=0 ignored=11 Monday 25 December 2023 21:54:23 +0000 (0:00:00.260) 0:01:40.045 ******* =============================================================================== linux-system-roles.network : Check which services are running ----------- 3.27s /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Enable and start NetworkManager ------------ 2.98s /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Enable and start NetworkManager ------------ 2.34s /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Configure networking connection profiles --- 2.34s /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Check which services are running ----------- 2.30s /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.29s /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.26s /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.24s /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.23s /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.23s /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.23s /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.22s /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.22s /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.21s /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.21s /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.20s /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.19s /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.18s /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 1.74s /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable and start NetworkManager ------------ 1.68s /WORKDIR/git-ansible-lint-test-2.16k9210qw6/tests/roles/linux-system-roles.network/tasks/main.yml:85 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---