# 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.16ip9gsrg4/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.16ip9gsrg4/tests/tests_states_initscripts.yml:5 Thursday 21 December 2023 16:32:49 +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.16ip9gsrg4/tests/tests_states_initscripts.yml:8 Thursday 21 December 2023 16:32:50 +0000 (0:00:00.870) 0:00:00.882 ***** included: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/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.16ip9gsrg4/tests/tasks/el_repo_setup.yml:3 Thursday 21 December 2023 16:32:50 +0000 (0:00:00.023) 0:00:00.905 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/tasks/el_repo_setup.yml:19 Thursday 21 December 2023 16:32:50 +0000 (0:00:00.227) 0:00:01.133 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/tasks/el_repo_setup.yml:24 Thursday 21 December 2023 16:32:51 +0000 (0:00:00.192) 0:00:01.326 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/tasks/el_repo_setup.yml:28 Thursday 21 December 2023 16:32:51 +0000 (0:00:00.021) 0:00:01.347 ***** 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.16ip9gsrg4/tests/tasks/el_repo_setup.yml:53 Thursday 21 December 2023 16:32:51 +0000 (0:00:00.017) 0:00:01.364 ***** included: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 6] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/tasks/enable_epel.yml:8 Thursday 21 December 2023 16:32:51 +0000 (0:00:00.031) 0:00:01.395 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/tasks/enable_epel.yml:24 Thursday 21 December 2023 16:32:51 +0000 (0:00:00.011) 0:00:01.407 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/tasks/enable_epel.yml:30 Thursday 21 December 2023 16:32:51 +0000 (0:00:00.010) 0:00:01.417 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/tasks/enable_epel.yml:35 Thursday 21 December 2023 16:32:51 +0000 (0:00:00.015) 0:00:01.432 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/tasks/enable_epel.yml:40 Thursday 21 December 2023 16:32:51 +0000 (0:00:00.012) 0:00:01.444 ***** 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.16ip9gsrg4/tests/tests_states_initscripts.yml:10 Thursday 21 December 2023 16:32:51 +0000 (0:00:00.435) 0:00:01.880 ***** 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.16ip9gsrg4/tests/playbooks/tests_states.yml:3 Thursday 21 December 2023 16:32:51 +0000 (0:00:00.010) 0:00:01.891 ***** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tests_states.yml:11 Thursday 21 December 2023 16:32:52 +0000 (0:00:00.683) 0:00:02.574 ***** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tests_states.yml:22 Thursday 21 December 2023 16:32:52 +0000 (0:00:00.012) 0:00:02.587 ***** included: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/run_test.yml:5 Thursday 21 December 2023 16:32:52 +0000 (0:00:00.019) 0:00:02.606 ***** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/run_test.yml:9 Thursday 21 December 2023 16:32:52 +0000 (0:00:00.011) 0:00:02.618 ***** 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.16ip9gsrg4/tests/playbooks/tasks/run_test.yml:21 Thursday 21 December 2023 16:32:52 +0000 (0:00:00.037) 0:00:02.655 ***** included: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 16:32:52 +0000 (0:00:00.015) 0:00:02.671 ***** included: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 16:32:52 +0000 (0:00:00.014) 0:00:02.686 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003172", "end": "2023-12-21 16:32:52.626851", "rc": 0, "start": "2023-12-21 16:32:52.623679" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 16:32:52 +0000 (0:00:00.190) 0:00:02.877 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 16:32:52 +0000 (0:00:00.013) 0:00:02.890 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/run_test.yml:24 Thursday 21 December 2023 16:32:52 +0000 (0:00:00.011) 0:00:02.902 ***** included: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/delete_interface.yml:3 Thursday 21 December 2023 16:32:52 +0000 (0:00:00.022) 0:00:02.925 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.028598", "end": "2023-12-21 16:32:52.821710", "rc": 255, "start": "2023-12-21 16:32:52.793112" } 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.16ip9gsrg4/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 21 December 2023 16:32:52 +0000 (0:00:00.146) 0:00:03.071 ***** included: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 21 December 2023 16:32:52 +0000 (0:00:00.017) 0:00:03.089 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 21 December 2023 16:32:52 +0000 (0:00:00.116) 0:00:03.205 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/run_test.yml:30 Thursday 21 December 2023 16:32:52 +0000 (0:00:00.014) 0:00:03.219 ***** included: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 21 December 2023 16:32:52 +0000 (0:00:00.021) 0:00:03.240 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 16:32:53 +0000 (0:00:00.034) 0:00:03.275 ***** included: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 16:32:53 +0000 (0:00:00.071) 0:00:03.346 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 16:32:53 +0000 (0:00:00.013) 0:00:03.360 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 16:32:53 +0000 (0:00:00.012) 0:00:03.372 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 16:32:53 +0000 (0:00:00.012) 0:00:03.384 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 16:32:54 +0000 (0:00:01.717) 0:00:05.102 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 16:32:55 +0000 (0:00:00.715) 0:00:05.817 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 16:32:55 +0000 (0:00:00.022) 0:00:05.839 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 16:32:55 +0000 (0:00:00.020) 0:00:05.860 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 16:32:55 +0000 (0:00:00.021) 0:00:05.881 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 16:32:55 +0000 (0:00:00.040) 0:00:05.922 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 16:32:55 +0000 (0:00:00.033) 0:00:05.955 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 16:32:55 +0000 (0:00:00.019) 0:00:05.975 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 16:32:55 +0000 (0:00:00.024) 0:00:05.999 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 16:32:55 +0000 (0:00:00.020) 0:00:06.020 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 16:32:55 +0000 (0:00:00.020) 0:00:06.040 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 16:32:56 +0000 (0:00:00.255) 0:00:06.296 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-149986_x60xjd/tmpiecd_d6j" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 16:32:56 +0000 (0:00:00.206) 0:00:06.502 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 16:32:56 +0000 (0:00:00.348) 0:00:06.851 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 16:32:56 +0000 (0:00:00.022) 0:00:06.874 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 16:32:56 +0000 (0:00:00.021) 0:00:06.895 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 16:32:56 +0000 (0:00:00.022) 0:00:06.917 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 16:32:56 +0000 (0:00:00.020) 0:00:06.938 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 21 December 2023 16:32:56 +0000 (0:00:00.195) 0:00:07.133 ***** 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.16ip9gsrg4/tests/playbooks/tasks/run_test.yml:36 Thursday 21 December 2023 16:32:56 +0000 (0:00:00.022) 0:00:07.155 ***** included: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/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.16ip9gsrg4/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 21 December 2023 16:32:56 +0000 (0:00:00.059) 0:00:07.215 ***** included: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/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.16ip9gsrg4/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 21 December 2023 16:32:57 +0000 (0:00:00.037) 0:00:07.253 ***** 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.16ip9gsrg4/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 21 December 2023 16:32:57 +0000 (0:00:00.020) 0:00:07.274 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1703176376.589073, "block_size": 4096, "blocks": 8, "ctime": 1703176376.589073, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 18845, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1703176376.589073, "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.16ip9gsrg4/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 21 December 2023 16:32:57 +0000 (0:00:00.129) 0:00:07.403 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 21 December 2023 16:32:57 +0000 (0:00:00.022) 0:00:07.426 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.004926", "end": "2023-12-21 16:32:57.303146", "rc": 1, "start": "2023-12-21 16:32:57.298220" } STDERR: /bin/sh: nmcli: command not found 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.16ip9gsrg4/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 21 December 2023 16:32:57 +0000 (0:00:00.135) 0:00:07.561 ***** 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.16ip9gsrg4/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 21 December 2023 16:32:57 +0000 (0:00:00.021) 0:00:07.583 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003183", "end": "2023-12-21 16:32:57.461004", "rc": 0, "start": "2023-12-21 16:32:57.457821" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 21 December 2023 16:32:57 +0000 (0:00:00.139) 0:00:07.722 ***** 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.16ip9gsrg4/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 21 December 2023 16:32:57 +0000 (0:00:00.028) 0:00:07.750 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003225", "end": "2023-12-21 16:32:57.632968", "rc": 0, "start": "2023-12-21 16:32:57.629743" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 21 December 2023 16:32:57 +0000 (0:00:00.143) 0:00:07.894 ***** 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.16ip9gsrg4/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 21 December 2023 16:32:57 +0000 (0:00:00.026) 0:00:07.920 ***** 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.16ip9gsrg4/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 21 December 2023 16:32:57 +0000 (0:00:00.024) 0:00:07.945 ***** 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.16ip9gsrg4/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 21 December 2023 16:32:57 +0000 (0:00:00.023) 0:00:07.968 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/run_test.yml:42 Thursday 21 December 2023 16:32:57 +0000 (0:00:00.021) 0:00:07.989 ***** 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.16ip9gsrg4/tests/playbooks/tasks/run_test.yml:47 Thursday 21 December 2023 16:32:57 +0000 (0:00:00.047) 0:00:08.037 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/run_test.yml:66 Thursday 21 December 2023 16:32:57 +0000 (0:00:00.022) 0:00:08.060 ***** included: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 21 December 2023 16:32:57 +0000 (0:00:00.039) 0:00:08.099 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.031867", "end": "2023-12-21 16:32:58.004380", "rc": 255, "start": "2023-12-21 16:32:57.972513" } STDERR: /bin/sh: nmcli: command not found /bin/sh: line 1: nmcli: command not found 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.16ip9gsrg4/tests/playbooks/tests_states.yml:45 Thursday 21 December 2023 16:32:58 +0000 (0:00:00.163) 0:00:08.263 ***** included: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/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.16ip9gsrg4/tests/playbooks/tasks/run_test.yml:5 Thursday 21 December 2023 16:32:58 +0000 (0:00:00.035) 0:00:08.298 ***** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/run_test.yml:9 Thursday 21 December 2023 16:32:58 +0000 (0:00:00.021) 0:00:08.320 ***** 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.16ip9gsrg4/tests/playbooks/tasks/run_test.yml:21 Thursday 21 December 2023 16:32:58 +0000 (0:00:00.045) 0:00:08.365 ***** included: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 16:32:58 +0000 (0:00:00.034) 0:00:08.399 ***** included: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 16:32:58 +0000 (0:00:00.032) 0:00:08.432 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003295", "end": "2023-12-21 16:32:58.310159", "rc": 0, "start": "2023-12-21 16:32:58.306864" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 16:32:58 +0000 (0:00:00.137) 0:00:08.570 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 16:32:58 +0000 (0:00:00.021) 0:00:08.592 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/run_test.yml:24 Thursday 21 December 2023 16:32:58 +0000 (0:00:00.019) 0:00:08.612 ***** included: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/delete_interface.yml:3 Thursday 21 December 2023 16:32:58 +0000 (0:00:00.059) 0:00:08.672 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.004797", "end": "2023-12-21 16:32:58.550525", "rc": 255, "start": "2023-12-21 16:32:58.545728" } 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.16ip9gsrg4/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 21 December 2023 16:32:58 +0000 (0:00:00.137) 0:00:08.809 ***** included: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 21 December 2023 16:32:58 +0000 (0:00:00.033) 0:00:08.843 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 21 December 2023 16:32:58 +0000 (0:00:00.131) 0:00:08.974 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/run_test.yml:30 Thursday 21 December 2023 16:32:58 +0000 (0:00:00.023) 0:00:08.998 ***** included: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Thursday 21 December 2023 16:32:58 +0000 (0:00:00.037) 0:00:09.035 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 16:32:58 +0000 (0:00:00.037) 0:00:09.073 ***** included: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 16:32:58 +0000 (0:00:00.038) 0:00:09.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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 16:32:58 +0000 (0:00:00.025) 0:00:09.136 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 16:32:58 +0000 (0:00:00.019) 0:00:09.156 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 16:32:58 +0000 (0:00:00.019) 0:00:09.175 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 16:33:00 +0000 (0:00:01.480) 0:00:10.656 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 16:33:00 +0000 (0:00:00.561) 0:00:11.217 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 16:33:00 +0000 (0:00:00.022) 0:00:11.240 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 16:33:01 +0000 (0:00:00.020) 0:00:11.261 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 16:33:01 +0000 (0:00:00.021) 0:00:11.282 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 16:33:01 +0000 (0:00:00.041) 0:00:11.324 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 16:33:01 +0000 (0:00:00.020) 0:00:11.344 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 16:33:01 +0000 (0:00:00.040) 0:00:11.385 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 16:33:01 +0000 (0:00:00.024) 0:00:11.409 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 16:33:01 +0000 (0:00:00.021) 0:00:11.430 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 16:33:01 +0000 (0:00:00.019) 0:00:11.449 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 16:33:01 +0000 (0:00:00.193) 0:00:11.643 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-149986_x60xjd/tmp7nizb_fn" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 16:33:01 +0000 (0:00:00.192) 0:00:11.836 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 16:33:01 +0000 (0:00:00.227) 0:00:12.063 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 16:33:01 +0000 (0:00:00.020) 0:00:12.084 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 16:33:01 +0000 (0:00:00.022) 0:00:12.106 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 16:33:01 +0000 (0:00:00.022) 0:00:12.128 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 16:33:01 +0000 (0:00:00.020) 0:00:12.149 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Thursday 21 December 2023 16:33:02 +0000 (0:00:00.122) 0:00:12.272 ***** 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.16ip9gsrg4/tests/playbooks/tasks/run_test.yml:36 Thursday 21 December 2023 16:33:02 +0000 (0:00:00.022) 0:00:12.294 ***** included: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/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.16ip9gsrg4/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 21 December 2023 16:33:02 +0000 (0:00:00.041) 0:00:12.335 ***** included: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 21 December 2023 16:33:02 +0000 (0:00:00.056) 0:00:12.392 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 21 December 2023 16:33:02 +0000 (0:00:00.132) 0:00:12.524 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 21 December 2023 16:33:02 +0000 (0:00:00.023) 0:00:12.547 ***** included: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/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.16ip9gsrg4/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 21 December 2023 16:33:02 +0000 (0:00:00.035) 0:00:12.583 ***** 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.16ip9gsrg4/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 21 December 2023 16:33:02 +0000 (0:00:00.021) 0:00:12.604 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1703176381.803073, "block_size": 4096, "blocks": 8, "ctime": 1703176381.803073, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 18845, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1703176381.803073, "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.16ip9gsrg4/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 21 December 2023 16:33:02 +0000 (0:00:00.126) 0:00:12.730 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 21 December 2023 16:33:02 +0000 (0:00:00.021) 0:00:12.752 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.005038", "end": "2023-12-21 16:33:02.626796", "rc": 1, "start": "2023-12-21 16:33:02.621758" } STDERR: /bin/sh: nmcli: command not found 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.16ip9gsrg4/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 21 December 2023 16:33:02 +0000 (0:00:00.132) 0:00:12.885 ***** 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.16ip9gsrg4/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 21 December 2023 16:33:02 +0000 (0:00:00.022) 0:00:12.907 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003034", "end": "2023-12-21 16:33:02.781955", "rc": 0, "start": "2023-12-21 16:33:02.778921" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 21 December 2023 16:33:02 +0000 (0:00:00.135) 0:00:13.043 ***** 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.16ip9gsrg4/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 21 December 2023 16:33:02 +0000 (0:00:00.026) 0:00:13.070 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003066", "end": "2023-12-21 16:33:02.944387", "rc": 0, "start": "2023-12-21 16:33:02.941321" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 21 December 2023 16:33:02 +0000 (0:00:00.133) 0:00:13.203 ***** 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.16ip9gsrg4/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 21 December 2023 16:33:02 +0000 (0:00:00.025) 0:00:13.229 ***** 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.16ip9gsrg4/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 21 December 2023 16:33:03 +0000 (0:00:00.023) 0:00:13.252 ***** 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.16ip9gsrg4/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 21 December 2023 16:33:03 +0000 (0:00:00.064) 0:00:13.317 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/run_test.yml:42 Thursday 21 December 2023 16:33:03 +0000 (0:00:00.022) 0:00:13.339 ***** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/run_test.yml:47 Thursday 21 December 2023 16:33:03 +0000 (0:00:00.019) 0:00:13.359 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/run_test.yml:66 Thursday 21 December 2023 16:33:03 +0000 (0:00:00.022) 0:00:13.381 ***** included: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 21 December 2023 16:33:03 +0000 (0:00:00.039) 0:00:13.420 ***** 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.008859", "end": "2023-12-21 16:33:03.297450", "rc": 255, "start": "2023-12-21 16:33:03.288591" } STDERR: /bin/sh: nmcli: command not found /bin/sh: line 1: nmcli: command not found 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.16ip9gsrg4/tests/playbooks/tests_states.yml:65 Thursday 21 December 2023 16:33:03 +0000 (0:00:00.133) 0:00:13.554 ***** included: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/run_test.yml:5 Thursday 21 December 2023 16:33:03 +0000 (0:00:00.036) 0:00:13.590 ***** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/run_test.yml:9 Thursday 21 December 2023 16:33:03 +0000 (0:00:00.022) 0:00:13.612 ***** 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.16ip9gsrg4/tests/playbooks/tasks/run_test.yml:21 Thursday 21 December 2023 16:33:03 +0000 (0:00:00.045) 0:00:13.658 ***** included: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 16:33:03 +0000 (0:00:00.033) 0:00:13.692 ***** included: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 16:33:03 +0000 (0:00:00.032) 0:00:13.724 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003145", "end": "2023-12-21 16:33:03.594838", "rc": 0, "start": "2023-12-21 16:33:03.591693" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 16:33:03 +0000 (0:00:00.128) 0:00:13.852 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 16:33:03 +0000 (0:00:00.045) 0:00:13.897 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/run_test.yml:24 Thursday 21 December 2023 16:33:03 +0000 (0:00:00.022) 0:00:13.920 ***** included: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 21 December 2023 16:33:03 +0000 (0:00:00.037) 0:00:13.957 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 16:33:03 +0000 (0:00:00.034) 0:00:13.992 ***** included: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 16:33:03 +0000 (0:00:00.038) 0:00:14.031 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 16:33:03 +0000 (0:00:00.025) 0:00:14.056 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 16:33:03 +0000 (0:00:00.021) 0:00:14.077 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 16:33:03 +0000 (0:00:00.020) 0:00:14.098 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 16:33:05 +0000 (0:00:01.398) 0:00:15.496 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 16:33:05 +0000 (0:00:00.561) 0:00:16.058 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 16:33:05 +0000 (0:00:00.022) 0:00:16.081 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 16:33:05 +0000 (0:00:00.020) 0:00:16.101 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 16:33:05 +0000 (0:00:00.021) 0:00:16.123 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 16:33:05 +0000 (0:00:00.042) 0:00:16.165 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 16:33:05 +0000 (0:00:00.021) 0:00:16.186 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 16:33:05 +0000 (0:00:00.021) 0:00:16.208 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 16:33:05 +0000 (0:00:00.023) 0:00:16.232 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 16:33:06 +0000 (0:00:00.020) 0:00:16.253 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 16:33:06 +0000 (0:00:00.019) 0:00:16.272 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 16:33:06 +0000 (0:00:00.185) 0:00:16.457 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-149986_x60xjd/tmpfz2sooa3" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 16:33:06 +0000 (0:00:00.214) 0:00:16.672 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 16:33:06 +0000 (0:00:00.232) 0:00:16.905 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 16:33:06 +0000 (0:00:00.021) 0:00:16.926 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 16:33:06 +0000 (0:00:00.024) 0:00:16.950 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 16:33:06 +0000 (0:00:00.022) 0:00:16.972 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 16:33:06 +0000 (0:00:00.021) 0:00:16.994 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 21 December 2023 16:33:06 +0000 (0:00:00.122) 0:00:17.116 ***** 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.16ip9gsrg4/tests/playbooks/tasks/run_test.yml:30 Thursday 21 December 2023 16:33:06 +0000 (0:00:00.023) 0:00:17.140 ***** included: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/activate_profile.yml:3 Thursday 21 December 2023 16:33:06 +0000 (0:00:00.038) 0:00:17.178 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 16:33:06 +0000 (0:00:00.040) 0:00:17.218 ***** included: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 16:33:07 +0000 (0:00:00.041) 0:00:17.260 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 16:33:07 +0000 (0:00:00.025) 0:00:17.286 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 16:33:07 +0000 (0:00:00.021) 0:00:17.307 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 16:33:07 +0000 (0:00:00.020) 0:00:17.328 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 16:33:08 +0000 (0:00:01.483) 0:00:18.811 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 16:33:09 +0000 (0:00:00.588) 0:00:19.400 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 16:33:09 +0000 (0:00:00.022) 0:00:19.422 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 16:33:09 +0000 (0:00:00.021) 0:00:19.443 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 16:33:09 +0000 (0:00:00.020) 0:00:19.464 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 16:33:09 +0000 (0:00:00.041) 0:00:19.506 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 16:33:09 +0000 (0:00:00.042) 0:00:19.548 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 16:33:09 +0000 (0:00:00.020) 0:00:19.569 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 16:33:09 +0000 (0:00:00.024) 0:00:19.593 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 16:33:09 +0000 (0:00:00.020) 0:00:19.614 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 16:33:09 +0000 (0:00:00.021) 0:00:19.635 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 16:33:09 +0000 (0:00:00.191) 0:00:19.827 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-149986_x60xjd/tmpcly4udar" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 16:33:09 +0000 (0:00:00.201) 0:00:20.028 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 16:33:10 +0000 (0:00:00.365) 0:00:20.394 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 16:33:10 +0000 (0:00:00.020) 0:00:20.415 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 16:33:10 +0000 (0:00:00.022) 0:00:20.437 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 16:33:10 +0000 (0:00:00.021) 0:00:20.459 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 16:33:10 +0000 (0:00:00.021) 0:00:20.480 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/run_test.yml:36 Thursday 21 December 2023 16:33:10 +0000 (0:00:00.129) 0:00:20.609 ***** included: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/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.16ip9gsrg4/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 21 December 2023 16:33:10 +0000 (0:00:00.042) 0:00:20.652 ***** included: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 21 December 2023 16:33:10 +0000 (0:00:00.056) 0:00:20.708 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1703176390.0540729, "block_size": 4096, "blocks": 0, "ctime": 1703176390.053073, "dev": 0, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 6471, "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": 1703176390.053073, "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.16ip9gsrg4/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 21 December 2023 16:33:10 +0000 (0:00:00.136) 0:00:20.845 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 21 December 2023 16:33:10 +0000 (0:00:00.024) 0:00:20.869 ***** included: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/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.16ip9gsrg4/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 21 December 2023 16:33:10 +0000 (0:00:00.036) 0:00:20.906 ***** 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.16ip9gsrg4/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 21 December 2023 16:33:10 +0000 (0:00:00.021) 0:00:20.927 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1703176388.135073, "block_size": 4096, "blocks": 8, "ctime": 1703176386.645073, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 18845, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1703176386.645073, "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.16ip9gsrg4/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 21 December 2023 16:33:10 +0000 (0:00:00.134) 0:00:21.061 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 21 December 2023 16:33:10 +0000 (0:00:00.022) 0:00:21.084 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.005032", "end": "2023-12-21 16:33:10.964017", "rc": 1, "start": "2023-12-21 16:33:10.958985" } STDERR: /bin/sh: nmcli: command not found 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.16ip9gsrg4/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 21 December 2023 16:33:10 +0000 (0:00:00.138) 0:00:21.223 ***** 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.16ip9gsrg4/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 21 December 2023 16:33:10 +0000 (0:00:00.023) 0:00:21.246 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002989", "end": "2023-12-21 16:33:11.119970", "rc": 0, "start": "2023-12-21 16:33:11.116981" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 21 December 2023 16:33:11 +0000 (0:00:00.133) 0:00:21.379 ***** 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.16ip9gsrg4/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 21 December 2023 16:33:11 +0000 (0:00:00.028) 0:00:21.408 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003014", "end": "2023-12-21 16:33:11.288000", "rc": 0, "start": "2023-12-21 16:33:11.284986" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 21 December 2023 16:33:11 +0000 (0:00:00.139) 0:00:21.547 ***** 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.16ip9gsrg4/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 21 December 2023 16:33:11 +0000 (0:00:00.026) 0:00:21.574 ***** 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.16ip9gsrg4/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 21 December 2023 16:33:11 +0000 (0:00:00.053) 0:00:21.627 ***** 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.16ip9gsrg4/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 21 December 2023 16:33:11 +0000 (0:00:00.024) 0:00:21.652 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/run_test.yml:42 Thursday 21 December 2023 16:33:11 +0000 (0:00:00.023) 0:00:21.675 ***** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/run_test.yml:47 Thursday 21 December 2023 16:33:11 +0000 (0:00:00.023) 0:00:21.698 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/run_test.yml:66 Thursday 21 December 2023 16:33:11 +0000 (0:00:00.024) 0:00:21.723 ***** included: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 21 December 2023 16:33:11 +0000 (0:00:00.041) 0:00:21.764 ***** 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.015822", "end": "2023-12-21 16:33:11.650455", "rc": 0, "start": "2023-12-21 16:33:11.634633" } STDERR: /bin/sh: nmcli: command not found /bin/sh: line 1: nmcli: command not found TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tests_states.yml:83 Thursday 21 December 2023 16:33:11 +0000 (0:00:00.148) 0:00:21.913 ***** included: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/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.16ip9gsrg4/tests/playbooks/tasks/run_test.yml:5 Thursday 21 December 2023 16:33:11 +0000 (0:00:00.036) 0:00:21.949 ***** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/run_test.yml:9 Thursday 21 December 2023 16:33:11 +0000 (0:00:00.022) 0:00:21.972 ***** 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.16ip9gsrg4/tests/playbooks/tasks/run_test.yml:21 Thursday 21 December 2023 16:33:11 +0000 (0:00:00.043) 0:00:22.016 ***** included: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 16:33:11 +0000 (0:00:00.034) 0:00:22.050 ***** included: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 16:33:11 +0000 (0:00:00.033) 0:00:22.084 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003163", "end": "2023-12-21 16:33:11.956976", "rc": 0, "start": "2023-12-21 16:33:11.953813" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 16:33:11 +0000 (0:00:00.156) 0:00:22.240 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 16:33:12 +0000 (0:00:00.024) 0:00:22.264 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/run_test.yml:24 Thursday 21 December 2023 16:33:12 +0000 (0:00:00.021) 0:00:22.286 ***** included: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 21 December 2023 16:33:12 +0000 (0:00:00.040) 0:00:22.327 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 16:33:12 +0000 (0:00:00.036) 0:00:22.363 ***** included: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 16:33:12 +0000 (0:00:00.040) 0:00:22.404 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 16:33:12 +0000 (0:00:00.025) 0:00:22.430 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 16:33:12 +0000 (0:00:00.021) 0:00:22.451 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 16:33:12 +0000 (0:00:00.022) 0:00:22.474 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 16:33:13 +0000 (0:00:01.443) 0:00:23.918 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 16:33:14 +0000 (0:00:00.569) 0:00:24.488 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 16:33:14 +0000 (0:00:00.022) 0:00:24.510 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 16:33:14 +0000 (0:00:00.021) 0:00:24.531 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 16:33:14 +0000 (0:00:00.020) 0:00:24.552 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 16:33:14 +0000 (0:00:00.041) 0:00:24.594 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 16:33:14 +0000 (0:00:00.021) 0:00:24.615 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 16:33:14 +0000 (0:00:00.019) 0:00:24.634 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 16:33:14 +0000 (0:00:00.024) 0:00:24.659 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 16:33:14 +0000 (0:00:00.020) 0:00:24.679 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 16:33:14 +0000 (0:00:00.019) 0:00:24.699 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 16:33:14 +0000 (0:00:00.188) 0:00:24.888 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-149986_x60xjd/tmpna9mj09_" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 16:33:14 +0000 (0:00:00.221) 0:00:25.109 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 16:33:15 +0000 (0:00:00.241) 0:00:25.351 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 16:33:15 +0000 (0:00:00.021) 0:00:25.372 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 16:33:15 +0000 (0:00:00.022) 0:00:25.395 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 16:33:15 +0000 (0:00:00.022) 0:00:25.417 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 16:33:15 +0000 (0:00:00.021) 0:00:25.439 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 21 December 2023 16:33:15 +0000 (0:00:00.127) 0:00:25.566 ***** 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.16ip9gsrg4/tests/playbooks/tasks/activate_profile.yml:3 Thursday 21 December 2023 16:33:15 +0000 (0:00:00.022) 0:00:25.589 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 16:33:15 +0000 (0:00:00.034) 0:00:25.624 ***** included: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 16:33:15 +0000 (0:00:00.038) 0:00:25.662 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 16:33:15 +0000 (0:00:00.025) 0:00:25.687 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 16:33:15 +0000 (0:00:00.020) 0:00:25.708 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 16:33:15 +0000 (0:00:00.020) 0:00:25.728 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 16:33:16 +0000 (0:00:01.448) 0:00:27.176 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 16:33:17 +0000 (0:00:00.581) 0:00:27.758 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 16:33:17 +0000 (0:00:00.022) 0:00:27.781 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 16:33:17 +0000 (0:00:00.021) 0:00:27.802 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 16:33:17 +0000 (0:00:00.020) 0:00:27.823 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 16:33:17 +0000 (0:00:00.041) 0:00:27.864 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 16:33:17 +0000 (0:00:00.020) 0:00:27.884 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 16:33:17 +0000 (0:00:00.019) 0:00:27.903 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 16:33:17 +0000 (0:00:00.043) 0:00:27.946 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 16:33:17 +0000 (0:00:00.021) 0:00:27.967 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 16:33:17 +0000 (0:00:00.020) 0:00:27.988 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 16:33:17 +0000 (0:00:00.192) 0:00:28.181 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-149986_x60xjd/tmp7gf2ajjy" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 16:33:18 +0000 (0:00:00.202) 0:00:28.383 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 16:33:18 +0000 (0:00:00.359) 0:00:28.742 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 16:33:18 +0000 (0:00:00.021) 0:00:28.764 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 16:33:18 +0000 (0:00:00.021) 0:00:28.786 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 16:33:18 +0000 (0:00:00.022) 0:00:28.808 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 16:33:18 +0000 (0:00:00.021) 0:00:28.829 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/run_test.yml:30 Thursday 21 December 2023 16:33:18 +0000 (0:00:00.128) 0:00:28.957 ***** included: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/remove_profile.yml:3 Thursday 21 December 2023 16:33:18 +0000 (0:00:00.038) 0:00:28.996 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 16:33:18 +0000 (0:00:00.062) 0:00:29.059 ***** included: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 16:33:18 +0000 (0:00:00.040) 0:00:29.099 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 16:33:18 +0000 (0:00:00.026) 0:00:29.126 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 16:33:18 +0000 (0:00:00.022) 0:00:29.148 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 16:33:18 +0000 (0:00:00.021) 0:00:29.170 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 16:33:20 +0000 (0:00:01.447) 0:00:30.618 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 16:33:20 +0000 (0:00:00.578) 0:00:31.196 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 16:33:20 +0000 (0:00:00.021) 0:00:31.217 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 16:33:20 +0000 (0:00:00.019) 0:00:31.237 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 16:33:21 +0000 (0:00:00.020) 0:00:31.257 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 16:33:21 +0000 (0:00:00.042) 0:00:31.299 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 16:33:21 +0000 (0:00:00.020) 0:00:31.320 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 16:33:21 +0000 (0:00:00.021) 0:00:31.341 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 16:33:21 +0000 (0:00:00.023) 0:00:31.365 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 16:33:21 +0000 (0:00:00.021) 0:00:31.387 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 16:33:21 +0000 (0:00:00.019) 0:00:31.406 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 16:33:21 +0000 (0:00:00.193) 0:00:31.600 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-149986_x60xjd/tmpi8lxfvj6" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 16:33:21 +0000 (0:00:00.200) 0:00:31.800 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 16:33:21 +0000 (0:00:00.237) 0:00:32.037 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 16:33:21 +0000 (0:00:00.021) 0:00:32.059 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 16:33:21 +0000 (0:00:00.022) 0:00:32.081 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 16:33:21 +0000 (0:00:00.046) 0:00:32.127 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 16:33:21 +0000 (0:00:00.021) 0:00:32.148 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/run_test.yml:36 Thursday 21 December 2023 16:33:22 +0000 (0:00:00.128) 0:00:32.276 ***** included: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/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.16ip9gsrg4/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 21 December 2023 16:33:22 +0000 (0:00:00.042) 0:00:32.318 ***** included: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 21 December 2023 16:33:22 +0000 (0:00:00.034) 0:00:32.352 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1703176398.415073, "block_size": 4096, "blocks": 0, "ctime": 1703176398.414073, "dev": 0, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 6471, "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": 1703176398.414073, "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.16ip9gsrg4/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 21 December 2023 16:33:22 +0000 (0:00:00.133) 0:00:32.486 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 21 December 2023 16:33:22 +0000 (0:00:00.023) 0:00:32.509 ***** included: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/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.16ip9gsrg4/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 21 December 2023 16:33:22 +0000 (0:00:00.036) 0:00:32.545 ***** 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.16ip9gsrg4/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 21 December 2023 16:33:22 +0000 (0:00:00.021) 0:00:32.566 ***** 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.16ip9gsrg4/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 21 December 2023 16:33:22 +0000 (0:00:00.129) 0:00:32.696 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 21 December 2023 16:33:22 +0000 (0:00:00.020) 0:00:32.717 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.005288", "end": "2023-12-21 16:33:22.595849", "rc": 1, "start": "2023-12-21 16:33:22.590561" } STDERR: /bin/sh: nmcli: command not found 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.16ip9gsrg4/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 21 December 2023 16:33:22 +0000 (0:00:00.136) 0:00:32.853 ***** 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.16ip9gsrg4/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 21 December 2023 16:33:22 +0000 (0:00:00.021) 0:00:32.875 ***** 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.16ip9gsrg4/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 21 December 2023 16:33:22 +0000 (0:00:00.045) 0:00:32.920 ***** 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.16ip9gsrg4/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 21 December 2023 16:33:22 +0000 (0:00:00.022) 0:00:32.943 ***** 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.16ip9gsrg4/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 21 December 2023 16:33:22 +0000 (0:00:00.022) 0:00:32.966 ***** 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.16ip9gsrg4/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 21 December 2023 16:33:22 +0000 (0:00:00.022) 0:00:32.989 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/run_test.yml:42 Thursday 21 December 2023 16:33:22 +0000 (0:00:00.022) 0:00:33.011 ***** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/run_test.yml:47 Thursday 21 December 2023 16:33:22 +0000 (0:00:00.018) 0:00:33.030 ***** 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.16ip9gsrg4/tests/playbooks/tasks/run_test.yml:66 Thursday 21 December 2023 16:33:22 +0000 (0:00:00.022) 0:00:33.052 ***** included: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 21 December 2023 16:33:22 +0000 (0:00:00.038) 0:00:33.091 ***** 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.024609", "end": "2023-12-21 16:33:22.990569", "rc": 0, "start": "2023-12-21 16:33:22.965960" } STDERR: /bin/sh: nmcli: command not found /bin/sh: line 1: nmcli: command not found TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tests_states.yml:103 Thursday 21 December 2023 16:33:23 +0000 (0:00:00.163) 0:00:33.255 ***** included: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/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.16ip9gsrg4/tests/playbooks/tasks/run_test.yml:5 Thursday 21 December 2023 16:33:23 +0000 (0:00:00.035) 0:00:33.290 ***** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/run_test.yml:9 Thursday 21 December 2023 16:33:23 +0000 (0:00:00.022) 0:00:33.313 ***** 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.16ip9gsrg4/tests/playbooks/tasks/run_test.yml:21 Thursday 21 December 2023 16:33:23 +0000 (0:00:00.044) 0:00:33.358 ***** included: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 16:33:23 +0000 (0:00:00.033) 0:00:33.391 ***** included: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 16:33:23 +0000 (0:00:00.056) 0:00:33.447 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003275", "end": "2023-12-21 16:33:23.329044", "rc": 0, "start": "2023-12-21 16:33:23.325769" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 16:33:23 +0000 (0:00:00.140) 0:00:33.588 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 16:33:23 +0000 (0:00:00.022) 0:00:33.611 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/run_test.yml:24 Thursday 21 December 2023 16:33:23 +0000 (0:00:00.020) 0:00:33.632 ***** included: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 21 December 2023 16:33:23 +0000 (0:00:00.043) 0:00:33.675 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 16:33:23 +0000 (0:00:00.035) 0:00:33.710 ***** included: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 16:33:23 +0000 (0:00:00.038) 0:00:33.749 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 16:33:23 +0000 (0:00:00.025) 0:00:33.774 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 16:33:23 +0000 (0:00:00.020) 0:00:33.795 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 16:33:23 +0000 (0:00:00.021) 0:00:33.816 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 16:33:25 +0000 (0:00:01.456) 0:00:35.273 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 16:33:25 +0000 (0:00:00.585) 0:00:35.859 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 16:33:25 +0000 (0:00:00.022) 0:00:35.881 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 16:33:25 +0000 (0:00:00.020) 0:00:35.902 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 16:33:25 +0000 (0:00:00.021) 0:00:35.923 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 16:33:25 +0000 (0:00:00.043) 0:00:35.967 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 16:33:25 +0000 (0:00:00.021) 0:00:35.988 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 16:33:25 +0000 (0:00:00.021) 0:00:36.009 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 16:33:25 +0000 (0:00:00.024) 0:00:36.033 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 16:33:25 +0000 (0:00:00.021) 0:00:36.055 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 16:33:25 +0000 (0:00:00.020) 0:00:36.076 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 16:33:26 +0000 (0:00:00.217) 0:00:36.293 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-149986_x60xjd/tmp_7bvpqus" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 16:33:26 +0000 (0:00:00.202) 0:00:36.495 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 16:33:26 +0000 (0:00:00.237) 0:00:36.733 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 16:33:26 +0000 (0:00:00.021) 0:00:36.754 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 16:33:26 +0000 (0:00:00.022) 0:00:36.776 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 16:33:26 +0000 (0:00:00.022) 0:00:36.799 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 16:33:26 +0000 (0:00:00.019) 0:00:36.818 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 21 December 2023 16:33:26 +0000 (0:00:00.127) 0:00:36.946 ***** 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.16ip9gsrg4/tests/playbooks/tasks/activate_profile.yml:3 Thursday 21 December 2023 16:33:26 +0000 (0:00:00.022) 0:00:36.969 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 16:33:26 +0000 (0:00:00.034) 0:00:37.003 ***** included: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 16:33:26 +0000 (0:00:00.038) 0:00:37.041 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 16:33:26 +0000 (0:00:00.025) 0:00:37.066 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 16:33:26 +0000 (0:00:00.020) 0:00:37.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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 16:33:26 +0000 (0:00:00.041) 0:00:37.129 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 16:33:28 +0000 (0:00:01.416) 0:00:38.545 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 16:33:28 +0000 (0:00:00.556) 0:00:39.102 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 16:33:28 +0000 (0:00:00.022) 0:00:39.124 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 16:33:28 +0000 (0:00:00.020) 0:00:39.145 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 16:33:28 +0000 (0:00:00.021) 0:00:39.167 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 16:33:28 +0000 (0:00:00.066) 0:00:39.233 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 16:33:29 +0000 (0:00:00.021) 0:00:39.254 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 16:33:29 +0000 (0:00:00.021) 0:00:39.276 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 16:33:29 +0000 (0:00:00.024) 0:00:39.300 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 16:33:29 +0000 (0:00:00.021) 0:00:39.322 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 16:33:29 +0000 (0:00:00.021) 0:00:39.343 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 16:33:29 +0000 (0:00:00.186) 0:00:39.530 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-149986_x60xjd/tmpmtji0pm4" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 16:33:29 +0000 (0:00:00.193) 0:00:39.723 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 16:33:29 +0000 (0:00:00.334) 0:00:40.058 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 16:33:29 +0000 (0:00:00.021) 0:00:40.080 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 16:33:29 +0000 (0:00:00.022) 0:00:40.102 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 16:33:29 +0000 (0:00:00.022) 0:00:40.125 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 16:33:29 +0000 (0:00:00.020) 0:00:40.146 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/remove_profile.yml:3 Thursday 21 December 2023 16:33:30 +0000 (0:00:00.125) 0:00:40.271 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 16:33:30 +0000 (0:00:00.057) 0:00:40.329 ***** included: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 16:33:30 +0000 (0:00:00.039) 0:00:40.368 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 16:33:30 +0000 (0:00:00.028) 0:00:40.397 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 16:33:30 +0000 (0:00:00.021) 0:00:40.418 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 16:33:30 +0000 (0:00:00.022) 0:00:40.440 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 16:33:31 +0000 (0:00:01.427) 0:00:41.867 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 16:33:32 +0000 (0:00:00.600) 0:00:42.467 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 16:33:32 +0000 (0:00:00.022) 0:00:42.490 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 16:33:32 +0000 (0:00:00.021) 0:00:42.511 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 16:33:32 +0000 (0:00:00.022) 0:00:42.533 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 16:33:32 +0000 (0:00:00.042) 0:00:42.576 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 16:33:32 +0000 (0:00:00.021) 0:00:42.597 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 16:33:32 +0000 (0:00:00.020) 0:00:42.618 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 16:33:32 +0000 (0:00:00.026) 0:00:42.644 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 16:33:32 +0000 (0:00:00.021) 0:00:42.666 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 16:33:32 +0000 (0:00:00.021) 0:00:42.687 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 16:33:32 +0000 (0:00:00.183) 0:00:42.870 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-149986_x60xjd/tmpgl5v0t46" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 16:33:32 +0000 (0:00:00.186) 0:00:43.056 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 16:33:33 +0000 (0:00:00.229) 0:00:43.286 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 16:33:33 +0000 (0:00:00.021) 0:00:43.308 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 16:33:33 +0000 (0:00:00.022) 0:00:43.330 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 16:33:33 +0000 (0:00:00.022) 0:00:43.353 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 16:33:33 +0000 (0:00:00.047) 0:00:43.400 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/run_test.yml:30 Thursday 21 December 2023 16:33:33 +0000 (0:00:00.128) 0:00:43.529 ***** included: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 21 December 2023 16:33:33 +0000 (0:00:00.038) 0:00:43.568 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 16:33:33 +0000 (0:00:00.041) 0:00:43.609 ***** included: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 16:33:33 +0000 (0:00:00.042) 0:00:43.651 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 16:33:33 +0000 (0:00:00.026) 0:00:43.678 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 16:33:33 +0000 (0:00:00.020) 0:00:43.698 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 16:33:33 +0000 (0:00:00.021) 0:00:43.720 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 16:33:34 +0000 (0:00:01.452) 0:00:45.173 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 16:33:35 +0000 (0:00:00.580) 0:00:45.753 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 16:33:35 +0000 (0:00:00.022) 0:00:45.775 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 16:33:35 +0000 (0:00:00.021) 0:00:45.797 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 16:33:35 +0000 (0:00:00.021) 0:00:45.819 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 16:33:35 +0000 (0:00:00.041) 0:00:45.861 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 16:33:35 +0000 (0:00:00.021) 0:00:45.882 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 16:33:35 +0000 (0:00:00.021) 0:00:45.903 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 16:33:35 +0000 (0:00:00.027) 0:00:45.930 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 16:33:35 +0000 (0:00:00.021) 0:00:45.952 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 16:33:35 +0000 (0:00:00.020) 0:00:45.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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 16:33:35 +0000 (0:00:00.193) 0:00:46.166 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-149986_x60xjd/tmpoakpkr4d" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 16:33:36 +0000 (0:00:00.198) 0:00:46.365 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 16:33:36 +0000 (0:00:00.238) 0:00:46.603 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 16:33:36 +0000 (0:00:00.020) 0:00:46.624 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 16:33:36 +0000 (0:00:00.022) 0:00:46.647 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 16:33:36 +0000 (0:00:00.022) 0:00:46.669 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 16:33:36 +0000 (0:00:00.021) 0:00:46.690 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/run_test.yml:36 Thursday 21 December 2023 16:33:36 +0000 (0:00:00.127) 0:00:46.818 ***** included: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/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.16ip9gsrg4/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 21 December 2023 16:33:36 +0000 (0:00:00.038) 0:00:46.857 ***** included: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/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.16ip9gsrg4/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 21 December 2023 16:33:36 +0000 (0:00:00.036) 0:00:46.894 ***** 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.16ip9gsrg4/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 21 December 2023 16:33:36 +0000 (0:00:00.021) 0:00:46.915 ***** 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.16ip9gsrg4/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 21 December 2023 16:33:36 +0000 (0:00:00.130) 0:00:47.046 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 21 December 2023 16:33:36 +0000 (0:00:00.021) 0:00:47.068 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.004998", "end": "2023-12-21 16:33:36.948055", "rc": 1, "start": "2023-12-21 16:33:36.943057" } STDERR: /bin/sh: nmcli: command not found 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.16ip9gsrg4/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 21 December 2023 16:33:36 +0000 (0:00:00.138) 0:00:47.206 ***** 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.16ip9gsrg4/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 21 December 2023 16:33:37 +0000 (0:00:00.049) 0:00:47.256 ***** 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.16ip9gsrg4/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 21 December 2023 16:33:37 +0000 (0:00:00.023) 0:00:47.279 ***** 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.16ip9gsrg4/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 21 December 2023 16:33:37 +0000 (0:00:00.022) 0:00:47.301 ***** 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.16ip9gsrg4/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 21 December 2023 16:33:37 +0000 (0:00:00.021) 0:00:47.323 ***** 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.16ip9gsrg4/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 21 December 2023 16:33:37 +0000 (0:00:00.021) 0:00:47.344 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/run_test.yml:42 Thursday 21 December 2023 16:33:37 +0000 (0:00:00.022) 0:00:47.367 ***** 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.16ip9gsrg4/tests/playbooks/tasks/run_test.yml:47 Thursday 21 December 2023 16:33:37 +0000 (0:00:00.024) 0:00:47.392 ***** 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.16ip9gsrg4/tests/playbooks/tasks/run_test.yml:66 Thursday 21 December 2023 16:33:37 +0000 (0:00:00.027) 0:00:47.419 ***** included: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 21 December 2023 16:33:37 +0000 (0:00:00.039) 0:00:47.459 ***** 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.025566", "end": "2023-12-21 16:33:37.360537", "rc": 0, "start": "2023-12-21 16:33:37.334971" } STDERR: /bin/sh: nmcli: command not found /bin/sh: line 1: nmcli: command not found TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tests_states.yml:126 Thursday 21 December 2023 16:33:37 +0000 (0:00:00.166) 0:00:47.625 ***** included: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/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.16ip9gsrg4/tests/playbooks/tasks/run_test.yml:5 Thursday 21 December 2023 16:33:37 +0000 (0:00:00.035) 0:00:47.660 ***** 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.16ip9gsrg4/tests/playbooks/tasks/run_test.yml:9 Thursday 21 December 2023 16:33:37 +0000 (0:00:00.021) 0:00:47.682 ***** 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.16ip9gsrg4/tests/playbooks/tasks/run_test.yml:21 Thursday 21 December 2023 16:33:37 +0000 (0:00:00.044) 0:00:47.727 ***** included: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 16:33:37 +0000 (0:00:00.057) 0:00:47.785 ***** included: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 16:33:37 +0000 (0:00:00.033) 0:00:47.818 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003301", "end": "2023-12-21 16:33:37.696995", "rc": 0, "start": "2023-12-21 16:33:37.693694" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 16:33:37 +0000 (0:00:00.137) 0:00:47.956 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 16:33:37 +0000 (0:00:00.022) 0:00:47.978 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/run_test.yml:24 Thursday 21 December 2023 16:33:37 +0000 (0:00:00.022) 0:00:48.001 ***** included: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 21 December 2023 16:33:37 +0000 (0:00:00.043) 0:00:48.044 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 16:33:37 +0000 (0:00:00.036) 0:00:48.080 ***** included: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 16:33:37 +0000 (0:00:00.039) 0:00:48.120 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 16:33:37 +0000 (0:00:00.026) 0:00:48.146 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 16:33:37 +0000 (0:00:00.020) 0:00:48.167 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 16:33:37 +0000 (0:00:00.021) 0:00:48.188 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 16:33:39 +0000 (0:00:01.450) 0:00:49.638 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 16:33:39 +0000 (0:00:00.583) 0:00:50.221 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 16:33:39 +0000 (0:00:00.022) 0:00:50.244 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 16:33:40 +0000 (0:00:00.020) 0:00:50.265 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 16:33:40 +0000 (0:00:00.021) 0:00:50.287 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 16:33:40 +0000 (0:00:00.042) 0:00:50.330 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 16:33:40 +0000 (0:00:00.022) 0:00:50.352 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 16:33:40 +0000 (0:00:00.021) 0:00:50.374 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 16:33:40 +0000 (0:00:00.024) 0:00:50.399 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 16:33:40 +0000 (0:00:00.043) 0:00:50.442 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 16:33:40 +0000 (0:00:00.020) 0:00:50.463 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 16:33:40 +0000 (0:00:00.193) 0:00:50.657 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-149986_x60xjd/tmpb43fp8m5" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 16:33:40 +0000 (0:00:00.202) 0:00:50.859 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 16:33:40 +0000 (0:00:00.238) 0:00:51.098 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 16:33:40 +0000 (0:00:00.020) 0:00:51.119 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 16:33:40 +0000 (0:00:00.022) 0:00:51.141 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 16:33:40 +0000 (0:00:00.023) 0:00:51.165 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 16:33:40 +0000 (0:00:00.021) 0:00:51.187 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 21 December 2023 16:33:41 +0000 (0:00:00.132) 0:00:51.319 ***** 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.16ip9gsrg4/tests/playbooks/tasks/activate_profile.yml:3 Thursday 21 December 2023 16:33:41 +0000 (0:00:00.022) 0:00:51.341 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 16:33:41 +0000 (0:00:00.034) 0:00:51.376 ***** included: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 16:33:41 +0000 (0:00:00.038) 0:00:51.414 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 16:33:41 +0000 (0:00:00.049) 0:00:51.463 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 16:33:41 +0000 (0:00:00.021) 0:00:51.484 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 16:33:41 +0000 (0:00:00.022) 0:00:51.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 : Check which packages are installed] ********* task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 16:33:42 +0000 (0:00:01.449) 0:00:52.955 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 16:33:43 +0000 (0:00:00.582) 0:00:53.538 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 16:33:43 +0000 (0:00:00.022) 0:00:53.561 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 16:33:43 +0000 (0:00:00.019) 0:00:53.581 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 16:33:43 +0000 (0:00:00.041) 0:00:53.623 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 16:33:43 +0000 (0:00:00.042) 0:00:53.666 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 16:33:43 +0000 (0:00:00.021) 0:00:53.687 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 16:33:43 +0000 (0:00:00.022) 0:00:53.710 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 16:33:43 +0000 (0:00:00.024) 0:00:53.735 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 16:33:43 +0000 (0:00:00.021) 0:00:53.756 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 16:33:43 +0000 (0:00:00.021) 0:00:53.778 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 16:33:43 +0000 (0:00:00.192) 0:00:53.971 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-149986_x60xjd/tmpgy1q_wby" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 16:33:43 +0000 (0:00:00.203) 0:00:54.174 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 16:33:44 +0000 (0:00:00.333) 0:00:54.508 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 16:33:44 +0000 (0:00:00.021) 0:00:54.530 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 16:33:44 +0000 (0:00:00.021) 0:00:54.551 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 16:33:44 +0000 (0:00:00.022) 0:00:54.574 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 16:33:44 +0000 (0:00:00.020) 0:00:54.594 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 21 December 2023 16:33:44 +0000 (0:00:00.123) 0:00:54.717 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 16:33:44 +0000 (0:00:00.065) 0:00:54.782 ***** included: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 16:33:44 +0000 (0:00:00.046) 0:00:54.829 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 16:33:44 +0000 (0:00:00.027) 0:00:54.857 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 16:33:44 +0000 (0:00:00.021) 0:00:54.878 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 16:33:44 +0000 (0:00:00.021) 0:00:54.900 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 16:33:46 +0000 (0:00:01.414) 0:00:56.315 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 16:33:46 +0000 (0:00:00.602) 0:00:56.918 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 16:33:46 +0000 (0:00:00.023) 0:00:56.942 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 16:33:46 +0000 (0:00:00.023) 0:00:56.965 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 16:33:46 +0000 (0:00:00.021) 0:00:56.987 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 16:33:46 +0000 (0:00:00.041) 0:00:57.028 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 16:33:46 +0000 (0:00:00.020) 0:00:57.049 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 16:33:46 +0000 (0:00:00.019) 0:00:57.069 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 16:33:46 +0000 (0:00:00.025) 0:00:57.094 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 16:33:46 +0000 (0:00:00.021) 0:00:57.116 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 16:33:46 +0000 (0:00:00.020) 0:00:57.136 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 16:33:47 +0000 (0:00:00.186) 0:00:57.322 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-149986_x60xjd/tmpe8zuas0r" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 16:33:47 +0000 (0:00:00.194) 0:00:57.517 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 16:33:47 +0000 (0:00:00.245) 0:00:57.762 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 16:33:47 +0000 (0:00:00.020) 0:00:57.782 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 16:33:47 +0000 (0:00:00.047) 0:00:57.830 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 16:33:47 +0000 (0:00:00.022) 0:00:57.853 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 16:33:47 +0000 (0:00:00.021) 0:00:57.874 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/run_test.yml:30 Thursday 21 December 2023 16:33:47 +0000 (0:00:00.133) 0:00:58.007 ***** included: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 21 December 2023 16:33:47 +0000 (0:00:00.038) 0:00:58.046 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 16:33:47 +0000 (0:00:00.035) 0:00:58.081 ***** included: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 16:33:47 +0000 (0:00:00.038) 0:00:58.120 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 16:33:47 +0000 (0:00:00.025) 0:00:58.145 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 16:33:47 +0000 (0:00:00.020) 0:00:58.166 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 16:33:47 +0000 (0:00:00.021) 0:00:58.187 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 16:33:49 +0000 (0:00:01.424) 0:00:59.612 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 16:33:49 +0000 (0:00:00.567) 0:01:00.180 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 16:33:49 +0000 (0:00:00.022) 0:01:00.202 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 16:33:49 +0000 (0:00:00.022) 0:01:00.225 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 16:33:50 +0000 (0:00:00.022) 0:01:00.247 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 16:33:50 +0000 (0:00:00.043) 0:01:00.291 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 16:33:50 +0000 (0:00:00.022) 0:01:00.313 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 16:33:50 +0000 (0:00:00.020) 0:01:00.334 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 16:33:50 +0000 (0:00:00.024) 0:01:00.358 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 16:33:50 +0000 (0:00:00.021) 0:01:00.379 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 16:33:50 +0000 (0:00:00.020) 0:01:00.400 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 16:33:50 +0000 (0:00:00.214) 0:01:00.615 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-149986_x60xjd/tmpt91vfg7k" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 16:33:50 +0000 (0:00:00.201) 0:01:00.817 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 16:33:50 +0000 (0:00:00.237) 0:01:01.054 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 16:33:50 +0000 (0:00:00.021) 0:01:01.075 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 16:33:50 +0000 (0:00:00.022) 0:01:01.098 ***** 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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 16:33:50 +0000 (0:00:00.021) 0:01:01.120 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 16:33:50 +0000 (0:00:00.021) 0:01:01.141 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/run_test.yml:36 Thursday 21 December 2023 16:33:51 +0000 (0:00:00.130) 0:01:01.272 ***** included: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/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.16ip9gsrg4/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 21 December 2023 16:33:51 +0000 (0:00:00.043) 0:01:01.316 ***** included: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/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.16ip9gsrg4/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 21 December 2023 16:33:51 +0000 (0:00:00.036) 0:01:01.352 ***** 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.16ip9gsrg4/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 21 December 2023 16:33:51 +0000 (0:00:00.020) 0:01:01.373 ***** 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.16ip9gsrg4/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 21 December 2023 16:33:51 +0000 (0:00:00.128) 0:01:01.501 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 21 December 2023 16:33:51 +0000 (0:00:00.021) 0:01:01.523 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.005277", "end": "2023-12-21 16:33:51.405579", "rc": 1, "start": "2023-12-21 16:33:51.400302" } STDERR: /bin/sh: nmcli: command not found 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.16ip9gsrg4/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 21 December 2023 16:33:51 +0000 (0:00:00.139) 0:01:01.662 ***** 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.16ip9gsrg4/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 21 December 2023 16:33:51 +0000 (0:00:00.022) 0:01:01.685 ***** 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.16ip9gsrg4/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 21 December 2023 16:33:51 +0000 (0:00:00.022) 0:01:01.707 ***** 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.16ip9gsrg4/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 21 December 2023 16:33:51 +0000 (0:00:00.021) 0:01:01.729 ***** 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.16ip9gsrg4/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 21 December 2023 16:33:51 +0000 (0:00:00.022) 0:01:01.751 ***** 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.16ip9gsrg4/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 21 December 2023 16:33:51 +0000 (0:00:00.020) 0:01:01.772 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Thursday 21 December 2023 16:33:51 +0000 (0:00:00.024) 0:01:01.796 ***** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.390166", "end": "2023-12-21 16:33:52.061504", "rc": 0, "start": "2023-12-21 16:33:51.671338" } TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Thursday 21 December 2023 16:33:52 +0000 (0:00:00.525) 0:01:02.322 ***** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Thursday 21 December 2023 16:33:52 +0000 (0:00:00.022) 0:01:02.345 ***** ok: [sut] => { "networkmanager_nvr": "" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/run_test.yml:42 Thursday 21 December 2023 16:33:52 +0000 (0:00:00.021) 0:01:02.366 ***** 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.16ip9gsrg4/tests/playbooks/tasks/run_test.yml:47 Thursday 21 December 2023 16:33:52 +0000 (0:00:00.024) 0:01:02.391 ***** 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.16ip9gsrg4/tests/playbooks/tasks/run_test.yml:66 Thursday 21 December 2023 16:33:52 +0000 (0:00:00.022) 0:01:02.414 ***** included: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 21 December 2023 16:33:52 +0000 (0:00:00.039) 0:01:02.453 ***** 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.018813", "end": "2023-12-21 16:33:52.350554", "rc": 0, "start": "2023-12-21 16:33:52.331741" } STDERR: /bin/sh: nmcli: command not found /bin/sh: line 1: nmcli: command not found META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=332 changed=13 unreachable=0 failed=0 skipped=227 rescued=0 ignored=10 Thursday 21 December 2023 16:33:52 +0000 (0:00:00.147) 0:01:02.600 ***** =============================================================================== linux-system-roles.network : Check which services are running ----------- 1.72s /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.48s /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.48s /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.46s /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.45s /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.45s /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.45s /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.45s /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.45s /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.43s /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/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.16ip9gsrg4/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.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.41s /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.40s /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 1.39s /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Configure networking connection profiles --- 1.30s /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Ensure initscripts network file dependency is present --- 1.05s /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:113 linux-system-roles.network : Enable network service --------------------- 1.04s /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/roles/linux-system-roles.network/tasks/main.yml:105 Gathering Facts --------------------------------------------------------- 0.87s /WORKDIR/git-ansible-lint-test-2.16ip9gsrg4/tests/tests_states_initscripts.yml:5 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---