# 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_initscripts.yml ***************************************** 2 plays in /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/tests_states_initscripts.yml PLAY [Run playbook 'playbooks/tests_states.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/tests_states_initscripts.yml:5 Monday 25 December 2023 22:13:16 +0000 (0:00:00.011) 0:00:00.011 ******* ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/tests_states_initscripts.yml:8 Monday 25 December 2023 22:13:17 +0000 (0:00:01.140) 0:00:01.152 ******* included: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/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.16lbyzajg3/tests/tasks/el_repo_setup.yml:3 Monday 25 December 2023 22:13:17 +0000 (0:00:00.024) 0:00:01.176 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/tasks/el_repo_setup.yml:19 Monday 25 December 2023 22:13:17 +0000 (0:00:00.305) 0:00:01.481 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/tasks/el_repo_setup.yml:24 Monday 25 December 2023 22:13:17 +0000 (0:00:00.232) 0:00:01.714 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/tasks/el_repo_setup.yml:28 Monday 25 December 2023 22:13:17 +0000 (0:00:00.021) 0:00:01.736 ******* 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.16lbyzajg3/tests/tasks/el_repo_setup.yml:53 Monday 25 December 2023 22:13:17 +0000 (0:00:00.019) 0:00:01.755 ******* included: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 6] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/tasks/enable_epel.yml:8 Monday 25 December 2023 22:13:17 +0000 (0:00:00.031) 0:00:01.787 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/tasks/enable_epel.yml:24 Monday 25 December 2023 22:13:17 +0000 (0:00:00.010) 0:00:01.798 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/tasks/enable_epel.yml:30 Monday 25 December 2023 22:13:17 +0000 (0:00:00.010) 0:00:01.808 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/tasks/enable_epel.yml:35 Monday 25 December 2023 22:13:17 +0000 (0:00:00.010) 0:00:01.819 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/tasks/enable_epel.yml:40 Monday 25 December 2023 22:13:17 +0000 (0:00:00.012) 0:00:01.831 ******* ok: [sut] => { "changed": false, "checksum": "4bafddfe7badb0971135c888f25df1308b193622", "dest": "/etc/yum.repos.d/epel.repo", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "path": "/etc/yum.repos.d/epel.repo", "secontext": "system_u:object_r:etc_t:s0", "size": 155, "state": "file", "uid": 0 } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/tests_states_initscripts.yml:10 Monday 25 December 2023 22:13:18 +0000 (0:00:00.603) 0:00:02.434 ******* ok: [sut] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tests_states.yml:3 Monday 25 December 2023 22:13:18 +0000 (0:00:00.012) 0:00:02.446 ******* ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tests_states.yml:11 Monday 25 December 2023 22:13:19 +0000 (0:00:00.911) 0:00:03.358 ******* ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tests_states.yml:22 Monday 25 December 2023 22:13:19 +0000 (0:00:00.016) 0:00:03.374 ******* included: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/run_test.yml:5 Monday 25 December 2023 22:13:19 +0000 (0:00:00.019) 0:00:03.393 ******* ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/run_test.yml:9 Monday 25 December 2023 22:13:19 +0000 (0:00:00.013) 0:00:03.406 ******* 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": false, "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.16lbyzajg3/tests/playbooks/tasks/run_test.yml:21 Monday 25 December 2023 22:13:19 +0000 (0:00:00.035) 0:00:03.442 ******* included: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/show_interfaces.yml:3 Monday 25 December 2023 22:13:19 +0000 (0:00:00.016) 0:00:03.458 ******* included: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 25 December 2023 22:13:19 +0000 (0:00:00.024) 0:00:03.482 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.005032", "end": "2023-12-25 22:13:19.869595", "rc": 0, "start": "2023-12-25 22:13:19.864563" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 25 December 2023 22:13:19 +0000 (0:00:00.249) 0:00:03.732 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/show_interfaces.yml:5 Monday 25 December 2023 22:13:19 +0000 (0:00:00.016) 0:00:03.749 ******* ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/run_test.yml:24 Monday 25 December 2023 22:13:19 +0000 (0:00:00.013) 0:00:03.762 ******* included: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/delete_interface.yml:3 Monday 25 December 2023 22:13:19 +0000 (0:00:00.023) 0:00:03.786 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.027688", "end": "2023-12-25 22:13:20.088196", "rc": 255, "start": "2023-12-25 22:13:20.060508" } 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.16lbyzajg3/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 25 December 2023 22:13:20 +0000 (0:00:00.175) 0:00:03.961 ******* included: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 25 December 2023 22:13:20 +0000 (0:00:00.024) 0:00:03.985 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 25 December 2023 22:13:20 +0000 (0:00:00.177) 0:00:04.162 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/run_test.yml:30 Monday 25 December 2023 22:13:20 +0000 (0:00:00.015) 0:00:04.177 ******* included: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 25 December 2023 22:13:20 +0000 (0:00:00.022) 0:00:04.200 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 25 December 2023 22:13:20 +0000 (0:00:00.047) 0:00:04.248 ******* included: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 25 December 2023 22:13:20 +0000 (0:00:00.070) 0:00:04.318 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 25 December 2023 22:13:20 +0000 (0:00:00.013) 0:00:04.331 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 25 December 2023 22:13:20 +0000 (0:00:00.012) 0:00:04.343 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 25 December 2023 22:13:20 +0000 (0:00:00.012) 0:00:04.355 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 25 December 2023 22:13:22 +0000 (0:00:02.459) 0:00:06.815 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 25 December 2023 22:13:23 +0000 (0:00:00.862) 0:00:07.678 ******* ok: [sut] => {} MSG: Using network provider: initscripts 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 25 December 2023 22:13:23 +0000 (0:00:00.022) 0:00:07.700 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 25 December 2023 22:13:23 +0000 (0:00:00.034) 0:00:07.735 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 25 December 2023 22:13:23 +0000 (0:00:00.021) 0:00:07.756 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 25 December 2023 22:13:23 +0000 (0:00:00.042) 0:00:07.799 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 25 December 2023 22:13:23 +0000 (0:00:00.021) 0:00:07.820 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 25 December 2023 22:13:23 +0000 (0:00:00.021) 0:00:07.841 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 25 December 2023 22:13:24 +0000 (0:00:00.024) 0:00:07.866 ******* 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 25 December 2023 22:13:24 +0000 (0:00:00.021) 0:00:07.887 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 25 December 2023 22:13:24 +0000 (0:00:00.020) 0:00:07.907 ******* 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 25 December 2023 22:13:24 +0000 (0:00:00.305) 0:00:08.213 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-13854edt5kwdm/tmpetlp0vlm" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 25 December 2023 22:13:24 +0000 (0:00:00.194) 0:00:08.407 ******* 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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 25 December 2023 22:13:24 +0000 (0:00:00.377) 0:00:08.785 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 25 December 2023 22:13:24 +0000 (0:00:00.033) 0:00:08.818 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 25 December 2023 22:13:24 +0000 (0:00:00.037) 0:00:08.856 ******* 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 25 December 2023 22:13:25 +0000 (0:00:00.043) 0:00:08.900 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 25 December 2023 22:13:25 +0000 (0:00:00.058) 0:00:08.959 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 25 December 2023 22:13:25 +0000 (0:00:00.235) 0:00:09.195 ******* 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/run_test.yml:36 Monday 25 December 2023 22:13:25 +0000 (0:00:00.024) 0:00:09.219 ******* included: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/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.16lbyzajg3/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 25 December 2023 22:13:25 +0000 (0:00:00.050) 0:00:09.269 ******* included: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/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.16lbyzajg3/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 25 December 2023 22:13:25 +0000 (0:00:00.038) 0:00:09.308 ******* 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.16lbyzajg3/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 25 December 2023 22:13:25 +0000 (0:00:00.022) 0:00:09.331 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1703542404.91134, "block_size": 4096, "blocks": 8, "ctime": 1703542404.91134, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 39310, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1703542404.91134, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 127, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 25 December 2023 22:13:25 +0000 (0:00:00.130) 0:00:09.461 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 25 December 2023 22:13:25 +0000 (0:00:00.022) 0:00:09.484 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.006743", "end": "2023-12-25 22:13:25.775301", "rc": 1, "start": "2023-12-25 22:13:25.768558" } STDERR: Error: Object 'connection' is unknown, try 'nmcli help'. 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.16lbyzajg3/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 25 December 2023 22:13:25 +0000 (0:00:00.152) 0:00:09.637 ******* 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.16lbyzajg3/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 25 December 2023 22:13:25 +0000 (0:00:00.022) 0:00:09.659 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002993", "end": "2023-12-25 22:13:25.937006", "rc": 0, "start": "2023-12-25 22:13:25.934013" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 25 December 2023 22:13:25 +0000 (0:00:00.134) 0:00:09.794 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 25 December 2023 22:13:25 +0000 (0:00:00.029) 0:00:09.824 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003021", "end": "2023-12-25 22:13:26.104713", "rc": 0, "start": "2023-12-25 22:13:26.101692" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 25 December 2023 22:13:26 +0000 (0:00:00.137) 0:00:09.962 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 25 December 2023 22:13:26 +0000 (0:00:00.026) 0:00:09.988 ******* 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.16lbyzajg3/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 25 December 2023 22:13:26 +0000 (0:00:00.059) 0:00:10.048 ******* 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.16lbyzajg3/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 25 December 2023 22:13:26 +0000 (0:00:00.024) 0:00:10.073 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/run_test.yml:42 Monday 25 December 2023 22:13:26 +0000 (0:00:00.022) 0:00:10.095 ******* skipping: [sut] => (item={'what': 'tasks/assert_device_present.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "condition": false, "what": "tasks/assert_device_present.yml" }, "skip_reason": "Conditional result was False" } TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/run_test.yml:47 Monday 25 December 2023 22:13:26 +0000 (0:00:00.025) 0:00:10.120 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/run_test.yml:66 Monday 25 December 2023 22:13:26 +0000 (0:00:00.020) 0:00:10.141 ******* included: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 25 December 2023 22:13:26 +0000 (0:00:00.037) 0:00:10.179 ******* 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.049311", "end": "2023-12-25 22:13:26.503075", "rc": 255, "start": "2023-12-25 22:13:26.453764" } STDERR: Error: Can't obtain connections: settings services are not running. Error: Can't obtain connections: settings services are not running. 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.16lbyzajg3/tests/playbooks/tests_states.yml:45 Monday 25 December 2023 22:13:26 +0000 (0:00:00.204) 0:00:10.383 ******* included: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/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.16lbyzajg3/tests/playbooks/tasks/run_test.yml:5 Monday 25 December 2023 22:13:26 +0000 (0:00:00.041) 0:00:10.425 ******* ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/run_test.yml:9 Monday 25 December 2023 22:13:26 +0000 (0:00:00.024) 0:00:10.449 ******* 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.16lbyzajg3/tests/playbooks/tasks/run_test.yml:21 Monday 25 December 2023 22:13:26 +0000 (0:00:00.047) 0:00:10.496 ******* included: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/show_interfaces.yml:3 Monday 25 December 2023 22:13:26 +0000 (0:00:00.033) 0:00:10.530 ******* included: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 25 December 2023 22:13:26 +0000 (0:00:00.037) 0:00:10.568 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003234", "end": "2023-12-25 22:13:26.845002", "rc": 0, "start": "2023-12-25 22:13:26.841768" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 25 December 2023 22:13:26 +0000 (0:00:00.197) 0:00:10.765 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/show_interfaces.yml:5 Monday 25 December 2023 22:13:26 +0000 (0:00:00.042) 0:00:10.808 ******* ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/run_test.yml:24 Monday 25 December 2023 22:13:27 +0000 (0:00:00.053) 0:00:10.861 ******* included: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/delete_interface.yml:3 Monday 25 December 2023 22:13:27 +0000 (0:00:00.087) 0:00:10.948 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.005399", "end": "2023-12-25 22:13:27.229909", "rc": 255, "start": "2023-12-25 22:13:27.224510" } 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.16lbyzajg3/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 25 December 2023 22:13:27 +0000 (0:00:00.135) 0:00:11.084 ******* included: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 25 December 2023 22:13:27 +0000 (0:00:00.034) 0:00:11.118 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 25 December 2023 22:13:27 +0000 (0:00:00.134) 0:00:11.253 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/run_test.yml:30 Monday 25 December 2023 22:13:27 +0000 (0:00:00.029) 0:00:11.282 ******* included: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Monday 25 December 2023 22:13:27 +0000 (0:00:00.039) 0:00:11.322 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 25 December 2023 22:13:27 +0000 (0:00:00.040) 0:00:11.363 ******* included: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 25 December 2023 22:13:27 +0000 (0:00:00.038) 0:00:11.401 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 25 December 2023 22:13:27 +0000 (0:00:00.066) 0:00:11.468 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 25 December 2023 22:13:27 +0000 (0:00:00.021) 0:00:11.490 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 25 December 2023 22:13:27 +0000 (0:00:00.021) 0:00:11.512 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 25 December 2023 22:13:29 +0000 (0:00:01.652) 0:00:13.164 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 25 December 2023 22:13:29 +0000 (0:00:00.604) 0:00:13.769 ******* ok: [sut] => {} MSG: Using network provider: initscripts 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 25 December 2023 22:13:29 +0000 (0:00:00.045) 0:00:13.814 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 25 December 2023 22:13:29 +0000 (0:00:00.022) 0:00:13.837 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 25 December 2023 22:13:30 +0000 (0:00:00.024) 0:00:13.861 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 25 December 2023 22:13:30 +0000 (0:00:00.045) 0:00:13.906 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 25 December 2023 22:13:30 +0000 (0:00:00.021) 0:00:13.928 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 25 December 2023 22:13:30 +0000 (0:00:00.021) 0:00:13.949 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 25 December 2023 22:13:30 +0000 (0:00:00.024) 0:00:13.973 ******* 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 25 December 2023 22:13:30 +0000 (0:00:00.020) 0:00:13.994 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 25 December 2023 22:13:30 +0000 (0:00:00.019) 0:00:14.014 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 25 December 2023 22:13:30 +0000 (0:00:00.208) 0:00:14.223 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-13854edt5kwdm/tmphj5sh994" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 25 December 2023 22:13:30 +0000 (0:00:00.237) 0:00:14.460 ******* 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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 25 December 2023 22:13:30 +0000 (0:00:00.267) 0:00:14.727 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 25 December 2023 22:13:30 +0000 (0:00:00.020) 0:00:14.748 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 25 December 2023 22:13:30 +0000 (0:00:00.022) 0:00:14.770 ******* 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 25 December 2023 22:13:30 +0000 (0:00:00.022) 0:00:14.793 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 25 December 2023 22:13:30 +0000 (0:00:00.021) 0:00:14.814 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Monday 25 December 2023 22:13:31 +0000 (0:00:00.158) 0:00:14.972 ******* 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/run_test.yml:36 Monday 25 December 2023 22:13:31 +0000 (0:00:00.028) 0:00:15.001 ******* included: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/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.16lbyzajg3/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 25 December 2023 22:13:31 +0000 (0:00:00.065) 0:00:15.066 ******* included: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 25 December 2023 22:13:31 +0000 (0:00:00.051) 0:00:15.117 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 25 December 2023 22:13:31 +0000 (0:00:00.138) 0:00:15.256 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 25 December 2023 22:13:31 +0000 (0:00:00.023) 0:00:15.280 ******* included: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/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.16lbyzajg3/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 25 December 2023 22:13:31 +0000 (0:00:00.036) 0:00:15.316 ******* 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.16lbyzajg3/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 25 December 2023 22:13:31 +0000 (0:00:00.027) 0:00:15.343 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1703542410.8673398, "block_size": 4096, "blocks": 8, "ctime": 1703542410.8673398, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 39310, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1703542410.8673398, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 126, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 25 December 2023 22:13:31 +0000 (0:00:00.145) 0:00:15.489 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 25 December 2023 22:13:31 +0000 (0:00:00.023) 0:00:15.512 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.006221", "end": "2023-12-25 22:13:31.792113", "rc": 1, "start": "2023-12-25 22:13:31.785892" } STDERR: Error: Object 'connection' is unknown, try 'nmcli help'. 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.16lbyzajg3/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 25 December 2023 22:13:31 +0000 (0:00:00.132) 0:00:15.645 ******* 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.16lbyzajg3/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 25 December 2023 22:13:31 +0000 (0:00:00.022) 0:00:15.668 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002888", "end": "2023-12-25 22:13:31.943140", "rc": 0, "start": "2023-12-25 22:13:31.940252" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 25 December 2023 22:13:31 +0000 (0:00:00.156) 0:00:15.824 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 25 December 2023 22:13:31 +0000 (0:00:00.029) 0:00:15.854 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002952", "end": "2023-12-25 22:13:32.137015", "rc": 0, "start": "2023-12-25 22:13:32.134063" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 25 December 2023 22:13:32 +0000 (0:00:00.138) 0:00:15.992 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 25 December 2023 22:13:32 +0000 (0:00:00.027) 0:00:16.020 ******* 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.16lbyzajg3/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 25 December 2023 22:13:32 +0000 (0:00:00.023) 0:00:16.044 ******* 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.16lbyzajg3/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 25 December 2023 22:13:32 +0000 (0:00:00.023) 0:00:16.067 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/run_test.yml:42 Monday 25 December 2023 22:13:32 +0000 (0:00:00.022) 0:00:16.089 ******* TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/run_test.yml:47 Monday 25 December 2023 22:13:32 +0000 (0:00:00.019) 0:00:16.109 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/run_test.yml:66 Monday 25 December 2023 22:13:32 +0000 (0:00:00.021) 0:00:16.131 ******* included: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 25 December 2023 22:13:32 +0000 (0:00:00.045) 0:00:16.176 ******* 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.042278", "end": "2023-12-25 22:13:32.489817", "rc": 255, "start": "2023-12-25 22:13:32.447539" } STDERR: Error: Can't obtain connections: settings services are not running. Error: Can't obtain connections: settings services are not running. 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.16lbyzajg3/tests/playbooks/tests_states.yml:65 Monday 25 December 2023 22:13:32 +0000 (0:00:00.177) 0:00:16.353 ******* included: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/run_test.yml:5 Monday 25 December 2023 22:13:32 +0000 (0:00:00.036) 0:00:16.390 ******* ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/run_test.yml:9 Monday 25 December 2023 22:13:32 +0000 (0:00:00.035) 0:00:16.425 ******* 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.16lbyzajg3/tests/playbooks/tasks/run_test.yml:21 Monday 25 December 2023 22:13:32 +0000 (0:00:00.050) 0:00:16.476 ******* included: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/show_interfaces.yml:3 Monday 25 December 2023 22:13:32 +0000 (0:00:00.060) 0:00:16.536 ******* included: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 25 December 2023 22:13:32 +0000 (0:00:00.040) 0:00:16.576 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003107", "end": "2023-12-25 22:13:32.863075", "rc": 0, "start": "2023-12-25 22:13:32.859968" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 25 December 2023 22:13:32 +0000 (0:00:00.143) 0:00:16.719 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/show_interfaces.yml:5 Monday 25 December 2023 22:13:32 +0000 (0:00:00.022) 0:00:16.742 ******* ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/run_test.yml:24 Monday 25 December 2023 22:13:32 +0000 (0:00:00.023) 0:00:16.765 ******* included: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 25 December 2023 22:13:32 +0000 (0:00:00.039) 0:00:16.805 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 25 December 2023 22:13:32 +0000 (0:00:00.037) 0:00:16.842 ******* included: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 25 December 2023 22:13:33 +0000 (0:00:00.038) 0:00:16.881 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 25 December 2023 22:13:33 +0000 (0:00:00.026) 0:00:16.908 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 25 December 2023 22:13:33 +0000 (0:00:00.024) 0:00:16.933 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 25 December 2023 22:13:33 +0000 (0:00:00.022) 0:00:16.956 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 25 December 2023 22:13:34 +0000 (0:00:01.678) 0:00:18.634 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 25 December 2023 22:13:35 +0000 (0:00:00.602) 0:00:19.237 ******* ok: [sut] => {} MSG: Using network provider: initscripts 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 25 December 2023 22:13:35 +0000 (0:00:00.023) 0:00:19.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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 25 December 2023 22:13:35 +0000 (0:00:00.023) 0:00:19.284 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 25 December 2023 22:13:35 +0000 (0:00:00.036) 0:00:19.320 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 25 December 2023 22:13:35 +0000 (0:00:00.044) 0:00:19.364 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 25 December 2023 22:13:35 +0000 (0:00:00.027) 0:00:19.391 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 25 December 2023 22:13:35 +0000 (0:00:00.021) 0:00:19.413 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 25 December 2023 22:13:35 +0000 (0:00:00.050) 0:00:19.463 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 25 December 2023 22:13:35 +0000 (0:00:00.022) 0:00:19.485 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 25 December 2023 22:13:35 +0000 (0:00:00.020) 0:00:19.506 ******* 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 25 December 2023 22:13:35 +0000 (0:00:00.205) 0:00:19.711 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-13854edt5kwdm/tmps77_5b81" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 25 December 2023 22:13:36 +0000 (0:00:00.266) 0:00:19.977 ******* 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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 25 December 2023 22:13:36 +0000 (0:00:00.251) 0:00:20.228 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 25 December 2023 22:13:36 +0000 (0:00:00.038) 0:00:20.266 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 25 December 2023 22:13:36 +0000 (0:00:00.035) 0:00:20.302 ******* 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 25 December 2023 22:13:36 +0000 (0:00:00.046) 0:00:20.348 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 25 December 2023 22:13:36 +0000 (0:00:00.028) 0:00:20.377 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 25 December 2023 22:13:36 +0000 (0:00:00.143) 0:00:20.520 ******* 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/run_test.yml:30 Monday 25 December 2023 22:13:36 +0000 (0:00:00.025) 0:00:20.545 ******* included: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/activate_profile.yml:3 Monday 25 December 2023 22:13:36 +0000 (0:00:00.041) 0:00:20.586 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 25 December 2023 22:13:36 +0000 (0:00:00.069) 0:00:20.656 ******* included: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 25 December 2023 22:13:36 +0000 (0:00:00.040) 0:00:20.696 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 25 December 2023 22:13:36 +0000 (0:00:00.025) 0:00:20.722 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 25 December 2023 22:13:36 +0000 (0:00:00.021) 0:00:20.743 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 25 December 2023 22:13:36 +0000 (0:00:00.021) 0:00:20.765 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 25 December 2023 22:13:38 +0000 (0:00:01.623) 0:00:22.388 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 25 December 2023 22:13:39 +0000 (0:00:00.600) 0:00:22.989 ******* ok: [sut] => {} MSG: Using network provider: initscripts 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 25 December 2023 22:13:39 +0000 (0:00:00.022) 0:00:23.012 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 25 December 2023 22:13:39 +0000 (0:00:00.021) 0:00:23.033 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 25 December 2023 22:13:39 +0000 (0:00:00.022) 0:00:23.055 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 25 December 2023 22:13:39 +0000 (0:00:00.043) 0:00:23.099 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 25 December 2023 22:13:39 +0000 (0:00:00.021) 0:00:23.120 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 25 December 2023 22:13:39 +0000 (0:00:00.021) 0:00:23.142 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 25 December 2023 22:13:39 +0000 (0:00:00.025) 0:00:23.168 ******* 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 25 December 2023 22:13:39 +0000 (0:00:00.021) 0:00:23.189 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 25 December 2023 22:13:39 +0000 (0:00:00.020) 0:00:23.209 ******* 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 25 December 2023 22:13:39 +0000 (0:00:00.185) 0:00:23.394 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-13854edt5kwdm/tmpwxvfjygy" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 25 December 2023 22:13:39 +0000 (0:00:00.207) 0:00:23.602 ******* changed: [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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err='' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 25 December 2023 22:13:40 +0000 (0:00:00.390) 0:00:23.993 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 25 December 2023 22:13:40 +0000 (0:00:00.066) 0:00:24.059 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 25 December 2023 22:13:40 +0000 (0:00:00.039) 0:00:24.098 ******* 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 25 December 2023 22:13:40 +0000 (0:00:00.038) 0:00:24.137 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 25 December 2023 22:13:40 +0000 (0:00:00.035) 0:00:24.172 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/run_test.yml:36 Monday 25 December 2023 22:13:40 +0000 (0:00:00.128) 0:00:24.300 ******* included: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/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.16lbyzajg3/tests/playbooks/tasks/assert_device_present.yml:3 Monday 25 December 2023 22:13:40 +0000 (0:00:00.044) 0:00:24.345 ******* included: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 25 December 2023 22:13:40 +0000 (0:00:00.038) 0:00:24.384 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1703542420.04234, "block_size": 4096, "blocks": 0, "ctime": 1703542420.0383399, "dev": 0, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 6553, "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": 1703542420.0383399, "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.16lbyzajg3/tests/playbooks/tasks/assert_device_present.yml:5 Monday 25 December 2023 22:13:40 +0000 (0:00:00.128) 0:00:24.512 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 25 December 2023 22:13:40 +0000 (0:00:00.043) 0:00:24.555 ******* included: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/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.16lbyzajg3/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 25 December 2023 22:13:40 +0000 (0:00:00.047) 0:00:24.603 ******* 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.16lbyzajg3/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 25 December 2023 22:13:40 +0000 (0:00:00.023) 0:00:24.626 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1703542418.09234, "block_size": 4096, "blocks": 8, "ctime": 1703542416.3703399, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 39310, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1703542416.3703399, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 127, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 25 December 2023 22:13:40 +0000 (0:00:00.133) 0:00:24.760 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 25 December 2023 22:13:40 +0000 (0:00:00.023) 0:00:24.783 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.006599", "end": "2023-12-25 22:13:41.067061", "rc": 1, "start": "2023-12-25 22:13:41.060462" } STDERR: Error: Object 'connection' is unknown, try 'nmcli help'. 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.16lbyzajg3/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 25 December 2023 22:13:41 +0000 (0:00:00.137) 0:00:24.920 ******* 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.16lbyzajg3/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 25 December 2023 22:13:41 +0000 (0:00:00.025) 0:00:24.945 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003211", "end": "2023-12-25 22:13:41.227586", "rc": 0, "start": "2023-12-25 22:13:41.224375" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 25 December 2023 22:13:41 +0000 (0:00:00.139) 0:00:25.085 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 25 December 2023 22:13:41 +0000 (0:00:00.027) 0:00:25.113 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002916", "end": "2023-12-25 22:13:41.394818", "rc": 0, "start": "2023-12-25 22:13:41.391902" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 25 December 2023 22:13:41 +0000 (0:00:00.143) 0:00:25.256 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 25 December 2023 22:13:41 +0000 (0:00:00.028) 0:00:25.284 ******* 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.16lbyzajg3/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 25 December 2023 22:13:41 +0000 (0:00:00.051) 0:00:25.336 ******* 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.16lbyzajg3/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 25 December 2023 22:13:41 +0000 (0:00:00.035) 0:00:25.371 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/run_test.yml:42 Monday 25 December 2023 22:13:41 +0000 (0:00:00.030) 0:00:25.402 ******* TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/run_test.yml:47 Monday 25 December 2023 22:13:41 +0000 (0:00:00.028) 0:00:25.430 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/run_test.yml:66 Monday 25 December 2023 22:13:41 +0000 (0:00:00.032) 0:00:25.462 ******* included: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 25 December 2023 22:13:41 +0000 (0:00:00.041) 0:00:25.504 ******* ok: [sut] => { "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.043340", "end": "2023-12-25 22:13:41.823208", "rc": 0, "start": "2023-12-25 22:13:41.779868" } STDERR: Error: Can't obtain connections: settings services are not running. Error: Can't obtain connections: settings services are not running. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tests_states.yml:83 Monday 25 December 2023 22:13:41 +0000 (0:00:00.179) 0:00:25.683 ******* included: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/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.16lbyzajg3/tests/playbooks/tasks/run_test.yml:5 Monday 25 December 2023 22:13:41 +0000 (0:00:00.061) 0:00:25.745 ******* ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/run_test.yml:9 Monday 25 December 2023 22:13:41 +0000 (0:00:00.028) 0:00:25.773 ******* 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.16lbyzajg3/tests/playbooks/tasks/run_test.yml:21 Monday 25 December 2023 22:13:41 +0000 (0:00:00.047) 0:00:25.821 ******* included: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/show_interfaces.yml:3 Monday 25 December 2023 22:13:41 +0000 (0:00:00.037) 0:00:25.858 ******* included: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 25 December 2023 22:13:42 +0000 (0:00:00.035) 0:00:25.894 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003132", "end": "2023-12-25 22:13:42.177856", "rc": 0, "start": "2023-12-25 22:13:42.174724" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 25 December 2023 22:13:42 +0000 (0:00:00.151) 0:00:26.046 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/show_interfaces.yml:5 Monday 25 December 2023 22:13:42 +0000 (0:00:00.025) 0:00:26.071 ******* ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/run_test.yml:24 Monday 25 December 2023 22:13:42 +0000 (0:00:00.021) 0:00:26.092 ******* included: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 25 December 2023 22:13:42 +0000 (0:00:00.040) 0:00:26.133 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 25 December 2023 22:13:42 +0000 (0:00:00.035) 0:00:26.169 ******* included: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 25 December 2023 22:13:42 +0000 (0:00:00.038) 0:00:26.207 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 25 December 2023 22:13:42 +0000 (0:00:00.025) 0:00:26.233 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 25 December 2023 22:13:42 +0000 (0:00:00.044) 0:00:26.278 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 25 December 2023 22:13:42 +0000 (0:00:00.026) 0:00:26.305 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 25 December 2023 22:13:44 +0000 (0:00:01.668) 0:00:27.973 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 25 December 2023 22:13:44 +0000 (0:00:00.604) 0:00:28.577 ******* ok: [sut] => {} MSG: Using network provider: initscripts 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 25 December 2023 22:13:44 +0000 (0:00:00.023) 0:00:28.600 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 25 December 2023 22:13:44 +0000 (0:00:00.025) 0:00:28.626 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 25 December 2023 22:13:44 +0000 (0:00:00.022) 0:00:28.648 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 25 December 2023 22:13:44 +0000 (0:00:00.046) 0:00:28.695 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 25 December 2023 22:13:44 +0000 (0:00:00.054) 0:00:28.749 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 25 December 2023 22:13:44 +0000 (0:00:00.025) 0:00:28.775 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 25 December 2023 22:13:44 +0000 (0:00:00.031) 0:00:28.806 ******* 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 25 December 2023 22:13:44 +0000 (0:00:00.024) 0:00:28.830 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 25 December 2023 22:13:44 +0000 (0:00:00.021) 0:00:28.851 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 25 December 2023 22:13:45 +0000 (0:00:00.182) 0:00:29.034 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-13854edt5kwdm/tmp6appwuih" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 25 December 2023 22:13:45 +0000 (0:00:00.192) 0:00:29.226 ******* 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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 25 December 2023 22:13:45 +0000 (0:00:00.235) 0:00:29.462 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 25 December 2023 22:13:45 +0000 (0:00:00.021) 0:00:29.483 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 25 December 2023 22:13:45 +0000 (0:00:00.022) 0:00:29.506 ******* 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 25 December 2023 22:13:45 +0000 (0:00:00.022) 0:00:29.528 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 25 December 2023 22:13:45 +0000 (0:00:00.020) 0:00:29.549 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 25 December 2023 22:13:45 +0000 (0:00:00.122) 0:00:29.672 ******* 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/activate_profile.yml:3 Monday 25 December 2023 22:13:45 +0000 (0:00:00.025) 0:00:29.697 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 25 December 2023 22:13:45 +0000 (0:00:00.096) 0:00:29.794 ******* included: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 25 December 2023 22:13:45 +0000 (0:00:00.041) 0:00:29.836 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 25 December 2023 22:13:46 +0000 (0:00:00.028) 0:00:29.864 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 25 December 2023 22:13:46 +0000 (0:00:00.021) 0:00:29.886 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 25 December 2023 22:13:46 +0000 (0:00:00.020) 0:00:29.906 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 25 December 2023 22:13:47 +0000 (0:00:01.585) 0:00:31.492 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 25 December 2023 22:13:48 +0000 (0:00:00.588) 0:00:32.081 ******* ok: [sut] => {} MSG: Using network provider: initscripts 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 25 December 2023 22:13:48 +0000 (0:00:00.024) 0:00:32.105 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 25 December 2023 22:13:48 +0000 (0:00:00.023) 0:00:32.128 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 25 December 2023 22:13:48 +0000 (0:00:00.023) 0:00:32.152 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 25 December 2023 22:13:48 +0000 (0:00:00.050) 0:00:32.202 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 25 December 2023 22:13:48 +0000 (0:00:00.022) 0:00:32.225 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 25 December 2023 22:13:48 +0000 (0:00:00.024) 0:00:32.250 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 25 December 2023 22:13:48 +0000 (0:00:00.025) 0:00:32.275 ******* 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 25 December 2023 22:13:48 +0000 (0:00:00.021) 0:00:32.296 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 25 December 2023 22:13:48 +0000 (0:00:00.021) 0:00:32.318 ******* 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 25 December 2023 22:13:48 +0000 (0:00:00.184) 0:00:32.503 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-13854edt5kwdm/tmphf6exp2b" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 25 December 2023 22:13:48 +0000 (0:00:00.190) 0:00:32.693 ******* changed: [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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err='' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 25 December 2023 22:13:49 +0000 (0:00:00.359) 0:00:33.053 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 25 December 2023 22:13:49 +0000 (0:00:00.021) 0:00:33.074 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 25 December 2023 22:13:49 +0000 (0:00:00.058) 0:00:33.132 ******* 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 25 December 2023 22:13:49 +0000 (0:00:00.024) 0:00:33.157 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 25 December 2023 22:13:49 +0000 (0:00:00.021) 0:00:33.178 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/run_test.yml:30 Monday 25 December 2023 22:13:49 +0000 (0:00:00.127) 0:00:33.305 ******* included: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/remove_profile.yml:3 Monday 25 December 2023 22:13:49 +0000 (0:00:00.040) 0:00:33.346 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 25 December 2023 22:13:49 +0000 (0:00:00.040) 0:00:33.386 ******* included: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 25 December 2023 22:13:49 +0000 (0:00:00.039) 0:00:33.426 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 25 December 2023 22:13:49 +0000 (0:00:00.027) 0:00:33.454 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 25 December 2023 22:13:49 +0000 (0:00:00.021) 0:00:33.476 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 25 December 2023 22:13:49 +0000 (0:00:00.021) 0:00:33.497 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 25 December 2023 22:13:51 +0000 (0:00:01.883) 0:00:35.380 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 25 December 2023 22:13:52 +0000 (0:00:00.702) 0:00:36.083 ******* ok: [sut] => {} MSG: Using network provider: initscripts 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 25 December 2023 22:13:52 +0000 (0:00:00.027) 0:00:36.110 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 25 December 2023 22:13:52 +0000 (0:00:00.022) 0:00:36.133 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 25 December 2023 22:13:52 +0000 (0:00:00.025) 0:00:36.158 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 25 December 2023 22:13:52 +0000 (0:00:00.050) 0:00:36.208 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 25 December 2023 22:13:52 +0000 (0:00:00.024) 0:00:36.232 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 25 December 2023 22:13:52 +0000 (0:00:00.028) 0:00:36.260 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 25 December 2023 22:13:52 +0000 (0:00:00.072) 0:00:36.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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 25 December 2023 22:13:52 +0000 (0:00:00.022) 0:00:36.356 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 25 December 2023 22:13:52 +0000 (0:00:00.027) 0:00:36.383 ******* 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 25 December 2023 22:13:52 +0000 (0:00:00.186) 0:00:36.570 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-13854edt5kwdm/tmpmud0v01_" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 25 December 2023 22:13:52 +0000 (0:00:00.245) 0:00:36.815 ******* 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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 25 December 2023 22:13:53 +0000 (0:00:00.236) 0:00:37.051 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 25 December 2023 22:13:53 +0000 (0:00:00.021) 0:00:37.073 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 25 December 2023 22:13:53 +0000 (0:00:00.023) 0:00:37.096 ******* 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 25 December 2023 22:13:53 +0000 (0:00:00.027) 0:00:37.123 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 25 December 2023 22:13:53 +0000 (0:00:00.048) 0:00:37.172 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/run_test.yml:36 Monday 25 December 2023 22:13:53 +0000 (0:00:00.163) 0:00:37.335 ******* included: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/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.16lbyzajg3/tests/playbooks/tasks/assert_device_present.yml:3 Monday 25 December 2023 22:13:53 +0000 (0:00:00.047) 0:00:37.382 ******* included: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 25 December 2023 22:13:53 +0000 (0:00:00.060) 0:00:37.443 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1703542429.12434, "block_size": 4096, "blocks": 0, "ctime": 1703542429.12334, "dev": 0, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 6553, "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": 1703542429.12334, "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.16lbyzajg3/tests/playbooks/tasks/assert_device_present.yml:5 Monday 25 December 2023 22:13:53 +0000 (0:00:00.160) 0:00:37.604 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/assert_profile_absent.yml:3 Monday 25 December 2023 22:13:53 +0000 (0:00:00.025) 0:00:37.629 ******* included: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/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.16lbyzajg3/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 25 December 2023 22:13:53 +0000 (0:00:00.037) 0:00:37.667 ******* 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.16lbyzajg3/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 25 December 2023 22:13:53 +0000 (0:00:00.021) 0:00:37.689 ******* 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.16lbyzajg3/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 25 December 2023 22:13:54 +0000 (0:00:00.181) 0:00:37.870 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 25 December 2023 22:13:54 +0000 (0:00:00.021) 0:00:37.892 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.006288", "end": "2023-12-25 22:13:54.204861", "rc": 1, "start": "2023-12-25 22:13:54.198573" } STDERR: Error: Object 'connection' is unknown, try 'nmcli help'. 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.16lbyzajg3/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 25 December 2023 22:13:54 +0000 (0:00:00.166) 0:00:38.059 ******* 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.16lbyzajg3/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 25 December 2023 22:13:54 +0000 (0:00:00.037) 0:00:38.096 ******* 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.16lbyzajg3/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 25 December 2023 22:13:54 +0000 (0:00:00.023) 0:00:38.120 ******* 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.16lbyzajg3/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 25 December 2023 22:13:54 +0000 (0:00:00.026) 0:00:38.146 ******* 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.16lbyzajg3/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 25 December 2023 22:13:54 +0000 (0:00:00.027) 0:00:38.173 ******* 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.16lbyzajg3/tests/playbooks/tasks/assert_profile_absent.yml:5 Monday 25 December 2023 22:13:54 +0000 (0:00:00.025) 0:00:38.199 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/run_test.yml:42 Monday 25 December 2023 22:13:54 +0000 (0:00:00.024) 0:00:38.224 ******* TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/run_test.yml:47 Monday 25 December 2023 22:13:54 +0000 (0:00:00.019) 0:00:38.243 ******* 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.16lbyzajg3/tests/playbooks/tasks/run_test.yml:66 Monday 25 December 2023 22:13:54 +0000 (0:00:00.048) 0:00:38.292 ******* included: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 25 December 2023 22:13:54 +0000 (0:00:00.042) 0:00:38.334 ******* ok: [sut] => { "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.049831", "end": "2023-12-25 22:13:54.655277", "rc": 0, "start": "2023-12-25 22:13:54.605446" } STDERR: Error: Can't obtain connections: settings services are not running. Error: Can't obtain connections: settings services are not running. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tests_states.yml:103 Monday 25 December 2023 22:13:54 +0000 (0:00:00.180) 0:00:38.514 ******* included: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/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.16lbyzajg3/tests/playbooks/tasks/run_test.yml:5 Monday 25 December 2023 22:13:54 +0000 (0:00:00.038) 0:00:38.553 ******* ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/run_test.yml:9 Monday 25 December 2023 22:13:54 +0000 (0:00:00.022) 0:00:38.576 ******* 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": false, "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.16lbyzajg3/tests/playbooks/tasks/run_test.yml:21 Monday 25 December 2023 22:13:54 +0000 (0:00:00.048) 0:00:38.624 ******* included: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/show_interfaces.yml:3 Monday 25 December 2023 22:13:54 +0000 (0:00:00.035) 0:00:38.659 ******* included: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 25 December 2023 22:13:54 +0000 (0:00:00.035) 0:00:38.694 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002965", "end": "2023-12-25 22:13:54.972827", "rc": 0, "start": "2023-12-25 22:13:54.969862" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 25 December 2023 22:13:54 +0000 (0:00:00.132) 0:00:38.827 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/show_interfaces.yml:5 Monday 25 December 2023 22:13:54 +0000 (0:00:00.023) 0:00:38.850 ******* ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/run_test.yml:24 Monday 25 December 2023 22:13:55 +0000 (0:00:00.039) 0:00:38.890 ******* included: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 25 December 2023 22:13:55 +0000 (0:00:00.070) 0:00:38.961 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 25 December 2023 22:13:55 +0000 (0:00:00.036) 0:00:38.998 ******* included: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 25 December 2023 22:13:55 +0000 (0:00:00.040) 0:00:39.038 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 25 December 2023 22:13:55 +0000 (0:00:00.026) 0:00:39.064 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 25 December 2023 22:13:55 +0000 (0:00:00.022) 0:00:39.087 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 25 December 2023 22:13:55 +0000 (0:00:00.024) 0:00:39.112 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 25 December 2023 22:13:56 +0000 (0:00:01.677) 0:00:40.789 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 25 December 2023 22:13:57 +0000 (0:00:00.736) 0:00:41.525 ******* ok: [sut] => {} MSG: Using network provider: initscripts 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 25 December 2023 22:13:57 +0000 (0:00:00.032) 0:00:41.558 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 25 December 2023 22:13:57 +0000 (0:00:00.036) 0:00:41.595 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 25 December 2023 22:13:57 +0000 (0:00:00.047) 0:00:41.642 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 25 December 2023 22:13:57 +0000 (0:00:00.050) 0:00:41.692 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 25 December 2023 22:13:57 +0000 (0:00:00.024) 0:00:41.717 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 25 December 2023 22:13:57 +0000 (0:00:00.022) 0:00:41.740 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 25 December 2023 22:13:57 +0000 (0:00:00.026) 0:00:41.766 ******* 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 25 December 2023 22:13:57 +0000 (0:00:00.022) 0:00:41.788 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 25 December 2023 22:13:57 +0000 (0:00:00.021) 0:00:41.810 ******* 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 25 December 2023 22:13:58 +0000 (0:00:00.269) 0:00:42.080 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-13854edt5kwdm/tmp2sl20xk3" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 25 December 2023 22:13:58 +0000 (0:00:00.228) 0:00:42.309 ******* 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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 25 December 2023 22:13:58 +0000 (0:00:00.250) 0:00:42.560 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 25 December 2023 22:13:58 +0000 (0:00:00.022) 0:00:42.582 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 25 December 2023 22:13:58 +0000 (0:00:00.022) 0:00:42.605 ******* 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 25 December 2023 22:13:58 +0000 (0:00:00.024) 0:00:42.629 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 25 December 2023 22:13:58 +0000 (0:00:00.022) 0:00:42.652 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 25 December 2023 22:13:58 +0000 (0:00:00.125) 0:00:42.777 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/activate_profile.yml:3 Monday 25 December 2023 22:13:58 +0000 (0:00:00.024) 0:00:42.802 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 25 December 2023 22:13:58 +0000 (0:00:00.037) 0:00:42.840 ******* included: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 25 December 2023 22:13:59 +0000 (0:00:00.049) 0:00:42.889 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 25 December 2023 22:13:59 +0000 (0:00:00.029) 0:00:42.919 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 25 December 2023 22:13:59 +0000 (0:00:00.021) 0:00:42.941 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 25 December 2023 22:13:59 +0000 (0:00:00.025) 0:00:42.967 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 25 December 2023 22:14:00 +0000 (0:00:01.563) 0:00:44.530 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 25 December 2023 22:14:01 +0000 (0:00:00.574) 0:00:45.105 ******* ok: [sut] => {} MSG: Using network provider: initscripts 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 25 December 2023 22:14:01 +0000 (0:00:00.025) 0:00:45.130 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 25 December 2023 22:14:01 +0000 (0:00:00.024) 0:00:45.155 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 25 December 2023 22:14:01 +0000 (0:00:00.021) 0:00:45.177 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 25 December 2023 22:14:01 +0000 (0:00:00.045) 0:00:45.222 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 25 December 2023 22:14:01 +0000 (0:00:00.033) 0:00:45.256 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 25 December 2023 22:14:01 +0000 (0:00:00.023) 0:00:45.279 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 25 December 2023 22:14:01 +0000 (0:00:00.055) 0:00:45.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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 25 December 2023 22:14:01 +0000 (0:00:00.023) 0:00:45.359 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 25 December 2023 22:14:01 +0000 (0:00:00.023) 0:00:45.382 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 25 December 2023 22:14:01 +0000 (0:00:00.182) 0:00:45.564 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-13854edt5kwdm/tmpek_htv_p" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 25 December 2023 22:14:01 +0000 (0:00:00.186) 0:00:45.751 ******* changed: [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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err='' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 25 December 2023 22:14:02 +0000 (0:00:00.364) 0:00:46.115 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 25 December 2023 22:14:02 +0000 (0:00:00.024) 0:00:46.140 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 25 December 2023 22:14:02 +0000 (0:00:00.036) 0:00:46.177 ******* 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 25 December 2023 22:14:02 +0000 (0:00:00.024) 0:00:46.201 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 25 December 2023 22:14:02 +0000 (0:00:00.027) 0:00:46.229 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/remove_profile.yml:3 Monday 25 December 2023 22:14:02 +0000 (0:00:00.129) 0:00:46.358 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 25 December 2023 22:14:02 +0000 (0:00:00.036) 0:00:46.395 ******* included: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 25 December 2023 22:14:02 +0000 (0:00:00.070) 0:00:46.465 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 25 December 2023 22:14:02 +0000 (0:00:00.027) 0:00:46.493 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 25 December 2023 22:14:02 +0000 (0:00:00.023) 0:00:46.517 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 25 December 2023 22:14:02 +0000 (0:00:00.024) 0:00:46.541 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 25 December 2023 22:14:04 +0000 (0:00:01.485) 0:00:48.026 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 25 December 2023 22:14:04 +0000 (0:00:00.567) 0:00:48.594 ******* ok: [sut] => {} MSG: Using network provider: initscripts 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 25 December 2023 22:14:04 +0000 (0:00:00.025) 0:00:48.620 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 25 December 2023 22:14:04 +0000 (0:00:00.053) 0:00:48.674 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 25 December 2023 22:14:04 +0000 (0:00:00.029) 0:00:48.703 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 25 December 2023 22:14:04 +0000 (0:00:00.049) 0:00:48.752 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 25 December 2023 22:14:04 +0000 (0:00:00.026) 0:00:48.779 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 25 December 2023 22:14:04 +0000 (0:00:00.021) 0:00:48.800 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 25 December 2023 22:14:04 +0000 (0:00:00.024) 0:00:48.824 ******* 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 25 December 2023 22:14:04 +0000 (0:00:00.021) 0:00:48.846 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 25 December 2023 22:14:05 +0000 (0:00:00.019) 0:00:48.866 ******* 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 25 December 2023 22:14:05 +0000 (0:00:00.182) 0:00:49.048 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-13854edt5kwdm/tmpwdi6v2nj" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 25 December 2023 22:14:05 +0000 (0:00:00.184) 0:00:49.233 ******* 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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 25 December 2023 22:14:05 +0000 (0:00:00.227) 0:00:49.460 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 25 December 2023 22:14:05 +0000 (0:00:00.021) 0:00:49.482 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 25 December 2023 22:14:05 +0000 (0:00:00.022) 0:00:49.504 ******* 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 25 December 2023 22:14:05 +0000 (0:00:00.022) 0:00:49.526 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 25 December 2023 22:14:05 +0000 (0:00:00.021) 0:00:49.548 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/run_test.yml:30 Monday 25 December 2023 22:14:05 +0000 (0:00:00.149) 0:00:49.697 ******* included: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/remove+down_profile.yml:3 Monday 25 December 2023 22:14:05 +0000 (0:00:00.040) 0:00:49.738 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 25 December 2023 22:14:05 +0000 (0:00:00.042) 0:00:49.780 ******* included: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 25 December 2023 22:14:05 +0000 (0:00:00.040) 0:00:49.821 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 25 December 2023 22:14:05 +0000 (0:00:00.028) 0:00:49.849 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 25 December 2023 22:14:06 +0000 (0:00:00.021) 0:00:49.871 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 25 December 2023 22:14:06 +0000 (0:00:00.024) 0:00:49.896 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 25 December 2023 22:14:07 +0000 (0:00:01.468) 0:00:51.364 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 25 December 2023 22:14:08 +0000 (0:00:00.560) 0:00:51.924 ******* ok: [sut] => {} MSG: Using network provider: initscripts 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 25 December 2023 22:14:08 +0000 (0:00:00.022) 0:00:51.947 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 25 December 2023 22:14:08 +0000 (0:00:00.020) 0:00:51.968 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 25 December 2023 22:14:08 +0000 (0:00:00.020) 0:00:51.988 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 25 December 2023 22:14:08 +0000 (0:00:00.042) 0:00:52.031 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 25 December 2023 22:14:08 +0000 (0:00:00.021) 0:00:52.052 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 25 December 2023 22:14:08 +0000 (0:00:00.022) 0:00:52.074 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 25 December 2023 22:14:08 +0000 (0:00:00.025) 0:00:52.100 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 25 December 2023 22:14:08 +0000 (0:00:00.021) 0:00:52.122 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 25 December 2023 22:14:08 +0000 (0:00:00.022) 0:00:52.144 ******* 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 25 December 2023 22:14:08 +0000 (0:00:00.190) 0:00:52.335 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-13854edt5kwdm/tmpp8v8nst2" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 25 December 2023 22:14:08 +0000 (0:00:00.254) 0:00:52.589 ******* 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": "initscripts" } }, "changed": false } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 25 December 2023 22:14:08 +0000 (0:00:00.225) 0:00:52.814 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 25 December 2023 22:14:08 +0000 (0:00:00.021) 0:00:52.836 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 25 December 2023 22:14:09 +0000 (0:00:00.023) 0:00:52.859 ******* 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": "initscripts" } }, "changed": false, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 25 December 2023 22:14:09 +0000 (0:00:00.024) 0:00:52.884 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 25 December 2023 22:14:09 +0000 (0:00:00.028) 0:00:52.912 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/run_test.yml:36 Monday 25 December 2023 22:14:09 +0000 (0:00:00.118) 0:00:53.031 ******* included: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/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.16lbyzajg3/tests/playbooks/tasks/assert_profile_absent.yml:3 Monday 25 December 2023 22:14:09 +0000 (0:00:00.042) 0:00:53.074 ******* included: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/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.16lbyzajg3/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 25 December 2023 22:14:09 +0000 (0:00:00.039) 0:00:53.113 ******* 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.16lbyzajg3/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 25 December 2023 22:14:09 +0000 (0:00:00.023) 0:00:53.137 ******* 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.16lbyzajg3/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 25 December 2023 22:14:09 +0000 (0:00:00.123) 0:00:53.260 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 25 December 2023 22:14:09 +0000 (0:00:00.020) 0:00:53.281 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.005401", "end": "2023-12-25 22:14:09.556896", "rc": 1, "start": "2023-12-25 22:14:09.551495" } STDERR: Error: Object 'connection' is unknown, try 'nmcli help'. 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.16lbyzajg3/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 25 December 2023 22:14:09 +0000 (0:00:00.135) 0:00:53.417 ******* 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.16lbyzajg3/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 25 December 2023 22:14:09 +0000 (0:00:00.058) 0:00:53.475 ******* 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.16lbyzajg3/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 25 December 2023 22:14:09 +0000 (0:00:00.025) 0:00:53.500 ******* 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.16lbyzajg3/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 25 December 2023 22:14:09 +0000 (0:00:00.028) 0:00:53.529 ******* 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.16lbyzajg3/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 25 December 2023 22:14:09 +0000 (0:00:00.036) 0:00:53.565 ******* 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.16lbyzajg3/tests/playbooks/tasks/assert_profile_absent.yml:5 Monday 25 December 2023 22:14:09 +0000 (0:00:00.023) 0:00:53.589 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/run_test.yml:42 Monday 25 December 2023 22:14:09 +0000 (0:00:00.030) 0:00:53.619 ******* skipping: [sut] => (item={'what': 'tasks/assert_device_absent.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "condition": false, "what": "tasks/assert_device_absent.yml" }, "skip_reason": "Conditional result was False" } TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/run_test.yml:47 Monday 25 December 2023 22:14:09 +0000 (0:00:00.026) 0:00:53.646 ******* 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.16lbyzajg3/tests/playbooks/tasks/run_test.yml:66 Monday 25 December 2023 22:14:09 +0000 (0:00:00.022) 0:00:53.668 ******* included: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 25 December 2023 22:14:09 +0000 (0:00:00.039) 0:00:53.708 ******* ok: [sut] => { "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.038601", "end": "2023-12-25 22:14:10.016213", "rc": 0, "start": "2023-12-25 22:14:09.977612" } STDERR: Error: Can't obtain connections: settings services are not running. Error: Can't obtain connections: settings services are not running. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tests_states.yml:126 Monday 25 December 2023 22:14:10 +0000 (0:00:00.166) 0:00:53.874 ******* included: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/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.16lbyzajg3/tests/playbooks/tasks/run_test.yml:5 Monday 25 December 2023 22:14:10 +0000 (0:00:00.038) 0:00:53.912 ******* 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.16lbyzajg3/tests/playbooks/tasks/run_test.yml:9 Monday 25 December 2023 22:14:10 +0000 (0:00:00.023) 0:00:53.936 ******* 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": false, "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.16lbyzajg3/tests/playbooks/tasks/run_test.yml:21 Monday 25 December 2023 22:14:10 +0000 (0:00:00.046) 0:00:53.983 ******* included: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/show_interfaces.yml:3 Monday 25 December 2023 22:14:10 +0000 (0:00:00.073) 0:00:54.057 ******* included: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 25 December 2023 22:14:10 +0000 (0:00:00.034) 0:00:54.091 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002942", "end": "2023-12-25 22:14:10.365362", "rc": 0, "start": "2023-12-25 22:14:10.362420" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 25 December 2023 22:14:10 +0000 (0:00:00.127) 0:00:54.219 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/show_interfaces.yml:5 Monday 25 December 2023 22:14:10 +0000 (0:00:00.025) 0:00:54.244 ******* ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/run_test.yml:24 Monday 25 December 2023 22:14:10 +0000 (0:00:00.025) 0:00:54.270 ******* included: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 25 December 2023 22:14:10 +0000 (0:00:00.075) 0:00:54.345 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 25 December 2023 22:14:10 +0000 (0:00:00.045) 0:00:54.390 ******* included: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 25 December 2023 22:14:10 +0000 (0:00:00.042) 0:00:54.433 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 25 December 2023 22:14:10 +0000 (0:00:00.038) 0:00:54.471 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 25 December 2023 22:14:10 +0000 (0:00:00.040) 0:00:54.511 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 25 December 2023 22:14:10 +0000 (0:00:00.025) 0:00:54.536 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 25 December 2023 22:14:12 +0000 (0:00:01.442) 0:00:55.979 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 25 December 2023 22:14:12 +0000 (0:00:00.557) 0:00:56.536 ******* ok: [sut] => {} MSG: Using network provider: initscripts 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 25 December 2023 22:14:12 +0000 (0:00:00.022) 0:00:56.559 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 25 December 2023 22:14:12 +0000 (0:00:00.021) 0:00:56.580 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 25 December 2023 22:14:12 +0000 (0:00:00.021) 0:00:56.602 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 25 December 2023 22:14:12 +0000 (0:00:00.043) 0:00:56.645 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 25 December 2023 22:14:12 +0000 (0:00:00.021) 0:00:56.667 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 25 December 2023 22:14:12 +0000 (0:00:00.022) 0:00:56.689 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 25 December 2023 22:14:12 +0000 (0:00:00.050) 0:00:56.739 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 25 December 2023 22:14:12 +0000 (0:00:00.021) 0:00:56.761 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 25 December 2023 22:14:12 +0000 (0:00:00.021) 0:00:56.782 ******* 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 25 December 2023 22:14:13 +0000 (0:00:00.185) 0:00:56.968 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-13854edt5kwdm/tmplc2sqp0c" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 25 December 2023 22:14:13 +0000 (0:00:00.192) 0:00:57.160 ******* 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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 25 December 2023 22:14:13 +0000 (0:00:00.235) 0:00:57.396 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 25 December 2023 22:14:13 +0000 (0:00:00.023) 0:00:57.419 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 25 December 2023 22:14:13 +0000 (0:00:00.024) 0:00:57.443 ******* 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 25 December 2023 22:14:13 +0000 (0:00:00.029) 0:00:57.473 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 25 December 2023 22:14:13 +0000 (0:00:00.023) 0:00:57.496 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 25 December 2023 22:14:13 +0000 (0:00:00.120) 0:00:57.617 ******* 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/activate_profile.yml:3 Monday 25 December 2023 22:14:13 +0000 (0:00:00.022) 0:00:57.639 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 25 December 2023 22:14:13 +0000 (0:00:00.035) 0:00:57.675 ******* included: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 25 December 2023 22:14:13 +0000 (0:00:00.067) 0:00:57.742 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 25 December 2023 22:14:13 +0000 (0:00:00.027) 0:00:57.770 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 25 December 2023 22:14:13 +0000 (0:00:00.024) 0:00:57.794 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 25 December 2023 22:14:13 +0000 (0:00:00.023) 0:00:57.818 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 25 December 2023 22:14:15 +0000 (0:00:01.422) 0:00:59.241 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 25 December 2023 22:14:15 +0000 (0:00:00.578) 0:00:59.820 ******* ok: [sut] => {} MSG: Using network provider: initscripts 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 25 December 2023 22:14:15 +0000 (0:00:00.029) 0:00:59.849 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 25 December 2023 22:14:16 +0000 (0:00:00.054) 0:00:59.904 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 25 December 2023 22:14:16 +0000 (0:00:00.021) 0:00:59.925 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 25 December 2023 22:14:16 +0000 (0:00:00.042) 0:00:59.968 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 25 December 2023 22:14:16 +0000 (0:00:00.021) 0:00:59.990 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 25 December 2023 22:14:16 +0000 (0:00:00.021) 0:01:00.011 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 25 December 2023 22:14:16 +0000 (0:00:00.026) 0:01:00.038 ******* 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 25 December 2023 22:14:16 +0000 (0:00:00.021) 0:01:00.059 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 25 December 2023 22:14:16 +0000 (0:00:00.021) 0:01:00.081 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 25 December 2023 22:14:16 +0000 (0:00:00.182) 0:01:00.264 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-13854edt5kwdm/tmpgv4x4bfh" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 25 December 2023 22:14:16 +0000 (0:00:00.180) 0:01:00.444 ******* changed: [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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err='' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 25 December 2023 22:14:16 +0000 (0:00:00.331) 0:01:00.775 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 25 December 2023 22:14:16 +0000 (0:00:00.021) 0:01:00.797 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 25 December 2023 22:14:16 +0000 (0:00:00.022) 0:01:00.820 ******* 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 25 December 2023 22:14:16 +0000 (0:00:00.022) 0:01:00.842 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 25 December 2023 22:14:17 +0000 (0:00:00.052) 0:01:00.894 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/remove+down_profile.yml:3 Monday 25 December 2023 22:14:17 +0000 (0:00:00.121) 0:01:01.016 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 25 December 2023 22:14:17 +0000 (0:00:00.054) 0:01:01.071 ******* included: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 25 December 2023 22:14:17 +0000 (0:00:00.040) 0:01:01.111 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 25 December 2023 22:14:17 +0000 (0:00:00.027) 0:01:01.139 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 25 December 2023 22:14:17 +0000 (0:00:00.022) 0:01:01.161 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 25 December 2023 22:14:17 +0000 (0:00:00.023) 0:01:01.185 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 25 December 2023 22:14:18 +0000 (0:00:01.439) 0:01:02.624 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 25 December 2023 22:14:19 +0000 (0:00:00.585) 0:01:03.210 ******* ok: [sut] => {} MSG: Using network provider: initscripts 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 25 December 2023 22:14:19 +0000 (0:00:00.022) 0:01:03.233 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 25 December 2023 22:14:19 +0000 (0:00:00.021) 0:01:03.254 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 25 December 2023 22:14:19 +0000 (0:00:00.020) 0:01:03.275 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 25 December 2023 22:14:19 +0000 (0:00:00.042) 0:01:03.318 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 25 December 2023 22:14:19 +0000 (0:00:00.022) 0:01:03.340 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 25 December 2023 22:14:19 +0000 (0:00:00.021) 0:01:03.362 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 25 December 2023 22:14:19 +0000 (0:00:00.025) 0:01:03.387 ******* 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 25 December 2023 22:14:19 +0000 (0:00:00.027) 0:01:03.414 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 25 December 2023 22:14:19 +0000 (0:00:00.027) 0:01:03.442 ******* 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 25 December 2023 22:14:19 +0000 (0:00:00.196) 0:01:03.639 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-13854edt5kwdm/tmp8yg1b8t0" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 25 December 2023 22:14:19 +0000 (0:00:00.203) 0:01:03.842 ******* 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": "initscripts" } }, "changed": true } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 25 December 2023 22:14:20 +0000 (0:00:00.264) 0:01:04.107 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 25 December 2023 22:14:20 +0000 (0:00:00.055) 0:01:04.163 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 25 December 2023 22:14:20 +0000 (0:00:00.033) 0:01:04.197 ******* 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 25 December 2023 22:14:20 +0000 (0:00:00.024) 0:01:04.222 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 25 December 2023 22:14:20 +0000 (0:00:00.022) 0:01:04.244 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/run_test.yml:30 Monday 25 December 2023 22:14:20 +0000 (0:00:00.128) 0:01:04.372 ******* included: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/remove+down_profile.yml:3 Monday 25 December 2023 22:14:20 +0000 (0:00:00.042) 0:01:04.415 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 25 December 2023 22:14:20 +0000 (0:00:00.047) 0:01:04.463 ******* included: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 25 December 2023 22:14:20 +0000 (0:00:00.044) 0:01:04.507 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 25 December 2023 22:14:20 +0000 (0:00:00.028) 0:01:04.535 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 25 December 2023 22:14:20 +0000 (0:00:00.025) 0:01:04.561 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 25 December 2023 22:14:20 +0000 (0:00:00.022) 0:01:04.583 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 25 December 2023 22:14:22 +0000 (0:00:01.420) 0:01:06.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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 25 December 2023 22:14:22 +0000 (0:00:00.556) 0:01:06.560 ******* ok: [sut] => {} MSG: Using network provider: initscripts 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 25 December 2023 22:14:22 +0000 (0:00:00.022) 0:01:06.583 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 25 December 2023 22:14:22 +0000 (0:00:00.022) 0:01:06.606 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 25 December 2023 22:14:22 +0000 (0:00:00.020) 0:01:06.627 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 25 December 2023 22:14:22 +0000 (0:00:00.042) 0:01:06.669 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 25 December 2023 22:14:22 +0000 (0:00:00.021) 0:01:06.690 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 25 December 2023 22:14:22 +0000 (0:00:00.020) 0:01:06.711 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 25 December 2023 22:14:22 +0000 (0:00:00.046) 0:01:06.758 ******* 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 25 December 2023 22:14:22 +0000 (0:00:00.021) 0:01:06.780 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 25 December 2023 22:14:22 +0000 (0:00:00.020) 0:01:06.801 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 25 December 2023 22:14:23 +0000 (0:00:00.180) 0:01:06.981 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-13854edt5kwdm/tmpa_am9eec" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 25 December 2023 22:14:23 +0000 (0:00:00.179) 0:01:07.160 ******* 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": "initscripts" } }, "changed": false } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 25 December 2023 22:14:23 +0000 (0:00:00.221) 0:01:07.382 ******* 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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 25 December 2023 22:14:23 +0000 (0:00:00.022) 0:01:07.405 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 25 December 2023 22:14:23 +0000 (0:00:00.024) 0:01:07.429 ******* 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": "initscripts" } }, "changed": false, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 25 December 2023 22:14:23 +0000 (0:00:00.023) 0:01:07.453 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 25 December 2023 22:14:23 +0000 (0:00:00.020) 0:01:07.474 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/run_test.yml:36 Monday 25 December 2023 22:14:23 +0000 (0:00:00.117) 0:01:07.592 ******* included: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/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.16lbyzajg3/tests/playbooks/tasks/assert_profile_absent.yml:3 Monday 25 December 2023 22:14:23 +0000 (0:00:00.043) 0:01:07.635 ******* included: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/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.16lbyzajg3/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 25 December 2023 22:14:23 +0000 (0:00:00.064) 0:01:07.699 ******* 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.16lbyzajg3/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 25 December 2023 22:14:23 +0000 (0:00:00.023) 0:01:07.723 ******* 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.16lbyzajg3/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 25 December 2023 22:14:23 +0000 (0:00:00.121) 0:01:07.844 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 25 December 2023 22:14:24 +0000 (0:00:00.021) 0:01:07.866 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.005469", "end": "2023-12-25 22:14:24.142884", "rc": 1, "start": "2023-12-25 22:14:24.137415" } STDERR: Error: Object 'connection' is unknown, try 'nmcli help'. 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.16lbyzajg3/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 25 December 2023 22:14:24 +0000 (0:00:00.129) 0:01:07.996 ******* 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.16lbyzajg3/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 25 December 2023 22:14:24 +0000 (0:00:00.026) 0:01:08.022 ******* 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.16lbyzajg3/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 25 December 2023 22:14:24 +0000 (0:00:00.024) 0:01:08.047 ******* 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.16lbyzajg3/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 25 December 2023 22:14:24 +0000 (0:00:00.023) 0:01:08.070 ******* 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.16lbyzajg3/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 25 December 2023 22:14:24 +0000 (0:00:00.022) 0:01:08.093 ******* 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.16lbyzajg3/tests/playbooks/tasks/assert_profile_absent.yml:5 Monday 25 December 2023 22:14:24 +0000 (0:00:00.023) 0:01:08.116 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Monday 25 December 2023 22:14:24 +0000 (0:00:00.023) 0:01:08.140 ******* ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.366871", "end": "2023-12-25 22:14:24.776724", "rc": 0, "start": "2023-12-25 22:14:24.409853" } STDOUT: NetworkManager-0.8.1-113.el6 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Monday 25 December 2023 22:14:24 +0000 (0:00:00.497) 0:01:08.638 ******* ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-0.8.1-113.el6" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Monday 25 December 2023 22:14:24 +0000 (0:00:00.028) 0:01:08.666 ******* ok: [sut] => { "networkmanager_nvr": "NetworkManager-0.8.1-113.el6" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/run_test.yml:42 Monday 25 December 2023 22:14:24 +0000 (0:00:00.024) 0:01:08.691 ******* skipping: [sut] => (item={'what': 'tasks/assert_device_absent.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "condition": false, "what": "tasks/assert_device_absent.yml" }, "skip_reason": "Conditional result was False" } 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.16lbyzajg3/tests/playbooks/tasks/run_test.yml:47 Monday 25 December 2023 22:14:24 +0000 (0:00:00.028) 0:01:08.719 ******* 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.16lbyzajg3/tests/playbooks/tasks/run_test.yml:66 Monday 25 December 2023 22:14:24 +0000 (0:00:00.062) 0:01:08.782 ******* included: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 25 December 2023 22:14:24 +0000 (0:00:00.050) 0:01:08.832 ******* ok: [sut] => { "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.037971", "end": "2023-12-25 22:14:25.151228", "rc": 0, "start": "2023-12-25 22:14:25.113257" } STDERR: Error: Can't obtain connections: settings services are not running. Error: Can't obtain connections: settings services are not running. META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=332 changed=13 unreachable=0 failed=0 skipped=227 rescued=0 ignored=10 Monday 25 December 2023 22:14:25 +0000 (0:00:00.166) 0:01:08.998 ******* =============================================================================== linux-system-roles.network : Check which services are running ----------- 2.46s /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.88s /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.68s /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.68s /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.67s /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.65s /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/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.16lbyzajg3/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.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.56s /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.49s /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.47s /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 1.45s /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Check which services are running ----------- 1.44s /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.44s /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.42s /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.42s /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 1.35s /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable network service --------------------- 1.15s /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:105 Gathering Facts --------------------------------------------------------- 1.14s /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/tests_states_initscripts.yml:5 linux-system-roles.network : Ensure initscripts network file dependency is present --- 1.07s /WORKDIR/git-ansible-lint-test-2.16lbyzajg3/tests/roles/linux-system-roles.network/tasks/main.yml:113 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---