# 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-nm_plugin_hotfixzuv3gh97/tests/tests_states_initscripts.yml PLAY [Run playbook 'playbooks/tests_states.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/tests_states_initscripts.yml:5 Tuesday 20 February 2024 00:11:23 +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-nm_plugin_hotfixzuv3gh97/tests/tests_states_initscripts.yml:8 Tuesday 20 February 2024 00:11:24 +0000 (0:00:00.940) 0:00:00.951 ****** included: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/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-nm_plugin_hotfixzuv3gh97/tests/tasks/el_repo_setup.yml:3 Tuesday 20 February 2024 00:11:24 +0000 (0:00:00.024) 0:00:00.976 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/tasks/el_repo_setup.yml:19 Tuesday 20 February 2024 00:11:24 +0000 (0:00:00.252) 0:00:01.229 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/tasks/el_repo_setup.yml:24 Tuesday 20 February 2024 00:11:25 +0000 (0:00:00.196) 0:00:01.425 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/tasks/el_repo_setup.yml:28 Tuesday 20 February 2024 00:11:25 +0000 (0:00:00.021) 0:00:01.446 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/tasks/el_repo_setup.yml:53 Tuesday 20 February 2024 00:11:25 +0000 (0:00:00.017) 0:00:01.463 ****** included: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 6] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/tasks/enable_epel.yml:8 Tuesday 20 February 2024 00:11:25 +0000 (0:00:00.031) 0:00:01.495 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/tasks/enable_epel.yml:24 Tuesday 20 February 2024 00:11:25 +0000 (0:00:00.011) 0:00:01.506 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/tasks/enable_epel.yml:30 Tuesday 20 February 2024 00:11:25 +0000 (0:00:00.010) 0:00:01.516 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/tasks/enable_epel.yml:35 Tuesday 20 February 2024 00:11:25 +0000 (0:00:00.010) 0:00:01.527 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/tasks/enable_epel.yml:40 Tuesday 20 February 2024 00:11:25 +0000 (0:00:00.010) 0:00:01.537 ****** 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-nm_plugin_hotfixzuv3gh97/tests/tests_states_initscripts.yml:10 Tuesday 20 February 2024 00:11:25 +0000 (0:00:00.450) 0:00:01.988 ****** 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-nm_plugin_hotfixzuv3gh97/tests/playbooks/tests_states.yml:3 Tuesday 20 February 2024 00:11:25 +0000 (0:00:00.011) 0:00:01.999 ****** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tests_states.yml:11 Tuesday 20 February 2024 00:11:26 +0000 (0:00:00.660) 0:00:02.660 ****** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tests_states.yml:22 Tuesday 20 February 2024 00:11:26 +0000 (0:00:00.011) 0:00:02.672 ****** included: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/run_test.yml:5 Tuesday 20 February 2024 00:11:26 +0000 (0:00:00.017) 0:00:02.690 ****** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/run_test.yml:9 Tuesday 20 February 2024 00:11:26 +0000 (0:00:00.011) 0:00:02.702 ****** 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-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/run_test.yml:21 Tuesday 20 February 2024 00:11:26 +0000 (0:00:00.035) 0:00:02.738 ****** included: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 20 February 2024 00:11:26 +0000 (0:00:00.015) 0:00:02.754 ****** included: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 20 February 2024 00:11:26 +0000 (0:00:00.017) 0:00:02.771 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003673", "end": "2024-02-20 00:11:26.445214", "rc": 0, "start": "2024-02-20 00:11:26.441541" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 20 February 2024 00:11:26 +0000 (0:00:00.206) 0:00:02.978 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 20 February 2024 00:11:26 +0000 (0:00:00.013) 0:00:02.992 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/run_test.yml:24 Tuesday 20 February 2024 00:11:26 +0000 (0:00:00.011) 0:00:03.003 ****** included: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 20 February 2024 00:11:26 +0000 (0:00:00.022) 0:00:03.026 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.031905", "end": "2024-02-20 00:11:26.657933", "rc": 255, "start": "2024-02-20 00:11:26.626028" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 20 February 2024 00:11:26 +0000 (0:00:00.164) 0:00:03.190 ****** included: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 20 February 2024 00:11:26 +0000 (0:00:00.017) 0:00:03.208 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 20 February 2024 00:11:26 +0000 (0:00:00.136) 0:00:03.344 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/run_test.yml:30 Tuesday 20 February 2024 00:11:26 +0000 (0:00:00.014) 0:00:03.358 ****** included: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 20 February 2024 00:11:26 +0000 (0:00:00.020) 0:00:03.379 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 20 February 2024 00:11:26 +0000 (0:00:00.035) 0:00:03.414 ****** included: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 20 February 2024 00:11:27 +0000 (0:00:00.071) 0:00:03.486 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 20 February 2024 00:11:27 +0000 (0:00:00.013) 0:00:03.499 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 20 February 2024 00:11:27 +0000 (0:00:00.012) 0:00:03.512 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 20 February 2024 00:11:27 +0000 (0:00:00.027) 0:00:03.539 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 20 February 2024 00:11:28 +0000 (0:00:01.872) 0:00:05.411 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 20 February 2024 00:11:29 +0000 (0:00:00.747) 0:00:06.159 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 20 February 2024 00:11:29 +0000 (0:00:00.022) 0:00:06.182 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 20 February 2024 00:11:29 +0000 (0:00:00.020) 0:00:06.202 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 20 February 2024 00:11:29 +0000 (0:00:00.034) 0:00:06.236 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 20 February 2024 00:11:29 +0000 (0:00:00.042) 0:00:06.279 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 20 February 2024 00:11:29 +0000 (0:00:00.021) 0:00:06.300 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 20 February 2024 00:11:29 +0000 (0:00:00.020) 0:00:06.321 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 20 February 2024 00:11:29 +0000 (0:00:00.025) 0:00:06.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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 20 February 2024 00:11:29 +0000 (0:00:00.020) 0:00:06.367 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 20 February 2024 00:11:29 +0000 (0:00:00.019) 0:00:06.386 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 20 February 2024 00:11:30 +0000 (0:00:00.284) 0:00:06.671 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15632umztt79m/tmptqbclbga" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 20 February 2024 00:11:30 +0000 (0:00:00.207) 0:00:06.879 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 20 February 2024 00:11:30 +0000 (0:00:00.363) 0:00:07.242 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 20 February 2024 00:11:30 +0000 (0:00:00.021) 0:00:07.264 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 20 February 2024 00:11:30 +0000 (0:00:00.021) 0:00:07.285 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 20 February 2024 00:11:30 +0000 (0:00:00.022) 0:00:07.307 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 20 February 2024 00:11:30 +0000 (0:00:00.019) 0:00:07.327 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 20 February 2024 00:11:31 +0000 (0:00:00.225) 0:00:07.553 ****** 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-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/run_test.yml:36 Tuesday 20 February 2024 00:11:31 +0000 (0:00:00.022) 0:00:07.575 ****** included: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 20 February 2024 00:11:31 +0000 (0:00:00.040) 0:00:07.615 ****** included: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 20 February 2024 00:11:31 +0000 (0:00:00.036) 0:00:07.652 ****** 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-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 20 February 2024 00:11:31 +0000 (0:00:00.020) 0:00:07.673 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1708387890.701242, "block_size": 4096, "blocks": 8, "ctime": 1708387890.701242, "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": 1708387890.701242, "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-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 20 February 2024 00:11:31 +0000 (0:00:00.143) 0:00:07.816 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 20 February 2024 00:11:31 +0000 (0:00:00.021) 0:00:07.838 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.005332", "end": "2024-02-20 00:11:31.444587", "rc": 1, "start": "2024-02-20 00:11:31.439255" } 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-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 20 February 2024 00:11:31 +0000 (0:00:00.144) 0:00:07.983 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 20 February 2024 00:11:31 +0000 (0:00:00.022) 0:00:08.005 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003491", "end": "2024-02-20 00:11:31.612014", "rc": 0, "start": "2024-02-20 00:11:31.608523" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 20 February 2024 00:11:31 +0000 (0:00:00.147) 0:00:08.153 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 20 February 2024 00:11:31 +0000 (0:00:00.025) 0:00:08.178 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003496", "end": "2024-02-20 00:11:31.784654", "rc": 0, "start": "2024-02-20 00:11:31.781158" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 20 February 2024 00:11:31 +0000 (0:00:00.146) 0:00:08.324 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 20 February 2024 00:11:31 +0000 (0:00:00.025) 0:00:08.350 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 20 February 2024 00:11:31 +0000 (0:00:00.048) 0:00:08.398 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 20 February 2024 00:11:31 +0000 (0:00:00.023) 0:00:08.422 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/run_test.yml:42 Tuesday 20 February 2024 00:11:32 +0000 (0:00:00.022) 0:00:08.444 ****** 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-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/run_test.yml:47 Tuesday 20 February 2024 00:11:32 +0000 (0:00:00.025) 0:00:08.470 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/run_test.yml:66 Tuesday 20 February 2024 00:11:32 +0000 (0:00:00.022) 0:00:08.492 ****** included: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 20 February 2024 00:11:32 +0000 (0:00:00.039) 0:00:08.532 ****** 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.015923", "end": "2024-02-20 00:11:32.150675", "rc": 255, "start": "2024-02-20 00:11:32.134752" } 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-nm_plugin_hotfixzuv3gh97/tests/playbooks/tests_states.yml:45 Tuesday 20 February 2024 00:11:32 +0000 (0:00:00.156) 0:00:08.688 ****** included: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/run_test.yml:5 Tuesday 20 February 2024 00:11:32 +0000 (0:00:00.035) 0:00:08.724 ****** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/run_test.yml:9 Tuesday 20 February 2024 00:11:32 +0000 (0:00:00.020) 0:00:08.745 ****** 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-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/run_test.yml:21 Tuesday 20 February 2024 00:11:32 +0000 (0:00:00.045) 0:00:08.790 ****** included: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 20 February 2024 00:11:32 +0000 (0:00:00.033) 0:00:08.824 ****** included: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 20 February 2024 00:11:32 +0000 (0:00:00.032) 0:00:08.857 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003628", "end": "2024-02-20 00:11:32.465591", "rc": 0, "start": "2024-02-20 00:11:32.461963" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 20 February 2024 00:11:32 +0000 (0:00:00.170) 0:00:09.027 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 20 February 2024 00:11:32 +0000 (0:00:00.022) 0:00:09.049 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/run_test.yml:24 Tuesday 20 February 2024 00:11:32 +0000 (0:00:00.021) 0:00:09.070 ****** included: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 20 February 2024 00:11:32 +0000 (0:00:00.039) 0:00:09.110 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.005065", "end": "2024-02-20 00:11:32.716036", "rc": 255, "start": "2024-02-20 00:11:32.710971" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 20 February 2024 00:11:32 +0000 (0:00:00.143) 0:00:09.254 ****** included: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 20 February 2024 00:11:32 +0000 (0:00:00.034) 0:00:09.288 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 20 February 2024 00:11:33 +0000 (0:00:00.137) 0:00:09.426 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/run_test.yml:30 Tuesday 20 February 2024 00:11:33 +0000 (0:00:00.023) 0:00:09.449 ****** included: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Tuesday 20 February 2024 00:11:33 +0000 (0:00:00.037) 0:00:09.487 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 20 February 2024 00:11:33 +0000 (0:00:00.039) 0:00:09.527 ****** included: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 20 February 2024 00:11:33 +0000 (0:00:00.038) 0:00:09.565 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 20 February 2024 00:11:33 +0000 (0:00:00.050) 0:00:09.615 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 20 February 2024 00:11:33 +0000 (0:00:00.021) 0:00:09.636 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 20 February 2024 00:11:33 +0000 (0:00:00.021) 0:00:09.658 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 20 February 2024 00:11:34 +0000 (0:00:01.647) 0:00:11.305 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 20 February 2024 00:11:35 +0000 (0:00:00.621) 0:00:11.927 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 20 February 2024 00:11:35 +0000 (0:00:00.022) 0:00:11.950 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 20 February 2024 00:11:35 +0000 (0:00:00.040) 0:00:11.990 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 20 February 2024 00:11:35 +0000 (0:00:00.021) 0:00:12.012 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 20 February 2024 00:11:35 +0000 (0:00:00.043) 0:00:12.055 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 20 February 2024 00:11:35 +0000 (0:00:00.021) 0:00:12.077 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 20 February 2024 00:11:35 +0000 (0:00:00.020) 0:00:12.098 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 20 February 2024 00:11:35 +0000 (0:00:00.024) 0:00:12.123 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 20 February 2024 00:11:35 +0000 (0:00:00.020) 0:00:12.144 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 20 February 2024 00:11:35 +0000 (0:00:00.022) 0:00:12.166 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 20 February 2024 00:11:35 +0000 (0:00:00.206) 0:00:12.373 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15632umztt79m/tmpyiuo2hu6" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 20 February 2024 00:11:36 +0000 (0:00:00.211) 0:00:12.585 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 20 February 2024 00:11:36 +0000 (0:00:00.254) 0:00:12.839 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 20 February 2024 00:11:36 +0000 (0:00:00.021) 0:00:12.861 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 20 February 2024 00:11:36 +0000 (0:00:00.022) 0:00:12.883 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 20 February 2024 00:11:36 +0000 (0:00:00.022) 0:00:12.905 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 20 February 2024 00:11:36 +0000 (0:00:00.020) 0:00:12.926 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Tuesday 20 February 2024 00:11:36 +0000 (0:00:00.157) 0:00:13.084 ****** 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-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/run_test.yml:36 Tuesday 20 February 2024 00:11:36 +0000 (0:00:00.023) 0:00:13.107 ****** included: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 20 February 2024 00:11:36 +0000 (0:00:00.042) 0:00:13.150 ****** included: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 20 February 2024 00:11:36 +0000 (0:00:00.034) 0:00:13.185 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 20 February 2024 00:11:36 +0000 (0:00:00.141) 0:00:13.327 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 20 February 2024 00:11:36 +0000 (0:00:00.023) 0:00:13.350 ****** included: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 20 February 2024 00:11:36 +0000 (0:00:00.036) 0:00:13.387 ****** 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-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 20 February 2024 00:11:36 +0000 (0:00:00.020) 0:00:13.408 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1708387896.3010404, "block_size": 4096, "blocks": 8, "ctime": 1708387896.3010404, "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": 1708387896.3010404, "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-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 20 February 2024 00:11:37 +0000 (0:00:00.138) 0:00:13.546 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 20 February 2024 00:11:37 +0000 (0:00:00.022) 0:00:13.569 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.005683", "end": "2024-02-20 00:11:37.178113", "rc": 1, "start": "2024-02-20 00:11:37.172430" } 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-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 20 February 2024 00:11:37 +0000 (0:00:00.145) 0:00:13.714 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 20 February 2024 00:11:37 +0000 (0:00:00.022) 0:00:13.737 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003421", "end": "2024-02-20 00:11:37.345511", "rc": 0, "start": "2024-02-20 00:11:37.342090" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 20 February 2024 00:11:37 +0000 (0:00:00.145) 0:00:13.882 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 20 February 2024 00:11:37 +0000 (0:00:00.051) 0:00:13.933 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003460", "end": "2024-02-20 00:11:37.544529", "rc": 0, "start": "2024-02-20 00:11:37.541069" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 20 February 2024 00:11:37 +0000 (0:00:00.149) 0:00:14.083 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 20 February 2024 00:11:37 +0000 (0:00:00.026) 0:00:14.109 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 20 February 2024 00:11:37 +0000 (0:00:00.023) 0:00:14.132 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 20 February 2024 00:11:37 +0000 (0:00:00.023) 0:00:14.156 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/run_test.yml:42 Tuesday 20 February 2024 00:11:37 +0000 (0:00:00.022) 0:00:14.179 ****** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/run_test.yml:47 Tuesday 20 February 2024 00:11:37 +0000 (0:00:00.019) 0:00:14.198 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/run_test.yml:66 Tuesday 20 February 2024 00:11:37 +0000 (0:00:00.022) 0:00:14.220 ****** included: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 20 February 2024 00:11:37 +0000 (0:00:00.039) 0:00:14.259 ****** 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.013230", "end": "2024-02-20 00:11:37.877418", "rc": 255, "start": "2024-02-20 00:11:37.864188" } 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-nm_plugin_hotfixzuv3gh97/tests/playbooks/tests_states.yml:65 Tuesday 20 February 2024 00:11:37 +0000 (0:00:00.153) 0:00:14.412 ****** included: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/run_test.yml:5 Tuesday 20 February 2024 00:11:38 +0000 (0:00:00.035) 0:00:14.448 ****** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/run_test.yml:9 Tuesday 20 February 2024 00:11:38 +0000 (0:00:00.022) 0:00:14.471 ****** 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-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/run_test.yml:21 Tuesday 20 February 2024 00:11:38 +0000 (0:00:00.043) 0:00:14.515 ****** included: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 20 February 2024 00:11:38 +0000 (0:00:00.059) 0:00:14.574 ****** included: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 20 February 2024 00:11:38 +0000 (0:00:00.033) 0:00:14.608 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003629", "end": "2024-02-20 00:11:38.216104", "rc": 0, "start": "2024-02-20 00:11:38.212475" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 20 February 2024 00:11:38 +0000 (0:00:00.144) 0:00:14.752 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 20 February 2024 00:11:38 +0000 (0:00:00.022) 0:00:14.775 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/run_test.yml:24 Tuesday 20 February 2024 00:11:38 +0000 (0:00:00.022) 0:00:14.797 ****** included: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 20 February 2024 00:11:38 +0000 (0:00:00.038) 0:00:14.836 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 20 February 2024 00:11:38 +0000 (0:00:00.035) 0:00:14.872 ****** included: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 20 February 2024 00:11:38 +0000 (0:00:00.039) 0:00:14.911 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 20 February 2024 00:11:38 +0000 (0:00:00.026) 0:00:14.938 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 20 February 2024 00:11:38 +0000 (0:00:00.020) 0:00:14.959 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 20 February 2024 00:11:38 +0000 (0:00:00.021) 0:00:14.980 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 20 February 2024 00:11:40 +0000 (0:00:01.531) 0:00:16.511 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 20 February 2024 00:11:40 +0000 (0:00:00.608) 0:00:17.120 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 20 February 2024 00:11:40 +0000 (0:00:00.022) 0:00:17.142 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 20 February 2024 00:11:40 +0000 (0:00:00.021) 0:00:17.164 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 20 February 2024 00:11:40 +0000 (0:00:00.020) 0:00:17.185 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 20 February 2024 00:11:40 +0000 (0:00:00.042) 0:00:17.227 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 20 February 2024 00:11:40 +0000 (0:00:00.020) 0:00:17.248 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 20 February 2024 00:11:40 +0000 (0:00:00.021) 0:00:17.269 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 20 February 2024 00:11:40 +0000 (0:00:00.024) 0:00:17.294 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 20 February 2024 00:11:40 +0000 (0:00:00.043) 0:00:17.338 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 20 February 2024 00:11:40 +0000 (0:00:00.021) 0:00:17.359 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 20 February 2024 00:11:41 +0000 (0:00:00.207) 0:00:17.567 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15632umztt79m/tmpoay0bmtm" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 20 February 2024 00:11:41 +0000 (0:00:00.206) 0:00:17.773 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 20 February 2024 00:11:41 +0000 (0:00:00.253) 0:00:18.027 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 20 February 2024 00:11:41 +0000 (0:00:00.022) 0:00:18.049 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 20 February 2024 00:11:41 +0000 (0:00:00.023) 0:00:18.072 ****** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 20 February 2024 00:11:41 +0000 (0:00:00.022) 0:00:18.094 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 20 February 2024 00:11:41 +0000 (0:00:00.020) 0:00:18.115 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 20 February 2024 00:11:41 +0000 (0:00:00.134) 0:00:18.250 ****** 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-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/run_test.yml:30 Tuesday 20 February 2024 00:11:41 +0000 (0:00:00.024) 0:00:18.274 ****** included: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 20 February 2024 00:11:41 +0000 (0:00:00.037) 0:00:18.312 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 20 February 2024 00:11:41 +0000 (0:00:00.064) 0:00:18.377 ****** included: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 20 February 2024 00:11:41 +0000 (0:00:00.039) 0:00:18.416 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 20 February 2024 00:11:42 +0000 (0:00:00.025) 0:00:18.442 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 20 February 2024 00:11:42 +0000 (0:00:00.021) 0:00:18.463 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 20 February 2024 00:11:42 +0000 (0:00:00.021) 0:00:18.485 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 20 February 2024 00:11:43 +0000 (0:00:01.565) 0:00:20.050 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 20 February 2024 00:11:44 +0000 (0:00:00.640) 0:00:20.691 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 20 February 2024 00:11:44 +0000 (0:00:00.022) 0:00:20.713 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 20 February 2024 00:11:44 +0000 (0:00:00.021) 0:00:20.735 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 20 February 2024 00:11:44 +0000 (0:00:00.020) 0:00:20.756 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 20 February 2024 00:11:44 +0000 (0:00:00.042) 0:00:20.798 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 20 February 2024 00:11:44 +0000 (0:00:00.020) 0:00:20.818 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 20 February 2024 00:11:44 +0000 (0:00:00.020) 0:00:20.839 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 20 February 2024 00:11:44 +0000 (0:00:00.023) 0:00:20.862 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 20 February 2024 00:11:44 +0000 (0:00:00.020) 0:00:20.883 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 20 February 2024 00:11:44 +0000 (0:00:00.020) 0:00:20.903 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 20 February 2024 00:11:44 +0000 (0:00:00.206) 0:00:21.110 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15632umztt79m/tmp7__hed0e" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 20 February 2024 00:11:44 +0000 (0:00:00.213) 0:00:21.323 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 20 February 2024 00:11:45 +0000 (0:00:00.399) 0:00:21.723 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 20 February 2024 00:11:45 +0000 (0:00:00.020) 0:00:21.743 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 20 February 2024 00:11:45 +0000 (0:00:00.048) 0:00:21.792 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 20 February 2024 00:11:45 +0000 (0:00:00.022) 0:00:21.815 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 20 February 2024 00:11:45 +0000 (0:00:00.021) 0:00:21.836 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/run_test.yml:36 Tuesday 20 February 2024 00:11:45 +0000 (0:00:00.138) 0:00:21.975 ****** included: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 20 February 2024 00:11:45 +0000 (0:00:00.042) 0:00:22.017 ****** included: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 20 February 2024 00:11:45 +0000 (0:00:00.034) 0:00:22.052 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1708387905.1054404, "block_size": 4096, "blocks": 0, "ctime": 1708387905.1004379, "dev": 0, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 6521, "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": 1708387905.1004379, "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-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 20 February 2024 00:11:45 +0000 (0:00:00.143) 0:00:22.196 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 20 February 2024 00:11:45 +0000 (0:00:00.022) 0:00:22.219 ****** included: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 20 February 2024 00:11:45 +0000 (0:00:00.035) 0:00:22.255 ****** 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-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 20 February 2024 00:11:45 +0000 (0:00:00.020) 0:00:22.275 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1708387903.1044405, "block_size": 4096, "blocks": 8, "ctime": 1708387901.490634, "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": 1708387901.490634, "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-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 20 February 2024 00:11:45 +0000 (0:00:00.141) 0:00:22.417 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 20 February 2024 00:11:46 +0000 (0:00:00.022) 0:00:22.440 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.005398", "end": "2024-02-20 00:11:46.056611", "rc": 1, "start": "2024-02-20 00:11:46.051213" } 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-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 20 February 2024 00:11:46 +0000 (0:00:00.147) 0:00:22.588 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 20 February 2024 00:11:46 +0000 (0:00:00.050) 0:00:22.639 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003522", "end": "2024-02-20 00:11:46.259917", "rc": 0, "start": "2024-02-20 00:11:46.256395" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 20 February 2024 00:11:46 +0000 (0:00:00.154) 0:00:22.794 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 20 February 2024 00:11:46 +0000 (0:00:00.027) 0:00:22.821 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003501", "end": "2024-02-20 00:11:46.438650", "rc": 0, "start": "2024-02-20 00:11:46.435149" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 20 February 2024 00:11:46 +0000 (0:00:00.151) 0:00:22.973 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 20 February 2024 00:11:46 +0000 (0:00:00.027) 0:00:23.000 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 20 February 2024 00:11:46 +0000 (0:00:00.027) 0:00:23.027 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 20 February 2024 00:11:46 +0000 (0:00:00.024) 0:00:23.052 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/run_test.yml:42 Tuesday 20 February 2024 00:11:46 +0000 (0:00:00.022) 0:00:23.075 ****** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/run_test.yml:47 Tuesday 20 February 2024 00:11:46 +0000 (0:00:00.019) 0:00:23.095 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/run_test.yml:66 Tuesday 20 February 2024 00:11:46 +0000 (0:00:00.022) 0:00:23.118 ****** included: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 20 February 2024 00:11:46 +0000 (0:00:00.038) 0:00:23.157 ****** 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.021679", "end": "2024-02-20 00:11:46.790077", "rc": 0, "start": "2024-02-20 00:11:46.768398" } 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-nm_plugin_hotfixzuv3gh97/tests/playbooks/tests_states.yml:83 Tuesday 20 February 2024 00:11:46 +0000 (0:00:00.170) 0:00:23.327 ****** included: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/run_test.yml:5 Tuesday 20 February 2024 00:11:46 +0000 (0:00:00.035) 0:00:23.363 ****** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/run_test.yml:9 Tuesday 20 February 2024 00:11:46 +0000 (0:00:00.048) 0:00:23.411 ****** 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-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/run_test.yml:21 Tuesday 20 February 2024 00:11:47 +0000 (0:00:00.045) 0:00:23.457 ****** included: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 20 February 2024 00:11:47 +0000 (0:00:00.034) 0:00:23.491 ****** included: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 20 February 2024 00:11:47 +0000 (0:00:00.033) 0:00:23.524 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003643", "end": "2024-02-20 00:11:47.138812", "rc": 0, "start": "2024-02-20 00:11:47.135169" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 20 February 2024 00:11:47 +0000 (0:00:00.147) 0:00:23.671 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 20 February 2024 00:11:47 +0000 (0:00:00.022) 0:00:23.694 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/run_test.yml:24 Tuesday 20 February 2024 00:11:47 +0000 (0:00:00.021) 0:00:23.716 ****** included: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 20 February 2024 00:11:47 +0000 (0:00:00.040) 0:00:23.756 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 20 February 2024 00:11:47 +0000 (0:00:00.035) 0:00:23.792 ****** included: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 20 February 2024 00:11:47 +0000 (0:00:00.038) 0:00:23.831 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 20 February 2024 00:11:47 +0000 (0:00:00.025) 0:00:23.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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 20 February 2024 00:11:47 +0000 (0:00:00.020) 0:00:23.877 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 20 February 2024 00:11:47 +0000 (0:00:00.047) 0:00:23.925 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 20 February 2024 00:11:49 +0000 (0:00:01.584) 0:00:25.510 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 20 February 2024 00:11:49 +0000 (0:00:00.618) 0:00:26.129 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 20 February 2024 00:11:49 +0000 (0:00:00.022) 0:00:26.151 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 20 February 2024 00:11:49 +0000 (0:00:00.021) 0:00:26.172 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 20 February 2024 00:11:49 +0000 (0:00:00.021) 0:00:26.193 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 20 February 2024 00:11:49 +0000 (0:00:00.064) 0:00:26.258 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 20 February 2024 00:11:49 +0000 (0:00:00.022) 0:00:26.280 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 20 February 2024 00:11:49 +0000 (0:00:00.020) 0:00:26.301 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 20 February 2024 00:11:49 +0000 (0:00:00.024) 0:00:26.325 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 20 February 2024 00:11:49 +0000 (0:00:00.020) 0:00:26.346 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 20 February 2024 00:11:49 +0000 (0:00:00.019) 0:00:26.365 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 20 February 2024 00:11:50 +0000 (0:00:00.206) 0:00:26.571 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15632umztt79m/tmpyqsbt2ql" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 20 February 2024 00:11:50 +0000 (0:00:00.210) 0:00:26.782 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 20 February 2024 00:11:50 +0000 (0:00:00.265) 0:00:27.047 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 20 February 2024 00:11:50 +0000 (0:00:00.020) 0:00:27.068 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 20 February 2024 00:11:50 +0000 (0:00:00.022) 0:00:27.090 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 20 February 2024 00:11:50 +0000 (0:00:00.021) 0:00:27.112 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 20 February 2024 00:11:50 +0000 (0:00:00.021) 0:00:27.133 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 20 February 2024 00:11:50 +0000 (0:00:00.136) 0:00:27.270 ****** 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-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 20 February 2024 00:11:50 +0000 (0:00:00.022) 0:00:27.292 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 20 February 2024 00:11:50 +0000 (0:00:00.057) 0:00:27.349 ****** included: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 20 February 2024 00:11:50 +0000 (0:00:00.039) 0:00:27.388 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 20 February 2024 00:11:50 +0000 (0:00:00.026) 0:00:27.415 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 20 February 2024 00:11:51 +0000 (0:00:00.020) 0:00:27.435 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 20 February 2024 00:11:51 +0000 (0:00:00.020) 0:00:27.455 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 20 February 2024 00:11:52 +0000 (0:00:01.562) 0:00:29.018 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 20 February 2024 00:11:53 +0000 (0:00:00.643) 0:00:29.662 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 20 February 2024 00:11:53 +0000 (0:00:00.022) 0:00:29.684 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 20 February 2024 00:11:53 +0000 (0:00:00.020) 0:00:29.705 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 20 February 2024 00:11:53 +0000 (0:00:00.020) 0:00:29.725 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 20 February 2024 00:11:53 +0000 (0:00:00.042) 0:00:29.767 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 20 February 2024 00:11:53 +0000 (0:00:00.021) 0:00:29.789 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 20 February 2024 00:11:53 +0000 (0:00:00.019) 0:00:29.809 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 20 February 2024 00:11:53 +0000 (0:00:00.023) 0:00:29.832 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 20 February 2024 00:11:53 +0000 (0:00:00.020) 0:00:29.853 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 20 February 2024 00:11:53 +0000 (0:00:00.020) 0:00:29.873 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 20 February 2024 00:11:53 +0000 (0:00:00.209) 0:00:30.083 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15632umztt79m/tmppefrpqu7" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 20 February 2024 00:11:53 +0000 (0:00:00.209) 0:00:30.293 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 20 February 2024 00:11:54 +0000 (0:00:00.436) 0:00:30.729 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 20 February 2024 00:11:54 +0000 (0:00:00.022) 0:00:30.751 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 20 February 2024 00:11:54 +0000 (0:00:00.023) 0:00:30.774 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 20 February 2024 00:11:54 +0000 (0:00:00.022) 0:00:30.797 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 20 February 2024 00:11:54 +0000 (0:00:00.020) 0:00:30.818 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/run_test.yml:30 Tuesday 20 February 2024 00:11:54 +0000 (0:00:00.135) 0:00:30.954 ****** included: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 20 February 2024 00:11:54 +0000 (0:00:00.039) 0:00:30.993 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 20 February 2024 00:11:54 +0000 (0:00:00.039) 0:00:31.033 ****** included: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 20 February 2024 00:11:54 +0000 (0:00:00.039) 0:00:31.073 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 20 February 2024 00:11:54 +0000 (0:00:00.026) 0:00:31.099 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 20 February 2024 00:11:54 +0000 (0:00:00.020) 0:00:31.119 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 20 February 2024 00:11:54 +0000 (0:00:00.019) 0:00:31.139 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 20 February 2024 00:11:56 +0000 (0:00:01.546) 0:00:32.685 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 20 February 2024 00:11:56 +0000 (0:00:00.615) 0:00:33.301 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 20 February 2024 00:11:56 +0000 (0:00:00.022) 0:00:33.323 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 20 February 2024 00:11:56 +0000 (0:00:00.021) 0:00:33.345 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 20 February 2024 00:11:56 +0000 (0:00:00.021) 0:00:33.366 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 20 February 2024 00:11:56 +0000 (0:00:00.043) 0:00:33.410 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 20 February 2024 00:11:57 +0000 (0:00:00.021) 0:00:33.431 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 20 February 2024 00:11:57 +0000 (0:00:00.020) 0:00:33.452 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 20 February 2024 00:11:57 +0000 (0:00:00.046) 0:00:33.498 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 20 February 2024 00:11:57 +0000 (0:00:00.021) 0:00:33.519 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 20 February 2024 00:11:57 +0000 (0:00:00.021) 0:00:33.541 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 20 February 2024 00:11:57 +0000 (0:00:00.201) 0:00:33.742 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15632umztt79m/tmp7vz3rfg8" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 20 February 2024 00:11:57 +0000 (0:00:00.211) 0:00:33.954 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 20 February 2024 00:11:57 +0000 (0:00:00.255) 0:00:34.210 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 20 February 2024 00:11:57 +0000 (0:00:00.021) 0:00:34.231 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 20 February 2024 00:11:57 +0000 (0:00:00.022) 0:00:34.253 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 20 February 2024 00:11:57 +0000 (0:00:00.022) 0:00:34.276 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 20 February 2024 00:11:57 +0000 (0:00:00.021) 0:00:34.297 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/run_test.yml:36 Tuesday 20 February 2024 00:11:58 +0000 (0:00:00.133) 0:00:34.431 ****** included: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 20 February 2024 00:11:58 +0000 (0:00:00.041) 0:00:34.473 ****** included: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 20 February 2024 00:11:58 +0000 (0:00:00.034) 0:00:34.507 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1708387914.0999355, "block_size": 4096, "blocks": 0, "ctime": 1708387914.0979345, "dev": 0, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 6521, "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": 1708387914.0979345, "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-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 20 February 2024 00:11:58 +0000 (0:00:00.163) 0:00:34.671 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 20 February 2024 00:11:58 +0000 (0:00:00.023) 0:00:34.695 ****** included: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 20 February 2024 00:11:58 +0000 (0:00:00.036) 0:00:34.731 ****** 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-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 20 February 2024 00:11:58 +0000 (0:00:00.021) 0:00:34.752 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 20 February 2024 00:11:58 +0000 (0:00:00.139) 0:00:34.892 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 20 February 2024 00:11:58 +0000 (0:00:00.020) 0:00:34.913 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.005689", "end": "2024-02-20 00:11:58.533668", "rc": 1, "start": "2024-02-20 00:11:58.527979" } 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-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 20 February 2024 00:11:58 +0000 (0:00:00.145) 0:00:35.059 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 20 February 2024 00:11:58 +0000 (0:00:00.023) 0:00:35.082 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 20 February 2024 00:11:58 +0000 (0:00:00.022) 0:00:35.104 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 20 February 2024 00:11:58 +0000 (0:00:00.023) 0:00:35.128 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 20 February 2024 00:11:58 +0000 (0:00:00.022) 0:00:35.150 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 20 February 2024 00:11:58 +0000 (0:00:00.020) 0:00:35.171 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/run_test.yml:42 Tuesday 20 February 2024 00:11:58 +0000 (0:00:00.024) 0:00:35.195 ****** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/run_test.yml:47 Tuesday 20 February 2024 00:11:58 +0000 (0:00:00.019) 0:00:35.215 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/run_test.yml:66 Tuesday 20 February 2024 00:11:58 +0000 (0:00:00.021) 0:00:35.237 ****** included: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 20 February 2024 00:11:58 +0000 (0:00:00.066) 0:00:35.303 ****** 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.022394", "end": "2024-02-20 00:11:58.946049", "rc": 0, "start": "2024-02-20 00:11:58.923655" } 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-nm_plugin_hotfixzuv3gh97/tests/playbooks/tests_states.yml:103 Tuesday 20 February 2024 00:11:59 +0000 (0:00:00.173) 0:00:35.476 ****** included: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/run_test.yml:5 Tuesday 20 February 2024 00:11:59 +0000 (0:00:00.035) 0:00:35.512 ****** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/run_test.yml:9 Tuesday 20 February 2024 00:11:59 +0000 (0:00:00.021) 0:00:35.534 ****** 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-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/run_test.yml:21 Tuesday 20 February 2024 00:11:59 +0000 (0:00:00.045) 0:00:35.579 ****** included: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 20 February 2024 00:11:59 +0000 (0:00:00.034) 0:00:35.614 ****** included: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 20 February 2024 00:11:59 +0000 (0:00:00.033) 0:00:35.647 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003629", "end": "2024-02-20 00:11:59.265910", "rc": 0, "start": "2024-02-20 00:11:59.262281" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 20 February 2024 00:11:59 +0000 (0:00:00.144) 0:00:35.792 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 20 February 2024 00:11:59 +0000 (0:00:00.021) 0:00:35.813 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/run_test.yml:24 Tuesday 20 February 2024 00:11:59 +0000 (0:00:00.021) 0:00:35.834 ****** included: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 20 February 2024 00:11:59 +0000 (0:00:00.043) 0:00:35.878 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 20 February 2024 00:11:59 +0000 (0:00:00.059) 0:00:35.937 ****** included: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 20 February 2024 00:11:59 +0000 (0:00:00.038) 0:00:35.976 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 20 February 2024 00:11:59 +0000 (0:00:00.025) 0:00:36.002 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 20 February 2024 00:11:59 +0000 (0:00:00.021) 0:00:36.023 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 20 February 2024 00:11:59 +0000 (0:00:00.022) 0:00:36.045 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 20 February 2024 00:12:01 +0000 (0:00:01.559) 0:00:37.604 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 20 February 2024 00:12:01 +0000 (0:00:00.667) 0:00:38.271 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 20 February 2024 00:12:01 +0000 (0:00:00.022) 0:00:38.294 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 20 February 2024 00:12:01 +0000 (0:00:00.021) 0:00:38.316 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 20 February 2024 00:12:01 +0000 (0:00:00.020) 0:00:38.336 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 20 February 2024 00:12:01 +0000 (0:00:00.042) 0:00:38.379 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 20 February 2024 00:12:01 +0000 (0:00:00.020) 0:00:38.399 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 20 February 2024 00:12:01 +0000 (0:00:00.021) 0:00:38.421 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 20 February 2024 00:12:02 +0000 (0:00:00.026) 0:00:38.447 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 20 February 2024 00:12:02 +0000 (0:00:00.023) 0:00:38.471 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 20 February 2024 00:12:02 +0000 (0:00:00.022) 0:00:38.493 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 20 February 2024 00:12:02 +0000 (0:00:00.211) 0:00:38.704 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15632umztt79m/tmp70cdn6_b" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 20 February 2024 00:12:02 +0000 (0:00:00.214) 0:00:38.918 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 20 February 2024 00:12:02 +0000 (0:00:00.257) 0:00:39.176 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 20 February 2024 00:12:02 +0000 (0:00:00.046) 0:00:39.222 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 20 February 2024 00:12:02 +0000 (0:00:00.022) 0:00:39.244 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 20 February 2024 00:12:02 +0000 (0:00:00.022) 0:00:39.267 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 20 February 2024 00:12:02 +0000 (0:00:00.020) 0:00:39.288 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 20 February 2024 00:12:03 +0000 (0:00:00.137) 0:00:39.426 ****** 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-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 20 February 2024 00:12:03 +0000 (0:00:00.022) 0:00:39.448 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 20 February 2024 00:12:03 +0000 (0:00:00.035) 0:00:39.484 ****** included: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 20 February 2024 00:12:03 +0000 (0:00:00.040) 0:00:39.524 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 20 February 2024 00:12:03 +0000 (0:00:00.025) 0:00:39.550 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 20 February 2024 00:12:03 +0000 (0:00:00.021) 0:00:39.572 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 20 February 2024 00:12:03 +0000 (0:00:00.021) 0:00:39.593 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 20 February 2024 00:12:04 +0000 (0:00:01.523) 0:00:41.117 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 20 February 2024 00:12:05 +0000 (0:00:00.608) 0:00:41.725 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 20 February 2024 00:12:05 +0000 (0:00:00.022) 0:00:41.748 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 20 February 2024 00:12:05 +0000 (0:00:00.021) 0:00:41.769 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 20 February 2024 00:12:05 +0000 (0:00:00.021) 0:00:41.791 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 20 February 2024 00:12:05 +0000 (0:00:00.043) 0:00:41.834 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 20 February 2024 00:12:05 +0000 (0:00:00.022) 0:00:41.856 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 20 February 2024 00:12:05 +0000 (0:00:00.021) 0:00:41.877 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 20 February 2024 00:12:05 +0000 (0:00:00.026) 0:00:41.904 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 20 February 2024 00:12:05 +0000 (0:00:00.021) 0:00:41.925 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 20 February 2024 00:12:05 +0000 (0:00:00.020) 0:00:41.946 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 20 February 2024 00:12:05 +0000 (0:00:00.202) 0:00:42.148 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15632umztt79m/tmpn22byp9e" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 20 February 2024 00:12:05 +0000 (0:00:00.207) 0:00:42.355 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 20 February 2024 00:12:06 +0000 (0:00:00.377) 0:00:42.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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 20 February 2024 00:12:06 +0000 (0:00:00.022) 0:00:42.755 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 20 February 2024 00:12:06 +0000 (0:00:00.022) 0:00:42.777 ****** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 20 February 2024 00:12:06 +0000 (0:00:00.023) 0:00:42.801 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 20 February 2024 00:12:06 +0000 (0:00:00.020) 0:00:42.822 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 20 February 2024 00:12:06 +0000 (0:00:00.132) 0:00:42.954 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 20 February 2024 00:12:06 +0000 (0:00:00.038) 0:00:42.993 ****** included: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 20 February 2024 00:12:06 +0000 (0:00:00.043) 0:00:43.036 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 20 February 2024 00:12:06 +0000 (0:00:00.026) 0:00:43.063 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 20 February 2024 00:12:06 +0000 (0:00:00.020) 0:00:43.084 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 20 February 2024 00:12:06 +0000 (0:00:00.053) 0:00:43.138 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 20 February 2024 00:12:08 +0000 (0:00:01.488) 0:00:44.626 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 20 February 2024 00:12:08 +0000 (0:00:00.606) 0:00:45.232 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 20 February 2024 00:12:08 +0000 (0:00:00.022) 0:00:45.255 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 20 February 2024 00:12:08 +0000 (0:00:00.021) 0:00:45.276 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 20 February 2024 00:12:08 +0000 (0:00:00.021) 0:00:45.298 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 20 February 2024 00:12:08 +0000 (0:00:00.041) 0:00:45.339 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 20 February 2024 00:12:08 +0000 (0:00:00.042) 0:00:45.382 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 20 February 2024 00:12:08 +0000 (0:00:00.021) 0:00:45.404 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 20 February 2024 00:12:09 +0000 (0:00:00.024) 0:00:45.428 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 20 February 2024 00:12:09 +0000 (0:00:00.021) 0:00:45.449 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 20 February 2024 00:12:09 +0000 (0:00:00.020) 0:00:45.470 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 20 February 2024 00:12:09 +0000 (0:00:00.198) 0:00:45.669 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15632umztt79m/tmprez3siil" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 20 February 2024 00:12:09 +0000 (0:00:00.202) 0:00:45.872 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 20 February 2024 00:12:09 +0000 (0:00:00.250) 0:00:46.122 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 20 February 2024 00:12:09 +0000 (0:00:00.020) 0:00:46.143 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 20 February 2024 00:12:09 +0000 (0:00:00.022) 0:00:46.166 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 20 February 2024 00:12:09 +0000 (0:00:00.022) 0:00:46.188 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 20 February 2024 00:12:09 +0000 (0:00:00.020) 0:00:46.209 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/run_test.yml:30 Tuesday 20 February 2024 00:12:09 +0000 (0:00:00.131) 0:00:46.340 ****** included: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 20 February 2024 00:12:09 +0000 (0:00:00.038) 0:00:46.379 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 20 February 2024 00:12:10 +0000 (0:00:00.064) 0:00:46.444 ****** included: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 20 February 2024 00:12:10 +0000 (0:00:00.039) 0:00:46.483 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 20 February 2024 00:12:10 +0000 (0:00:00.026) 0:00:46.509 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 20 February 2024 00:12:10 +0000 (0:00:00.020) 0:00:46.530 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 20 February 2024 00:12:10 +0000 (0:00:00.021) 0:00:46.552 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 20 February 2024 00:12:11 +0000 (0:00:01.500) 0:00:48.052 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 20 February 2024 00:12:12 +0000 (0:00:00.650) 0:00:48.702 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 20 February 2024 00:12:12 +0000 (0:00:00.024) 0:00:48.727 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 20 February 2024 00:12:12 +0000 (0:00:00.022) 0:00:48.749 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 20 February 2024 00:12:12 +0000 (0:00:00.021) 0:00:48.771 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 20 February 2024 00:12:12 +0000 (0:00:00.042) 0:00:48.814 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 20 February 2024 00:12:12 +0000 (0:00:00.021) 0:00:48.835 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 20 February 2024 00:12:12 +0000 (0:00:00.021) 0:00:48.857 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 20 February 2024 00:12:12 +0000 (0:00:00.026) 0:00:48.883 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 20 February 2024 00:12:12 +0000 (0:00:00.021) 0:00:48.904 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 20 February 2024 00:12:12 +0000 (0:00:00.021) 0:00:48.926 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 20 February 2024 00:12:12 +0000 (0:00:00.205) 0:00:49.132 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15632umztt79m/tmpsys72dwu" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 20 February 2024 00:12:12 +0000 (0:00:00.208) 0:00:49.340 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 20 February 2024 00:12:13 +0000 (0:00:00.280) 0:00:49.621 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 20 February 2024 00:12:13 +0000 (0:00:00.046) 0:00:49.667 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 20 February 2024 00:12:13 +0000 (0:00:00.022) 0:00:49.690 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 20 February 2024 00:12:13 +0000 (0:00:00.022) 0:00:49.712 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 20 February 2024 00:12:13 +0000 (0:00:00.021) 0:00:49.734 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/run_test.yml:36 Tuesday 20 February 2024 00:12:13 +0000 (0:00:00.135) 0:00:49.870 ****** included: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 20 February 2024 00:12:13 +0000 (0:00:00.038) 0:00:49.908 ****** included: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 20 February 2024 00:12:13 +0000 (0:00:00.036) 0:00:49.945 ****** 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-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 20 February 2024 00:12:13 +0000 (0:00:00.021) 0:00:49.966 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 20 February 2024 00:12:13 +0000 (0:00:00.138) 0:00:50.104 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 20 February 2024 00:12:13 +0000 (0:00:00.022) 0:00:50.126 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.005665", "end": "2024-02-20 00:12:13.755564", "rc": 1, "start": "2024-02-20 00:12:13.749899" } 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-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 20 February 2024 00:12:13 +0000 (0:00:00.145) 0:00:50.272 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 20 February 2024 00:12:13 +0000 (0:00:00.022) 0:00:50.295 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 20 February 2024 00:12:13 +0000 (0:00:00.022) 0:00:50.318 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 20 February 2024 00:12:13 +0000 (0:00:00.023) 0:00:50.341 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 20 February 2024 00:12:13 +0000 (0:00:00.051) 0:00:50.393 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 20 February 2024 00:12:13 +0000 (0:00:00.022) 0:00:50.415 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/run_test.yml:42 Tuesday 20 February 2024 00:12:14 +0000 (0:00:00.023) 0:00:50.439 ****** 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-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/run_test.yml:47 Tuesday 20 February 2024 00:12:14 +0000 (0:00:00.024) 0:00:50.464 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/run_test.yml:66 Tuesday 20 February 2024 00:12:14 +0000 (0:00:00.021) 0:00:50.486 ****** included: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 20 February 2024 00:12:14 +0000 (0:00:00.039) 0:00:50.526 ****** 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.024579", "end": "2024-02-20 00:12:14.176054", "rc": 0, "start": "2024-02-20 00:12:14.151475" } 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-nm_plugin_hotfixzuv3gh97/tests/playbooks/tests_states.yml:126 Tuesday 20 February 2024 00:12:14 +0000 (0:00:00.173) 0:00:50.699 ****** included: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/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-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/run_test.yml:5 Tuesday 20 February 2024 00:12:14 +0000 (0:00:00.036) 0:00:50.736 ****** ok: [sut] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/run_test.yml:9 Tuesday 20 February 2024 00:12:14 +0000 (0:00:00.022) 0:00:50.759 ****** 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", "tasks/check_network_dns.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/run_test.yml:21 Tuesday 20 February 2024 00:12:14 +0000 (0:00:00.045) 0:00:50.804 ****** included: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 20 February 2024 00:12:14 +0000 (0:00:00.034) 0:00:50.839 ****** included: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 20 February 2024 00:12:14 +0000 (0:00:00.033) 0:00:50.873 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003627", "end": "2024-02-20 00:12:14.499192", "rc": 0, "start": "2024-02-20 00:12:14.495565" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 20 February 2024 00:12:14 +0000 (0:00:00.174) 0:00:51.047 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 20 February 2024 00:12:14 +0000 (0:00:00.022) 0:00:51.069 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/run_test.yml:24 Tuesday 20 February 2024 00:12:14 +0000 (0:00:00.022) 0:00:51.091 ****** included: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 20 February 2024 00:12:14 +0000 (0:00:00.043) 0:00:51.135 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 20 February 2024 00:12:14 +0000 (0:00:00.036) 0:00:51.172 ****** included: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 20 February 2024 00:12:14 +0000 (0:00:00.038) 0:00:51.211 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 20 February 2024 00:12:14 +0000 (0:00:00.025) 0:00:51.237 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 20 February 2024 00:12:14 +0000 (0:00:00.020) 0:00:51.257 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 20 February 2024 00:12:14 +0000 (0:00:00.020) 0:00:51.277 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 20 February 2024 00:12:16 +0000 (0:00:01.531) 0:00:52.809 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 20 February 2024 00:12:16 +0000 (0:00:00.610) 0:00:53.420 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 20 February 2024 00:12:17 +0000 (0:00:00.023) 0:00:53.443 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 20 February 2024 00:12:17 +0000 (0:00:00.021) 0:00:53.464 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 20 February 2024 00:12:17 +0000 (0:00:00.022) 0:00:53.487 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 20 February 2024 00:12:17 +0000 (0:00:00.043) 0:00:53.530 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 20 February 2024 00:12:17 +0000 (0:00:00.021) 0:00:53.552 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 20 February 2024 00:12:17 +0000 (0:00:00.022) 0:00:53.574 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 20 February 2024 00:12:17 +0000 (0:00:00.024) 0:00:53.599 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 20 February 2024 00:12:17 +0000 (0:00:00.021) 0:00:53.621 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 20 February 2024 00:12:17 +0000 (0:00:00.021) 0:00:53.642 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 20 February 2024 00:12:17 +0000 (0:00:00.236) 0:00:53.878 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15632umztt79m/tmp4mz524g8" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 20 February 2024 00:12:17 +0000 (0:00:00.212) 0:00:54.091 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 20 February 2024 00:12:17 +0000 (0:00:00.253) 0:00:54.344 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 20 February 2024 00:12:17 +0000 (0:00:00.022) 0:00:54.367 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 20 February 2024 00:12:17 +0000 (0:00:00.022) 0:00:54.389 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 20 February 2024 00:12:17 +0000 (0:00:00.022) 0:00:54.412 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 20 February 2024 00:12:18 +0000 (0:00:00.021) 0:00:54.434 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 20 February 2024 00:12:18 +0000 (0:00:00.139) 0:00:54.573 ****** 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-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 20 February 2024 00:12:18 +0000 (0:00:00.022) 0:00:54.596 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 20 February 2024 00:12:18 +0000 (0:00:00.034) 0:00:54.631 ****** included: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 20 February 2024 00:12:18 +0000 (0:00:00.039) 0:00:54.670 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 20 February 2024 00:12:18 +0000 (0:00:00.027) 0:00:54.697 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 20 February 2024 00:12:18 +0000 (0:00:00.021) 0:00:54.718 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 20 February 2024 00:12:18 +0000 (0:00:00.021) 0:00:54.740 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 20 February 2024 00:12:19 +0000 (0:00:01.536) 0:00:56.276 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 20 February 2024 00:12:20 +0000 (0:00:00.614) 0:00:56.890 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 20 February 2024 00:12:20 +0000 (0:00:00.022) 0:00:56.912 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 20 February 2024 00:12:20 +0000 (0:00:00.021) 0:00:56.934 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 20 February 2024 00:12:20 +0000 (0:00:00.020) 0:00:56.955 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 20 February 2024 00:12:20 +0000 (0:00:00.041) 0:00:56.997 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 20 February 2024 00:12:20 +0000 (0:00:00.042) 0:00:57.039 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 20 February 2024 00:12:20 +0000 (0:00:00.021) 0:00:57.061 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 20 February 2024 00:12:20 +0000 (0:00:00.024) 0:00:57.086 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 20 February 2024 00:12:20 +0000 (0:00:00.020) 0:00:57.106 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 20 February 2024 00:12:20 +0000 (0:00:00.020) 0:00:57.127 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 20 February 2024 00:12:20 +0000 (0:00:00.205) 0:00:57.332 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15632umztt79m/tmpiw_k0g91" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 20 February 2024 00:12:21 +0000 (0:00:00.210) 0:00:57.543 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 20 February 2024 00:12:21 +0000 (0:00:00.384) 0:00:57.928 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 20 February 2024 00:12:21 +0000 (0:00:00.021) 0:00:57.949 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 20 February 2024 00:12:21 +0000 (0:00:00.024) 0:00:57.974 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 20 February 2024 00:12:21 +0000 (0:00:00.026) 0:00:58.000 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 20 February 2024 00:12:21 +0000 (0:00:00.021) 0:00:58.021 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 20 February 2024 00:12:21 +0000 (0:00:00.135) 0:00:58.156 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 20 February 2024 00:12:21 +0000 (0:00:00.035) 0:00:58.192 ****** included: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 20 February 2024 00:12:21 +0000 (0:00:00.070) 0:00:58.262 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 20 February 2024 00:12:21 +0000 (0:00:00.027) 0:00:58.290 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 20 February 2024 00:12:21 +0000 (0:00:00.024) 0:00:58.315 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 20 February 2024 00:12:21 +0000 (0:00:00.022) 0:00:58.337 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 20 February 2024 00:12:23 +0000 (0:00:01.545) 0:00:59.882 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 20 February 2024 00:12:24 +0000 (0:00:00.639) 0:01:00.522 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 20 February 2024 00:12:24 +0000 (0:00:00.024) 0:01:00.546 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 20 February 2024 00:12:24 +0000 (0:00:00.021) 0:01:00.568 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 20 February 2024 00:12:24 +0000 (0:00:00.021) 0:01:00.589 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 20 February 2024 00:12:24 +0000 (0:00:00.042) 0:01:00.632 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 20 February 2024 00:12:24 +0000 (0:00:00.021) 0:01:00.654 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 20 February 2024 00:12:24 +0000 (0:00:00.021) 0:01:00.675 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 20 February 2024 00:12:24 +0000 (0:00:00.024) 0:01:00.700 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 20 February 2024 00:12:24 +0000 (0:00:00.021) 0:01:00.722 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 20 February 2024 00:12:24 +0000 (0:00:00.021) 0:01:00.744 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 20 February 2024 00:12:24 +0000 (0:00:00.205) 0:01:00.950 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15632umztt79m/tmpogvv22q4" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 20 February 2024 00:12:24 +0000 (0:00:00.213) 0:01:01.163 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 20 February 2024 00:12:25 +0000 (0:00:00.266) 0:01:01.430 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 20 February 2024 00:12:25 +0000 (0:00:00.021) 0:01:01.452 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 20 February 2024 00:12:25 +0000 (0:00:00.022) 0:01:01.474 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 20 February 2024 00:12:25 +0000 (0:00:00.051) 0:01:01.526 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 20 February 2024 00:12:25 +0000 (0:00:00.025) 0:01:01.551 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/run_test.yml:30 Tuesday 20 February 2024 00:12:25 +0000 (0:00:00.140) 0:01:01.692 ****** included: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 20 February 2024 00:12:25 +0000 (0:00:00.039) 0:01:01.732 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 20 February 2024 00:12:25 +0000 (0:00:00.036) 0:01:01.768 ****** included: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 20 February 2024 00:12:25 +0000 (0:00:00.040) 0:01:01.809 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 20 February 2024 00:12:25 +0000 (0:00:00.027) 0:01:01.837 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 20 February 2024 00:12:25 +0000 (0:00:00.021) 0:01:01.858 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 20 February 2024 00:12:25 +0000 (0:00:00.021) 0:01:01.880 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 20 February 2024 00:12:26 +0000 (0:00:01.532) 0:01:03.413 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 20 February 2024 00:12:27 +0000 (0:00:00.616) 0:01:04.029 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 20 February 2024 00:12:27 +0000 (0:00:00.022) 0:01:04.052 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 20 February 2024 00:12:27 +0000 (0:00:00.021) 0:01:04.073 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 20 February 2024 00:12:27 +0000 (0:00:00.021) 0:01:04.095 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 20 February 2024 00:12:27 +0000 (0:00:00.042) 0:01:04.137 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 20 February 2024 00:12:27 +0000 (0:00:00.020) 0:01:04.158 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 20 February 2024 00:12:27 +0000 (0:00:00.021) 0:01:04.179 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 20 February 2024 00:12:27 +0000 (0:00:00.024) 0:01:04.204 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 20 February 2024 00:12:27 +0000 (0:00:00.020) 0:01:04.225 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 20 February 2024 00:12:27 +0000 (0:00:00.021) 0:01:04.247 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 20 February 2024 00:12:28 +0000 (0:00:00.237) 0:01:04.484 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-15632umztt79m/tmp2nm7p6ub" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 20 February 2024 00:12:28 +0000 (0:00:00.211) 0:01:04.696 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 20 February 2024 00:12:28 +0000 (0:00:00.255) 0:01:04.951 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 20 February 2024 00:12:28 +0000 (0:00:00.022) 0:01:04.973 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 20 February 2024 00:12:28 +0000 (0:00:00.022) 0:01:04.996 ****** 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-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 20 February 2024 00:12:28 +0000 (0:00:00.024) 0:01:05.021 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 20 February 2024 00:12:28 +0000 (0:00:00.021) 0:01:05.042 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/run_test.yml:36 Tuesday 20 February 2024 00:12:28 +0000 (0:00:00.131) 0:01:05.174 ****** included: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 20 February 2024 00:12:28 +0000 (0:00:00.043) 0:01:05.218 ****** included: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 20 February 2024 00:12:28 +0000 (0:00:00.036) 0:01:05.254 ****** 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-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 20 February 2024 00:12:28 +0000 (0:00:00.021) 0:01:05.276 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 20 February 2024 00:12:28 +0000 (0:00:00.136) 0:01:05.412 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 20 February 2024 00:12:29 +0000 (0:00:00.021) 0:01:05.434 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.005649", "end": "2024-02-20 00:12:29.069113", "rc": 1, "start": "2024-02-20 00:12:29.063464" } 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-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 20 February 2024 00:12:29 +0000 (0:00:00.171) 0:01:05.605 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 20 February 2024 00:12:29 +0000 (0:00:00.023) 0:01:05.628 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 20 February 2024 00:12:29 +0000 (0:00:00.022) 0:01:05.651 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 20 February 2024 00:12:29 +0000 (0:00:00.023) 0:01:05.675 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 20 February 2024 00:12:29 +0000 (0:00:00.023) 0:01:05.698 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 20 February 2024 00:12:29 +0000 (0:00:00.022) 0:01:05.721 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Tuesday 20 February 2024 00:12:29 +0000 (0:00:00.025) 0:01:05.746 ****** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.393870", "end": "2024-02-20 00:12:29.768641", "rc": 0, "start": "2024-02-20 00:12:29.374771" } TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Tuesday 20 February 2024 00:12:29 +0000 (0:00:00.534) 0:01:06.280 ****** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Tuesday 20 February 2024 00:12:29 +0000 (0:00:00.021) 0:01:06.302 ****** ok: [sut] => { "networkmanager_nvr": "" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/run_test.yml:42 Tuesday 20 February 2024 00:12:29 +0000 (0:00:00.021) 0:01:06.323 ****** 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-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/run_test.yml:47 Tuesday 20 February 2024 00:12:29 +0000 (0:00:00.025) 0:01:06.349 ****** 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-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/run_test.yml:66 Tuesday 20 February 2024 00:12:29 +0000 (0:00:00.021) 0:01:06.371 ****** included: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/cleanup_profile+device.yml for sut included: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 20 February 2024 00:12:29 +0000 (0:00:00.046) 0:01:06.417 ****** 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.027205", "end": "2024-02-20 00:12:30.081990", "rc": 0, "start": "2024-02-20 00:12:30.054785" } STDERR: /bin/sh: nmcli: command not found /bin/sh: line 1: nmcli: command not found TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/check_network_dns.yml:6 Tuesday 20 February 2024 00:12:30 +0000 (0:00:00.207) 0:01:06.625 ****** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :\nfi\n", "delta": "0:00:00.007312", "end": "2024-02-20 00:12:30.262888", "rc": 0, "start": "2024-02-20 00:12:30.255576" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc pfifo_fast state UP qlen 1000 link/ether 02:93:cd:c1:fa:33 brd ff:ff:ff:ff:ff:ff inet 10.31.46.30/22 brd 10.31.47.255 scope global eth0 inet6 fe80::93:cdff:fec1:fa33/64 scope link valid_lft forever preferred_lft forever IP ROUTE 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.46.30 169.254.0.0/16 dev eth0 scope link metric 1002 default via 10.31.44.1 dev eth0 IP -6 ROUTE unreachable ::/96 dev lo metric 1024 error -113 mtu 65536 unreachable ::ffff:0.0.0.0/96 dev lo metric 1024 error -113 mtu 65536 unreachable 2002:a00::/24 dev lo metric 1024 error -113 mtu 65536 unreachable 2002:7f00::/24 dev lo metric 1024 error -113 mtu 65536 unreachable 2002:a9fe::/32 dev lo metric 1024 error -113 mtu 65536 unreachable 2002:ac10::/28 dev lo metric 1024 error -113 mtu 65536 unreachable 2002:c0a8::/32 dev lo metric 1024 error -113 mtu 65536 unreachable 2002:e000::/19 dev lo metric 1024 error -113 mtu 65536 unreachable 3ffe:ffff::/32 dev lo metric 1024 error -113 mtu 65536 fe80::/64 dev eth0 proto kernel metric 256 mtu 9001 RESOLV ; Created by cloud-init on instance boot automatically, do not edit. ; ; generated by /sbin/dhclient-script search us-east-1.aws.redhat.com nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and network connectivity] ************************************* task path: /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/playbooks/tasks/check_network_dns.yml:24 Tuesday 20 February 2024 00:12:30 +0000 (0:00:00.148) 0:01:06.773 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=334 changed=13 unreachable=0 failed=0 skipped=228 rescued=0 ignored=10 Tuesday 20 February 2024 00:12:30 +0000 (0:00:00.013) 0:01:06.787 ****** =============================================================================== linux-system-roles.network : Check which services are running ----------- 1.87s /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.65s /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 1.60s /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Check which services are running ----------- 1.58s /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.57s /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.56s /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.56s /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.55s /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.55s /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.54s /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.53s /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.53s /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.53s /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.52s /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.50s /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.49s /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 1.39s /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Enable network service --------------------- 1.15s /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:108 linux-system-roles.network : Ensure initscripts network file dependency is present --- 1.05s /WORKDIR/git-nm_plugin_hotfixzuv3gh97/tests/roles/linux-system-roles.network/tasks/main.yml:116 Gathering Facts --------------------------------------------------------- 0.94s /WORKDIR/git-nm_plugin_hotfixzuv3gh97/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. ---^---^---^---^---^---