# 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.16138ugup3/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.16138ugup3/tests/tests_states_nm.yml:6 Wednesday 20 December 2023 03:48:20 +0000 (0:00:00.012) 0:00:00.012 **** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/tests_states_nm.yml:9 Wednesday 20 December 2023 03:48:20 +0000 (0:00:00.663) 0:00:00.675 **** included: /WORKDIR/git-ansible-lint-test-2.16138ugup3/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.16138ugup3/tests/tasks/el_repo_setup.yml:3 Wednesday 20 December 2023 03:48:21 +0000 (0:00:00.021) 0:00:00.697 **** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/tasks/el_repo_setup.yml:19 Wednesday 20 December 2023 03:48:21 +0000 (0:00:00.361) 0:00:01.059 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/tasks/el_repo_setup.yml:24 Wednesday 20 December 2023 03:48:21 +0000 (0:00:00.261) 0:00:01.321 **** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/tasks/el_repo_setup.yml:28 Wednesday 20 December 2023 03:48:21 +0000 (0:00:00.021) 0:00:01.342 **** 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.16138ugup3/tests/tasks/el_repo_setup.yml:53 Wednesday 20 December 2023 03:48:21 +0000 (0:00:00.018) 0:00:01.361 **** included: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 9] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/tasks/enable_epel.yml:8 Wednesday 20 December 2023 03:48:21 +0000 (0:00:00.043) 0:00:01.404 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/tasks/enable_epel.yml:24 Wednesday 20 December 2023 03:48:21 +0000 (0:00:00.010) 0:00:01.415 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/tasks/enable_epel.yml:30 Wednesday 20 December 2023 03:48:21 +0000 (0:00:00.009) 0:00:01.424 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/tasks/enable_epel.yml:35 Wednesday 20 December 2023 03:48:21 +0000 (0:00:00.009) 0:00:01.434 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/tasks/enable_epel.yml:40 Wednesday 20 December 2023 03:48:21 +0000 (0:00:00.009) 0:00:01.443 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/tests_states_nm.yml:11 Wednesday 20 December 2023 03:48:21 +0000 (0:00:00.009) 0:00:01.453 **** 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.16138ugup3/tests/playbooks/tests_states.yml:3 Wednesday 20 December 2023 03:48:21 +0000 (0:00:00.009) 0:00:01.462 **** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tests_states.yml:11 Wednesday 20 December 2023 03:48:22 +0000 (0:00:00.534) 0:00:01.996 **** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tests_states.yml:22 Wednesday 20 December 2023 03:48:22 +0000 (0:00:00.010) 0:00:02.007 **** included: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/run_test.yml:5 Wednesday 20 December 2023 03:48:22 +0000 (0:00:00.015) 0:00:02.023 **** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/run_test.yml:9 Wednesday 20 December 2023 03:48:22 +0000 (0:00:00.015) 0:00:02.038 **** 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.16138ugup3/tests/playbooks/tasks/run_test.yml:21 Wednesday 20 December 2023 03:48:22 +0000 (0:00:00.032) 0:00:02.071 **** included: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 03:48:22 +0000 (0:00:00.013) 0:00:02.084 **** included: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 03:48:22 +0000 (0:00:00.012) 0:00:02.097 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003744", "end": "2023-12-20 03:48:22.648895", "rc": 0, "start": "2023-12-20 03:48:22.645151" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 03:48:22 +0000 (0:00:00.248) 0:00:02.346 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 03:48:22 +0000 (0:00:00.012) 0:00:02.358 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/run_test.yml:24 Wednesday 20 December 2023 03:48:22 +0000 (0:00:00.010) 0:00:02.369 **** included: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 20 December 2023 03:48:22 +0000 (0:00:00.020) 0:00:02.389 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008793", "end": "2023-12-20 03:48:22.902078", "rc": 1, "start": "2023-12-20 03:48:22.893285" } 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.16138ugup3/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 20 December 2023 03:48:22 +0000 (0:00:00.208) 0:00:02.598 **** included: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 20 December 2023 03:48:22 +0000 (0:00:00.014) 0:00:02.612 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 20 December 2023 03:48:23 +0000 (0:00:00.198) 0:00:02.811 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/run_test.yml:30 Wednesday 20 December 2023 03:48:23 +0000 (0:00:00.012) 0:00:02.824 **** included: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 20 December 2023 03:48:23 +0000 (0:00:00.020) 0:00:02.845 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 20 December 2023 03:48:23 +0000 (0:00:00.037) 0:00:02.883 **** included: /WORKDIR/git-ansible-lint-test-2.16138ugup3/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.16138ugup3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 20 December 2023 03:48:23 +0000 (0:00:00.069) 0:00:02.953 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 20 December 2023 03:48:23 +0000 (0:00:00.012) 0:00:02.965 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 20 December 2023 03:48:23 +0000 (0:00:00.010) 0:00:02.976 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 20 December 2023 03:48:23 +0000 (0:00:00.010) 0:00:02.986 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 20 December 2023 03:48:24 +0000 (0:00:01.657) 0:00:04.644 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 20 December 2023 03:48:26 +0000 (0:00:01.178) 0:00:05.822 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 20 December 2023 03:48:26 +0000 (0:00:00.023) 0:00:05.845 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 20 December 2023 03:48:26 +0000 (0:00:00.022) 0:00:05.868 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 20 December 2023 03:48:26 +0000 (0:00:00.021) 0:00:05.889 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 20 December 2023 03:48:26 +0000 (0:00:00.045) 0:00:05.934 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 20 December 2023 03:48:26 +0000 (0:00:00.022) 0:00:05.957 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 20 December 2023 03:48:26 +0000 (0:00:00.022) 0:00:05.979 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 20 December 2023 03:48:26 +0000 (0:00:00.026) 0:00:06.006 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 20 December 2023 03:48:26 +0000 (0:00:00.519) 0:00:06.525 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 20 December 2023 03:48:26 +0000 (0:00:00.024) 0:00:06.550 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 20 December 2023 03:48:26 +0000 (0:00:00.020) 0:00:06.571 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 20 December 2023 03:48:26 +0000 (0:00:00.020) 0:00:06.591 **** 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, 6ce09bb0-4d49-46bc-86ca-c1529dfc969e TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 20 December 2023 03:48:27 +0000 (0:00:00.601) 0:00:07.193 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 20 December 2023 03:48:27 +0000 (0:00:00.021) 0:00:07.215 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6ce09bb0-4d49-46bc-86ca-c1529dfc969e" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 20 December 2023 03:48:27 +0000 (0:00:00.024) 0:00:07.240 **** 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, 6ce09bb0-4d49-46bc-86ca-c1529dfc969e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6ce09bb0-4d49-46bc-86ca-c1529dfc969e" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 20 December 2023 03:48:27 +0000 (0:00:00.022) 0:00:07.262 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 20 December 2023 03:48:27 +0000 (0:00:00.020) 0:00:07.283 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 20 December 2023 03:48:27 +0000 (0:00:00.257) 0:00:07.541 **** 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, 6ce09bb0-4d49-46bc-86ca-c1529dfc969e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6ce09bb0-4d49-46bc-86ca-c1529dfc969e" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/run_test.yml:36 Wednesday 20 December 2023 03:48:27 +0000 (0:00:00.024) 0:00:07.566 **** included: /WORKDIR/git-ansible-lint-test-2.16138ugup3/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.16138ugup3/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 20 December 2023 03:48:27 +0000 (0:00:00.041) 0:00:07.607 **** included: /WORKDIR/git-ansible-lint-test-2.16138ugup3/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.16138ugup3/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 20 December 2023 03:48:27 +0000 (0:00:00.039) 0:00:07.647 **** 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.16138ugup3/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 20 December 2023 03:48:27 +0000 (0:00:00.023) 0:00:07.670 **** 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.16138ugup3/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 20 December 2023 03:48:28 +0000 (0:00:00.211) 0:00:07.882 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 20 December 2023 03:48:28 +0000 (0:00:00.021) 0:00:07.903 **** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023570", "end": "2023-12-20 03:48:28.430400", "rc": 0, "start": "2023-12-20 03:48:28.406830" } 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.16138ugup3/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 20 December 2023 03:48:28 +0000 (0:00:00.234) 0:00:08.138 **** 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.16138ugup3/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 20 December 2023 03:48:28 +0000 (0:00:00.023) 0:00:08.161 **** 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.16138ugup3/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 20 December 2023 03:48:28 +0000 (0:00:00.046) 0:00:08.207 **** 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.16138ugup3/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 20 December 2023 03:48:28 +0000 (0:00:00.023) 0:00:08.231 **** 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.16138ugup3/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 20 December 2023 03:48:28 +0000 (0:00:00.021) 0:00:08.252 **** 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.16138ugup3/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 20 December 2023 03:48:28 +0000 (0:00:00.021) 0:00:08.274 **** 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.16138ugup3/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 20 December 2023 03:48:28 +0000 (0:00:00.024) 0:00:08.298 **** 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.16138ugup3/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 20 December 2023 03:48:28 +0000 (0:00:00.023) 0:00:08.322 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/run_test.yml:42 Wednesday 20 December 2023 03:48:28 +0000 (0:00:00.022) 0:00:08.344 **** included: /WORKDIR/git-ansible-lint-test-2.16138ugup3/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.16138ugup3/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 20 December 2023 03:48:28 +0000 (0:00:00.042) 0:00:08.387 **** included: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 20 December 2023 03:48:28 +0000 (0:00:00.035) 0:00:08.422 **** ok: [sut] => { "changed": false, "stat": { "atime": 1703044107.3876555, "block_size": 4096, "blocks": 0, "ctime": 1703044107.3876555, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 31862, "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": 1703044107.3876555, "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.16138ugup3/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 20 December 2023 03:48:28 +0000 (0:00:00.209) 0:00:08.632 **** 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.16138ugup3/tests/playbooks/tasks/run_test.yml:47 Wednesday 20 December 2023 03:48:28 +0000 (0:00:00.024) 0:00:08.656 **** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/run_test.yml:66 Wednesday 20 December 2023 03:48:29 +0000 (0:00:00.023) 0:00:08.680 **** included: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 20 December 2023 03:48:29 +0000 (0:00:00.041) 0:00:08.721 **** 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.071441", "end": "2023-12-20 03:48:29.298611", "rc": 1, "start": "2023-12-20 03:48:29.227170" } STDOUT: Connection 'statebr' (6ce09bb0-4d49-46bc-86ca-c1529dfc969e) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tests_states.yml:45 Wednesday 20 December 2023 03:48:29 +0000 (0:00:00.308) 0:00:09.030 **** included: /WORKDIR/git-ansible-lint-test-2.16138ugup3/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.16138ugup3/tests/playbooks/tasks/run_test.yml:5 Wednesday 20 December 2023 03:48:29 +0000 (0:00:00.036) 0:00:09.067 **** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/run_test.yml:9 Wednesday 20 December 2023 03:48:29 +0000 (0:00:00.021) 0:00:09.088 **** 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.16138ugup3/tests/playbooks/tasks/run_test.yml:21 Wednesday 20 December 2023 03:48:29 +0000 (0:00:00.043) 0:00:09.132 **** included: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 03:48:29 +0000 (0:00:00.035) 0:00:09.168 **** included: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 03:48:29 +0000 (0:00:00.035) 0:00:09.203 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003819", "end": "2023-12-20 03:48:29.710616", "rc": 0, "start": "2023-12-20 03:48:29.706797" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 03:48:29 +0000 (0:00:00.214) 0:00:09.417 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 03:48:29 +0000 (0:00:00.024) 0:00:09.442 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/run_test.yml:24 Wednesday 20 December 2023 03:48:29 +0000 (0:00:00.024) 0:00:09.466 **** included: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 20 December 2023 03:48:29 +0000 (0:00:00.047) 0:00:09.514 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007042", "end": "2023-12-20 03:48:30.022397", "rc": 1, "start": "2023-12-20 03:48:30.015355" } 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.16138ugup3/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 20 December 2023 03:48:30 +0000 (0:00:00.217) 0:00:09.731 **** included: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 20 December 2023 03:48:30 +0000 (0:00:00.065) 0:00:09.797 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 20 December 2023 03:48:30 +0000 (0:00:00.212) 0:00:10.009 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/run_test.yml:30 Wednesday 20 December 2023 03:48:30 +0000 (0:00:00.024) 0:00:10.034 **** included: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Wednesday 20 December 2023 03:48:30 +0000 (0:00:00.040) 0:00:10.074 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 20 December 2023 03:48:30 +0000 (0:00:00.042) 0:00:10.116 **** included: /WORKDIR/git-ansible-lint-test-2.16138ugup3/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.16138ugup3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 20 December 2023 03:48:30 +0000 (0:00:00.041) 0:00:10.157 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 20 December 2023 03:48:30 +0000 (0:00:00.026) 0:00:10.184 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 20 December 2023 03:48:30 +0000 (0:00:00.022) 0:00:10.206 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 20 December 2023 03:48:30 +0000 (0:00:00.025) 0:00:10.232 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 20 December 2023 03:48:32 +0000 (0:00:01.594) 0:00:11.826 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 20 December 2023 03:48:33 +0000 (0:00:01.004) 0:00:12.831 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 20 December 2023 03:48:33 +0000 (0:00:00.023) 0:00:12.854 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 20 December 2023 03:48:33 +0000 (0:00:00.021) 0:00:12.875 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 20 December 2023 03:48:33 +0000 (0:00:00.020) 0:00:12.896 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 20 December 2023 03:48:33 +0000 (0:00:00.044) 0:00:12.940 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 20 December 2023 03:48:33 +0000 (0:00:00.022) 0:00:12.962 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 20 December 2023 03:48:33 +0000 (0:00:00.022) 0:00:12.985 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 20 December 2023 03:48:33 +0000 (0:00:00.048) 0:00:13.033 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 20 December 2023 03:48:33 +0000 (0:00:00.385) 0:00:13.418 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 20 December 2023 03:48:33 +0000 (0:00:00.026) 0:00:13.445 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 20 December 2023 03:48:33 +0000 (0:00:00.020) 0:00:13.466 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 20 December 2023 03:48:33 +0000 (0:00:00.020) 0:00:13.487 **** 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, de2e8ca8-2e64-428e-b667-4e24954cb7dc TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 20 December 2023 03:48:34 +0000 (0:00:00.388) 0:00:13.875 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 20 December 2023 03:48:34 +0000 (0:00:00.020) 0:00:13.896 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, de2e8ca8-2e64-428e-b667-4e24954cb7dc" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 20 December 2023 03:48:34 +0000 (0:00:00.023) 0:00:13.919 **** 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, de2e8ca8-2e64-428e-b667-4e24954cb7dc\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, de2e8ca8-2e64-428e-b667-4e24954cb7dc" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 20 December 2023 03:48:34 +0000 (0:00:00.022) 0:00:13.941 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 20 December 2023 03:48:34 +0000 (0:00:00.020) 0:00:13.962 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Wednesday 20 December 2023 03:48:34 +0000 (0:00:00.203) 0:00:14.165 **** 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, de2e8ca8-2e64-428e-b667-4e24954cb7dc\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, de2e8ca8-2e64-428e-b667-4e24954cb7dc" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/run_test.yml:36 Wednesday 20 December 2023 03:48:34 +0000 (0:00:00.022) 0:00:14.188 **** included: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16138ugup3/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.16138ugup3/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 20 December 2023 03:48:34 +0000 (0:00:00.043) 0:00:14.232 **** included: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 20 December 2023 03:48:34 +0000 (0:00:00.066) 0:00:14.298 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 20 December 2023 03:48:34 +0000 (0:00:00.209) 0:00:14.508 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 20 December 2023 03:48:34 +0000 (0:00:00.024) 0:00:14.532 **** included: /WORKDIR/git-ansible-lint-test-2.16138ugup3/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.16138ugup3/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 20 December 2023 03:48:34 +0000 (0:00:00.039) 0:00:14.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.16138ugup3/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 20 December 2023 03:48:34 +0000 (0:00:00.024) 0:00:14.596 **** 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.16138ugup3/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 20 December 2023 03:48:35 +0000 (0:00:00.213) 0:00:14.809 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 20 December 2023 03:48:35 +0000 (0:00:00.025) 0:00:14.835 **** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023215", "end": "2023-12-20 03:48:35.363246", "rc": 0, "start": "2023-12-20 03:48:35.340031" } 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.16138ugup3/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 20 December 2023 03:48:35 +0000 (0:00:00.235) 0:00:15.071 **** 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.16138ugup3/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 20 December 2023 03:48:35 +0000 (0:00:00.024) 0:00:15.095 **** 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.16138ugup3/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 20 December 2023 03:48:35 +0000 (0:00:00.025) 0:00:15.121 **** 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.16138ugup3/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 20 December 2023 03:48:35 +0000 (0:00:00.023) 0:00:15.145 **** 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.16138ugup3/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 20 December 2023 03:48:35 +0000 (0:00:00.023) 0:00:15.168 **** 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.16138ugup3/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 20 December 2023 03:48:35 +0000 (0:00:00.022) 0:00:15.191 **** 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.16138ugup3/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 20 December 2023 03:48:35 +0000 (0:00:00.024) 0:00:15.215 **** 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.16138ugup3/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 20 December 2023 03:48:35 +0000 (0:00:00.050) 0:00:15.266 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/run_test.yml:42 Wednesday 20 December 2023 03:48:35 +0000 (0:00:00.023) 0:00:15.289 **** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/run_test.yml:47 Wednesday 20 December 2023 03:48:35 +0000 (0:00:00.021) 0:00:15.310 **** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/run_test.yml:66 Wednesday 20 December 2023 03:48:35 +0000 (0:00:00.022) 0:00:15.333 **** included: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 20 December 2023 03:48:35 +0000 (0:00:00.041) 0:00:15.375 **** 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.045138", "end": "2023-12-20 03:48:35.925979", "rc": 1, "start": "2023-12-20 03:48:35.880841" } STDOUT: Connection 'statebr' (de2e8ca8-2e64-428e-b667-4e24954cb7dc) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tests_states.yml:65 Wednesday 20 December 2023 03:48:35 +0000 (0:00:00.258) 0:00:15.634 **** included: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/run_test.yml:5 Wednesday 20 December 2023 03:48:35 +0000 (0:00:00.038) 0:00:15.672 **** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/run_test.yml:9 Wednesday 20 December 2023 03:48:36 +0000 (0:00:00.024) 0:00:15.696 **** 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.16138ugup3/tests/playbooks/tasks/run_test.yml:21 Wednesday 20 December 2023 03:48:36 +0000 (0:00:00.043) 0:00:15.740 **** included: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 03:48:36 +0000 (0:00:00.035) 0:00:15.775 **** included: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 03:48:36 +0000 (0:00:00.034) 0:00:15.810 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003801", "end": "2023-12-20 03:48:36.319267", "rc": 0, "start": "2023-12-20 03:48:36.315466" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 03:48:36 +0000 (0:00:00.216) 0:00:16.027 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 03:48:36 +0000 (0:00:00.051) 0:00:16.078 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/run_test.yml:24 Wednesday 20 December 2023 03:48:36 +0000 (0:00:00.023) 0:00:16.102 **** included: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 20 December 2023 03:48:36 +0000 (0:00:00.038) 0:00:16.141 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 20 December 2023 03:48:36 +0000 (0:00:00.036) 0:00:16.178 **** included: /WORKDIR/git-ansible-lint-test-2.16138ugup3/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.16138ugup3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 20 December 2023 03:48:36 +0000 (0:00:00.040) 0:00:16.218 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 20 December 2023 03:48:36 +0000 (0:00:00.027) 0:00:16.246 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 20 December 2023 03:48:36 +0000 (0:00:00.022) 0:00:16.268 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 20 December 2023 03:48:36 +0000 (0:00:00.022) 0:00:16.290 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 20 December 2023 03:48:38 +0000 (0:00:01.567) 0:00:17.858 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 20 December 2023 03:48:39 +0000 (0:00:01.012) 0:00:18.871 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 20 December 2023 03:48:39 +0000 (0:00:00.024) 0:00:18.896 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 20 December 2023 03:48:39 +0000 (0:00:00.022) 0:00:18.919 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 20 December 2023 03:48:39 +0000 (0:00:00.022) 0:00:18.941 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 20 December 2023 03:48:39 +0000 (0:00:00.043) 0:00:18.985 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 20 December 2023 03:48:39 +0000 (0:00:00.023) 0:00:19.008 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 20 December 2023 03:48:39 +0000 (0:00:00.021) 0:00:19.030 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 20 December 2023 03:48:39 +0000 (0:00:00.028) 0:00:19.058 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 20 December 2023 03:48:39 +0000 (0:00:00.413) 0:00:19.472 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 20 December 2023 03:48:39 +0000 (0:00:00.025) 0:00:19.498 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 20 December 2023 03:48:39 +0000 (0:00:00.021) 0:00:19.520 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 20 December 2023 03:48:39 +0000 (0:00:00.021) 0:00:19.541 **** 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, d5e6242a-973c-49de-a11d-f7efa6160d0d TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 20 December 2023 03:48:40 +0000 (0:00:00.436) 0:00:19.978 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 20 December 2023 03:48:40 +0000 (0:00:00.022) 0:00:20.001 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d5e6242a-973c-49de-a11d-f7efa6160d0d" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 20 December 2023 03:48:40 +0000 (0:00:00.022) 0:00:20.023 **** 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, d5e6242a-973c-49de-a11d-f7efa6160d0d\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d5e6242a-973c-49de-a11d-f7efa6160d0d" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 20 December 2023 03:48:40 +0000 (0:00:00.023) 0:00:20.047 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 20 December 2023 03:48:40 +0000 (0:00:00.020) 0:00:20.067 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 20 December 2023 03:48:40 +0000 (0:00:00.206) 0:00:20.274 **** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d5e6242a-973c-49de-a11d-f7efa6160d0d\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d5e6242a-973c-49de-a11d-f7efa6160d0d" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/run_test.yml:30 Wednesday 20 December 2023 03:48:40 +0000 (0:00:00.025) 0:00:20.299 **** included: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 20 December 2023 03:48:40 +0000 (0:00:00.040) 0:00:20.340 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 20 December 2023 03:48:40 +0000 (0:00:00.043) 0:00:20.383 **** included: /WORKDIR/git-ansible-lint-test-2.16138ugup3/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.16138ugup3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 20 December 2023 03:48:40 +0000 (0:00:00.069) 0:00:20.452 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 20 December 2023 03:48:40 +0000 (0:00:00.028) 0:00:20.480 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 20 December 2023 03:48:40 +0000 (0:00:00.021) 0:00:20.502 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 20 December 2023 03:48:40 +0000 (0:00:00.022) 0:00:20.524 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 20 December 2023 03:48:42 +0000 (0:00:01.536) 0:00:22.061 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 20 December 2023 03:48:43 +0000 (0:00:01.024) 0:00:23.085 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 20 December 2023 03:48:43 +0000 (0:00:00.029) 0:00:23.115 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 20 December 2023 03:48:43 +0000 (0:00:00.022) 0:00:23.137 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 20 December 2023 03:48:43 +0000 (0:00:00.022) 0:00:23.160 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 20 December 2023 03:48:43 +0000 (0:00:00.045) 0:00:23.206 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 20 December 2023 03:48:43 +0000 (0:00:00.023) 0:00:23.229 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 20 December 2023 03:48:43 +0000 (0:00:00.023) 0:00:23.252 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 20 December 2023 03:48:43 +0000 (0:00:00.024) 0:00:23.277 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 20 December 2023 03:48:43 +0000 (0:00:00.389) 0:00:23.666 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 20 December 2023 03:48:44 +0000 (0:00:00.025) 0:00:23.692 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 20 December 2023 03:48:44 +0000 (0:00:00.020) 0:00:23.713 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 20 December 2023 03:48:44 +0000 (0:00:00.022) 0:00:23.736 **** 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, d5e6242a-973c-49de-a11d-f7efa6160d0d skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 20 December 2023 03:48:44 +0000 (0:00:00.376) 0:00:24.112 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 20 December 2023 03:48:44 +0000 (0:00:00.023) 0:00:24.135 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, d5e6242a-973c-49de-a11d-f7efa6160d0d skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 20 December 2023 03:48:44 +0000 (0:00:00.023) 0:00:24.158 **** 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, d5e6242a-973c-49de-a11d-f7efa6160d0d skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, d5e6242a-973c-49de-a11d-f7efa6160d0d skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 20 December 2023 03:48:44 +0000 (0:00:00.054) 0:00:24.213 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 20 December 2023 03:48:44 +0000 (0:00:00.022) 0:00:24.236 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/run_test.yml:36 Wednesday 20 December 2023 03:48:44 +0000 (0:00:00.207) 0:00:24.443 **** included: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16138ugup3/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.16138ugup3/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 20 December 2023 03:48:44 +0000 (0:00:00.047) 0:00:24.490 **** included: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 20 December 2023 03:48:44 +0000 (0:00:00.043) 0:00:24.534 **** ok: [sut] => { "changed": false, "stat": { "atime": 1703044120.209909, "block_size": 4096, "blocks": 0, "ctime": 1703044120.209909, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 31993, "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": 1703044120.209909, "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.16138ugup3/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 20 December 2023 03:48:45 +0000 (0:00:00.218) 0:00:24.752 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 20 December 2023 03:48:45 +0000 (0:00:00.024) 0:00:24.777 **** included: /WORKDIR/git-ansible-lint-test-2.16138ugup3/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.16138ugup3/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 20 December 2023 03:48:45 +0000 (0:00:00.040) 0:00:24.818 **** 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.16138ugup3/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 20 December 2023 03:48:45 +0000 (0:00:00.029) 0:00:24.847 **** 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.16138ugup3/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 20 December 2023 03:48:45 +0000 (0:00:00.215) 0:00:25.062 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 20 December 2023 03:48:45 +0000 (0:00:00.021) 0:00:25.084 **** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023821", "end": "2023-12-20 03:48:45.612978", "rc": 0, "start": "2023-12-20 03:48:45.589157" } 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.16138ugup3/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 20 December 2023 03:48:45 +0000 (0:00:00.269) 0:00:25.353 **** 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.16138ugup3/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 20 December 2023 03:48:45 +0000 (0:00:00.025) 0:00:25.378 **** 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.16138ugup3/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 20 December 2023 03:48:45 +0000 (0:00:00.023) 0:00:25.402 **** 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.16138ugup3/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 20 December 2023 03:48:45 +0000 (0:00:00.023) 0:00:25.426 **** 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.16138ugup3/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 20 December 2023 03:48:45 +0000 (0:00:00.025) 0:00:25.451 **** 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.16138ugup3/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 20 December 2023 03:48:45 +0000 (0:00:00.025) 0:00:25.477 **** 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.16138ugup3/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 20 December 2023 03:48:45 +0000 (0:00:00.025) 0:00:25.502 **** 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.16138ugup3/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 20 December 2023 03:48:45 +0000 (0:00:00.024) 0:00:25.527 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/run_test.yml:42 Wednesday 20 December 2023 03:48:45 +0000 (0:00:00.023) 0:00:25.550 **** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/run_test.yml:47 Wednesday 20 December 2023 03:48:45 +0000 (0:00:00.020) 0:00:25.570 **** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/run_test.yml:66 Wednesday 20 December 2023 03:48:45 +0000 (0:00:00.022) 0:00:25.592 **** included: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 20 December 2023 03:48:45 +0000 (0:00:00.040) 0:00:25.633 **** 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.071759", "end": "2023-12-20 03:48:46.209735", "rc": 1, "start": "2023-12-20 03:48:46.137976" } STDOUT: Connection 'statebr' (d5e6242a-973c-49de-a11d-f7efa6160d0d) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tests_states.yml:83 Wednesday 20 December 2023 03:48:46 +0000 (0:00:00.284) 0:00:25.917 **** included: /WORKDIR/git-ansible-lint-test-2.16138ugup3/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.16138ugup3/tests/playbooks/tasks/run_test.yml:5 Wednesday 20 December 2023 03:48:46 +0000 (0:00:00.039) 0:00:25.956 **** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/run_test.yml:9 Wednesday 20 December 2023 03:48:46 +0000 (0:00:00.030) 0:00:25.987 **** 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.16138ugup3/tests/playbooks/tasks/run_test.yml:21 Wednesday 20 December 2023 03:48:46 +0000 (0:00:00.083) 0:00:26.071 **** included: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 03:48:46 +0000 (0:00:00.037) 0:00:26.108 **** included: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 03:48:46 +0000 (0:00:00.035) 0:00:26.144 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003700", "end": "2023-12-20 03:48:46.651058", "rc": 0, "start": "2023-12-20 03:48:46.647358" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 03:48:46 +0000 (0:00:00.221) 0:00:26.365 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 03:48:46 +0000 (0:00:00.028) 0:00:26.394 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/run_test.yml:24 Wednesday 20 December 2023 03:48:46 +0000 (0:00:00.022) 0:00:26.417 **** included: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 20 December 2023 03:48:46 +0000 (0:00:00.042) 0:00:26.459 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 20 December 2023 03:48:46 +0000 (0:00:00.039) 0:00:26.499 **** included: /WORKDIR/git-ansible-lint-test-2.16138ugup3/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.16138ugup3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 20 December 2023 03:48:46 +0000 (0:00:00.047) 0:00:26.547 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 20 December 2023 03:48:46 +0000 (0:00:00.029) 0:00:26.576 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 20 December 2023 03:48:46 +0000 (0:00:00.024) 0:00:26.601 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 20 December 2023 03:48:46 +0000 (0:00:00.020) 0:00:26.622 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 20 December 2023 03:48:48 +0000 (0:00:01.610) 0:00:28.232 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 20 December 2023 03:48:49 +0000 (0:00:01.006) 0:00:29.238 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 20 December 2023 03:48:49 +0000 (0:00:00.022) 0:00:29.261 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 20 December 2023 03:48:49 +0000 (0:00:00.022) 0:00:29.283 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 20 December 2023 03:48:49 +0000 (0:00:00.022) 0:00:29.306 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 20 December 2023 03:48:49 +0000 (0:00:00.087) 0:00:29.393 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 20 December 2023 03:48:49 +0000 (0:00:00.022) 0:00:29.416 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 20 December 2023 03:48:49 +0000 (0:00:00.021) 0:00:29.438 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 20 December 2023 03:48:49 +0000 (0:00:00.026) 0:00:29.464 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 20 December 2023 03:48:50 +0000 (0:00:00.385) 0:00:29.850 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 20 December 2023 03:48:50 +0000 (0:00:00.027) 0:00:29.878 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 20 December 2023 03:48:50 +0000 (0:00:00.022) 0:00:29.900 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 20 December 2023 03:48:50 +0000 (0:00:00.021) 0:00:29.921 **** 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, 999626ef-7560-4acf-95eb-2fe763bd8c63 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 20 December 2023 03:48:50 +0000 (0:00:00.420) 0:00:30.342 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 20 December 2023 03:48:50 +0000 (0:00:00.021) 0:00:30.363 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 999626ef-7560-4acf-95eb-2fe763bd8c63" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 20 December 2023 03:48:50 +0000 (0:00:00.023) 0:00:30.386 **** 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, 999626ef-7560-4acf-95eb-2fe763bd8c63\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 999626ef-7560-4acf-95eb-2fe763bd8c63" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 20 December 2023 03:48:50 +0000 (0:00:00.028) 0:00:30.415 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 20 December 2023 03:48:50 +0000 (0:00:00.021) 0:00:30.437 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 20 December 2023 03:48:50 +0000 (0:00:00.204) 0:00:30.641 **** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 999626ef-7560-4acf-95eb-2fe763bd8c63\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 999626ef-7560-4acf-95eb-2fe763bd8c63" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 20 December 2023 03:48:51 +0000 (0:00:00.054) 0:00:30.696 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 20 December 2023 03:48:51 +0000 (0:00:00.037) 0:00:30.733 **** included: /WORKDIR/git-ansible-lint-test-2.16138ugup3/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.16138ugup3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 20 December 2023 03:48:51 +0000 (0:00:00.039) 0:00:30.773 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 20 December 2023 03:48:51 +0000 (0:00:00.026) 0:00:30.800 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 20 December 2023 03:48:51 +0000 (0:00:00.024) 0:00:30.824 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 20 December 2023 03:48:51 +0000 (0:00:00.022) 0:00:30.846 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 20 December 2023 03:48:52 +0000 (0:00:01.568) 0:00:32.415 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 20 December 2023 03:48:53 +0000 (0:00:01.029) 0:00:33.444 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 20 December 2023 03:48:53 +0000 (0:00:00.023) 0:00:33.468 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 20 December 2023 03:48:53 +0000 (0:00:00.021) 0:00:33.489 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 20 December 2023 03:48:53 +0000 (0:00:00.021) 0:00:33.511 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 20 December 2023 03:48:53 +0000 (0:00:00.042) 0:00:33.554 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 20 December 2023 03:48:53 +0000 (0:00:00.022) 0:00:33.576 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 20 December 2023 03:48:53 +0000 (0:00:00.022) 0:00:33.599 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 20 December 2023 03:48:53 +0000 (0:00:00.030) 0:00:33.629 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 20 December 2023 03:48:54 +0000 (0:00:00.386) 0:00:34.016 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 20 December 2023 03:48:54 +0000 (0:00:00.024) 0:00:34.041 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 20 December 2023 03:48:54 +0000 (0:00:00.022) 0:00:34.063 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 20 December 2023 03:48:54 +0000 (0:00:00.047) 0:00:34.111 **** 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, 999626ef-7560-4acf-95eb-2fe763bd8c63 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 20 December 2023 03:48:54 +0000 (0:00:00.374) 0:00:34.485 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 20 December 2023 03:48:54 +0000 (0:00:00.022) 0:00:34.508 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 999626ef-7560-4acf-95eb-2fe763bd8c63 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 20 December 2023 03:48:54 +0000 (0:00:00.024) 0:00:34.533 **** 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, 999626ef-7560-4acf-95eb-2fe763bd8c63 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 999626ef-7560-4acf-95eb-2fe763bd8c63 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 20 December 2023 03:48:54 +0000 (0:00:00.025) 0:00:34.558 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 20 December 2023 03:48:54 +0000 (0:00:00.022) 0:00:34.580 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/run_test.yml:30 Wednesday 20 December 2023 03:48:55 +0000 (0:00:00.208) 0:00:34.789 **** included: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 20 December 2023 03:48:55 +0000 (0:00:00.041) 0:00:34.830 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 20 December 2023 03:48:55 +0000 (0:00:00.043) 0:00:34.874 **** included: /WORKDIR/git-ansible-lint-test-2.16138ugup3/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.16138ugup3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 20 December 2023 03:48:55 +0000 (0:00:00.046) 0:00:34.920 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 20 December 2023 03:48:55 +0000 (0:00:00.034) 0:00:34.955 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 20 December 2023 03:48:55 +0000 (0:00:00.023) 0:00:34.978 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 20 December 2023 03:48:55 +0000 (0:00:00.020) 0:00:34.999 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 20 December 2023 03:48:56 +0000 (0:00:01.616) 0:00:36.616 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 20 December 2023 03:48:57 +0000 (0:00:01.006) 0:00:37.622 **** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 20 December 2023 03:48:57 +0000 (0:00:00.022) 0:00:37.645 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 20 December 2023 03:48:57 +0000 (0:00:00.021) 0:00:37.667 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 20 December 2023 03:48:58 +0000 (0:00:00.043) 0:00:37.710 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 20 December 2023 03:48:58 +0000 (0:00:00.046) 0:00:37.756 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 20 December 2023 03:48:58 +0000 (0:00:00.028) 0:00:37.785 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 20 December 2023 03:48:58 +0000 (0:00:00.024) 0:00:37.809 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 20 December 2023 03:48:58 +0000 (0:00:00.029) 0:00:37.839 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 20 December 2023 03:48:58 +0000 (0:00:00.385) 0:00:38.225 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 20 December 2023 03:48:58 +0000 (0:00:00.025) 0:00:38.250 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 20 December 2023 03:48:58 +0000 (0:00:00.021) 0:00:38.271 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 20 December 2023 03:48:58 +0000 (0:00:00.021) 0:00:38.292 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 20 December 2023 03:48:59 +0000 (0:00:00.404) 0:00:38.697 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 20 December 2023 03:48:59 +0000 (0:00:00.022) 0:00:38.719 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 20 December 2023 03:48:59 +0000 (0:00:00.022) 0:00:38.742 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 20 December 2023 03:48:59 +0000 (0:00:00.022) 0:00:38.765 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 20 December 2023 03:48:59 +0000 (0:00:00.021) 0:00:38.786 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/run_test.yml:36 Wednesday 20 December 2023 03:48:59 +0000 (0:00:00.232) 0:00:39.019 **** included: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16138ugup3/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.16138ugup3/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 20 December 2023 03:48:59 +0000 (0:00:00.043) 0:00:39.062 **** included: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 20 December 2023 03:48:59 +0000 (0:00:00.036) 0:00:39.099 **** ok: [sut] => { "changed": false, "stat": { "atime": 1703044130.5824866, "block_size": 4096, "blocks": 0, "ctime": 1703044130.5824866, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 32124, "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": 1703044130.5824866, "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.16138ugup3/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 20 December 2023 03:48:59 +0000 (0:00:00.214) 0:00:39.313 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 20 December 2023 03:48:59 +0000 (0:00:00.024) 0:00:39.337 **** included: /WORKDIR/git-ansible-lint-test-2.16138ugup3/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.16138ugup3/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 20 December 2023 03:48:59 +0000 (0:00:00.036) 0:00:39.374 **** 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.16138ugup3/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 20 December 2023 03:48:59 +0000 (0:00:00.022) 0:00:39.397 **** 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.16138ugup3/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 20 December 2023 03:48:59 +0000 (0:00:00.210) 0:00:39.607 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 20 December 2023 03:48:59 +0000 (0:00:00.021) 0:00:39.629 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023353", "end": "2023-12-20 03:49:00.158137", "rc": 1, "start": "2023-12-20 03:49:00.134784" } 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.16138ugup3/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 20 December 2023 03:49:00 +0000 (0:00:00.236) 0:00:39.865 **** 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.16138ugup3/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 20 December 2023 03:49:00 +0000 (0:00:00.022) 0:00:39.888 **** 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.16138ugup3/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 20 December 2023 03:49:00 +0000 (0:00:00.022) 0:00:39.911 **** 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.16138ugup3/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 20 December 2023 03:49:00 +0000 (0:00:00.021) 0:00:39.932 **** 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.16138ugup3/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 20 December 2023 03:49:00 +0000 (0:00:00.051) 0:00:39.983 **** 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.16138ugup3/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 20 December 2023 03:49:00 +0000 (0:00:00.023) 0:00:40.007 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/run_test.yml:42 Wednesday 20 December 2023 03:49:00 +0000 (0:00:00.024) 0:00:40.031 **** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/run_test.yml:47 Wednesday 20 December 2023 03:49:00 +0000 (0:00:00.020) 0:00:40.051 **** 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.16138ugup3/tests/playbooks/tasks/run_test.yml:66 Wednesday 20 December 2023 03:49:00 +0000 (0:00:00.021) 0:00:40.073 **** included: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 20 December 2023 03:49:00 +0000 (0:00:00.043) 0:00:40.116 **** 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.082796", "end": "2023-12-20 03:49:00.704787", "rc": 1, "start": "2023-12-20 03:49:00.621991" } STDOUT: Connection 'statebr' (999626ef-7560-4acf-95eb-2fe763bd8c63) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tests_states.yml:103 Wednesday 20 December 2023 03:49:00 +0000 (0:00:00.296) 0:00:40.412 **** included: /WORKDIR/git-ansible-lint-test-2.16138ugup3/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.16138ugup3/tests/playbooks/tasks/run_test.yml:5 Wednesday 20 December 2023 03:49:00 +0000 (0:00:00.037) 0:00:40.450 **** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/run_test.yml:9 Wednesday 20 December 2023 03:49:00 +0000 (0:00:00.023) 0:00:40.473 **** 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.16138ugup3/tests/playbooks/tasks/run_test.yml:21 Wednesday 20 December 2023 03:49:00 +0000 (0:00:00.046) 0:00:40.519 **** included: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 03:49:00 +0000 (0:00:00.038) 0:00:40.558 **** included: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 03:49:00 +0000 (0:00:00.037) 0:00:40.596 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003738", "end": "2023-12-20 03:49:01.106353", "rc": 0, "start": "2023-12-20 03:49:01.102615" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 03:49:01 +0000 (0:00:00.229) 0:00:40.825 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 03:49:01 +0000 (0:00:00.023) 0:00:40.848 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/run_test.yml:24 Wednesday 20 December 2023 03:49:01 +0000 (0:00:00.021) 0:00:40.870 **** included: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 20 December 2023 03:49:01 +0000 (0:00:00.045) 0:00:40.916 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 20 December 2023 03:49:01 +0000 (0:00:00.036) 0:00:40.952 **** included: /WORKDIR/git-ansible-lint-test-2.16138ugup3/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.16138ugup3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 20 December 2023 03:49:01 +0000 (0:00:00.040) 0:00:40.993 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 20 December 2023 03:49:01 +0000 (0:00:00.026) 0:00:41.020 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 20 December 2023 03:49:01 +0000 (0:00:00.021) 0:00:41.042 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 20 December 2023 03:49:01 +0000 (0:00:00.021) 0:00:41.063 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 20 December 2023 03:49:02 +0000 (0:00:01.593) 0:00:42.657 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 20 December 2023 03:49:03 +0000 (0:00:00.999) 0:00:43.657 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 20 December 2023 03:49:04 +0000 (0:00:00.024) 0:00:43.682 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 20 December 2023 03:49:04 +0000 (0:00:00.022) 0:00:43.705 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 20 December 2023 03:49:04 +0000 (0:00:00.021) 0:00:43.726 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 20 December 2023 03:49:04 +0000 (0:00:00.044) 0:00:43.771 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 20 December 2023 03:49:04 +0000 (0:00:00.021) 0:00:43.792 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 20 December 2023 03:49:04 +0000 (0:00:00.021) 0:00:43.814 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 20 December 2023 03:49:04 +0000 (0:00:00.025) 0:00:43.840 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 20 December 2023 03:49:04 +0000 (0:00:00.385) 0:00:44.225 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 20 December 2023 03:49:04 +0000 (0:00:00.026) 0:00:44.251 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 20 December 2023 03:49:04 +0000 (0:00:00.022) 0:00:44.274 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 20 December 2023 03:49:04 +0000 (0:00:00.020) 0:00:44.294 **** 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, 41d6307a-cd88-4fc5-9bf3-cf75cb4392bb TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 20 December 2023 03:49:05 +0000 (0:00:00.423) 0:00:44.717 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 20 December 2023 03:49:05 +0000 (0:00:00.023) 0:00:44.741 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 41d6307a-cd88-4fc5-9bf3-cf75cb4392bb" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 20 December 2023 03:49:05 +0000 (0:00:00.023) 0:00:44.765 **** 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, 41d6307a-cd88-4fc5-9bf3-cf75cb4392bb\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 41d6307a-cd88-4fc5-9bf3-cf75cb4392bb" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 20 December 2023 03:49:05 +0000 (0:00:00.026) 0:00:44.791 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 20 December 2023 03:49:05 +0000 (0:00:00.024) 0:00:44.816 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 20 December 2023 03:49:05 +0000 (0:00:00.208) 0:00:45.024 **** 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, 41d6307a-cd88-4fc5-9bf3-cf75cb4392bb\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 41d6307a-cd88-4fc5-9bf3-cf75cb4392bb" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 20 December 2023 03:49:05 +0000 (0:00:00.024) 0:00:45.049 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 20 December 2023 03:49:05 +0000 (0:00:00.036) 0:00:45.085 **** included: /WORKDIR/git-ansible-lint-test-2.16138ugup3/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.16138ugup3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 20 December 2023 03:49:05 +0000 (0:00:00.066) 0:00:45.152 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 20 December 2023 03:49:05 +0000 (0:00:00.027) 0:00:45.179 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 20 December 2023 03:49:05 +0000 (0:00:00.022) 0:00:45.201 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 20 December 2023 03:49:05 +0000 (0:00:00.021) 0:00:45.223 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 20 December 2023 03:49:07 +0000 (0:00:01.575) 0:00:46.798 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 20 December 2023 03:49:08 +0000 (0:00:01.026) 0:00:47.825 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 20 December 2023 03:49:08 +0000 (0:00:00.022) 0:00:47.847 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 20 December 2023 03:49:08 +0000 (0:00:00.021) 0:00:47.869 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 20 December 2023 03:49:08 +0000 (0:00:00.022) 0:00:47.891 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 20 December 2023 03:49:08 +0000 (0:00:00.045) 0:00:47.936 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 20 December 2023 03:49:08 +0000 (0:00:00.022) 0:00:47.959 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 20 December 2023 03:49:08 +0000 (0:00:00.022) 0:00:47.982 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 20 December 2023 03:49:08 +0000 (0:00:00.024) 0:00:48.006 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 20 December 2023 03:49:08 +0000 (0:00:00.389) 0:00:48.396 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 20 December 2023 03:49:08 +0000 (0:00:00.028) 0:00:48.425 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 20 December 2023 03:49:08 +0000 (0:00:00.022) 0:00:48.447 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 20 December 2023 03:49:08 +0000 (0:00:00.022) 0:00:48.469 **** 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, 41d6307a-cd88-4fc5-9bf3-cf75cb4392bb skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 20 December 2023 03:49:09 +0000 (0:00:00.413) 0:00:48.883 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 20 December 2023 03:49:09 +0000 (0:00:00.024) 0:00:48.907 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 41d6307a-cd88-4fc5-9bf3-cf75cb4392bb skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 20 December 2023 03:49:09 +0000 (0:00:00.036) 0:00:48.944 **** 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, 41d6307a-cd88-4fc5-9bf3-cf75cb4392bb skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 41d6307a-cd88-4fc5-9bf3-cf75cb4392bb skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 20 December 2023 03:49:09 +0000 (0:00:00.060) 0:00:49.005 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 20 December 2023 03:49:09 +0000 (0:00:00.024) 0:00:49.029 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 20 December 2023 03:49:09 +0000 (0:00:00.211) 0:00:49.241 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 20 December 2023 03:49:09 +0000 (0:00:00.048) 0:00:49.290 **** included: /WORKDIR/git-ansible-lint-test-2.16138ugup3/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.16138ugup3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 20 December 2023 03:49:09 +0000 (0:00:00.045) 0:00:49.335 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 20 December 2023 03:49:09 +0000 (0:00:00.038) 0:00:49.374 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 20 December 2023 03:49:09 +0000 (0:00:00.024) 0:00:49.398 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 20 December 2023 03:49:09 +0000 (0:00:00.024) 0:00:49.422 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 20 December 2023 03:49:11 +0000 (0:00:01.581) 0:00:51.004 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 20 December 2023 03:49:12 +0000 (0:00:01.032) 0:00:52.036 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 20 December 2023 03:49:12 +0000 (0:00:00.042) 0:00:52.078 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 20 December 2023 03:49:12 +0000 (0:00:00.027) 0:00:52.105 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 20 December 2023 03:49:12 +0000 (0:00:00.023) 0:00:52.129 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 20 December 2023 03:49:12 +0000 (0:00:00.046) 0:00:52.175 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 20 December 2023 03:49:12 +0000 (0:00:00.023) 0:00:52.199 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 20 December 2023 03:49:12 +0000 (0:00:00.037) 0:00:52.237 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 20 December 2023 03:49:12 +0000 (0:00:00.028) 0:00:52.265 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 20 December 2023 03:49:12 +0000 (0:00:00.385) 0:00:52.650 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 20 December 2023 03:49:13 +0000 (0:00:00.029) 0:00:52.680 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 20 December 2023 03:49:13 +0000 (0:00:00.022) 0:00:52.702 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 20 December 2023 03:49:13 +0000 (0:00:00.052) 0:00:52.755 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 20 December 2023 03:49:13 +0000 (0:00:00.407) 0:00:53.163 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 20 December 2023 03:49:13 +0000 (0:00:00.022) 0:00:53.185 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 20 December 2023 03:49:13 +0000 (0:00:00.023) 0:00:53.208 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 20 December 2023 03:49:13 +0000 (0:00:00.023) 0:00:53.232 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 20 December 2023 03:49:13 +0000 (0:00:00.021) 0:00:53.254 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/run_test.yml:30 Wednesday 20 December 2023 03:49:13 +0000 (0:00:00.210) 0:00:53.464 **** included: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 20 December 2023 03:49:13 +0000 (0:00:00.043) 0:00:53.507 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 20 December 2023 03:49:13 +0000 (0:00:00.040) 0:00:53.548 **** included: /WORKDIR/git-ansible-lint-test-2.16138ugup3/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.16138ugup3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 20 December 2023 03:49:13 +0000 (0:00:00.040) 0:00:53.588 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 20 December 2023 03:49:13 +0000 (0:00:00.026) 0:00:53.615 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 20 December 2023 03:49:13 +0000 (0:00:00.021) 0:00:53.636 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 20 December 2023 03:49:14 +0000 (0:00:00.049) 0:00:53.686 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 20 December 2023 03:49:15 +0000 (0:00:01.609) 0:00:55.295 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 20 December 2023 03:49:16 +0000 (0:00:01.011) 0:00:56.307 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 20 December 2023 03:49:16 +0000 (0:00:00.036) 0:00:56.344 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 20 December 2023 03:49:16 +0000 (0:00:00.054) 0:00:56.398 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 20 December 2023 03:49:16 +0000 (0:00:00.023) 0:00:56.421 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 20 December 2023 03:49:16 +0000 (0:00:00.047) 0:00:56.469 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 20 December 2023 03:49:16 +0000 (0:00:00.034) 0:00:56.503 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 20 December 2023 03:49:16 +0000 (0:00:00.032) 0:00:56.536 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 20 December 2023 03:49:16 +0000 (0:00:00.031) 0:00:56.568 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 20 December 2023 03:49:17 +0000 (0:00:00.389) 0:00:56.957 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 20 December 2023 03:49:17 +0000 (0:00:00.026) 0:00:56.983 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 20 December 2023 03:49:17 +0000 (0:00:00.023) 0:00:57.007 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 20 December 2023 03:49:17 +0000 (0:00:00.021) 0:00:57.029 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 20 December 2023 03:49:17 +0000 (0:00:00.464) 0:00:57.494 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 20 December 2023 03:49:17 +0000 (0:00:00.033) 0:00:57.527 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 20 December 2023 03:49:17 +0000 (0:00:00.031) 0:00:57.559 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 20 December 2023 03:49:17 +0000 (0:00:00.029) 0:00:57.588 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 20 December 2023 03:49:17 +0000 (0:00:00.065) 0:00:57.654 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/run_test.yml:36 Wednesday 20 December 2023 03:49:18 +0000 (0:00:00.232) 0:00:57.886 **** included: /WORKDIR/git-ansible-lint-test-2.16138ugup3/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.16138ugup3/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 20 December 2023 03:49:18 +0000 (0:00:00.045) 0:00:57.932 **** included: /WORKDIR/git-ansible-lint-test-2.16138ugup3/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.16138ugup3/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 20 December 2023 03:49:18 +0000 (0:00:00.044) 0:00:57.977 **** 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.16138ugup3/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 20 December 2023 03:49:18 +0000 (0:00:00.023) 0:00:58.001 **** 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.16138ugup3/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 20 December 2023 03:49:18 +0000 (0:00:00.223) 0:00:58.224 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 20 December 2023 03:49:18 +0000 (0:00:00.038) 0:00:58.262 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021895", "end": "2023-12-20 03:49:18.800304", "rc": 1, "start": "2023-12-20 03:49:18.778409" } 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.16138ugup3/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 20 December 2023 03:49:18 +0000 (0:00:00.251) 0:00:58.513 **** 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.16138ugup3/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 20 December 2023 03:49:18 +0000 (0:00:00.025) 0:00:58.539 **** 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.16138ugup3/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 20 December 2023 03:49:18 +0000 (0:00:00.026) 0:00:58.565 **** 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.16138ugup3/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 20 December 2023 03:49:18 +0000 (0:00:00.027) 0:00:58.593 **** 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.16138ugup3/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 20 December 2023 03:49:18 +0000 (0:00:00.025) 0:00:58.619 **** 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.16138ugup3/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 20 December 2023 03:49:18 +0000 (0:00:00.024) 0:00:58.643 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/run_test.yml:42 Wednesday 20 December 2023 03:49:18 +0000 (0:00:00.025) 0:00:58.669 **** included: /WORKDIR/git-ansible-lint-test-2.16138ugup3/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.16138ugup3/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 20 December 2023 03:49:19 +0000 (0:00:00.074) 0:00:58.744 **** included: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 20 December 2023 03:49:19 +0000 (0:00:00.040) 0:00:58.785 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 20 December 2023 03:49:19 +0000 (0:00:00.216) 0:00:59.001 **** 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.16138ugup3/tests/playbooks/tasks/run_test.yml:47 Wednesday 20 December 2023 03:49:19 +0000 (0:00:00.025) 0:00:59.026 **** 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.16138ugup3/tests/playbooks/tasks/run_test.yml:66 Wednesday 20 December 2023 03:49:19 +0000 (0:00:00.026) 0:00:59.053 **** included: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 20 December 2023 03:49:19 +0000 (0:00:00.046) 0:00:59.099 **** 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.042929", "end": "2023-12-20 03:49:19.647427", "rc": 1, "start": "2023-12-20 03:49:19.604498" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tests_states.yml:126 Wednesday 20 December 2023 03:49:19 +0000 (0:00:00.256) 0:00:59.356 **** included: /WORKDIR/git-ansible-lint-test-2.16138ugup3/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.16138ugup3/tests/playbooks/tasks/run_test.yml:5 Wednesday 20 December 2023 03:49:19 +0000 (0:00:00.038) 0:00:59.394 **** 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.16138ugup3/tests/playbooks/tasks/run_test.yml:9 Wednesday 20 December 2023 03:49:19 +0000 (0:00:00.023) 0:00:59.417 **** 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.16138ugup3/tests/playbooks/tasks/run_test.yml:21 Wednesday 20 December 2023 03:49:19 +0000 (0:00:00.047) 0:00:59.465 **** included: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 03:49:19 +0000 (0:00:00.036) 0:00:59.501 **** included: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 03:49:19 +0000 (0:00:00.069) 0:00:59.571 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003682", "end": "2023-12-20 03:49:20.077237", "rc": 0, "start": "2023-12-20 03:49:20.073555" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 03:49:20 +0000 (0:00:00.216) 0:00:59.787 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 03:49:20 +0000 (0:00:00.024) 0:00:59.812 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/run_test.yml:24 Wednesday 20 December 2023 03:49:20 +0000 (0:00:00.023) 0:00:59.835 **** included: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 20 December 2023 03:49:20 +0000 (0:00:00.048) 0:00:59.883 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 20 December 2023 03:49:20 +0000 (0:00:00.036) 0:00:59.920 **** included: /WORKDIR/git-ansible-lint-test-2.16138ugup3/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.16138ugup3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 20 December 2023 03:49:20 +0000 (0:00:00.045) 0:00:59.965 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 20 December 2023 03:49:20 +0000 (0:00:00.034) 0:01:00.000 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 20 December 2023 03:49:20 +0000 (0:00:00.023) 0:01:00.023 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 20 December 2023 03:49:20 +0000 (0:00:00.022) 0:01:00.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 : Check which packages are installed] ********* task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 20 December 2023 03:49:21 +0000 (0:00:01.597) 0:01:01.643 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 20 December 2023 03:49:22 +0000 (0:00:01.008) 0:01:02.651 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 20 December 2023 03:49:22 +0000 (0:00:00.023) 0:01:02.675 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 20 December 2023 03:49:23 +0000 (0:00:00.022) 0:01:02.697 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 20 December 2023 03:49:23 +0000 (0:00:00.021) 0:01:02.719 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 20 December 2023 03:49:23 +0000 (0:00:00.045) 0:01:02.765 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 20 December 2023 03:49:23 +0000 (0:00:00.021) 0:01:02.786 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 20 December 2023 03:49:23 +0000 (0:00:00.020) 0:01:02.807 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 20 December 2023 03:49:23 +0000 (0:00:00.054) 0:01:02.861 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 20 December 2023 03:49:23 +0000 (0:00:00.388) 0:01:03.250 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 20 December 2023 03:49:23 +0000 (0:00:00.028) 0:01:03.278 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 20 December 2023 03:49:23 +0000 (0:00:00.024) 0:01:03.302 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 20 December 2023 03:49:23 +0000 (0:00:00.022) 0:01:03.325 **** 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, 3f3f6205-19ce-496b-960f-5da5625500d7 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 20 December 2023 03:49:24 +0000 (0:00:00.437) 0:01:03.763 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 20 December 2023 03:49:24 +0000 (0:00:00.023) 0:01:03.787 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3f3f6205-19ce-496b-960f-5da5625500d7" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 20 December 2023 03:49:24 +0000 (0:00:00.025) 0:01:03.813 **** 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, 3f3f6205-19ce-496b-960f-5da5625500d7\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3f3f6205-19ce-496b-960f-5da5625500d7" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 20 December 2023 03:49:24 +0000 (0:00:00.025) 0:01:03.838 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 20 December 2023 03:49:24 +0000 (0:00:00.026) 0:01:03.864 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 20 December 2023 03:49:24 +0000 (0:00:00.207) 0:01:04.072 **** 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, 3f3f6205-19ce-496b-960f-5da5625500d7\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3f3f6205-19ce-496b-960f-5da5625500d7" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 20 December 2023 03:49:24 +0000 (0:00:00.024) 0:01:04.096 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 20 December 2023 03:49:24 +0000 (0:00:00.036) 0:01:04.133 **** included: /WORKDIR/git-ansible-lint-test-2.16138ugup3/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.16138ugup3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 20 December 2023 03:49:24 +0000 (0:00:00.073) 0:01:04.206 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 20 December 2023 03:49:24 +0000 (0:00:00.027) 0:01:04.234 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 20 December 2023 03:49:24 +0000 (0:00:00.023) 0:01:04.258 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 20 December 2023 03:49:24 +0000 (0:00:00.022) 0:01:04.280 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 20 December 2023 03:49:26 +0000 (0:00:01.578) 0:01:05.859 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 20 December 2023 03:49:27 +0000 (0:00:01.019) 0:01:06.878 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 20 December 2023 03:49:27 +0000 (0:00:00.024) 0:01:06.902 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 20 December 2023 03:49:27 +0000 (0:00:00.022) 0:01:06.925 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 20 December 2023 03:49:27 +0000 (0:00:00.025) 0:01:06.950 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 20 December 2023 03:49:27 +0000 (0:00:00.045) 0:01:06.995 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 20 December 2023 03:49:27 +0000 (0:00:00.022) 0:01:07.018 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 20 December 2023 03:49:27 +0000 (0:00:00.024) 0:01:07.043 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 20 December 2023 03:49:27 +0000 (0:00:00.025) 0:01:07.068 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 20 December 2023 03:49:27 +0000 (0:00:00.391) 0:01:07.460 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 20 December 2023 03:49:27 +0000 (0:00:00.026) 0:01:07.486 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 20 December 2023 03:49:27 +0000 (0:00:00.021) 0:01:07.508 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 20 December 2023 03:49:27 +0000 (0:00:00.022) 0:01:07.531 **** 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, 3f3f6205-19ce-496b-960f-5da5625500d7 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 20 December 2023 03:49:28 +0000 (0:00:00.374) 0:01:07.906 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 20 December 2023 03:49:28 +0000 (0:00:00.067) 0:01:07.973 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 3f3f6205-19ce-496b-960f-5da5625500d7 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 20 December 2023 03:49:28 +0000 (0:00:00.029) 0:01:08.002 **** 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, 3f3f6205-19ce-496b-960f-5da5625500d7 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 3f3f6205-19ce-496b-960f-5da5625500d7 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 20 December 2023 03:49:28 +0000 (0:00:00.025) 0:01:08.028 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 20 December 2023 03:49:28 +0000 (0:00:00.022) 0:01:08.050 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 20 December 2023 03:49:28 +0000 (0:00:00.206) 0:01:08.257 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 20 December 2023 03:49:28 +0000 (0:00:00.036) 0:01:08.293 **** included: /WORKDIR/git-ansible-lint-test-2.16138ugup3/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.16138ugup3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 20 December 2023 03:49:28 +0000 (0:00:00.040) 0:01:08.333 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 20 December 2023 03:49:28 +0000 (0:00:00.027) 0:01:08.361 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 20 December 2023 03:49:28 +0000 (0:00:00.021) 0:01:08.383 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 20 December 2023 03:49:28 +0000 (0:00:00.020) 0:01:08.403 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 20 December 2023 03:49:30 +0000 (0:00:01.598) 0:01:10.002 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 20 December 2023 03:49:31 +0000 (0:00:01.005) 0:01:11.008 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 20 December 2023 03:49:31 +0000 (0:00:00.022) 0:01:11.031 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 20 December 2023 03:49:31 +0000 (0:00:00.022) 0:01:11.053 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 20 December 2023 03:49:31 +0000 (0:00:00.021) 0:01:11.074 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 20 December 2023 03:49:31 +0000 (0:00:00.043) 0:01:11.117 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 20 December 2023 03:49:31 +0000 (0:00:00.027) 0:01:11.145 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 20 December 2023 03:49:31 +0000 (0:00:00.021) 0:01:11.167 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 20 December 2023 03:49:31 +0000 (0:00:00.028) 0:01:11.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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 20 December 2023 03:49:31 +0000 (0:00:00.383) 0:01:11.578 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 20 December 2023 03:49:31 +0000 (0:00:00.025) 0:01:11.603 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 20 December 2023 03:49:31 +0000 (0:00:00.021) 0:01:11.625 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 20 December 2023 03:49:31 +0000 (0:00:00.021) 0:01:11.647 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 20 December 2023 03:49:32 +0000 (0:00:00.512) 0:01:12.159 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 20 December 2023 03:49:32 +0000 (0:00:00.023) 0:01:12.182 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 20 December 2023 03:49:32 +0000 (0:00:00.024) 0:01:12.207 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 20 December 2023 03:49:32 +0000 (0:00:00.023) 0:01:12.231 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 20 December 2023 03:49:32 +0000 (0:00:00.031) 0:01:12.262 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/run_test.yml:30 Wednesday 20 December 2023 03:49:32 +0000 (0:00:00.208) 0:01:12.470 **** included: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 20 December 2023 03:49:32 +0000 (0:00:00.039) 0:01:12.510 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 20 December 2023 03:49:32 +0000 (0:00:00.036) 0:01:12.546 **** included: /WORKDIR/git-ansible-lint-test-2.16138ugup3/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.16138ugup3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 20 December 2023 03:49:32 +0000 (0:00:00.072) 0:01:12.619 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 20 December 2023 03:49:32 +0000 (0:00:00.026) 0:01:12.646 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 20 December 2023 03:49:32 +0000 (0:00:00.022) 0:01:12.668 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 20 December 2023 03:49:33 +0000 (0:00:00.021) 0:01:12.690 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 20 December 2023 03:49:34 +0000 (0:00:01.554) 0:01:14.244 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 20 December 2023 03:49:35 +0000 (0:00:01.042) 0:01:15.287 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 20 December 2023 03:49:35 +0000 (0:00:00.022) 0:01:15.310 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 20 December 2023 03:49:35 +0000 (0:00:00.022) 0:01:15.333 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 20 December 2023 03:49:35 +0000 (0:00:00.022) 0:01:15.356 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 20 December 2023 03:49:35 +0000 (0:00:00.048) 0:01:15.404 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 20 December 2023 03:49:35 +0000 (0:00:00.024) 0:01:15.429 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 20 December 2023 03:49:35 +0000 (0:00:00.024) 0:01:15.453 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 20 December 2023 03:49:35 +0000 (0:00:00.026) 0:01:15.480 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 20 December 2023 03:49:36 +0000 (0:00:00.387) 0:01:15.867 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 20 December 2023 03:49:36 +0000 (0:00:00.026) 0:01:15.894 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 20 December 2023 03:49:36 +0000 (0:00:00.021) 0:01:15.916 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 20 December 2023 03:49:36 +0000 (0:00:00.021) 0:01:15.938 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 20 December 2023 03:49:36 +0000 (0:00:00.401) 0:01:16.339 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 20 December 2023 03:49:36 +0000 (0:00:00.022) 0:01:16.362 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 20 December 2023 03:49:36 +0000 (0:00:00.052) 0:01:16.414 **** 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.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 20 December 2023 03:49:36 +0000 (0:00:00.023) 0:01:16.438 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 20 December 2023 03:49:36 +0000 (0:00:00.022) 0:01:16.460 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/run_test.yml:36 Wednesday 20 December 2023 03:49:37 +0000 (0:00:00.216) 0:01:16.677 **** included: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16138ugup3/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.16138ugup3/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 20 December 2023 03:49:37 +0000 (0:00:00.044) 0:01:16.722 **** included: /WORKDIR/git-ansible-lint-test-2.16138ugup3/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.16138ugup3/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 20 December 2023 03:49:37 +0000 (0:00:00.037) 0:01:16.759 **** 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.16138ugup3/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 20 December 2023 03:49:37 +0000 (0:00:00.021) 0:01:16.781 **** 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.16138ugup3/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 20 December 2023 03:49:37 +0000 (0:00:00.211) 0:01:16.992 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 20 December 2023 03:49:37 +0000 (0:00:00.022) 0:01:17.015 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022589", "end": "2023-12-20 03:49:37.543754", "rc": 1, "start": "2023-12-20 03:49:37.521165" } 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.16138ugup3/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 20 December 2023 03:49:37 +0000 (0:00:00.236) 0:01:17.251 **** 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.16138ugup3/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 20 December 2023 03:49:37 +0000 (0:00:00.024) 0:01:17.276 **** 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.16138ugup3/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 20 December 2023 03:49:37 +0000 (0:00:00.023) 0:01:17.299 **** 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.16138ugup3/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 20 December 2023 03:49:37 +0000 (0:00:00.024) 0:01:17.324 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 20 December 2023 03:49:37 +0000 (0:00:00.064) 0:01:17.388 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 20 December 2023 03:49:37 +0000 (0:00:00.024) 0:01:17.412 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Wednesday 20 December 2023 03:49:37 +0000 (0:00:00.025) 0:01:17.438 **** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.618824", "end": "2023-12-20 03:49:38.558968", "rc": 0, "start": "2023-12-20 03:49:37.940144" } STDOUT: NetworkManager-1.45.7-1.el9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Wednesday 20 December 2023 03:49:38 +0000 (0:00:00.830) 0:01:18.268 **** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.45.7-1.el9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Wednesday 20 December 2023 03:49:38 +0000 (0:00:00.023) 0:01:18.292 **** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.45.7-1.el9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/run_test.yml:42 Wednesday 20 December 2023 03:49:38 +0000 (0:00:00.022) 0:01:18.315 **** included: /WORKDIR/git-ansible-lint-test-2.16138ugup3/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.16138ugup3/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 20 December 2023 03:49:38 +0000 (0:00:00.043) 0:01:18.359 **** included: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 20 December 2023 03:49:38 +0000 (0:00:00.036) 0:01:18.395 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 20 December 2023 03:49:38 +0000 (0:00:00.208) 0:01:18.604 **** 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.16138ugup3/tests/playbooks/tasks/run_test.yml:47 Wednesday 20 December 2023 03:49:38 +0000 (0:00:00.025) 0:01:18.629 **** 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.16138ugup3/tests/playbooks/tasks/run_test.yml:66 Wednesday 20 December 2023 03:49:38 +0000 (0:00:00.022) 0:01:18.651 **** included: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 20 December 2023 03:49:39 +0000 (0:00:00.068) 0:01:18.720 **** 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.045207", "end": "2023-12-20 03:49:39.270762", "rc": 1, "start": "2023-12-20 03:49:39.225555" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=316 changed=10 unreachable=0 failed=0 skipped=252 rescued=0 ignored=11 Wednesday 20 December 2023 03:49:39 +0000 (0:00:00.247) 0:01:18.967 **** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 2.32s /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable and start NetworkManager ------------ 2.09s /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Check which services are running ----------- 1.66s /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.62s /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.61s /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.61s /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.60s /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.60s /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.59s /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.59s /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.58s /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.58s /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.58s /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.57s /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.57s /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Enable and start NetworkManager ------------ 1.56s /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Check which services are running ----------- 1.55s /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 1.54s /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Check which services are running ----------- 1.54s /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 1.38s /WORKDIR/git-ansible-lint-test-2.16138ugup3/tests/roles/linux-system-roles.network/tasks/main.yml:122 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the yum, dnf or zypper module rather than running 'rpm'. If you need to use command because yum, dnf or zypper is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ---^---^---^---^---^---